1. 29 9月, 2015 1 次提交
  2. 06 8月, 2015 3 次提交
    • F
      ath9k: remove the sched field in struct ath_atx_tid · d70d848a
      Felix Fietkau 提交于
      Use list_empty(&tid->list) instead
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      d70d848a
    • F
      ath9k: remove struct ath_atx_ac · 592fa228
      Felix Fietkau 提交于
      struct ath_atx_ac contains a list of active TIDs belonging to one WMM AC.
      This patch changes the code to track active station TIDs in the txq directly.
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      592fa228
    • J
      ath9k: handle RoC cancel correctly · d83520b7
      Janusz.Dziedzic@tieto.com 提交于
      In case we will get ROC cancel from mac80211 we
      should not call ieee80211_remain_on_channel_expired().
      
      In other case I hit such warning on MIPS and
      p2p negotiation failed (tested with use_chanctx=1).
      
      ath: phy0: Starting RoC period
      ath: phy0: Channel definition created: 2412 MHz
      ath: phy0: Assigned next_chan to 2412 MHz
      ath: phy0: Offchannel duration for chan 2412 MHz : 506632
      ath: phy0: ath_chanctx_set_next: current: 2412 MHz, next: 2412 MHz
      ath: phy0: Stopping current chanctx: 2412
      ath: phy0: Flush timeout: 200
      ath: phy0: ath_chanctx_set_next: Set channel 2412 MHz
      ath: phy0: Set channel: 2412 MHz width: 0
      ath: phy0: Reset to 2412 MHz, HT40: 0 fastcc: 0
      ath: phy0: cur_chan: 2412 MHz, event: ATH_CHANCTX_EVENT_TSF_TIMER, state: ATH_CHANCTX_STATE_IDLE
      ath: phy0: ath_offchannel_channel_change: offchannel state: ATH_OFFCHANNEL_ROC_START
      ath: phy0: cur_chan: 2412 MHz, event: ATH_CHANCTX_EVENT_SWITCH, state: ATH_CHANCTX_STATE_IDLE
      ath: phy0: Cancel RoC
      ath: phy0: RoC aborted
      ath: phy0: RoC request on vif: 00:03:7f:4e:a0:cd, type: 1 duration: 500
      ath: phy0: Starting RoC period
      ath: phy0: Channel definition created: 2412 MHz
      ath: phy0: Assigned next_chan to 2412 MHz
      ath: phy0: Offchannel duration for chan 2412 MHz : 506705
      ath: phy0: ath_chanctx_set_next: current: 2412 MHz, next: 2412 MHz
      ath: phy0: ath_offchannel_channel_change: offchannel state: ATH_OFFCHANNEL_ROC_START
      ath: phy0: cur_chan: 2412 MHz, event: ATH_CHANCTX_EVENT_SWITCH, state: ATH_CHANCTX_STATE_IDLE
      ------------[ cut here ]------------
      WARNING: CPU: 0 PID: 3312 at drivers/net/wireless/ath/ath9k/main.c:2319
      Modules linked in: ath9k ath9k_common ath9k_hw ath mac80211 cfg80211
      Signed-off-by: NJanusz Dziedzic <janusz.dziedzic@tieto.com>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      d83520b7
  3. 31 7月, 2015 1 次提交
  4. 21 7月, 2015 1 次提交
  5. 13 3月, 2015 1 次提交
  6. 03 3月, 2015 1 次提交
  7. 03 2月, 2015 4 次提交
  8. 28 1月, 2015 1 次提交
  9. 26 11月, 2014 1 次提交
  10. 18 11月, 2014 2 次提交
  11. 12 11月, 2014 5 次提交
  12. 28 10月, 2014 9 次提交
  13. 09 10月, 2014 1 次提交
  14. 03 10月, 2014 2 次提交
  15. 27 9月, 2014 2 次提交
  16. 17 9月, 2014 1 次提交
  17. 16 9月, 2014 1 次提交
  18. 12 9月, 2014 2 次提交
    • S
      ath9k: Fix beacon miss handling · 167bf96d
      Sujith Manoharan 提交于
      The NoA duration for a GO is half the beacon interval
      and a concurrent context like a STA can be active only
      for that duration, before switching back to the GO's
      operating channel.
      
      Currently, when multiple beacons are missed, the dwell
      time for the STA context is extended to improve the
      chances of receiving a beacon. But the NoA is not updated
      and this will cause problems since the GO is offline
      for a period that is longer than the advertised duration.
      
      Fix this by ensuring that the NoA is updated first before
      extending the time slot for the STA context. Also make
      sure that non-periodic NoA is used for a one-time, longer
      absence period.
      Signed-off-by: NSujith Manoharan <c_manoha@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      167bf96d
    • S
      ath9k: Fix Notice of Absence issues · d0975edd
      Sujith Manoharan 提交于
      * The index has to incremented only when advertising
        a new NoA schedule.
      
      * Switch to non-periodic NoA when starting a scan operation
        and multiple channel contexts are active.
      
      * Make sure that periodic NoA is advertised again when
        scan ends. Since the offchannel timer moves the offchannel
        state to IDLE after the GO operating channel becomes
        active, use a flag "force_noa_update" to update the
        NoA contents.
      Signed-off-by: NSujith Manoharan <c_manoha@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      d0975edd
  19. 10 9月, 2014 1 次提交
    • S
      ath9k: Fix MCC scanning · 367b341e
      Sujith Manoharan 提交于
      Scanning is curently broken when two channel contexts
      are active. For example in a P2P-GO/STA setup, the
      offchannel timer allows HZ / 10 to elapse before initiating
      a switch to the next scan channel from the current operating
      channel, which in this case would be the P2P-GO context.
      
      But, the channel context timer might decide to switch
      to the STA context when an SWBA comes early and a beacon
      is sent out. Since pending offchannel requests are processed
      in EVENT_BEACON_PREPARE, this causes inconsistent scanning.
      
      Fix this by making sure that a context switch happens
      before processing the pending offchannel request. This
      also makes sure that active channel contexts will always
      have higher priority than offchannel operations and the
      scan sequence looks like this:
      
      p2p-go, sta, p2p-go, offchannel, p2p-go, sta, p2p-go, offchannel,.....
      
      The oper-channel is p2p-go, so the STA context has to
      switch to p2p-go again before switching offchannel.
      Signed-off-by: NSujith Manoharan <c_manoha@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      367b341e