mirror_ubuntu-kernels/drivers/net/wireless
Johannes Berg b85f7ebb24 wifi: iwlwifi: mvm: avoid UB shift of snif_queue
For the old TX API we need the tfd_queue_msk, but for the
new TX API we don't need it here because we add it to the
station later. However, for the new API mvm->snif_queue is
set to IWL_MVM_INVALID_QUEUE == 0xffff, so the BIT() here
is undefined behaviour.

Since we don't need the tfd_queue_msk value for the new TX
API at all, simply fill it in only for the old API.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230305124407.b8da0b7eb194.I53744fd7cfb6e146a9393272a2a61852841238d9@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2023-03-07 20:15:18 +01:00
..
admtek wifi: mac80211: add wake_tx_queue callback to drivers 2022-10-10 11:00:03 +02:00
ath wifi: cfg80211: include puncturing bitmap in channel switch events 2023-02-14 12:14:39 +01:00
atmel wifi: atmel: Fix atmel_private_handler array size 2022-11-01 12:30:22 +02:00
broadcom wifi: brcmfmac: pcie: Add 4359C0 firmware definition 2023-03-06 12:09:03 +02:00
cisco wireless-next patches for v6.2 2022-11-18 11:44:36 +00:00
intel wifi: iwlwifi: mvm: avoid UB shift of snif_queue 2023-03-07 20:15:18 +01:00
intersil net: add missing includes of linux/net.h 2023-01-27 11:19:45 +00:00
marvell wifi: mac80211: fix receiving A-MSDU frames on mesh interfaces 2023-02-14 12:34:51 +01:00
mediatek wifi: mt76: support ww power config in dts node 2023-02-03 14:51:37 +01:00
microchip Merge wireless into wireless-next 2023-01-17 13:36:25 +02:00
purelifi wifi: plfxlc: fix potential memory leak in __lf_x_usb_enable_rx() 2022-11-28 15:56:17 +02:00
quantenna wifi: cfg80211: include puncturing bitmap in channel switch events 2023-02-14 12:14:39 +01:00
ralink wifi: rt2x00: Remove useless else if 2023-01-16 18:23:49 +02:00
realtek wifi: rtlwifi: rtl8192se: Remove some unused variables 2023-03-06 12:10:06 +02:00
rsi wifi: rsi: Avoid defines prefixed with CONFIG 2023-02-13 19:24:10 +02:00
silabs wifi: wfx: Remove some dead code 2023-02-22 14:28:27 +02:00
st wireless-next patches for v6.2 2022-10-28 18:31:40 -07:00
ti wifi: wl1251: Fix a typo ("boradcast") 2023-02-13 17:14:41 +02:00
zydas wifi: zd1211rw: remove redundant decls 2023-02-13 19:25:47 +02:00
Kconfig
mac80211_hwsim.c wifi: radiotap: separate vendor TLV into header/content 2023-03-07 20:11:36 +01:00
mac80211_hwsim.h
Makefile
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c wifi: rndis_wlan: Prevent buffer overflow in rndis_query_oid 2023-01-16 13:27:54 +02:00
virt_wifi.c
wl3501_cs.c wifi: wl3501_cs: don't call kfree_skb() under spin_lock_irqsave() 2022-12-22 18:14:33 +02:00
wl3501.h