1. 16 3月, 2015 1 次提交
    • F
      ath9k: fix tracking of enabled AP beacons · 1cf48f22
      Felix Fietkau 提交于
      sc->nbcnvifs tracks assigned beacon slots, not enabled beacons.
      Therefore, it cannot be used to decide if cur_conf->enable_beacon (bool)
      should be updated, or if beacons have been enabled already.
      With the current code (depending on the order of calls), beacons often
      do not get enabled in an AP+STA setup.
      To fix tracking of enabled beacons, convert cur_conf->enable_beacon to a
      bitmask of enabled beacon slots.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      1cf48f22
  2. 12 11月, 2014 1 次提交
  3. 14 5月, 2014 1 次提交
  4. 18 3月, 2014 4 次提交
  5. 01 3月, 2014 1 次提交
  6. 13 2月, 2014 4 次提交
  7. 15 10月, 2013 1 次提交
  8. 17 8月, 2013 1 次提交
  9. 11 4月, 2013 1 次提交
  10. 07 3月, 2013 1 次提交
    • B
      ath9k: simplify ATH_EP_RND · 4ba910db
      Bob Copeland 提交于
      Remove the embedded branch to make the ATH_EP_RND macro a little
      clearer.  The new version also generates better code, saving 24
      bytes of text:
      
         text	   data	    bss	    dec	    hex	filename
        87858	   1641	     24	  89523	  15db3	ath9k_orig.ko
        87834	   1641	     24	  89499	  15d9b	ath9k_new.ko
      
      Although neither version handles negative values particularly well,
      the lone caller clamps all negative values to zero anyway.  I have
      verified that the results are the same for the range of possible
      positive rssi values.
      Signed-off-by: NBob Copeland <me@bobcopeland.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      4ba910db
  11. 28 2月, 2013 1 次提交
  12. 01 12月, 2012 1 次提交
  13. 22 11月, 2012 1 次提交
  14. 25 8月, 2011 1 次提交
  15. 20 5月, 2011 1 次提交
  16. 29 4月, 2011 1 次提交
  17. 04 2月, 2011 1 次提交
  18. 29 1月, 2011 1 次提交
  19. 08 12月, 2010 1 次提交
  20. 16 11月, 2010 2 次提交
    • F
      ath9k: rework tx queue selection and fix queue stopping/waking · 066dae93
      Felix Fietkau 提交于
      The current ath9k tx queue handling code showed a few issues that could
      lead to locking issues, tx stalls due to stopped queues, and maybe even
      DMA issues.
      
      The main source of these issues is that in some places the queue is
      selected via skb queue mapping in places where this mapping may no
      longer be valid. One such place is when data frames are transmitted via
      the CAB queue (for powersave buffered frames). This is made even worse
      by a lookup WMM AC values from the assigned tx queue (which is
      undefined for the CAB queue).
      
      This messed up the pending frame counting, which in turn caused issues
      with queues getting stopped, but not woken again.
      
      To fix these issues, this patch removes an unnecessary abstraction
      separating a driver internal queue number from the skb queue number
      (not to be confused with the hardware queue number).
      
      It seems that this abstraction may have been necessary because of tx
      queue preinitialization from the initvals. This patch avoids breakage
      here by pushing the software <-> hardware queue mapping to the function
      that assigns the tx queues and redefining the WMM AC definitions to
      match the numbers used by mac80211 (also affects ath9k_htc).
      
      To ensure consistency wrt. pending frame count tracking, these counters
      are moved to the ath_txq struct, updated with the txq lock held, but
      only where the tx queue selected by the skb queue map actually matches
      the tx queue used by the driver for the frame.
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Reported-by: NBjörn Smedman <bjorn.smedman@venatech.se>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      066dae93
    • F
  21. 17 9月, 2010 1 次提交
  22. 25 8月, 2010 1 次提交
  23. 05 6月, 2010 1 次提交
  24. 03 6月, 2010 2 次提交
  25. 17 4月, 2010 3 次提交
  26. 01 4月, 2010 1 次提交
  27. 24 3月, 2010 1 次提交
  28. 29 11月, 2009 2 次提交
  29. 19 11月, 2009 1 次提交