openwrt/package
Hauke Mehrtens a281c02288 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
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit adf958c919)
2024-11-23 23:49:37 +01:00
..
base-files OpenWrt v23.05.5: revert to branch defaults 2024-09-24 00:53:40 +02:00
boot ath79: add support for Huawei AP6010DN 2024-11-23 23:22:27 +01:00
devel
firmware wireless-regdb: Update to version 2024.10.07 2024-10-19 17:42:47 +02:00
kernel wifi-scripts: Fix parsing of Capabilities 2024-11-23 23:49:37 +01:00
libs ncurses: Fix path in ncursesw.pc 2024-09-15 02:03:25 +02:00
network iptables: backport "nft: track each register individually" from 1.9 2024-10-24 00:51:01 +02:00
system nu801: Mark as nonshared to build in step 1 2024-11-05 10:59:04 +01:00
utils ucode: another fix for host installation 2024-09-20 22:21:03 +02:00
Makefile