1. 16 12月, 2011 2 次提交
  2. 10 11月, 2011 1 次提交
  3. 01 11月, 2011 1 次提交
  4. 12 10月, 2011 1 次提交
  5. 28 9月, 2011 1 次提交
  6. 17 9月, 2011 1 次提交
  7. 15 9月, 2011 3 次提交
  8. 31 8月, 2011 1 次提交
  9. 30 8月, 2011 1 次提交
  10. 25 8月, 2011 1 次提交
  11. 10 8月, 2011 2 次提交
  12. 19 7月, 2011 1 次提交
  13. 04 6月, 2011 1 次提交
  14. 02 6月, 2011 2 次提交
    • M
      ath9k: Add a debug entry to start/stop ANI · 05c0be2f
      Mohammed Shafi Shajakhan 提交于
      this helps the user to start/stop ANI dynamically.
      Signed-off-by: NMohammed Shafi Shajakhan <mshajakhan@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      05c0be2f
    • F
      ath9k: unify edma and non-edma tx code, improve tx fifo handling · fce041be
      Felix Fietkau 提交于
      EDMA based chips (AR9380+) have 8 Tx FIFO slots, which are used to fix the
      tx queue start/stop race conditions which have to be worked around for
      earlier chips by keeping the last descriptor in the queue. The current code
      stores all frames that do not fit onto the 8 FIFO slots in a separate
      list. Whenever a FIFO slot is freed up, the next frame (or A-MPDU) from the
      pending queue gets moved to that slot.
      
      This process is not only inefficient, but also unnecessary. The code can
      be improved visibly by keeping the pending queue fully linked, and moving
      the contents of the entire queue to a FIFO slot as it becomes available.
      
      This patch makes the necessary changes for that and also merges some code
      that was duplicated for EDMA vs non-EDMA. It changes txq->axq_link to point
      to the last descriptor instead of the link pointer, so that
      ath9k_hw_set_desc_link can be used, which works on all chips.
      
      With this patch, a small performance increase for non-aggregated traffic
      was observed on AR9380 based embedded hardware.
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      fce041be
  15. 20 5月, 2011 2 次提交
  16. 19 5月, 2011 1 次提交
  17. 26 4月, 2011 1 次提交
  18. 13 4月, 2011 1 次提交
  19. 31 3月, 2011 2 次提交
  20. 05 3月, 2011 2 次提交
  21. 04 2月, 2011 1 次提交
  22. 29 1月, 2011 2 次提交
    • F
      ath9k: fix tx queue index confusion in debugfs code · 5bec3e5a
      Felix Fietkau 提交于
      Various places printing tx queue information used various different ways to
      get a tx queue index for printing statistics. Most of these ways were wrong.
      
      ATH_TXQ_AC_* cannot be used as an index for sc->tx.txq, because it is only
      used internally for queue assignment.
      
      One place used WME_AC_* as a queue index for sc->debug.stats.txstats, however
      this array uses the ath9k_hw queue number as well.
      
      Fix all of this by always using the ath9k_hw queue number as an index, and
      always looking it up by going through sc->tx.txq_map.
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Cc: Ben Greear <greearb@candelatech.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      5bec3e5a
    • F
      ath9k: remove the virtual wiphy debugfs interface · 34302397
      Felix Fietkau 提交于
      It does not make much sense to keep the current virtual wiphy implementation
      any longer - it adds significant complexity, has very few users and is still
      very experimental. At some point in time, it will be replaced by a proper
      implementation in mac80211.
      
      By making the code easier to read and maintain, removing virtual wiphy support
      helps with fixing the remaining driver issues and adding further improvements.
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      34302397
  23. 22 1月, 2011 7 次提交
  24. 03 12月, 2010 1 次提交
  25. 16 11月, 2010 1 次提交
    • 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