From fddc015704ef32c9d656df2b086d76dbaaffd99b Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Sun, 20 Nov 2022 16:52:42 +0100 Subject: nl80211: mark frequencies where HE operation in not allowed Repurpose the IWINFO_FREQ_NO_2160MHZ define for that, which was introduced but never used. nl80211 doesn't have such a flag either. Signed-off-by: Andre Heider --- iwinfo_nl80211.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'iwinfo_nl80211.c') diff --git a/iwinfo_nl80211.c b/iwinfo_nl80211.c index 128bb9e..a78343f 100644 --- a/iwinfo_nl80211.c +++ b/iwinfo_nl80211.c @@ -3029,6 +3029,8 @@ static int nl80211_get_freqlist_cb(struct nl_msg *msg, void *arg) e->flags |= IWINFO_FREQ_NO_20MHZ; if (freqs[NL80211_FREQUENCY_ATTR_NO_10MHZ]) e->flags |= IWINFO_FREQ_NO_10MHZ; + if (freqs[NL80211_FREQUENCY_ATTR_NO_HE]) + e->flags |= IWINFO_FREQ_NO_HE; e++; arr->count++; -- cgit v1.2.1