1. 04 6月, 2010 1 次提交
    • S
      ath9k_hw: Optimize ath9k_hw_ar9287_set_board_values · 79d7f4bc
      Sujith 提交于
      Rather than doing a series of RMWs, calculate the
      value to be written to the register in question and
      do a single REGWRITE. This improves bringup time.
      
      This depends on the analog_shiftreg configuration option,
      which is currently buggy. For AP mode, a delay of 100us
      has to be the default. For station mode, this knob has to
      be enabled on a per-case basis, though it is a little
      unclear on when to enable a delay. This can be fixed later though.
      Signed-off-by: NSujith <Sujith.Manoharan@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      79d7f4bc
  2. 14 5月, 2010 1 次提交
    • J
      drivers/net: Remove unnecessary returns from void function()s · a4b77097
      Joe Perches 提交于
      This patch removes from drivers/net/ all the unnecessary
      return; statements that precede the last closing brace of
      void functions.
      
      It does not remove the returns that are immediately
      preceded by a label as gcc doesn't like that.
      
      It also does not remove null void functions with return.
      
      Done via:
      $ grep -rP --include=*.[ch] -l "return;\n}" net/ | \
        xargs perl -i -e 'local $/ ; while (<>) { s/\n[ \t\n]+return;\n}/\n}/g; print; }'
      
      with some cleanups by hand.
      
      Compile tested x86 allmodconfig only.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a4b77097
  3. 17 4月, 2010 3 次提交
  4. 08 10月, 2009 1 次提交
  5. 29 8月, 2009 1 次提交
  6. 14 8月, 2009 4 次提交
  7. 05 8月, 2009 4 次提交
  8. 28 7月, 2009 2 次提交
  9. 25 7月, 2009 1 次提交
    • S
      ath9k: RX stucks during heavy traffic in HT40 mode. · dd8b15b0
      Senthil Balasubramanian 提交于
      Running iperf along with p2p traffic on both TX and RX side then
      stop one side, then stop the other side, then start it up again,
      eventually the STA gets into a mode that it can not pass data at
      all.
      
      A hardware workaround for invalid RSSI can make FIFO write pointer
      to jump over read pointer, causing RX data corruption and repeated
      DMA. Both TX and RX works fine when the workaround is disabled.
      
      To replace the original hardware work around, software looks for
      frames with post delimiter CRC error and mark the RSSI invalid so
      that the upperlayer will not use the RSSI associated with this
      frame. So disable the hardware workaround by updating the appropriate
      registers.
      Signed-off-by: NSenthil Balasubramanian <senthilkumar@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      dd8b15b0
  10. 11 7月, 2009 1 次提交
  11. 12 5月, 2009 1 次提交
  12. 23 4月, 2009 2 次提交
  13. 28 3月, 2009 6 次提交
  14. 17 3月, 2009 2 次提交
  15. 06 3月, 2009 1 次提交
  16. 28 2月, 2009 5 次提交
  17. 18 2月, 2009 1 次提交
    • H
      drivers/net/wireless/ath9k: fix sparse warnings: Should it be static? · 93f726a9
      Hannes Eder 提交于
      Impact: Make symbols static.
      
      Fix this sparse warnings:
        drivers/net/wireless/ath9k/eeprom.c:1343:5: warning: symbol 'ath9k_hw_4k_get_spur_channel' was not declared. Should it be static?
        drivers/net/wireless/ath9k/eeprom.c:1372:19: warning: symbol 'eep_4k_ops' was not declared. Should it be static?
        drivers/net/wireless/ath9k/eeprom.c:2649:5: warning: symbol 'ath9k_hw_def_get_spur_channel' was not declared. Should it be static?
        drivers/net/wireless/ath9k/eeprom.c:2678:19: warning: symbol 'eep_def_ops' was not declared. Should it be static?
      Signed-off-by: NHannes Eder <hannes@hanneseder.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      93f726a9
  18. 14 2月, 2009 3 次提交