1. 24 11月, 2014 1 次提交
  2. 27 9月, 2014 1 次提交
    • P
      ath5k: Remove AHB bus support · 093ec3c5
      Paul Bolle 提交于
      AHB bus support was added in v2.6.38, through commit a0b907ee
      ("ath5k: Add AHB bus support."). That code can only be build if the
      Kconfig symbol ATHEROS_AR231X is set. But that symbol has never been
      added to the tree. So AHB bus support has always been dead code.
      
      Let's remove all code that depends on ATHEROS_AR231X. If that symbol
      ever gets added to the tree the AHB bus support can be re-added too.
      Signed-off-by: NPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      093ec3c5
  3. 02 7月, 2014 1 次提交
  4. 17 8月, 2013 1 次提交
  5. 07 3月, 2013 1 次提交
  6. 11 8月, 2012 1 次提交
  7. 14 4月, 2012 1 次提交
  8. 11 4月, 2012 2 次提交
  9. 07 3月, 2012 1 次提交
  10. 23 2月, 2012 1 次提交
  11. 20 12月, 2011 1 次提交
  12. 29 11月, 2011 6 次提交
    • N
      ath5k: Renumber hw queue ids · b4cfb5d5
      Nick Kossifidis 提交于
      According to documentation higher DCUs have higher priority and should
      be used for beacons and CAB traffic. More specifically DCU 9 should be
      used for beacons and DCU 8 for CAB traffic, I assumed DCU 7 should be
      OK for UAPSD traffic.
      
      Note that DCU 8 and 9 are special because they can only be mapped to a single
      QCU each but since we use a 1:1 mapping between QCUs and DCUs anyway we don't
      have to change much.
      
      P.S. I also did a few related cleanups on qcu.c and ath5k.h
      Signed-off-by: NNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      b4cfb5d5
    • N
      ath5k: MRR support and 2GHz radio override belong in ah_capabilities · 86f62d9b
      Nick Kossifidis 提交于
      MRR support and 2GHz radio override belong in ah_capabilities and we
      should use them (e.g. so far  we used to set mrr descriptor without
      checking if MRR support is enabled + we checked for MRR support 2
      times, one by trying to set up an MRR descriptor and another one based
      on MAC version).
      Signed-off-by: NNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      86f62d9b
    • N
      ath5k: Cleanups v2 + add kerneldoc on all hw functions · c47faa36
      Nick Kossifidis 提交于
      No functional changes
      
      Add kernel doc for all ath5k_hw_* functions and strcucts. Also do some cleanup,
      rename ath5k_hw_init_beacon to ath5k_hw_init_beacon_timers, remove an unused
      variable from ath5k_hw_pcu_init and a few obsolete macros, mostly related to XR.
      Signed-off-by: NNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      c47faa36
    • N
      ath5k: Calibration re-work · ce169aca
      Nick Kossifidis 提交于
      Noise floor calibration does not interfere with traffic and should run more
      often as part of our "short calibration". The full calibration is not the
      noise floor calibration but the AGC + Gain_F (on RF5111 and RF5112) calibration
      and should run less often because it does interfere with traffic.
      
      So
      
      Short calibration -> I/Q & NF Calibration
      Long calibration -> Short + AGC + Gain_F
      
      This patch was for some time on my pub/ dir on www.kernel.org and has been tested
      by a few people and me. I think it's O.K. to go in.
      
      I also changed ah_calibration to ah_iq_cal_needed to make more sense.
      
      v2 Use a workqueue instead of a tasklet for calibration
      Signed-off-by: NNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ce169aca
    • N
      ath5k: Add TXNOFRM to INT_TX_ALL · fea94807
      Nick Kossifidis 提交于
      Add TXNOFRM to INT_TX_ALL since it's a TX interrupt too.
      Signed-off-by: NNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      fea94807
    • N
      ath5k: Switch from read-and-clear to write-to-clear method when handling PISR/SISR registers · 7ff7c82e
      Nick Kossifidis 提交于
      Since card has 12 tx queues and we want to keep track of the interrupts
      per queue we can't fit all these interrupt bits on a single register.
      So we have 5 registers, the primary interrupt status register (PISR) and
      the 4 secondary interupt status registers (SISRs).
      
      In order to be able to read them all at once (atomic operation) Atheros
      introduced the Read-And-Clear registers to make things easier. So when
      reading RAC_PISR register, hw does a read on PISR and all SISRs, returns
      the value of PISR, copies all SISR values to their shadow copies (RAC_SISRx)
      and clears PISR and SISRs. This saves us from reading PISR/SISRs in a sequence.
      
      So far we 've used this approach and MadWiFi/Windows driver etc also used it
      for years.
      
      It turns out this operation is not atomic after all (at least not on all cards)
      That means it's possible to loose some interrupts because they came after the
      copy step and hw cleared them on the clean step !
      
      That's probably the reason we got missed beacons, got stuck queues etc and
      couldn't figure out what was going on.
      
      With this patch we switch from RaC operation to an alternative method (that
      makes more sense IMHO anyway, I just chose to be on the safe side so far).
      Instead of reading RAC registers, we read the normal PISR/SISR registers and
      clear any bits we got by writing them back on the register. This will clear only
      the bits we got on our read step and leave any new bits unaffected (at least
      that's what docs say). So if any new interrupts come up we won't miss it.
      
      I've tested this with an AR5213 and an AR2425 and it seems O.K.
      
      Many thanks to Adrian Chadd for debuging this and reviewing the patch !
      
      v2: Make sure we don't clear PISR bits that map to SISR generated interrupts
      (added a comment on the code for this)
      Signed-off-by: NNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      7ff7c82e
  13. 09 8月, 2011 4 次提交
  14. 22 7月, 2011 2 次提交
  15. 21 7月, 2011 1 次提交
    • P
      ath5k: merge ath5k_hw and ath5k_softc · e0d687bd
      Pavel Roskin 提交于
      Both ath5k_hw and ath5k_softc represent one instance of the hardware.
      This duplication is historical and is not needed anymore.
      
      Keep the name "ath5k_hw" for the merged structure and "ah" for the
      variable pointing to it.  "ath5k_hw" is shorter than "ath5k_softc", more
      descriptive and more widely used.
      
      Put the combined structure to ath5k.h where the old ath5k_softc used to
      be. Move some code from base.h to ath5k.h as needed.
      
      Remove memory allocation for struct ath5k_hw and the corresponding error
      handling.  Merge iobase and ah_iobase fields.
      Signed-off-by: NPavel Roskin <proski@gnu.org>
      Acked-by: NNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      e0d687bd
  16. 14 7月, 2011 1 次提交
  17. 12 7月, 2011 1 次提交
  18. 08 7月, 2011 5 次提交
  19. 18 6月, 2011 1 次提交
  20. 15 4月, 2011 2 次提交
  21. 13 4月, 2011 5 次提交
新手
引导
客服 返回
顶部