• Arik Nemtsov's avatar
    mac80211: data path modification for TDLS peers · 941c93cd
    Arik Nemtsov authored
    Mark the STA entries of enabled TDLS peers with a new "peer authorized"
    flag.
    
    During link setup, allow special TDLS setup frames through the AP, but
    otherwise drop all packets destined to the peer. This is required by the
    TDLS (802.11z) specification in order to prevent reordering of MSDUs
    between the AP and direct paths.
    
    When setup completes and the peer is authorized, send data directly,
    bypassing the AP.
    
    In the Rx path, allow data to be received directly from TDLS peers.
    Signed-off-by: default avatarArik Nemtsov <arik@wizery.com>
    Cc: Kalyan C Gaddam <chakkal@iit.edu>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    941c93cd
util.c 29.6 KB