iwlwifi: drop packets with bad status in CD
authorSara Sharon <sara.sharon@intel.com>
Mon, 9 Apr 2018 11:00:27 +0000 (14:00 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 31 Aug 2018 08:38:24 +0000 (11:38 +0300)
commit7891965d74bc48fb42b5068033192f97c9aa2090
tree875bf27ce1487042c74702bef8358b134a575f45
parent75e9947ea42de92ab330a9761bc6f5862720260d
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>
drivers/net/wireless/intel/iwlwifi/fw/api/rx.h
drivers/net/wireless/intel/iwlwifi/iwl-trans.h
drivers/net/wireless/intel/iwlwifi/pcie/internal.h
drivers/net/wireless/intel/iwlwifi/pcie/rx.c