1. 18 7月, 2012 4 次提交
  2. 10 7月, 2012 3 次提交
  3. 07 6月, 2012 1 次提交
  4. 06 6月, 2012 1 次提交
  5. 30 5月, 2012 1 次提交
  6. 24 4月, 2012 1 次提交
    • G
      ath9k: fix TX power reporting on AR9003 chips · 75acd5a8
      Gabor Juhos 提交于
      The current code unconditionally reads the target
      power values for all modes from the EEPROM. However
      In 'ar9003_hw_set_power_per_rate_table' the regulatory
      caps are applied only on a mode specific subset of the
      power values.
      
      The reported TX power level is calculated from the
      maximum of the power values. Because some of these
      values are uncapped in certain cases, the reported
      TX power will be wrong.
      
      On the older chipset, we don't have such problems
      because only the mode specific subset of the power
      levels are retrieved from the EEPROM on those. Do
      the same for the AR9003 chips to fix the issue.
      Signed-off-by: NGabor Juhos <juhosg@openwrt.org>
      Acked-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      75acd5a8
  7. 18 4月, 2012 3 次提交
  8. 17 4月, 2012 2 次提交
  9. 13 4月, 2012 1 次提交
  10. 28 2月, 2012 1 次提交
  11. 05 1月, 2012 1 次提交
    • L
      ath9k_hw: fix sparse complaint on ar9003_switch_com_spdt_get() · a98aa7ae
      Luis R. Rodriguez 提交于
      This fixes this sparse complaint:
      
      make C=2 CF="-D__CHECK_ENDIAN__" M=drivers/net/wireless/ath/
      
        CHECK   drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
      drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3544:21: warning: incorrect type in assignment (different base types)
      drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3544:21:    expected restricted __le32 [usertype] val
      drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3544:21:    got restricted __le16 [usertype] switchcomspdt
      drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3546:21: warning: incorrect type in assignment (different base types)
      drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3546:21:    expected restricted __le32 [usertype] val
      drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3546:21:    got restricted __le16 [usertype] switchcomspdt
      
      The eep->modalHeader5G.switchcomspdt is a le16 and we return u16,
      so just return le16_to_cpu().
      
      Cc: Felix Fietkau <nbd@openwrt.org>
      Signed-off-by: NLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      a98aa7ae
  12. 20 12月, 2011 1 次提交
  13. 29 11月, 2011 1 次提交
    • R
      ath9k_hw: Fix minimum CTL power for each runtime mode · a261f0e9
      Rajkumar Manoharan 提交于
      The conformance test limits (CTL) for each regulatory domains
      (FCC/ETSI/MKK) are programmed for each runtime modes (11B,11G,
      HT20 and HT40) in EEPROM. The lowest ctledge power value of a
      particular running mode should not be used while computing
      ctledge power for a different running mode.(i.e 11G's min ctledge
      power should not be used while computing ctledge power for HT20).
      
      Currently, the code does not handle this properly which would
      result in incorrect txpowers in certain cases. So reset the
      twiceMaxEdgePower to the default while computing min ctlegepower
      for every mode.
      
      Cc: David Quan <dquan@qca.qualcomm.com>
      Signed-off-by: NRajkumar Manoharan <rmanohar@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      a261f0e9
  14. 12 11月, 2011 4 次提交
  15. 15 10月, 2011 1 次提交
  16. 12 10月, 2011 2 次提交
  17. 17 9月, 2011 2 次提交
  18. 30 8月, 2011 1 次提交
    • L
      ath9k: Fix a smatch warnings · 1ba45b9e
      Larry Finger 提交于
      Smatch shows the following warnings:
      
        CHECK   drivers/net/wireless/ath/ath9k/htc_drv_main.c
      drivers/net/wireless/ath/ath9k/htc_drv_main.c +1315 ath9k_htc_configure_filter(27) warn: inconsistent returns mutex:&priv->mutex: locked (1303) unlocked (1315)
      
        CHECK   drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
      drivers/net/wireless/ath/ath9k/ar9003_eeprom.c +3321 ar9300_eeprom_restore_internal(20) warn: returning -1 instead of -ENOMEM is sloppy
      Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      1ba45b9e
  19. 23 8月, 2011 1 次提交
  20. 10 8月, 2011 4 次提交
  21. 09 8月, 2011 1 次提交
  22. 19 7月, 2011 2 次提交
  23. 23 6月, 2011 1 次提交