• Luca Coelho's avatar
    iwlwifi: mvm: add a new mvm reference type for RX data · 16e4dd8f
    Luca Coelho authored
    When a data packet is received, we need to make sure that we stay
    awake until it can be processed and wait a while before trying to
    enter runtime_suspend os system_suspend again.  To do so, add a new
    reference type for RX data and take the reference when sending the
    packet to mac80211.  We only do this for data packets, all the other
    RX packets sent by the firmware (e.g. notifications) are not a reason
    to prevent suspend.
    Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
    16e4dd8f
rx.c 21.9 KB