• E
    iwlwifi: add a W/A for a scheduler hardware bug · dcfbd67b
    Emmanuel Grumbach 提交于
    In case we need to move the scheduler write pointer by
    steps of 0x40, 0x80 or 0xc0, the scheduler gets stuck.
    This leads to hardware error interrupts with status:
    0x5A5A5A5A or alike.
    
    In order to work around this, detect in the transport
    layer that we are going to hit this case and tell iwlmvm
    to increment the sequence number of the packets. This
    allows to keep the requirement that the WiFi sequence
    number is in sync with the index in the scheduler Tx queue
    and it also allows to avoid the problematic sequence.
    This means that from time to time, we will start a queue
    from ssn + 1, but that shouldn't be a problem since we
    don't switch to new queues for AMPDU now that we have
    DQA which allows to keep the same queue while toggling
    the AMPDU state.
    
    This bug has been fixed on 9000 devices and up.
    Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
    Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
    dcfbd67b
sta.c 104.8 KB