1. 12 11月, 2009 2 次提交
    • L
      ath9k: pass the ieee80211_hw on radio enable/disable · 68a89116
      Luis R. Rodriguez 提交于
      We use the ieee80211_hw for radio enable/disable but the wrong
      structure hw was being used in consideration for virtual wiphys
      as each virtual wiphy has its own ieee80211_hw struct.
      
      Just pass the hw struct to ensure we use the right one. This should
      fix the hw used and passed for radio enable/disable. This includes
      the stoping / starting of the software TX queues so mac80211 doesn't
      send us data for a specific virtual wiphy. ath9k already takes care
      of pausing virtual wiphys and stopping the respective queues on its
      own, but this should handle the idle mac80211 conf calls as well.
      
      Cc: Jouni.Malinen <Jouni.Malinen@atheros.com>
      Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      68a89116
    • L
      ath9k: fix listening to idle requests · 194b7c13
      Luis R. Rodriguez 提交于
      The way idle configuration detection was implemented as
      busted due to the fact that it assumed the ath9k virtual wiphy,
      the aphy, would be marked as inactive if it was not used but
      it turns out an aphy is always active if its the only wiphy
      present. We need to distinguish between aphy activity and
      idleness so we now add an idle bool for the aphy and mark
      it as such based on the passed IEEE80211_CONF_CHANGE_IDLE
      from mac80211.
      
      Previous to all_wiphys_idle would never be true when using
      only one device so we never really were using
      IEEE80211_CONF_CHANGE_IDLE -- we never turned the radio
      off or on upon IEEE80211_CONF_CHANGE_IDLE changes as radio
      changes depended on all_wiphys_idle being true either to
      turn the radio on or off. Since it was always false for
      one device this code was doing nothing.
      
      Cc: Jouni.Malinen <Jouni.Malinen@atheros.com>
      Reported-by: NVasanthakumar Thiagarajan <vasanth@atheros.com>
      Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      194b7c13
  2. 08 10月, 2009 20 次提交
  3. 09 9月, 2009 1 次提交
  4. 29 8月, 2009 4 次提交
  5. 20 8月, 2009 3 次提交
  6. 14 8月, 2009 1 次提交
  7. 05 8月, 2009 1 次提交
  8. 30 7月, 2009 2 次提交
  9. 28 7月, 2009 3 次提交
  10. 25 7月, 2009 3 次提交