• Emmanuel Grumbach's avatar
    iwlwifi: pcie: allow the op_mode to freeze the stuck queue timer · e0b8d405
    Emmanuel Grumbach authored
    This allows the op_mode to let the transport know that a
    queue is currently frozen and that its timer should be
    stopped.
    When the queue is unfrozen, its timer should be set to
    expire after the remainder of the timeout has elapsed.
    This can be used when stations go to sleep. When a station
    goes to sleep, the op_mode can freeze the timer so that the
    queue will never be considered as stuck. When the station
    wakes up, the queue will be unfrozen.
    This is meant to avoid false positives that would happen if
    a buggy station goes to sleep for a very long time. In case
    we have a dedicated queue for this station (BA agreement)
    and it goes to sleep for a very long time, the queue would
    rightfully be stopped during all that time. In this case,
    the stuck queue timer could fire and that would be a false
    positive.
    Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
    e0b8d405
internal.h 15.9 KB