From patchwork Mon Dec 1 15:53:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arik Nemtsov X-Patchwork-Id: 5413291 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 866C5BEEA8 for ; Mon, 1 Dec 2014 15:53:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BC9B0200F4 for ; Mon, 1 Dec 2014 15:53:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D7E2B201F2 for ; Mon, 1 Dec 2014 15:53:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753948AbaLAPxt (ORCPT ); Mon, 1 Dec 2014 10:53:49 -0500 Received: from mail-wg0-f48.google.com ([74.125.82.48]:35714 "EHLO mail-wg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753947AbaLAPxs (ORCPT ); Mon, 1 Dec 2014 10:53:48 -0500 Received: by mail-wg0-f48.google.com with SMTP id y19so14400476wgg.21 for ; Mon, 01 Dec 2014 07:53:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=r16D6EYWavRzbiJSDQjht8PlPmsRBFt2gnHZohmrXsw=; b=NXlrbzA0SECpHsdLZAUPLnPDR9yGnX1lcIHL9UIipZowoMKHnmpxIv/kdoiQyaOV9J uC+o0T7d8CYK7u/nnU003EAkIdyCvO24PjkU7B0R9vGh2+uoVIRR3GikEBB403JAM/Lw o01dmc5jaY/W7bBRROEPYNrdwVm5Y+c6wkgT+5giEFoBKPJMjnaxdNHU5kCQLAHiLucl 4Ax4eOB7lgTpoObS095mtSPS+VuleZlQgYQ2RNBQfrYC39aM9RpS+pCJ82KE+dI2Dhlq gBgke8VJmExXaLSPUEpqdGgEoNxZjSp5uC5SOK3jnyMeq8zkALotu9XUVfmdGqclX359 olAw== X-Gm-Message-State: ALoCoQnFJ3ydHIyTW/uwpL+uDfqtFBPKwl33n4c7oifjns6ytkwVGl/eXkIMUenNc01k958nPW4+ X-Received: by 10.194.246.130 with SMTP id xw2mr91446369wjc.33.1417449227329; Mon, 01 Dec 2014 07:53:47 -0800 (PST) Received: from athena.amr.corp.intel.com (85-250-108-142.bb.netvision.net.il. [85.250.108.142]) by mx.google.com with ESMTPSA id rx8sm28101207wjb.30.2014.12.01.07.53.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 Dec 2014 07:53:46 -0800 (PST) From: Arik Nemtsov To: Cc: Johannes Berg , "Luis R. Rodriguez" , Arik Nemtsov Subject: [PATCH v2 2/4] iw: print new RRF_ regulatory flags Date: Mon, 1 Dec 2014 17:53:42 +0200 Message-Id: <1417449224-10293-2-git-send-email-arik@wizery.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1417449224-10293-1-git-send-email-arik@wizery.com> References: <1417449224-10293-1-git-send-email-arik@wizery.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These were added to cfg80211 recently Signed-off-by: Arik Nemtsov --- v2: remove XXX from title, apparently the ML doesn't like them :) reg.c | 6 ++++++ 1 file changed, 6 insertions(+) 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)) {