• Avraham Stern's avatar
    iwlwifi: mvm: start mac queues when deferred tx frames are purged · 7e39a00d
    Avraham Stern authored
    In AP mode, if a station is removed just as it is adding a new stream,
    the queue in question will remain stopped and no more TX will happen
    in this queue, leading to connection failures and other problems.
    
    This is because under DQA, when tx is deferred because a queue needs
    to be allocated, the mac queue for that TID is stopped until the new
    stream is added.  If at this point the station that this stream
    belongs to is removed, all the deferred tx frames are purged, but the
    mac queue is not restarted. As a result, all following tx on this
    queue will not be transmitted.
    
    Fix this by starting the relevant mac queues when the deferred tx
    frames are purged.
    
    Fixes: 24afba76 ("iwlwifi: mvm: support bss dynamic alloc/dealloc of queues")
    Signed-off-by: default avatarAvraham Stern <avraham.stern@intel.com>
    Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
    7e39a00d
mac80211.c 121 KB