openwrt/package
Hauke Mehrtens a5b291116b wifi-scripts: Fix parsing of Capabilities
Fixup capabilities parsing in iw output.

In addition to the normal capabilities iw now also outputs HE MAC, HE
PHY and EHT MAC and EHT PHY capabilities. Exclude them in the parsing.

The grep returns this with mac80211-hwsim:
```
root@OpenWrt:~# iw phy phy0 info | grep 'Capabilities:'
		Capabilities: 0x107e
			HE PHY Capabilities: (0x02bfce0000000000000000):
			EHT PHY Capabilities: (0x7c0000feffff7f01):
			HE PHY Capabilities: (0x02bfce0000000000000000):
			EHT PHY Capabilities: (0x7c0000feffff7f01):
			HE PHY Capabilities: (0x02bf000000000000000000):
		Capabilities: 0x107e
			HE PHY Capabilities: (0x1cbfce0000000000000000):
			EHT PHY Capabilities: (0xfc1f3ffeffff7f37):
			HE PHY Capabilities: (0x1cbfce0000000000000000):
			EHT PHY Capabilities: (0xfc1f3ffeffff7f37):
			HE PHY Capabilities: (0x1cbf000000000000000000):
			HE PHY Capabilities: (0x1cbfce0000000000000000):
			EHT PHY Capabilities: (0xfefffffeffffff7f):
			HE PHY Capabilities: (0x1cbfce0000000000000000):
			EHT PHY Capabilities: (0xfefffffeffffff7f):
			HE PHY Capabilities: (0x1cbf000000000000000000):
		Capabilities: 0x107e
```

With busybox 1.36.1 the ht_cap_mask variable will be set to
-72057598332895361. With busybox 1.37.0 it will be set to -1.
Both values are wrong, after this change it will be set to 4222
(0x107E).

Link: https://github.com/openwrt/openwrt/pull/17043
(cherry picked from commit adf958c919)
Link: https://github.com/openwrt/openwrt/pull/17055
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-11-24 22:46:21 +01:00
..
base-files base-files: Remove pkg_check when using apk 2024-11-14 23:22:48 +01:00
boot ath79: Add support for Sophos AP15C 2024-11-16 21:03:52 +01:00
devel gdb: Remove MIPS NSIG patch 2024-10-12 21:51:25 +02:00
firmware dsl-vrx200-firmware-xdsl: fix PKG_VERSION for APK 2024-10-29 00:07:55 +01:00
kernel mac80211: backport some upstream fixes 2024-11-18 11:47:41 +01:00
libs libnftnl: update to 1.2.8 2024-11-16 00:11:27 +01:00
network wifi-scripts: Fix parsing of Capabilities 2024-11-24 22:46:21 +01:00
system procd: update to Git HEAD (2024-11-06) 2024-11-06 10:39:42 +01:00
utils debugcc: Mark it nonshared 2024-11-24 22:46:21 +01:00
Makefile build: don't include kernel/libc in package index 2024-10-30 14:17:33 +01:00