• Wey-Yi Guy's avatar
    iwlwifi: add support for device tx flush request · 65550636
    Wey-Yi Guy authored
    "Flush" request can come from two different sources, it can either from
    mac80211, or from device when the operation is needed. Here
    adding the support for device issue "flush" request.
    
    When receive tx complete with status is TX_STATUS_FAIL_RFKILL_FLUSH,
    issue REPLY_TXFIFO_FLUSH command to uCode to flush out all the tx frames
    in queues.
    
    In this condition, since mac80211 has no knowledge of "flush" operation,
    driver need to stop all the tx queues and wait for the operation
    completed before wake up the queues for frames transmission.
    Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
    Signed-off-by: default avatarReinette Chatre <reinette.chatre@intel.com>
    65550636
iwl-1000.c 10.1 KB