1. 15 12月, 2016 2 次提交
  2. 08 12月, 2015 1 次提交
    • M
      ath9k: Simplify and fix eeprom endianness swapping · 6fa658fd
      Martin Blumenstingl 提交于
      The three eeprom implementations had quite some duplicate code when it
      came to endianness swapping.
      Additionally there was a bug in eeprom_4k and eeprom_9287 which
      prevented the endianness swapping from working correctly, because the
      swapping code was guarded within an "if (!ath9k_hw_use_flash(ah))". In
      eeprom_def this check did not exist, so it seems that eeprom_def was the
      only implementation where endianness swapping worked.
      
      This patch takes the duplicate code and moves it from eeprom_* to
      eeprom.c. The new code is derived from eeprom_def, while taking into
      account the specifics from the other implementations.
      Signed-off-by: NMartin Blumenstingl <martin.blumenstingl@googlemail.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      6fa658fd
  3. 15 1月, 2015 1 次提交
  4. 19 12月, 2013 1 次提交
  5. 27 9月, 2013 1 次提交
  6. 11 12月, 2012 2 次提交
  7. 06 6月, 2012 1 次提交
  8. 24 4月, 2012 1 次提交
    • G
      ath9k: fix tx power settings for AR9287 · 83722bd4
      Gabor Juhos 提交于
      The 'ath9k_hw_update_regulatory_maxpower'
      helper function has been introduced by
      commit a55f8588
      (ath9k_hw: Cleanup TX power calculation for AR9287).
      
      Updating of the max_power_level value has been moved
      into the helper function in that change, however the
      removed code from 'ath9k_hw_ar9287_set_txpower' has
      not been replaced with a call of the new helper
      function.
      
      Due to that missing call, retrieving tx power for 2x2
      and 3x3 chainmask is not handled properly. During the
      calculation of the tx power for 2x2 and 3x3 chainmasks
      the values are reduced. Those reductions must be
      compensated during retrieving.
      
      Fix this by adding the missing call of the helper
      function.
      Signed-off-by: NGabor Juhos <juhosg@openwrt.org>
      Acked-by: NSujith Manoharan <c_manoha@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      83722bd4
  9. 17 4月, 2012 2 次提交
  10. 20 12月, 2011 1 次提交
  11. 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
  12. 12 10月, 2011 2 次提交
  13. 20 9月, 2011 2 次提交
  14. 10 8月, 2011 1 次提交
  15. 09 8月, 2011 2 次提交
  16. 19 7月, 2011 1 次提交
  17. 02 6月, 2011 1 次提交
  18. 20 5月, 2011 1 次提交
  19. 26 4月, 2011 1 次提交
  20. 13 4月, 2011 1 次提交
  21. 31 3月, 2011 1 次提交
    • R
      ath9k_hw: Speedup register ops for HTC driver · e7fc6338
      Rajkumar Manoharan 提交于
      Fine-tuning register write operation and avoid unnecessay
      delays for ath9k_htc driver, saves hw reset time which
      improves scanning time and also solves one of the following
      scenario.
      
      Sometimes the ACK is sent by STA for assoc response is not
      seen at AP side. So the AP continues to send retry assoc
      responses. At the STA side, since the assoc response was
      already forwarded to mac80211, it proceeded to channel change
      which in turns does chip reset.
      
      In most of the cases the chip reset was completed before
      max retries are reached at AP side. Hence STA can able to ACK
      the retried frames again. But in clear environment these retries
      are completed within shortspan of time.
      
      Since ath9k_htc consumes more time for hw reset, this latency
      is causing dissociation by AP due to max reties are reached.
      This issue was originally reported with Cisco Aironet 1250 AP
      in HT40 mode in noise free environment.
      Signed-off-by: NRajkumar Manoharan <rmanoharan@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      e7fc6338
  22. 20 1月, 2011 1 次提交
  23. 14 12月, 2010 3 次提交
  24. 08 12月, 2010 3 次提交
  25. 25 11月, 2010 1 次提交
  26. 23 11月, 2010 1 次提交
    • J
      ath9k: Use static const · 07b2fa5a
      Joe Perches 提交于
      Using static const generally increases object text and decreases data size.
      It also generally decreases overall object size.
      
         text	   data	    bss	    dec	    hex	filename
        11161	     56	   2136	  13353	   3429	drivers/net/wireless/ath/ath9k/ar9003_paprd.o.new
        11167	     56	   2136	  13359	   342f	drivers/net/wireless/ath/ath9k/ar9003_paprd.o.old
        15428	     56	   3056	  18540	   486c	drivers/net/wireless/ath/ath9k/eeprom_4k.o.old
        15451	     56	   3056	  18563	   4883	drivers/net/wireless/ath/ath9k/eeprom_4k.o.new
        14087	     56	   2560	  16703	   413f	drivers/net/wireless/ath/ath9k/eeprom_9287.o.old
        14036	     56	   2560	  16652	   410c	drivers/net/wireless/ath/ath9k/eeprom_9287.o.new
        10041	     56	   2384	  12481	   30c1	drivers/net/wireless/ath/ath9k/ani.o.new
        10088	     56	   2384	  12528	   30f0	drivers/net/wireless/ath/ath9k/ani.o.old
         9316	   1580	   2304	  13200	   3390	drivers/net/wireless/ath/ath9k/htc_drv_init.o.new
         9316	   1580	   2304	  13200	   3390	drivers/net/wireless/ath/ath9k/htc_drv_init.o.old
        16483	     56	   3432	  19971	   4e03	drivers/net/wireless/ath/ath9k/ar9003_phy.o.new
        16517	     56	   3432	  20005	   4e25	drivers/net/wireless/ath/ath9k/ar9003_phy.o.old
        18221	    104	   2960	  21285	   5325	drivers/net/wireless/ath/ath9k/rc.o.old
        18203	    104	   2960	  21267	   5313	drivers/net/wireless/ath/ath9k/rc.o.new
        19985	     56	   4288	  24329	   5f09	drivers/net/wireless/ath/ath9k/eeprom_def.o.new
        20040	     56	   4288	  24384	   5f40	drivers/net/wireless/ath/ath9k/eeprom_def.o.old
        23997	     56	   4984	  29037	   716d	drivers/net/wireless/ath/ath9k/ar5008_phy.o.old
        23846	     56	   4984	  28886	   70d6	drivers/net/wireless/ath/ath9k/ar5008_phy.o.new
        24285	     56	   3184	  27525	   6b85	drivers/net/wireless/ath/ath9k/ar9003_eeprom.o.old
        24101	     56	   3184	  27341	   6acd	drivers/net/wireless/ath/ath9k/ar9003_eeprom.o.new
         6834	     56	   1032	   7922	   1ef2	drivers/net/wireless/ath/ath9k/ar9002_phy.o.old
         6780	     56	   1032	   7868	   1ebc	drivers/net/wireless/ath/ath9k/ar9002_phy.o.new
        36211	     64	   8624	  44899	   af63	drivers/net/wireless/ath/ath9k/hw.o.new
        36401	     64	   8624	  45089	   b021	drivers/net/wireless/ath/ath9k/hw.o.old
         9281	     56	   1496	  10833	   2a51	drivers/net/wireless/ath/ath9k/ar9003_calib.o.old
         9150	     56	   1496	  10702	   29ce	drivers/net/wireless/ath/ath9k/ar9003_calib.o.new
      
      Use ARRAY_SIZE instead of a magic number.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      07b2fa5a
  27. 17 11月, 2010 1 次提交
  28. 16 11月, 2010 1 次提交
  29. 28 9月, 2010 1 次提交
  30. 17 9月, 2010 1 次提交