1. 11 7月, 2012 1 次提交
  2. 28 6月, 2012 1 次提交
  3. 26 6月, 2012 2 次提交
  4. 24 6月, 2012 3 次提交
  5. 22 6月, 2012 4 次提交
  6. 21 6月, 2012 5 次提交
  7. 20 6月, 2012 5 次提交
  8. 19 6月, 2012 3 次提交
  9. 18 6月, 2012 4 次提交
  10. 14 6月, 2012 2 次提交
  11. 13 6月, 2012 4 次提交
    • P
      mac80211: Disallow changing chan type on monitor when CHAN_MODE_FIXED · ac4d82fa
      Pontus Fuchs 提交于
      If you add a monitor interface in parallel to a normal interface
      mac80211 will let you to change the channel type on the monitor
      interface even if you are connected. Add an explicit check to
      disallow this.
      Signed-off-by: NPontus Fuchs <pontus.fuchs@gmail.com>
      [fix typo in commit log, use sdata instead of netdev]
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      ac4d82fa
    • D
      mac80211: stop polling in disassociation · 79543d8e
      David Spinadel 提交于
      Stop connection monitor poll during disassociation.
      This clears the polling flags and if a scan was
      deferred it will be run.
      
      Without this fix, if a scan was deferred due to
      connection monitoring while disassociation happens,
      this scan blocks further scan requests until interface
      down/up which causes problems connecting to another AP.
      Signed-off-by: NDavid Spinadel <david.spinadel@intel.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      79543d8e
    • E
      mac80211: check sdata_running on ieee80211_set_bitrate_mask · 554a43d5
      Eliad Peller 提交于
      Otherwise, we might call the driver callback before
      the interface was uploaded.
      
      Solves the following warning:
      WARNING: at net/mac80211/driver-ops.h:12 ieee80211_set_bitrate_mask+0xbc/0x18c [mac80211]()
      wlan0:  Failed check-sdata-in-driver check, flags: 0x0
      Modules linked in: wlcore_sdio wl12xx wl18xx wlcore mac80211 cfg80211 [last unloaded: cfg80211]
      [<c001b964>] (unwind_backtrace+0x0/0x12c) from [<c0495550>] (dump_stack+0x20/0x24)
      [<c0495550>] (dump_stack+0x20/0x24) from [<c003ee28>] (warn_slowpath_common+0x5c/0x74)
      [<c003ee28>] (warn_slowpath_common+0x5c/0x74) from [<c003eefc>] (warn_slowpath_fmt+0x40/0x48)
      [<c003eefc>] (warn_slowpath_fmt+0x40/0x48) from [<bf5c1ad0>] (ieee80211_set_bitrate_mask+0xbc/0x18c [mac80211])
      [<bf5c1ad0>] (ieee80211_set_bitrate_mask+0xbc/0x18c [mac80211]) from [<bf575960>] (nl80211_set_tx_bitrate_mask+0x350/0x358 [cfg80211])
      [<bf575960>] (nl80211_set_tx_bitrate_mask+0x350/0x358 [cfg80211]) from [<c03e9e94>] (genl_rcv_msg+0x1a8/0x1e8)
      [<c03e9e94>] (genl_rcv_msg+0x1a8/0x1e8) from [<c03e9164>] (netlink_rcv_skb+0x5c/0xc0)
      [<c03e9164>] (netlink_rcv_skb+0x5c/0xc0) from [<c03e9ce0>] (genl_rcv+0x28/0x34)
      [<c03e9ce0>] (genl_rcv+0x28/0x34) from [<c03e8e74>] (netlink_unicast+0x158/0x234)
      [<c03e8e74>] (netlink_unicast+0x158/0x234) from [<c03e93e0>] (netlink_sendmsg+0x218/0x298)
      [<c03e93e0>] (netlink_sendmsg+0x218/0x298) from [<c03b4e5c>] (sock_sendmsg+0xa4/0xc0)
      [<c03b4e5c>] (sock_sendmsg+0xa4/0xc0) from [<c03b5af4>] (__sys_sendmsg+0x1d8/0x254)
      [<c03b5af4>] (__sys_sendmsg+0x1d8/0x254) from [<c03b5ca8>] (sys_sendmsg+0x4c/0x70)
      [<c03b5ca8>] (sys_sendmsg+0x4c/0x70) from [<c0013980>] (ret_fast_syscall+0x0/0x3c)
      
      Note that calling the driver can also result
      in undefined behaviour since it doesn't have
      to deal with calls while down.
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      [removed timestamps, added note - Johannes]
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      554a43d5
    • J
      mac80211: allow cancelling dependent ROCs · e979e33c
      Johannes Berg 提交于
      In my redesign of remain-on-channel I forgot
      that an item could be cancelled when it's a
      dependent item that is part of another item.
      Allow cancelling such items by removing them
      from the dependents list.
      
      Note that when we cancel the main item, all
      its dependents are also cancelled. It would
      be possible to not do that, but would need
      tricks to promote an item from dependent to
      top-level and is tricky in the HW ROC case.
      Reported-by: NIlan Peer <ilan.peer@intel.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      e979e33c
  12. 12 6月, 2012 1 次提交
  13. 11 6月, 2012 2 次提交
  14. 09 6月, 2012 3 次提交