iwinfo: export HE and EHT operation in scan results master
authorAleksander Jan Bajkowski <[email protected]>
Fri, 14 Mar 2025 19:22:30 +0000 (20:22 +0100)
committerRobert Marko <[email protected]>
Fri, 7 Nov 2025 11:21:23 +0000 (12:21 +0100)
commit5f4c213fc59f1a82d9f0140642d668ae2969531b
tree42bdc9a3823e3a2747c9194aabcc73edaa542c81
parent40563018dc8792239b2e903e514d9b8bc9528d30
iwinfo: export HE and EHT operation in scan results

Export WiFi 6E (HE) and WiFi 7 (EHT) operation data in scan results.
These additional data can be useful to check wifi channel utilization
by nearby stations.

Example
Cell 22 - Address: xx:xx:xx:xx:xx:xx
          ESSID: "OpenWrt"
          Mode: Master  Frequency: 5.955 GHz  Band: 6 GHz  Channel: 1
          Signal: -21 dBm  Quality: 70/70
          Encryption: WPA3 SAE (CCMP)
          HE Operation:
                    Center Frequency 1: 7
                    Center Frequency 2: 15
                    Channel Width: 160 MHz
          EHT Operation:
                    Center Frequency 1: 15
                    Center Frequency 2: 31
                    Channel Width: 320 MHz

Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: https://github.com/openwrt/iwinfo/pull/21
Signed-off-by: Robert Marko <[email protected]>
include/iwinfo.h
iwinfo_cli.c
iwinfo_lib.c
iwinfo_nl80211.c