• Arik Nemtsov's avatar
    mac80211: implement proper Tx path flushing for TDLS · db67d661
    Arik Nemtsov authored
    As the spec mandates, flush data in the AP path before transmitting the
    first setup frame. Data packets transmitted during setup are already
    dropped in the Tx path.
    
    For the teardown flow, flush all packets in the direct path before
    transmitting the teardown frame. Un-authorize the peer sta after teardown
    is sent, forcing all subsequent Tx to the peer through the AP.
    
    Make sure to flush the queues when disabling the link to get the
    teardown packet out.
    Signed-off-by: default avatarArik Nemtsov <arikx.nemtsov@intel.com>
    [adjust to Luca's new quuee API and stop only vif queues]
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    db67d661
tdls.c 13.7 KB