linux_dsm_epyc7002/drivers/net/wireless/iwlwifi/mvm
Eyal Shapira 6a028d9a26 iwlwifi: mvm: rs: fix max rate allowed if no rate is allowed
In case the rate mask for one of the modulations was zero the
max rate idx for that modulation was set to 32 (BITS_PER_LONG).
This is bad as it would later lead to an out of bounds access
to the expected tpt table. In most cases there was no real effect
as the expected tpt was set to 0 and this led to avoiding the
modulation effectively.
Fix the out of bounds access and explicitly skip the modulation
in case there's no rate allowed in it.

Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
2014-12-28 20:00:15 +02:00
..
binding.c iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
coex_legacy.c iwlwifi: mvm: BT Coex - add support for TTC / RRC 2014-11-23 20:05:06 +02:00
coex.c iwlwifi: mvm: rs - don't use the shared antenna when BT load is high 2014-11-11 17:15:06 +02:00
constants.h iwlwifi: mvm: BT Coex - change the MPLUT registers' value 2014-12-01 12:04:39 +02:00
d3.c iwlwifi: mvm: add channel information to the netdetect notifications 2014-12-01 12:04:42 +02:00
debugfs-vif.c Merge remote-tracking branch 'iwlwifi-fixes/master' into NEXT 2014-09-14 12:54:42 +03:00
debugfs.c iwlwifi: mvm: add debugfs to trigger fw debug logs collection 2014-12-28 20:00:13 +02:00
debugfs.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
fw-api-coex.h iwlwifi: mvm: BT Coex - add support for TTC / RRC 2014-11-23 20:05:06 +02:00
fw-api-d3.h iwlwifi: mvm: remove IWL_UCODE_TLV_API_WOWLAN_CONFIG_TID 2014-12-01 12:04:38 +02:00
fw-api-mac.h iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
fw-api-power.h iwlwifi: mvm: disable beacon filtering escape timer 2014-11-23 20:09:49 +02:00
fw-api-rs.h iwlwifi: mvm: add lq_cmd/tx_resp reduced_tpc field 2014-04-09 19:29:36 +03:00
fw-api-scan.h iwlwifi: mvm: check and report if wake up was due to net detect 2014-12-01 12:04:35 +02:00
fw-api-sta.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
fw-api-tx.h iwlwifi: mvm: Update TX power in TPC reports 2014-09-16 12:57:50 +03:00
fw-api.h iwlwifi: mvm: update values for Smart Fifo 2014-12-02 12:36:52 +02:00
fw.c iwlwifi: mvm: add debugfs to trigger fw debug logs collection 2014-12-28 20:00:13 +02:00
led.c iwlwifi: mvm: don't fail completely if led mode is not supported 2014-03-16 08:59:05 +02:00
mac80211.c iwlwifi: mvm: Set the HW step in the core dump 2014-12-28 20:00:14 +02:00
mac-ctxt.c iwlwifi: mvm: support LnP 1x1 antenna configuration 2014-12-28 20:00:12 +02:00
Makefile iwlwifi: mvm: move TDLS code to separate file 2014-09-14 22:02:24 +03:00
mvm.h iwlwifi: mvm: add debugfs to trigger fw debug logs collection 2014-12-28 20:00:13 +02:00
nvm.c iwlwifi: mvm: support NVM file with header 2014-12-01 12:04:43 +02:00
offloading.c iwlwifi: mvm: remove IWL_UCODE_TLV_API_WOWLAN_CONFIG_TID 2014-12-01 12:04:38 +02:00
ops.c iwlwifi: mvm: support LnP 1x1 antenna configuration 2014-12-28 20:00:12 +02:00
phy-ctxt.c iwlwifi: mvm: support LnP 1x1 antenna configuration 2014-12-28 20:00:12 +02:00
power.c iwlwifi: mvm: Fix the keep_alive calculation 2014-11-23 19:59:19 +02:00
quota.c iwlwifi: mvm: fix quota update avoidance 2014-09-14 22:02:23 +03:00
rs.c iwlwifi: mvm: rs: fix max rate allowed if no rate is allowed 2014-12-28 20:00:15 +02:00
rs.h iwlwifi: mvm: rs: add Tx STBC support 2014-10-29 14:13:46 +02:00
rx.c iwlwifi: mvm: pull SNAP header into skb->head 2014-11-24 08:30:18 +02:00
scan.c iwlwifi: mvm: support LnP 1x1 antenna configuration 2014-12-28 20:00:12 +02:00
sf.c iwlwifi: mvm: allow preventing dummy notifications 2014-09-14 12:56:37 +03:00
sta.c iwlwifi: mvm: add CSA absent time event for clients 2014-11-24 08:30:31 +02:00
sta.h iwlwifi: mvm: add CSA absent time event for clients 2014-11-24 08:30:31 +02:00
tdls.c iwlwifi: mvm: implement mac80211 TDLS channel-switch APIs 2014-11-24 08:30:24 +02:00
testmode.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
time-event.c iwlwifi: mvm: clear TE data if CSA time event fails to start 2014-11-24 08:30:35 +02:00
time-event.h iwlwifi: mvm: add remove flow for AUX ROC time events 2014-11-24 08:30:14 +02:00
tt.c iwlwifi: mvm: clear tt values when entering CT-kill 2014-12-28 20:00:15 +02:00
tx.c iwlwifi: mvm: support LnP 1x1 antenna configuration 2014-12-28 20:00:12 +02:00
utils.c iwlwifi: mvm: support LnP 1x1 antenna configuration 2014-12-28 20:00:12 +02:00