openwrt/package
Hauke Mehrtens adf958c919 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>
2024-11-23 14:01:38 +01:00
..
base-files target,base-files: unify handling of procd-ujail 2024-11-17 19:29:06 +01:00
boot uboot-envtools: add support for GatoNetworks GDSP 2024-11-14 04:14:23 +00:00
devel perf: fix version for APK 2024-11-12 17:55:16 +01:00
firmware linux-firmware: rename packages for i915 firmware 2024-11-15 19:03:21 +01:00
kernel mac80211: backport some upstream fixes 2024-11-18 11:44:44 +01:00
libs elfutils: Backport some patches to fix errors 2024-11-16 19:57:58 +01:00
network wifi-scripts: Fix parsing of Capabilities 2024-11-23 14:01:38 +01:00
system apk: update to git e3464d096708b270138653ef93db59134bb24813 (2024-11-13) 2024-11-19 19:52:03 +01:00
utils omnia-eeprom: depend only on subtarget 2024-11-18 19:06:29 +01:00
Makefile build: fix filtering of non-upgradable packages 2024-11-21 17:55:45 +01:00