linux_dsm_epyc7002/drivers/net/wireless/intel/iwlwifi/mvm
Sara Sharon 5ab2ba9312 iwlwifi: mvm: fix security bug in PN checking
A previous patch allowed the same PN for packets originating from the
same AMSDU by copying PN only for the last packet in the series.

This however is bogus since we cannot assume the last frame will be
received on the same queue, and if it is received on a different ueue
we will end up not incrementing the PN and possibly let the next
packet to have the same PN and pass through.

Change the logic instead to driver explicitly indicate for the second
sub frame and on to be allowed to have the same PN as the first
subframe. Indicate it to mac80211 as well for the fallback queue.

Fixes: f1ae02b186 ("iwlwifi: mvm: allow same PN for de-aggregated AMSDU")
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2018-02-16 15:34:31 +02:00
..
binding.c iwlwifi: mvm: memset binding before setting values 2017-04-25 23:06:51 +03:00
coex.c iwlwifi: mvm: revert support new Coex firmware API 2017-11-25 17:47:44 +02:00
constants.h iwlwifi: mvm: change open and close criteria of a BA session 2017-08-18 17:24:04 +03:00
d3.c iwlwifi: mvm: remove TCP wakeup support 2017-11-25 17:50:01 +02:00
debugfs-vif.c iwlwifi: mvm: remove support for Link Quality Measurements 2017-10-06 14:57:21 +03:00
debugfs.c iwlwifi: define and use if iwl_mvm_has_tlc_offload 2017-12-20 18:28:25 +02:00
debugfs.h
fw-api.h iwlwifi: mvm: use firmware LED command where applicable 2017-08-09 09:15:32 +03:00
fw.c iwlwifi: mvm: make init_dbg effective only on failure 2017-12-05 21:01:43 +02:00
led.c iwlwifi: mvm: only send LEDS_CMD when the FW supports it 2017-09-07 19:40:09 +03:00
mac80211.c iwlwifi: define and use if iwl_mvm_has_tlc_offload 2017-12-20 18:28:25 +02:00
mac-ctxt.c iwlwifi: mvm: fix packet injection 2017-11-25 17:06:42 +02:00
Makefile iwlwifi: mvm: rs: add ops for the new rate scaling in the FW 2017-12-05 21:01:41 +02:00
mvm.h iwlwifi: define and use if iwl_mvm_has_tlc_offload 2017-12-20 18:28:25 +02:00
nvm.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git 2017-10-16 17:09:24 +03:00
offloading.c
ops.c iwlwifi: runtime: sync FW and host clocks for logs 2017-12-20 18:28:24 +02:00
phy-ctxt.c iwlwifi: mvm: don't send identical PHY_CTXT_CMD 2017-10-06 14:57:22 +03:00
power.c iwlwifi: reorganize firmware API 2017-08-01 12:41:43 +03:00
quota.c iwlwifi: mvm: adjust to quota offload 2017-12-20 18:28:25 +02:00
rs-fw.c iwlwifi: mvm: fix wrong #ifdef that uses a macro from backports 2017-12-08 15:04:22 +02:00
rs.c iwlwifi: define and use if iwl_mvm_has_tlc_offload 2017-12-20 18:28:25 +02:00
rs.h iwlwifi: mvm: rs: new rate scale API - add FW notifications 2017-12-05 21:01:41 +02:00
rx.c iwlwifi: mvm: support RX flags API change 2017-12-20 18:28:24 +02:00
rxmq.c iwlwifi: mvm: fix security bug in PN checking 2018-02-16 15:34:31 +02:00
scan.c iwlwifi: mvm: add WFA vendor specific TPC report IE to probe request 2017-12-05 21:01:39 +02:00
sf.c iwlwifi: mvm: prepare for station count change 2017-04-19 22:20:51 +03:00
sta.c iwlwifi: define and use if iwl_mvm_has_tlc_offload 2017-12-20 18:28:25 +02:00
sta.h iwlwifi: mvm: rs: introduce new API for rate scaling 2017-12-05 21:01:40 +02:00
tdls.c iwlwifi: mvm: use schedule_delayed_work() 2017-06-05 23:34:26 +03:00
testmode.h
time-event.c wireless-drivers-next patches for 4.16 2017-12-19 14:04:52 -05:00
time-event.h iwlwifi: mvm: extend time event duration 2016-03-07 13:34:16 +02:00
tof.c iwlwifi: reorganize firmware API 2017-08-01 12:41:43 +03:00
tof.h iwlwifi: reorganize firmware API 2017-08-01 12:41:43 +03:00
tt.c iwlwifi: mvm: return -ENODATA when reading the temperature with the FW down 2017-10-06 13:59:44 +03:00
tx.c iwlwifi: define and use if iwl_mvm_has_tlc_offload 2017-12-20 18:28:25 +02:00
utils.c iwlwifi: define and use if iwl_mvm_has_tlc_offload 2017-12-20 18:28:25 +02:00