1. 10 11月, 2011 1 次提交
  2. 12 10月, 2011 1 次提交
  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 1 次提交
    • K
      ath6kl: fix size_t related warnings · ef548626
      Kalle Valo 提交于
      My earlier debug log additions added these warnings when compiling 64 bit
      kernels:
      
      ath6kl/init.c:962: warning: format '%d' expects type 'int',
        but argument 3 has type 'size_t'
      ath6kl/init.c:975: warning: format '%d' expects type 'int',
        but argument 3 has type 'size_t'
      ath6kl/init.c:988: warning: format '%d' expects type 'int',
        but argument 3 has type 'size_t'
      ath6kl/init.c:1009: warning: format '%d' expects type 'int',
        but argument 3 has type 'size_t'
      ath6kl/init.c:1192: warning: format '%d' expects type 'int',
        but argument 4 has type 'size_t'
      ath6kl/init.c:1236: warning: format '%d' expects type 'int',
        but argument 4 has type 'size_t'
      ath6kl/init.c:1267: warning: format '%d' expects type 'int',
        but argument 4 has type 'size_t'
      Reported-by: NVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      ef548626
  5. 29 9月, 2011 6 次提交
  6. 28 9月, 2011 2 次提交
  7. 27 9月, 2011 2 次提交
  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 11 次提交
  10. 19 9月, 2011 2 次提交
    • V
      ath6kl: deinitialise wiphy on error · 9df337a1
      Vivek Natarajan 提交于
      This fixes the following panic observed on card removal.
      
      BUG: unable to handle kernel paging request at f86e22ac
      EIP is at wiphy_update_regulatory+0x252/0x590 [cfg80211]
      Call Trace:
       [<f92fb9e5>] set_regdom+0x165/0x600 [cfg80211]
       [<c02057ba>] ? __kmalloc+0x10a/0x190
       [<c0366557>] ? nla_parse+0xb7/0xd0
       [<f9300b92>] ? T.1400+0x12/0x20 [cfg80211]
       [<f9300c84>] nl80211_set_reg+0xe4/0x270 [cfg80211]
       [<f92fe560>] ? nl80211_pre_doit+0x0/0x160 [cfg80211]
       [<c050bdeb>] genl_rcv_msg+0x23b/0x280
       [<c050bbb0>] ? genl_rcv_msg+0x0/0x280
       [<c050ab76>] netlink_rcv_skb+0x86/0xb0
       [<c050bb80>] ? genl_rcv+0x0/0x30
       [<c050bb9c>] genl_rcv+0x1c/0x30
      Signed-off-by: NVivek Natarajan <nataraja@qca.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      9df337a1
    • J
      ath6kl: Fix static WEP configuration in AP mode · 151411e8
      Jouni Malinen 提交于
      Configuration of the WEP keys needs to be delayed until the AP mode has
      been properly started at the target. Partial support for delaying the
      WEP key configuration was already in place in the driver, but the actual
      part of deciding when to do this was missing.
      Signed-off-by: NJouni Malinen <jouni@qca.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      151411e8
  11. 16 9月, 2011 11 次提交