From: Arik Nemtsov Date: Mon, 1 Dec 2014 15:53:42 +0000 (+0200) Subject: iw: print new RRF_ regulatory flags X-Git-Tag: v4.0~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75907eeec7b1de81c7fb66fcdbbd3200812e9d89;p=thirdparty%2Fiw.git iw: print new RRF_ regulatory flags These were added to cfg80211 recently Signed-off-by: Arik Nemtsov Signed-off-by: Johannes Berg --- diff --git a/reg.c b/reg.c index e1bb0d2..9af8e7e 100644 --- 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)) {