1. 08 Aug, 2011 3 commits
  2. 22 Jul, 2011 1 commit
  3. 20 Jul, 2011 1 commit
    • Pavel Roskin's avatar
      ath5k: merge ath5k_hw and ath5k_softc · e0d687bd
      Pavel Roskin authored
      
      
      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: default avatarPavel Roskin <proski@gnu.org>
      Acked-by: default avatarNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      e0d687bd
  4. 13 Jul, 2011 3 commits
  5. 11 Jul, 2011 1 commit
  6. 08 Jul, 2011 5 commits
  7. 21 Jun, 2011 1 commit
    • Alexey Dobriyan's avatar
      net: remove mm.h inclusion from netdevice.h · b7f080cf
      Alexey Dobriyan authored
      
      
      Remove linux/mm.h inclusion from netdevice.h -- it's unused (I've checked manually).
      
      To prevent mm.h inclusion via other channels also extract "enum dma_data_direction"
      definition into separate header. This tiny piece is what gluing netdevice.h with mm.h
      via "netdevice.h => dmaengine.h => dma-mapping.h => scatterlist.h => mm.h".
      Removal of mm.h from scatterlist.h was tried and was found not feasible
      on most archs, so the link was cutoff earlier.
      
      Hope people are OK with tiny include file.
      
      Note, that mm_types.h is still dragged in, but it is a separate story.
      Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b7f080cf
  8. 20 Jun, 2011 1 commit
  9. 17 Jun, 2011 1 commit
  10. 03 Jun, 2011 1 commit
  11. 11 May, 2011 1 commit
  12. 14 Apr, 2011 1 commit
  13. 12 Apr, 2011 4 commits
  14. 31 Mar, 2011 1 commit
  15. 11 Mar, 2011 1 commit
  16. 07 Mar, 2011 1 commit
  17. 25 Feb, 2011 1 commit
    • Johannes Berg's avatar
      mac80211: make tx() operation return void · 7bb45683
      Johannes Berg authored
      
      
      The return value of the tx operation is commonly
      misused by drivers, leading to errors. All drivers
      will drop frames if they fail to TX the frame, and
      they must also properly manage the queues (if they
      didn't, mac80211 would already warn).
      
      Removing the ability for drivers to return a BUSY
      value also allows significant cleanups of the TX
      TX handling code in mac80211.
      
      Note that this also fixes a bug in ath9k_htc, the
      old "return -1" there was wrong.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Tested-by: Sedat Dilek <sedat.dilek@googlemail.com> [ath5k]
      Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> [rt2x00]
      Acked-by: Larry Finger <Larry.Finger@lwfinger.net> [b43, rtl8187, rtlwifi]
      Acked-by: Luciano Coelho <coelho@ti.com> [wl12xx]
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      7bb45683
  18. 23 Feb, 2011 1 commit
  19. 28 Jan, 2011 2 commits
    • Bruno Randolf's avatar
      ath5k: Fix short and long retry configuration · 76a9f6fd
      Bruno Randolf authored
      
      
      The register definition for retry configuration on AR5212 was wrong, and simply
      copied over from AR5210. Update the register definitions from the documentation.
      
      Let the short and long retries be configured from mac80211 and use the standard
      values of 7 and 4 by default. Also we need to make sure we don't export more
      retries than we are configured for to mac80211 (and the rate module) in
      hw->max_rate_tries.
      
      Also clean up the code by removing unused defines and variables and drop the
      different values for "station retries" - if these need to be different it can
      be handled tru ah_retry_long/short.
      Signed-off-by: default avatarBruno Randolf <br1@einfach.org>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      76a9f6fd
    • Bob Copeland's avatar
      ath5k: use tracing for packet tx/rx dump · 0e472252
      Bob Copeland authored
      
      
      This adds a few tracepoints to ath5k driver transmit and
      receive callbacks in order to record packet traffic.
      We record the entire packet in the trace buffer so that
      the data can be extracted with trace-cmd and external
      plugins.
      
      Compared to the previous debugging calls, this approach
      removes an out-of-line function call from the tx and rx
      paths in the compiled-in-but-disabled case, while
      improving the ability to process the logged data.
      
      A new option, CONFIG_ATH5K_TRACER, is added so that one
      may disable the tracepoints completely.
      Signed-off-by: default avatarBob Copeland <me@bobcopeland.com>
      Acked-by: default avatarBruno Randolf <br1@einfach.org>
      Acked-by: default avatarNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      0e472252
  20. 25 Jan, 2011 1 commit
  21. 21 Jan, 2011 6 commits
  22. 18 Jan, 2011 1 commit
  23. 05 Jan, 2011 1 commit