1. 17 4月, 2012 2 次提交
  2. 13 4月, 2012 1 次提交
  3. 28 2月, 2012 1 次提交
  4. 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
  5. 20 12月, 2011 1 次提交
  6. 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
  7. 12 11月, 2011 4 次提交
  8. 15 10月, 2011 1 次提交
  9. 12 10月, 2011 2 次提交
  10. 17 9月, 2011 2 次提交
  11. 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
  12. 23 8月, 2011 1 次提交
  13. 10 8月, 2011 4 次提交
  14. 09 8月, 2011 1 次提交
  15. 19 7月, 2011 2 次提交
  16. 23 6月, 2011 6 次提交
  17. 21 6月, 2011 1 次提交
  18. 02 6月, 2011 1 次提交
  19. 20 5月, 2011 1 次提交
  20. 17 5月, 2011 1 次提交
  21. 13 5月, 2011 2 次提交
  22. 11 5月, 2011 1 次提交
  23. 10 5月, 2011 1 次提交
  24. 06 5月, 2011 1 次提交
    • L
      ath9k_hw: fix power for the HT40 duplicate frames · cf3a03b9
      Luis R. Rodriguez 提交于
      With AR9003 at about ~ 10 feet from an AP that uses RTS / CTS you
      will be able to associate but not not get data through given that
      the power for the rates used was set too low. This increases the
      power and permits data connectivity at longer distances from
      access points when connected with HT40. Without this you will not
      get any data through when associated to APs configured in HT40
      at about more than 10 feet away.
      
      Cc: stable@kernel.org
      Cc: Fiona Cain <fcain@atheros.com>
      Cc: Zhen Xie <Zhen.Xie@Atheros.com>
      Cc: Kathy Giori <kathy.giori@atheros.com>
      Cc: Neha Choksi <neha.choksi@atheros.com>
      Cc: Wayne Daniel <wayne.daniel@atheros.com>
      Cc: Gaurav Jauhar <gaurav.jauhar@atheros.com>
      Cc: Samira Naraghi <samira.naraghi@atheros.com>
      CC: Ashok Chennupati <ashok.chennupati@atheros.com>
      Cc: Lance Zimmerman <lance.zimmerman@atheros.com>
      Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      cf3a03b9