• Liad Kaufman's avatar
    iwlwifi: mvm: support dqa queue sharing · 42db09c1
    Liad Kaufman authored
    Support DQA queue sharing when no free queue exists for
    allocation to a STA that already exists. This means that
    a single queue will serve more than a single TID (although
    the RA will be the same for all TIDs served).
    
    We try to choose the lowest AC possible, to ensure the
    shared queues have the lowest possible combined AC
    requirements. The queue to share is chosen only from the
    same RA's DATA queues as follows (in descending priority):
     1. An AC_BE queue
     2. Same AC queue
     3. Highest AC queue that is lower than new AC
     4. Any existing AC (there always is at least 1 DATA queue)
    
    If any aggregations existed for any of the TIDs of the
    shared queue - they are stopped (the FW is notified), but
    no delBA is sent.
    Signed-off-by: default avatarLiad Kaufman <liad.kaufman@intel.com>
    Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
    42db09c1
sta.c 76.6 KB