mac80211: use nullfunc frames for 4-addr sta detection
authorFelix Fietkau <nbd@openwrt.org>
Fri, 8 Jan 2010 17:06:26 +0000 (18:06 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Jan 2010 19:02:06 +0000 (14:02 -0500)
commitd524215f6cad245249df8def19125ae6fd0bcc9b
tree4ddbf4b50005a41a8ac69e2d156a78edd47f457d
parent199afd9d89b18e8b530734ed73788518e19bed9b
mac80211: use nullfunc frames for 4-addr sta detection

To detect incoming 4-addr stations, hostapd needs to receive a 4-addr
data frame from the remote station, so that it can create the AP VLAN
for it. With this patch, the mlme code emits a 4-addr nullfunc frame
immediately after assoc. On the AP side it also drops 4-addr nullfunc
frames to the cooked monitor mode interface, if the interface hasn't
been fully set up to receive 4-addr data frames yet.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c
net/mac80211/rx.c