1. 12 10月, 2011 10 次提交
  2. 04 10月, 2011 5 次提交
  3. 03 10月, 2011 1 次提交
    • K
      ath6kl: include vmalloc.h in debug.c · 62c83ac4
      Kalle Valo 提交于
      Fixes compilation errors when compiling for ARM:
      
      ath6kl/debug.c:312: error: implicit declaration of function 'vmalloc'
      ath6kl/debug.c:312: warning: assignment makes pointer from integer without a cast
      ath6kl/debug.c:342: error: implicit declaration of function 'vfree'
      ath6kl/debug.c:696: warning: assignment makes pointer from integer without a cast
      ath6kl/debug.c:871: warning: assignment makes pointer from integer without a cast
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      62c83ac4
  4. 01 10月, 2011 5 次提交
  5. 29 9月, 2011 6 次提交
  6. 28 9月, 2011 5 次提交
  7. 27 9月, 2011 3 次提交
    • V
      ath6kl: Remove unnecessary retrieval of first list entry in ath6kl_htc_tx_setup_scat_list() · aad9339f
      Vasanthakumar Thiagarajan 提交于
      It is unnecessary to take the first list entry from queue again for
      transmission. Sometimes it may look racy when the head of the list
      changes between subsequent retrival, but should not happen in
      practical.
      Reported-by: NJouni Malinen <jouni@qca.qualcomm.com>
      Signed-off-by: NVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      aad9339f
    • R
      ath6kl: Fix compilation error while compiling w/o debug · 3038fac8
      Rajkumar Manoharan 提交于
      drivers/net/wireless/ath/ath6kl/htc_hif.o:
      In function `ath6kl_debug_fwlog_event':
      drivers/net/wireless/ath/ath6kl/debug.h:109:
      multiple definition of `ath6kl_debug_fwlog_event'
      drivers/net/wireless/ath/ath6kl/debug.o:
      drivers/net/wireless/ath/ath6kl/debug.h:109: first defined here
      drivers/net/wireless/ath/ath6kl/htc_hif.o:
      In function `ath6kl_debug_cleanup':
      drivers/net/wireless/ath/ath6kl/debug.h:118:
      multiple definition of `ath6kl_debug_cleanup'
      drivers/net/wireless/ath/ath6kl/debug.o:
      drivers/net/wireless/ath/ath6kl/debug.h:118: first defined here
      Signed-off-by: NRajkumar Manoharan <rmanohar@qca.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      3038fac8
    • M
      ath9k: Fix a dma warning/memory leak · ba542385
      Mohammed Shafi Shajakhan 提交于
      proper dma_unmapping and freeing of skb's has to be done in the rx
      cleanup for EDMA chipsets when the device is unloaded and this also
      seems to address the following warning which shows up occasionally when
      the device is unloaded
      
      	Call Trace:
      	[<c0148cd2>] warn_slowpath_common+0x72/0xa0
      	[<c03b669c>] ? dma_debug_device_change+0x19c/0x200
      	[<c03b669c>] ? dma_debug_device_change+0x19c/0x200
      	[<c0148da3>] warn_slowpath_fmt+0x33/0x40
      	[<c03b669c>] dma_debug_device_change+0x19c/0x200
      	[<c0657f12>] notifier_call_chain+0x82/0xb0
      	[<c0171370>] __blocking_notifier_call_chain+0x60/0x90
      	[<c01713bf>] blocking_notifier_call_chain+0x1f/0x30
      	[<c044f594>] __device_release_driver+0xa4/0xc0
      	[<c044f647>] driver_detach+0x97/0xa0
      	[<c044e65c>] bus_remove_driver+0x6c/0xe0
      	[<c029af0b>] ? sysfs_addrm_finish+0x4b/0x60
      	[<c0450109>] driver_unregister+0x49/0x80
      	[<c0299f54>] ? sysfs_remove_file+0x14/0x20
      	[<c03c3ab2>] pci_unregister_driver+0x32/0x80
      	[<f92c2162>] ath_pci_exit+0x12/0x20 [ath9k]
      	[<f92c8467>] ath9k_exit+0x17/0x36 [ath9k]
      	[<c06523cd>] ? mutex_unlock+0xd/0x10
      	[<c018e27f>] sys_delete_module+0x13f/0x200
      	[<c02139bb>] ? sys_munmap+0x4b/0x60
      	[<c06547c5>] ? restore_all+0xf/0xf
      	[<c0657a20>] ? spurious_fault+0xe0/0xe0
      	[<c01832f4>] ? trace_hardirqs_on_caller+0xf4/0x180
      	[<c065b863>] sysenter_do_call+0x12/0x38
      	 ---[ end trace 16e1c1521c06bcf9 ]---
      	Mapped at:
      	[<c03b7938>] debug_dma_map_page+0x48/0x120
      	[<f92ba3e8>] ath_rx_init+0x3f8/0x4b0 [ath9k]
      	[<f92b5ae4>] ath9k_init_device+0x4c4/0x7b0 [ath9k]
      	[<f92c2813>] ath_pci_probe+0x263/0x330 [ath9k]
      Signed-off-by: NMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ba542385
  8. 23 9月, 2011 2 次提交
    • V
      ath6kl: Fix disconnect event reporting · 1de547d6
      Vasanthakumar Thiagarajan 提交于
      Driver does not report disconnect event properly when in connecting state,
      this leads to issues failures in starting reconnection. Send a disconnect
      command to target when a disconnect event is received with reason code
      other than 3 (DISCONNECT_CMD - disconnect request from host) to make the
      frimware stop trying to connect even after giving disconnect event. There
      will be one more disconnect event for this disconnect command with reason
      code DISCONNECT_CMD which will be notified to cfg80211.
      Signed-off-by: NVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      1de547d6
    • K
      ath6kl: pass only unicast frames for aggregation · 5694f962
      Kalle Valo 提交于
      When pinging form ar6003 to the AP RTT was high even when power save was
      disabled:
      
      100 packets transmitted, 97 received, 3% packet loss, time 99125ms
      rtt min/avg/max/mdev = 1.875/46.733/795.506/139.181 ms
      
      After some investigation one reason for this was that received
      multicast traffic confused the aggrecation logic and caused 400 ms
      timeouts when receiving multicast frames from AP.
      
      A simple way to fix is to pass only unicast frames for aggregation. This
      improves RTT:
      
      100 packets transmitted, 99 received, 1% packet loss, time 99144ms
      rtt min/avg/max/mdev = 2.083/13.084/403.390/56.794 ms
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      5694f962
  9. 22 9月, 2011 3 次提交