1
1
openwrt/package
Hauke Mehrtens 1f86f4e471 wifi-scripts: ucode: simplify wpa_pairwise default selection
parse_encryption() stashed a preliminary wpa_pairwise value in a
local wpa3_pairwise variable, cleared it per auth_type, then let a
switch default either copy it back or special-case wpa3-192.  The
result was three separate places where wpa_pairwise was clobbered
and behavior that was awkward to trace when the explicit cipher
suffix (encryption[1]) and the auth_type disagreed.

Replace the scaffolding with a single block at the end of
parse_encryption() that only assigns wpa_pairwise via ??= when no
earlier branch (explicit cipher suffix, wpa3-192, or sae-compat)
has already set one:

  no WPA              -> null
  60 GHz (hw_mode=ad) -> GCMP
  HE or EHT htmode    -> GCMP-256 CCMP
  everything else     -> CCMP

wpa3-192 now sets wpa_pairwise='GCMP-256' directly in its switch
case, so the final default block can stay short.  No functional
change for existing encryption values.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Link: https://github.com/openwrt/openwrt/pull/23009
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-05-02 20:34:21 +02:00
..
base-files dropbear: don't spread conffiles across two packages 2026-04-29 09:32:03 +02:00
boot uboot-at91: fix wrong BUILD_DEVICES for sama5d4_xplained_nandflash 2026-04-20 18:07:56 +02:00
devel package: binutils: deduplicate ld 2026-04-18 19:34:21 +02:00
firmware wireless-regdb: update to version 2026.03.18 2026-04-30 02:10:03 +02:00
kernel ramips: remove hack and use safexcel-eip93ies 2026-04-28 09:44:04 +02:00
libs libsemanage: update to 3.10 2026-04-27 10:50:53 +02:00
network wifi-scripts: ucode: simplify wpa_pairwise default selection 2026-05-02 20:34:21 +02:00
system ca-certificates: update to 20260223 2026-04-30 00:17:59 +02:00
utils secilc: update to 3.10 2026-04-27 10:50:54 +02:00
Makefile build: propagate errors when generating apk indexes 2026-02-13 21:17:21 +01:00