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)
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

Simple merge
Simple merge
Simple merge