• Felix Fietkau's avatar
    mac80211: use nullfunc instead of probe request for connection monitoring · 4e5ff376
    Felix Fietkau authored
    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: default avatarFelix Fietkau <nbd@openwrt.org>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    4e5ff376
ieee80211_i.h 39.1 KB