1. 15 12月, 2016 4 次提交
  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. 30 3月, 2015 1 次提交
  4. 15 1月, 2015 1 次提交
  5. 28 10月, 2014 1 次提交
  6. 19 12月, 2013 1 次提交
  7. 27 9月, 2013 1 次提交
  8. 11 12月, 2012 2 次提交
  9. 07 6月, 2012 1 次提交
    • J
      wireless: Remove casts to same type · 2c208890
      Joe Perches 提交于
      Adding casts of objects to the same type is unnecessary
      and confusing for a human reader.
      
      For example, this cast:
      
              int y;
              int *p = (int *)&y;
      
      I used the coccinelle script below to find and remove these
      unnecessary casts.  I manually removed the conversions this
      script produces of casts with __force, __iomem and __user.
      
      @@
      type T;
      T *p;
      @@
      
      -       (T *)p
      +       p
      
      Neatened the mwifiex_deauthenticate_infra function which
      was doing odd things with array pointers and not using
      is_zero_ether_addr.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2c208890
  10. 06 6月, 2012 1 次提交
  11. 17 4月, 2012 3 次提交
  12. 20 12月, 2011 2 次提交
  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 10月, 2011 2 次提交
  15. 20 9月, 2011 1 次提交
  16. 10 8月, 2011 1 次提交
  17. 09 8月, 2011 2 次提交
  18. 19 7月, 2011 1 次提交
  19. 20 5月, 2011 1 次提交
  20. 27 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. 29 1月, 2011 1 次提交
  23. 20 1月, 2011 1 次提交
  24. 11 1月, 2011 1 次提交
  25. 14 12月, 2010 3 次提交
  26. 08 12月, 2010 3 次提交
  27. 03 12月, 2010 1 次提交