iwlwifi: mvm: add a new mvm reference type for RX data
authorLuca Coelho <luciano.coelho@intel.com>
Wed, 30 Mar 2016 12:05:56 +0000 (15:05 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 10 May 2016 19:14:51 +0000 (22:14 +0300)
commit16e4dd8faa9e5de9dd956a18c0f19d911a97ef79
treec0669b448196e2d818763d8cc9ac1e53968a8ae3
parent43ec72b75a8851b48e561c29f49586cc747bdad8
iwlwifi: mvm: add a new mvm reference type for RX data

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: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/rx.c
This page took 0.025601 seconds and 5 git commands to generate.