]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Use nl80211 for mgmt TX/RX in AP mode
authorJohannes Berg <johannes.berg@intel.com>
Tue, 6 Dec 2011 16:24:00 +0000 (18:24 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 6 Dec 2011 16:24:00 +0000 (18:24 +0200)
commita11241fa114923b47892ad3279966839e9c2741d
treed5d130a5294b8ea9a0d71526551e9bc5deccefc3
parent5331c274e0e75388315b01af9dddd744baf730f5
nl80211: Use nl80211 for mgmt TX/RX in AP mode

To achieve this, multiple things are needed:
 1) since hostapd needs to handle *all* action frames,
    make the normal registration only when in a non-AP
    mode, to be able to do this use the new socket
 2) store the frequency in each BSS to be able to give
    the right frequency to nl80211's mgmt-tx operation
 3) make TX status processing reject non-matched cookie
    only in non-AP mode

The whole thing depends on having station-poll support
in the kernel. That's currently a good indicator since
the kernel patches are added together.

Signed-hostap: Johannes Berg <johannes.berg@intel.com>
src/drivers/driver_nl80211.c