1. 30 11月, 2010 1 次提交
  2. 23 11月, 2010 1 次提交
  3. 18 11月, 2010 13 次提交
  4. 17 11月, 2010 4 次提交
  5. 16 11月, 2010 4 次提交
  6. 28 10月, 2010 1 次提交
  7. 26 10月, 2010 2 次提交
  8. 16 10月, 2010 2 次提交
  9. 14 10月, 2010 1 次提交
  10. 12 10月, 2010 1 次提交
    • B
      ath9k: A-MPDU rate control info fix · ebd02287
      Björn Smedman 提交于
      This patch fixes the following problems with the rate control feedback
      generated by ath9k for A-MPDU frames:
      
      1. Rate control feedback is carried on the first frame of an aggregate
      that is either ACKed, or has execeeded the software retry count and is
      considered failed. However, ath9k would incorrectly assume the aggregate
      had the length 1 if one of these conditions did not apply to the first
      frame of the aggregate, but instead a later frame. This fix therefor
      copies the bf_nframes field of the buffer in the same manner as the rates
      field of the tx status.
      
      2. Sometimes the ampdu_len and ampdu_ack_len fields of the tx status was
      left uninitialized eventhough the IEEE80211_TX_STAT_AMPDU flag was set.
      This is now avoid by setting flag and fields in the same place.
      
      3. Even if a frame has been selected for aggregation by mac80211 and
      marked with the IEEE80211_TX_CTL_AMPDU flag it can sometimes happen that
      ath9k transmits the frame without aggregation. In these cases the
      ampdu_ack_len field could be incorrectly computed because the nbad
      parameter to ath_tx_rc_status was incorrect.
      
      Cc: <stable@kernel.org>
      Signed-off-by: NBjörn Smedman <bjorn.smedman@venatech.se>
      Acked-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ebd02287
  11. 07 10月, 2010 1 次提交
  12. 28 9月, 2010 1 次提交
  13. 21 9月, 2010 4 次提交
  14. 17 8月, 2010 1 次提交
  15. 05 8月, 2010 2 次提交
    • L
      ath9k: fix an issue in ath_atx_tid paused flag management · 75401849
      Lorenzo Bianconi 提交于
      I noticed a possible issue in the paused flag management of the
      ath_atx_tid data structure. In particular, in a noisy environment and
      under heavy load, I observed that the AGGR session establishment could
      fail several times consecutively causing values of the paused flag
      greater than one for this TID (ath_tx_pause_tid is called more than
      once from ath_tx_aggr_start).
      
      Considering that the session for this TID can not be established also
      after the mac80211 stack calls the ieee80211_agg_tx_operational() since
      the ath_tx_aggr_resume() lowers the paused flag only by one.
      
      This patch also replaces some BUG_ON calls with WARN_ON, as even if
      these unlikely conditions happen, it's not fatal enough to justify a
      BUG_ON.
      Signed-off-by: NLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      75401849
    • F
      ath9k_hw: clean up per-channel calibration data · 20bd2a09
      Felix Fietkau 提交于
      The noise floor history buffer is currently not kept per channel, which
      can lead to problems when changing channels from a clean channel to a
      noisy one. Also when switching from HT20 to HT40, the noise floor
      history buffer is full of measurements, but none of them contain data
      for the extension channel, which it needs quite a bit of time to recover
      from.
      
      This patch puts all the per-channel calibration data into a single data
      structure, and gives the the driver control over whether that is used
      per-channel or even not used for some channels.
      
      For ath9k_htc, I decided to keep this per-channel in order to avoid
      creating regressions.
      
      For ath9k, the data is kept only for the operating channel, which saves
      some space. ath9k_hw takes care of wiping old data when the operating
      channel or its channel flags change.
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      20bd2a09
  16. 27 7月, 2010 1 次提交