1. 05 Jul, 2011 2 commits
  2. 16 May, 2011 1 commit
  3. 05 May, 2011 1 commit
  4. 26 Apr, 2011 1 commit
  5. 29 Mar, 2011 1 commit
  6. 27 Jan, 2011 1 commit
  7. 19 Jan, 2011 1 commit
    • Johannes Berg's avatar
      mac80211: track receiver's aggregation reorder buffer size · 0b01f030
      Johannes Berg authored
      
      
      The aggregation code currently doesn't implement the
      buffer size negotiation. It will always request a max
      buffer size (which is fine, if a little pointless, as
      the mac80211 code doesn't know and might just use 0
      instead), but if the peer requests a smaller size it
      isn't possible to honour this request.
      
      In order to fix this, look at the buffer size in the
      addBA response frame, keep track of it and pass it to
      the driver in the ampdu_action callback when called
      with the IEEE80211_AMPDU_TX_OPERATIONAL action. That
      way the driver can limit the number of subframes in
      aggregates appropriately.
      
      Note that this doesn't fix any drivers apart from the
      addition of the new argument -- they all need to be
      updated separately to use this variable!
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      0b01f030
  8. 29 Nov, 2010 1 commit
  9. 22 Nov, 2010 1 commit
    • Christian Lamparter's avatar
      carl9170: fix virtual interface setup crash · b397492a
      Christian Lamparter authored
      
      
      This patch fixes a faulty bound check which caused a
      crash when too many virtual interface were brought up.
      
      BUG: unable to handle kernel NULL pointer dereference at 00000004
      IP: [<f8125f67>] carl9170_op_add_interface+0x1d7/0x2c0 [carl9170]
      *pde = 00000000
      Oops: 0002 [#1] PREEMPT
      Modules linked in: carl9170 [...]
      Pid: 4720, comm: wpa_supplicant Not tainted 2.6.37-rc2-wl+
      EIP: 0060:[<f8125f67>] EFLAGS: 00210206 CPU: 0
      EIP is at carl9170_op_add_interface+0x1d7/0x2c0 [carl9170]
      EAX: 00000000 ...
      Process wpa_supplicant
      Stack:
       f4f88f34 fffffff4 ..
      Call Trace:
       [<f8f4e666>] ? ieee80211_do_open+0x406/0x5c0 [mac80211]
       [...]
      Code: <89> 42 04 ...
      EIP: [<f8125f67>] carl9170_op_add_interface+0x1d7/0x2c0 [carl9170]
      CR2: 0000000000000004
      Signed-off-by: default avatarChristian Lamparter <chunkeey@googlemail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      b397492a
  10. 15 Nov, 2010 2 commits
  11. 25 Oct, 2010 1 commit
    • Christian Lamparter's avatar
      carl9170: fix scheduling while atomic · dafeac38
      Christian Lamparter authored
      
      
      This patch fixes the following mishap:
      
      BUG: scheduling while atomic: wpa_supplicant/4164/0x00000002
      Modules linked in: carl9170 mac80211 [...]
      Pid: 4164, comm: wpa_supplicant Not tainted 2.6.36-wl+ #119
      Call Trace:
       [<c13779a9>] ? schedule+0x349/0x4c0
       [<c13780d6>] ? schedule_timeout+0x106/0x1e0
       [<c1037f50>] ? process_timeout+0x0/0x10
       [<c1377e8d>] ? wait_for_common+0x9d/0x140
       [<c1029110>] ? default_wake_function+0x0/0x10
       [<f80c6080>] ? carl9170_exec_cmd+0xf0/0x250 [carl9170]
       [<f80c695e>] ? carl9170_set_mac_reg+0x5e/0x70 [carl9170]
       [<f80c3f76>] ? carl9170_op_add_interface+0x176/0x310 [carl9170]
       [...]
      
      rcu_read_unlock() call was erroneously placed after the
      sync. function carl9170_mod_virtual_mac.
      Signed-off-by: default avatarChristian Lamparter <chunkeey@googlemail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      dafeac38
  12. 05 Oct, 2010 1 commit
    • Christian Lamparter's avatar
      carl9170: support firmware-based rx filter · 5c895691
      Christian Lamparter authored
      
      
      The hardware rx-filter was essentially disabled, because
      of a serve, yet unidentifiable problem with iwlagn.
      Due to these circumstances the driver and mac80211 were
      left with the job of filtering.
      
      This is very unfortunate and has proven to be expensive
      in terms of latency, memory and load.
      
      Therefore the new 1.8.8.3 firmware introduces a flexible
      filtering infrastructure which allows the driver to
      offload some of the checks (FCS & PLCP crc check,
      RA match, control frame filter, etc...) whenever possible.
      
      Note:
      This patch also includes all changes to the
      shared headers files since the inclusion.
      Signed-off-by: default avatarChristian Lamparter <chunkeey@googlemail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      5c895691
  13. 28 Sep, 2010 3 commits
  14. 21 Sep, 2010 1 commit
  15. 14 Sep, 2010 1 commit