]> git.ipfire.org Git - thirdparty/iw.git/commit
iw: print NO-EHT flags for reg get command
authorAditya Kumar Singh <aditya.kumar.singh@oss.qualcomm.com>
Mon, 12 May 2025 15:23:04 +0000 (20:53 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 16 May 2025 08:54:27 +0000 (10:54 +0200)
commit1558e6021ec5ae0f6fcb1c31e20d0d4dacebd82b
treeb89830fa918b3619d640a76f67324b23fc515764
parent59660a349cf35903e951f99bdd8a74df063c912e
iw: print NO-EHT flags for reg get command

Currently when NO-EHT flag is set by driver, iw doesn't display that
information in the 'iw reg get' command. Add changes to print "NO-EHT"
while displaying the reg rules via reg get command, if a reg rule is
marked with NO-EHT flag.

Sample Output:

country RU: DFS-UNSET
        (2402 - 2472 @ 40), (N/A, 20), (N/A), NO-EHT
        (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW, NO-EHT
        (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW, NO-EHT
        (5490 - 5730 @ 160), (N/A, 24), (0 ms), DFS, AUTO-BW, NO-EHT
        (5735 - 5835 @ 80), (N/A, 30), (N/A), AUTO-BW, NO-EHT

Signed-off-by: Aditya Kumar Singh <aditya.kumar.singh@oss.qualcomm.com>
Signed-off-by: Manish Dharanenthiran <manish.dharanenthiran@oss.qualcomm.com>
Link: https://patch.msgid.link/20250512152304.2852658-1-manish.dharanenthiran@oss.qualcomm.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
reg.c