]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
iw: print new RRF_ regulatory flags
authorArik Nemtsov <arik@wizery.com>
Mon, 1 Dec 2014 15:53:42 +0000 (17:53 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 12 Dec 2014 12:54:34 +0000 (13:54 +0100)
These were added to cfg80211 recently

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
reg.c

diff --git a/reg.c b/reg.c
index e1bb0d20925dfcdd5e4a677b7def4a17c7434135..9af8e7eb5b36ff380b3b17bd2d50cb96a32d5734 100644 (file)
--- a/reg.c
+++ b/reg.c
@@ -199,6 +199,12 @@ static int print_reg_handler(struct nl_msg *msg, void *arg)
                PARSE_FLAG(NL80211_RRF_NO_OUTDOOR, "NO-OUTDOOR");
                PARSE_FLAG(NL80211_RRF_DFS, "DFS");
                PARSE_FLAG(NL80211_RRF_PTP_ONLY, "PTP-ONLY");
+               PARSE_FLAG(NL80211_RRF_AUTO_BW, "AUTO-BW");
+               PARSE_FLAG(NL80211_RRF_GO_CONCURRENT, "GO-CONCURRENT");
+               PARSE_FLAG(NL80211_RRF_NO_HT40MINUS, "NO-HT40MINUS");
+               PARSE_FLAG(NL80211_RRF_NO_HT40PLUS, "NO-HT40PLUS");
+               PARSE_FLAG(NL80211_RRF_NO_80MHZ, "NO-80MHZ");
+               PARSE_FLAG(NL80211_RRF_NO_160MHZ, "NO-160MHZ");
 
                /* Kernels that support NO_IR always turn on both flags */
                if ((flags & NL80211_RRF_NO_IR) && (flags & __NL80211_RRF_NO_IBSS)) {