summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/iwl-trans.h
diff options
context:
space:
mode:
authorSara Sharon <sara.sharon@intel.com>2018-04-09 14:00:27 +0300
committerLuca Coelho <luciano.coelho@intel.com>2018-08-31 11:38:24 +0300
commit7891965d74bc48fb42b5068033192f97c9aa2090 (patch)
tree875bf27ce1487042c74702bef8358b134a575f45 /drivers/net/wireless/intel/iwlwifi/iwl-trans.h
parent75e9947ea42de92ab330a9761bc6f5862720260d (diff)
downloadlinux-7891965d74bc48fb42b5068033192f97c9aa2090.tar.xz
iwlwifi: drop packets with bad status in CD
We need to drop packets with errors (such as replay, MIC, ICV, conversion, duplicate and so on). Drop invalid packets, put the status bits in the metadata and move the enum definition to the correct place (FW API header). Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-trans.h')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/iwl-trans.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-trans.h b/drivers/net/wireless/intel/iwlwifi/iwl-trans.h
index 279dd7b7a3fb..0b8cf7f3af93 100644
--- a/drivers/net/wireless/intel/iwlwifi/iwl-trans.h
+++ b/drivers/net/wireless/intel/iwlwifi/iwl-trans.h
@@ -269,6 +269,7 @@ struct iwl_rx_cmd_buffer {
bool _page_stolen;
u32 _rx_page_order;
unsigned int truesize;
+ u8 status;
};
static inline void *rxb_addr(struct iwl_rx_cmd_buffer *r)