openwrt-pf/package
Hauke Mehrtens 05e87cfcb6 wifi-scripts: ucode: only advertise GCMP-256 when the driver supports it
The GCMP-256 pairwise cipher was advertised based only on the BSS htmode
(HE/EHT), without checking whether the driver actually implements it. On
phys that do not support GCMP-256 this makes hostapd reject the
configuration and fail to start.

Query the phy's NL80211 cipher suite list in device_capabilities() and
expose a phy_features.cipher_gcmp256 flag, then only offer GCMP-256 when
the driver advertises the GCMP-256 cipher suite (00-0F-AC:9, 0x000fac09),
mirroring how the HT/VHT feature flags are already gated on the reported
phy capabilities. This covers both the sae/sae-mixed "GCMP-256 CCMP"
pairwise default and the GCMP-256 pairwise cipher in the sae-compat RSNE
Override 2 element.

The "GCMP-256 CCMP" default now keys off driver support alone instead of
the htmode; a follow-up commit reintroduces the per-mode/EHT restriction
via a gcmp256 option.

Fixes: 1f86f4e471 ("wifi-scripts: ucode: simplify wpa_pairwise default selection")
Fixes: 86b9eec8f0 ("wifi-scripts: ucode: add WPA3-Personal Compatibility Mode")
Assisted-by: Claude:claude-opus-4-8
Link: https://github.com/openwrt/openwrt/pull/24041
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-07-07 00:42:00 +02:00
..
base-files base-files: derive DHCP DUID from device MAC address 2026-06-24 11:21:28 +02:00
boot uboot-at91: fix build failure with GCC 14.4 2026-07-03 22:14:17 +02:00
devel package: binutils: deduplicate ld 2026-04-18 19:34:21 +02:00
firmware intel-microcode: fix build error on rebuild 2026-07-05 17:55:50 +02:00
kernel kernel-packages: video: remove path variables 2026-07-06 11:22:01 +02:00
libs elfutils: add $(FPIC) to LDFLAGS 2026-07-06 15:26:29 +02:00
network wifi-scripts: ucode: only advertise GCMP-256 when the driver supports it 2026-07-07 00:42:00 +02:00
system ubus: update to Git HEAD (2026-06-28) 2026-06-28 16:48:20 +02:00
utils nilfs-utils: update to 2.3.1 2026-07-05 23:41:36 +02:00
Makefile build: add CycloneDX SBOM processing to apk 2026-05-17 12:21:09 +02:00