Skip to content
Snippets Groups Projects
  1. Dec 07, 2011
  2. Dec 06, 2011
  3. Nov 30, 2011
  4. Nov 28, 2011
  5. Nov 21, 2011
  6. Nov 11, 2011
  7. Nov 09, 2011
    • Johannes Berg's avatar
      nl80211: advertise socket TX status capability · 1f074bd8
      Johannes Berg authored
      
      The new wifi socket TX capability should be
      supported by wifi drivers, let them advertise
      whether they do or not.
      
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      1f074bd8
    • Johannes Berg's avatar
      cfg80211/mac80211: allow management TX to not wait for ACK · e247bd90
      Johannes Berg authored
      
      For probe responses it can be useful to not wait for ACK to
      avoid retransmissions if the station that sent the probe is
      already on the next channel, so allow userspace to request
      not caring about the ACK with a new nl80211 flag.
      
      Since mac80211 needs to be updated for the new function
      prototype anyway implement it right away -- it's just a
      few lines of code.
      
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      e247bd90
    • Johannes Berg's avatar
      cfg80211: add event for unexpected 4addr frames · b92ab5d8
      Johannes Berg authored
      
      The frames are used by AP/STA WDS mode, and hostapd
      needs to know when such a frame was received to set
      up the VLAN appropriately to allow using it.
      
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      b92ab5d8
    • Johannes Berg's avatar
      cfg80211: allow registering to beacons · 5e760230
      Johannes Berg authored
      
      Add the ability to register to received beacon frames
      to allow implementing OLBC logic in userspace. The
      registration is per wiphy since there's no point in
      receiving the same frame multiple times.
      
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      5e760230
    • Johannes Berg's avatar
      nl80211: add API to probe a client · 7f6cf311
      Johannes Berg authored
      
      When the AP SME in hostapd is used it wants to
      probe the clients when they have been idle for
      some time. Add explicit API to support this.
      
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      7f6cf311
    • Johannes Berg's avatar
      nl80211: advertise device AP SME · 562a7480
      Johannes Berg authored
      
      Add the ability to advertise that the device
      contains the AP SME and what features it can
      support. There are currently no features in
      the bitmap -- probe response offload will be
      advertised by a few patches Arik is working
      on now (who took over from Guy Eilam) and a
      device with AP SME will typically implement
      and require response offload.
      
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      562a7480
    • Johannes Berg's avatar
      nl80211: allow subscribing to unexpected class3 frames · 28946da7
      Johannes Berg authored
      
      To implement AP mode without monitor interfaces we
      need to be able to send a deauth to stations that
      send frames without being associated. Enable this
      by adding a new nl80211 event for such frames that
      an application can subscribe to.
      
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      28946da7
    • Jouni Malinen's avatar
      nl80211: Increase maximum NL80211_ATTR_KEY_SEQ length to 16 · 81962267
      Jouni Malinen authored
      
      WPI-SMS4 uses 16-octet PN field, so we need to allow longer key
      sequence values to be configured.
      
      Signed-off-by: default avatarJouni Malinen <jouni@qca.qualcomm.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      81962267
    • Luis R. Rodriguez's avatar
      cfg80211: fix bug on regulatory core exit on access to last_request · 58ebacc6
      Luis R. Rodriguez authored
      
      Commit 4d9d88d1 by Scott James Remnant <keybuk@google.com> added
      the .uevent() callback for the regulatory device used during
      the platform device registration. The change was done to account
      for queuing up udev change requests through udevadm triggers.
      The change also meant that upon regulatory core exit we will now
      send a uevent() but the uevent() callback, reg_device_uevent(),
      also accessed last_request. Right before commiting device suicide
      we free'd last_request but never set it to NULL so
      platform_device_unregister() would lead to bogus kernel paging
      request. Fix this and also simply supress uevents right before
      we commit suicide as they are pointless.
      
      This fix is required for kernels >= v2.6.39
      
      $ git describe --contains 4d9d88d1
      v2.6.39-rc1~468^2~25^2^2~21
      
      The impact of not having this present is that a bogus paging
      access may occur (only read) upon cfg80211 unload time. You
      may also get this BUG complaint below. Although Johannes
      could not reproduce the issue this fix is theoretically correct.
      
      mac80211_hwsim: unregister radios
      mac80211_hwsim: closing netlink
      BUG: unable to handle kernel paging request at ffff88001a06b5ab
      IP: [<ffffffffa030df9a>] reg_device_uevent+0x1a/0x50 [cfg80211]
      PGD 1836063 PUD 183a063 PMD 1ffcb067 PTE 1a06b160
      Oops: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
      CPU 0
      Modules linked in: cfg80211(-) [last unloaded: mac80211]
      
      Pid: 2279, comm: rmmod Tainted: G        W   3.1.0-wl+ #663 Bochs Bochs
      RIP: 0010:[<ffffffffa030df9a>]  [<ffffffffa030df9a>] reg_device_uevent+0x1a/0x50 [cfg80211]
      RSP: 0000:ffff88001c5f9d58  EFLAGS: 00010286
      RAX: 0000000000000000 RBX: ffff88001d2eda88 RCX: ffff88001c7468fc
      RDX: ffff88001a06b5a0 RSI: ffff88001c7467b0 RDI: ffff88001c7467b0
      RBP: ffff88001c5f9d58 R08: 000000000000ffff R09: 000000000000ffff
      R10: 0000000000000000 R11: 0000000000000001 R12: ffff88001c7467b0
      R13: ffff88001d2eda78 R14: ffffffff8164a840 R15: 0000000000000001
      FS:  00007f8a91d8a6e0(0000) GS:ffff88001fc00000(0000) knlGS:0000000000000000
      CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
      CR2: ffff88001a06b5ab CR3: 000000001c62e000 CR4: 00000000000006f0
      DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
      DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
      Process rmmod (pid: 2279, threadinfo ffff88001c5f8000, task ffff88000023c780)
      Stack:
       ffff88001c5f9d98 ffffffff812ff7e5 ffffffff8176ab3d ffff88001c7468c2
       000000000000ffff ffff88001d2eda88 ffff88001c7467b0 ffff880000114820
       ffff88001c5f9e38 ffffffff81241dc7 ffff88001c5f9db8 ffffffff81040189
      Call Trace:
       [<ffffffff812ff7e5>] dev_uevent+0xc5/0x170
       [<ffffffff81241dc7>] kobject_uevent_env+0x1f7/0x490
       [<ffffffff81040189>] ? sub_preempt_count+0x29/0x60
       [<ffffffff814cab1a>] ? _raw_spin_unlock_irqrestore+0x4a/0x90
       [<ffffffff81305307>] ? devres_release_all+0x27/0x60
       [<ffffffff8124206b>] kobject_uevent+0xb/0x10
       [<ffffffff812fee27>] device_del+0x157/0x1b0
       [<ffffffff8130377d>] platform_device_del+0x1d/0x90
       [<ffffffff81303b76>] platform_device_unregister+0x16/0x30
       [<ffffffffa030fffd>] regulatory_exit+0x5d/0x180 [cfg80211]
       [<ffffffffa032bec3>] cfg80211_exit+0x2b/0x45 [cfg80211]
       [<ffffffff8109a84c>] sys_delete_module+0x16c/0x220
       [<ffffffff8108a23e>] ? trace_hardirqs_on_caller+0x7e/0x120
       [<ffffffff814cba02>] system_call_fastpath+0x16/0x1b
      Code: <all your base are belong to me>
      RIP  [<ffffffffa030df9a>] reg_device_uevent+0x1a/0x50 [cfg80211]
       RSP <ffff88001c5f9d58>
      CR2: ffff88001a06b5ab
      ---[ end trace 147c5099a411e8c0 ]---
      
      Reported-by: default avatarJohannes Berg <johannes@sipsolutions.net>
      Cc: Scott James Remnant <keybuk@google.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      58ebacc6
  8. Nov 08, 2011
  9. Nov 07, 2011
  10. Oct 31, 2011
  11. Oct 14, 2011
  12. Sep 30, 2011
    • Arik Nemtsov's avatar
      mac80211: data path modification for TDLS peers · 941c93cd
      Arik Nemtsov authored
      
      Mark the STA entries of enabled TDLS peers with a new "peer authorized"
      flag.
      
      During link setup, allow special TDLS setup frames through the AP, but
      otherwise drop all packets destined to the peer. This is required by the
      TDLS (802.11z) specification in order to prevent reordering of MSDUs
      between the AP and direct paths.
      
      When setup completes and the peer is authorized, send data directly,
      bypassing the AP.
      
      In the Rx path, allow data to be received directly from TDLS peers.
      
      Signed-off-by: default avatarArik Nemtsov <arik@wizery.com>
      Cc: Kalyan C Gaddam <chakkal@iit.edu>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      941c93cd
    • Arik Nemtsov's avatar
      nl80211/mac80211: allow adding TDLS peers as stations · 07ba55d7
      Arik Nemtsov authored
      
      When adding a TDLS peer STA, mark it with a new flag in both nl80211 and
      mac80211. Before adding a peer, make sure the wiphy supports TDLS and
      our operating mode is appropriate (managed).
      
      In addition, make sure all peers are removed on disassociation.
      
      A TDLS peer is first added just before link setup is initiated. In later
      setup stages we have more info about peer supported rates, capabilities,
      etc. This info is reported via nl80211_set_station().
      
      Signed-off-by: default avatarArik Nemtsov <arik@wizery.com>
      Cc: Kalyan C Gaddam <chakkal@iit.edu>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      07ba55d7
Loading