mac80211: speed up AP probing using nullfunc frames
authorFelix Fietkau <nbd@openwrt.org>
Thu, 2 Dec 2010 20:01:08 +0000 (21:01 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Dec 2010 20:58:44 +0000 (15:58 -0500)
commit04ac3c0ee2c773c321ec472d892635a20556f34d
treee9a3bf81d8feec787fa5b4c5c156652de5313c83
parent75706d0e9d19601534446982b70102bb9327169b
mac80211: speed up AP probing using nullfunc frames

If the nullfunc frame used to probe the AP was not acked, there is no point
in waiting for the probe timeout, so advance to the next try (or disconnect)
immediately.
If we do reach the probe timeout without having received a tx status, the
connection is probably really bad and worth disconnecting.

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