1. 23 11月, 2010 1 次提交
    • C
      carl9170: fix virtual interface setup crash · b397492a
      Christian Lamparter 提交于
      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: NChristian Lamparter <chunkeey@googlemail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      b397492a
  2. 26 10月, 2010 1 次提交
    • C
      carl9170: fix scheduling while atomic · dafeac38
      Christian Lamparter 提交于
      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: NChristian Lamparter <chunkeey@googlemail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      dafeac38
  3. 06 10月, 2010 1 次提交
    • C
      carl9170: support firmware-based rx filter · 5c895691
      Christian Lamparter 提交于
      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: NChristian Lamparter <chunkeey@googlemail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      5c895691
  4. 29 9月, 2010 3 次提交
  5. 21 9月, 2010 1 次提交
  6. 15 9月, 2010 1 次提交