1. 20 1月, 2011 1 次提交
  2. 23 12月, 2010 1 次提交
  3. 21 12月, 2010 2 次提交
    • F
      ath9k_hw: fix PA predistortion HT40 mask · f1a8abb0
      Felix Fietkau 提交于
      The commit 'ath9k_hw: Disable PAPRD for rates with low Tx power' changed
      the code that sets the PAPRD rate masks to use only either the HT20 mask
      or the HT40 mask. This is wrong, as the hardware can still use HT20 rates
      even when configured for HT40, and the operating channel mode does not
      affect PAPRD operation.
      The register for the HT40 rate mask is applied as a mask on top of the
      other registers to selectively disable PAPRD for specific rates on HT40
      packets only.
      This patch changes the code back to the old behavior which matches the
      intended use of these registers. While with current cards this should not
      make any practical difference (according to Atheros, the HT20 and HT40
      mask should always be equal), it is more correct that way, and maybe
      the HT40 mask will be used for some rare corner cases in the future.
      
      Cc: Vasanthakumar Thiagarajan <vasanth@atheros.com>
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      f1a8abb0
    • F
      ath9k_hw: remove baseband rfsilent support · 55821324
      Felix Fietkau 提交于
      When rfkill is enabled, ath9k_hw unnecessarily configured the baseband to
      turn off based on GPIO input, however that code was hardcoded to GPIO 0
      instead of ah->rfkill_gpio.
      Since ath9k uses software rfkill anyway, this code is completely unnecessary
      and should be removed in case anything else ever uses GPIO 0.
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      55821324
  4. 17 12月, 2010 3 次提交
  5. 14 12月, 2010 6 次提交
  6. 08 12月, 2010 5 次提交
  7. 01 12月, 2010 1 次提交
  8. 18 11月, 2010 1 次提交
  9. 17 11月, 2010 2 次提交
  10. 16 11月, 2010 3 次提交
    • A
      bitops: Provide generic sign_extend32 function · 7919a57b
      Andreas Herrmann 提交于
      This patch moves code out from wireless drivers where two different
      functions are defined in three code locations for the same purpose and
      provides a common function to sign extend a 32-bit value.
      Signed-off-by: NAndreas Herrmann <andreas.herrmann3@amd.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      7919a57b
    • 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
      ath9k_hw: extend ath9k_hw_set_txpowerlimit to test channel txpower · de40f316
      Felix Fietkau 提交于
      ath9k_hw_set_txpowerlimit gets an extra boolean parameter that - if set -
      causes the rate txpower table and the regulatory limit to be calculated
      and stored, without changing hardware registers.
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      de40f316
  11. 10 11月, 2010 1 次提交
  12. 09 11月, 2010 1 次提交
  13. 16 10月, 2010 1 次提交
  14. 12 10月, 2010 2 次提交
  15. 07 10月, 2010 7 次提交
  16. 06 10月, 2010 2 次提交
  17. 17 9月, 2010 1 次提交