]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: monitor the connection
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 10 Jul 2009 13:29:03 +0000 (15:29 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Jul 2009 19:05:10 +0000 (15:05 -0400)
commit7db5264b2651d67512ab0a9b476a601a696f6d7f
tree47813dce4a42e8334e531417425aa861848802bd
parentf97b9c07a372dcaa294ec03fb67b875ded77be1b
mac80211: monitor the connection

With the recent MLME rework I accidentally removed the connection
monitoring code. In order to add it back, this patch will add new
code to monitor both for beacon loss and for the connection actually
working, with possibly separate triggers.

When no unicast frames have been received from the AP for (currently)
two seconds, we will send the AP a probe request. Also, when we don't
see beacons from the AP for two seconds, we do the same (but those
times need not be the same due to the way the code is now written).

Additionally, clean up the parameters to the ieee80211_set_disassoc()
function that I need here, those are all useless except sdata.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/rx.c