]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: use nullfunc instead of probe request for connection monitoring
authorFelix Fietkau <nbd@openwrt.org>
Tue, 23 Nov 2010 02:10:31 +0000 (03:10 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Nov 2010 21:19:35 +0000 (16:19 -0500)
commitba2df0bb5832afb092668b28d2f983c0b8c899c6
tree2a4cd6250de19b1e7b895e94136c537c78bcd928
parent0d4b389c8ab6b0cd87e501f6d906f6e9e343e010
mac80211: use nullfunc instead of probe request for connection monitoring

nullfunc frames are better for connection monitoring, because probe requests
are answered even if the AP has already dropped the connection, whereas
nullfunc frames from an unassociated station will trigger a disassoc/deauth
frame from the AP (WLAN_REASON_CLASS3_FRAME_FROM_NONASSOC_STA), which allows
the station to reconnect immediately instead of waiting until it attempts to
transmit the next unicast frame.

This only works on hardware with reliable tx ACK reporting, any other hardware
needs to fall back to the probe request method.

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