openwrt/package
Sean Khan eabea737fa wifi-scripts: fix missing VHT capabilities detection
* Add missing parentheses in the conditionals for VHT160/VHT160-80PLUS80
  and VHT_MAX_MPDU capabilities. The missing parentheses caused the bitwise
  AND to be evaluated after the equality comparison due to ECMA's operator
  precedence, where `==` has higher precedence than `&`.

* Fix Max MPDU length detection by changing the comparison operators to
  `>=` vs `>` otherwise the condition would never be met.

* Add missing default values:
  - `true` value for `short_gi_80` (As it exists for `short_gi_20`, `short_gi_40`, `short_gi_160`)
  - `7` for `vht_max_mpdu` (Without it the loop in MAX-MPDU-* calculation always compares with null)

* Change the `vht160` condition to `config.vht160 <= 2`. This flag is
  `2` by default, and only ever set to `0` when `vht_oper_chwidth < 2`.

Signed-off-by: Sean Khan <datapronix@protonmail.com>
Link: https://github.com/openwrt/openwrt/pull/18013
Signed-off-by: John Crispin <john@phrozen.org>
2025-02-19 08:07:20 +01:00
..
base-files base-files: fix offset conversion on caldata_patch_data() 2025-02-13 00:26:23 +01:00
boot sunxi: add support for Merrii Hummingbird A31 2025-02-18 22:50:16 +01:00
devel strace: Update to version 6.12 2025-01-02 20:52:14 +01:00
firmware qualcommax: ipq50xx: add support for Linksys SPNMX56 2025-02-18 09:37:25 +01:00
kernel nss-dp: switchdev: apply flag dependency directives 2025-02-14 12:39:17 +01:00
libs openssl: update to 3.0.16 2025-02-16 12:59:49 +01:00
network wifi-scripts: fix missing VHT capabilities detection 2025-02-19 08:07:20 +01:00
system apk: disable python module 2025-02-18 15:10:59 +01:00
utils cli: add OpenWrt CLI 2025-02-13 19:00:30 +01:00
Makefile build: lock versions for special APK packages 2025-02-04 13:48:59 +00:00