]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5858e323758170fbc15b9d6e1eea3c9c20742b65
treee9a3bf81d8feec787fa5b4c5c156652de5313c83
parent8e642e2383d8df3404f9baa5afbbfc8c90709e2b
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