openwrt/package/network/config
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
..
firewall firewall: change synflood_protect option name 2026-01-25 23:54:19 +01:00
firewall4 firewall4: prefer over firewall as dependency 2026-03-10 22:53:29 +01:00
gre gre: use alternative way to check if kernel support is enabled 2021-03-13 20:58:55 +01:00
ipip ipip: add 'nohostroute' option 2022-01-19 20:57:59 +01:00
ltq-adsl-app ltq-*-app: correctly report downstream band borders 2025-07-13 15:39:14 +02:00
ltq-vdsl-vr9-app ltq-*-app: correctly report downstream band borders 2025-07-13 15:39:14 +02:00
ltq-vdsl-vr11-app ltq-*-app: correctly report downstream band borders 2025-07-13 15:39:14 +02:00
netifd netifd: update to Git openwrt-25.12 (2026-02-26) 2026-02-26 12:10:02 +00:00
qos-scripts treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
qosify package: use service_running instead of service_started for ubus config 2025-03-13 11:23:03 +01:00
soloscli soloscli: fix uci-defaults file 2020-06-11 01:49:24 +02:00
swconfig swconfig: fix memory leak when cli call swlib_get_attr() 2023-06-11 02:42:31 +02:00
vti vti: squash vtiv4 and vtiv6 packages into vti 2021-11-03 20:34:43 +01:00
vxlan vxlan: allow for dynamic source ip selection (FS#3426) 2020-12-31 11:53:21 +01:00
wifi-scripts wifi-scripts: ucode: fix null dereference for 6GHz-only radios 2026-05-24 13:12:19 +02:00
xfrm xfrm: remove requirement for underlying device 2024-08-19 18:49:49 +02:00