• F
    mac80211: use nullfunc instead of probe request for connection monitoring · 4e5ff376
    Felix Fietkau 提交于
    nullfunc frames are better for connection monitoring, because probe requests
    are answered even if the AP has already dropped the connection, whereas
    nullfunc frames from an unassociated station will trigger a disassoc/deauth
    frame from the AP (WLAN_REASON_CLASS3_FRAME_FROM_NONASSOC_STA), which allows
    the station to reconnect immediately instead of waiting until it attempts to
    transmit the next unicast frame.
    
    This only works on hardware with reliable tx ACK reporting, any other hardware
    needs to fall back to the probe request method.
    Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
    Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
    4e5ff376
mlme.c 69.2 KB