1. 27 9月, 2014 2 次提交
  2. 17 9月, 2014 1 次提交
  3. 16 9月, 2014 1 次提交
  4. 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
  5. 10 9月, 2014 5 次提交
  6. 29 8月, 2014 24 次提交
  7. 19 7月, 2014 1 次提交
    • F
      ath9k: fix pending tx frames accounting · d954cd77
      Felix Fietkau 提交于
      Packets originally buffered for the regular hardware tx queues can end
      up being transmitted through the U-APSD queue (via PS-Poll or U-APSD).
      When packets are dropped due to retransmit failures, the pending frames
      counter is not always updated properly.
      Fix this by keeping track of the queue that a frame was accounted for in
      the ath_frame_info struct, and using that on completion to decide
      whether the counter should be updated.
      This fixes some spurious transmit queue hangs.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      d954cd77
  8. 20 6月, 2014 4 次提交