• J
    mac80211: monitor the connection · b291ba11
    Johannes Berg 提交于
    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: NJohannes Berg <johannes@sipsolutions.net>
    Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
    b291ba11
mlme.c 67.7 KB