1
1
openwrt/package
dastarothx 54cced5b2f
wifi-scripts: ucode: fix null dereference for 6GHz-only radios
he_phy_cap and he_mac_cap in phy_capabilities are only populated inside
the iftype_data loop. On 6GHz-only radios (e.g. QCN9074/ath11k_pci),
when capability bytes are unavailable they remain null, causing null
dereferences in device_htmode_append():

  Reference error: left-hand side expression is null
  if (!(he_phy_cap[3] & 0x80))

Initialise both to [] before the loop and guard the consumer side with
?? [] so bitwise checks conservatively disable beamformer/beamformee/twt
features rather than crashing.

Link: https://github.com/openwrt/openwrt/issues/23488
Signed-off-by: dastarothx <darkastalier@gmail.com>
(cherry picked from commit feca0b4507b9175b95a59701462d550eb0b855c0)
Link: https://github.com/openwrt/openwrt/pull/23503
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2026-05-24 13:12:19 +02:00
..
base-files OpenWrt v25.12.4: revert to branch defaults 2026-05-14 00:58:17 +02:00
boot uboot-mediatek: comfast cf-wr632ax: reduce ram speed to 1866 MT/s 2026-05-20 14:48:50 +02:00
devel gdb: add CPPFLAGS 2026-02-17 22:30:19 +01:00
firmware intel-microcode: fix dirty build 2026-05-07 21:15:50 +02:00
kernel mac80211: bump to version 6.18.26 2026-05-09 11:05:32 +02:00
libs mbedtls: backport upstream patches to fix TLS 1.2 client issues 2026-05-05 00:30:45 +02:00
network wifi-scripts: ucode: fix null dereference for 6GHz-only radios 2026-05-24 13:12:19 +02:00
system ca-certificates: update to 20260223 2026-05-03 00:14:43 +02:00
utils jsonfilter: update to Git HEAD (2026-03-16) 2026-03-16 00:52:52 +01:00
Makefile build: use STAGING_DIR for special APK package versions 2026-03-07 10:12:44 +01:00