linux/drivers/net/wireless
Ruoyu Wang 8e9db06265 wifi: mt76: mt7915: guard HE capability lookups
mt7915_mcu_bss_he_tlv() and mt7915_mcu_sta_bfer_tlv() both run after
checking HE support, then dereference the HE PHY capability returned by
mt76_connac_get_he_phy_cap(). That helper can return NULL when no
capability entry matches the vif type.

Fetch the capability before appending the TLV and skip the HE-specific
setup when no matching capability is available.

Fixes: e6d557a78b ("mt76: mt7915: rely on mt76_connac_get_phy utilities")
Signed-off-by: Ruoyu Wang <ruoyuw560@gmail.com>
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20260620155332.81120-1-ruoyuw560@gmail.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
History 2026-07-22 06:10:39 +00:00
..
admtek wifi: cfg80211/mac80211: Add support to get radio index 2025-06-24 15:19:27 +02:00
ath ath.git update for v7.2-rc4 2026-07-21 13:24:34 +02:00
atmel wifi: at76c50x-usb: avoid length underflow in at76_guess_freq() 2026-07-21 13:27:38 +02:00
broadcom wifi: brcmfmac: set F2 blocksize to 256 for BCM43752 2026-07-21 18:55:36 +02:00
intel wifi: iwlwifi: validate SEC_RT TLV minimum size 2026-07-18 22:37:38 +03:00
intersil Too many robustness fixes to list. Mostly for 2026-07-10 16:27:45 +02:00
marvell wifi: mwifiex: fix NULL dereference when the AP has HT-cap but no HT-oper 2026-07-21 13:29:52 +02:00
mediatek wifi: mt76: mt7915: guard HE capability lookups 2026-07-22 06:10:39 +00:00
microchip wifi: wilc1000: validate assoc response length before subtracting header 2026-07-21 13:25:06 +02:00
purelifi wifi: plfxlc: use module_usb_driver() macro 2026-05-20 11:58:39 +02:00
quantenna wifi: qtnfmac: topaz: defer IRQ enabling until IPC init 2026-06-03 14:11:56 +02:00
ralink wifi: ralink: RT2X00: init EEPROM properly 2026-07-06 14:11:08 +02:00
realtek bitmap updates for v7.2 2026-06-17 11:38:38 +01:00
rsi wifi: rsi: validate beacon length before fixed buffer copy 2026-07-06 14:11:09 +02:00
silabs wifi: move action code from per-type frame structs 2026-03-06 10:36:26 +01:00
st wifi: cw1200: Revert "Fix locking in error paths" 2026-05-04 09:08:24 +02:00
ti Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
virtual wifi: mac80211_hwsim: reject undersized HWSIM_ATTR_TX_INFO 2026-07-21 14:09:21 +02:00
zydas Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
Kconfig wifi: remove orphaned rndis_wlan driver 2023-10-30 19:30:33 +02:00
Makefile wifi: remove orphaned rndis_wlan driver 2023-10-30 19:30:33 +02:00