From patchwork Fri Mar 7 13:37:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rostislav Lisovy X-Patchwork-Id: 3791521 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BA4FD9F35F for ; Fri, 7 Mar 2014 13:38:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C22A6201BA for ; Fri, 7 Mar 2014 13:38:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 12609202BE for ; Fri, 7 Mar 2014 13:38:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753443AbaCGNiG (ORCPT ); Fri, 7 Mar 2014 08:38:06 -0500 Received: from mail-ee0-f53.google.com ([74.125.83.53]:62354 "EHLO mail-ee0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753209AbaCGNiF (ORCPT ); Fri, 7 Mar 2014 08:38:05 -0500 Received: by mail-ee0-f53.google.com with SMTP id e51so1755036eek.12 for ; Fri, 07 Mar 2014 05:38:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QDSjyK/NdTX/3UkclXtxGGUb4u3pal64FwYk6M+lY8Y=; b=uxA9pH2lP08N46Bv0nzthBinnqYaL/kZcCZtgi5C199cgqlyfHUpeiSdQvxw5jVjAc kf28qjwuU5SPQuTXibj1QiqG25Cizkdf+59h9ShRj9MCxKvgjNoa92nDIzkncIcmrLiX Ko2wimrqCkx/WwynlzivEUCeOrm86yUA2o7Ky6C/FLIWmxolYnC96wFrnQuFhFmvOcAL HoSkVfzQuo6YTZaIcBbMrZxjmIrLvQLYIjpALs/S0jH39OzVraKO9o0zfKawoRGcCK5y Xa9YRWZndza3ouc8VtAQm28ezsnJrq+fFxZpSHBAL1CT/UK/yLWM9uYEVScQu2HmzaoE G3lg== X-Received: by 10.14.180.2 with SMTP id i2mr1319512eem.53.1394199483885; Fri, 07 Mar 2014 05:38:03 -0800 (PST) Received: from c2c-vostro1.felk.cvut.cz ([147.32.86.166]) by mx.google.com with ESMTPSA id 48sm6764355eee.2.2014.03.07.05.38.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 07 Mar 2014 05:38:02 -0800 (PST) From: Rostislav Lisovy To: Johannes Berg , linux-wireless@vger.kernel.org Cc: Michal Sojka , s.sander@nordsys.de, jan-niklas.meier@volkswagen.de Subject: [RFC PATCH 1/8] nl80211: Add new channel types -- 5MHz and 10MHz Date: Fri, 7 Mar 2014 14:37:48 +0100 Message-Id: <1394199475-5208-2-git-send-email-rostislav.lisovy@fel.cvut.cz> X-Mailer: git-send-email 1.8.5.1 In-Reply-To: <1394199475-5208-1-git-send-email-rostislav.lisovy@fel.cvut.cz> References: <1394199475-5208-1-git-send-email-rostislav.lisovy@fel.cvut.cz> 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.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, 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 attributes are necessary to provide a way how to set a channel type of '5MHz' or '10MHz' from userspace. This is necessary for future 802.11p implementation. Signed-off-by: Rostislav Lisovy --- include/uapi/linux/nl80211.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h index 91054fd..8d0e319 100644 --- a/include/uapi/linux/nl80211.h +++ b/include/uapi/linux/nl80211.h @@ -2891,12 +2891,16 @@ enum nl80211_ac { * below the control channel * @NL80211_CHAN_HT40PLUS: HT40 channel, secondary channel * above the control channel + * @NL80211_CHAN_5MHZ: normal, 5 MHz bandwidth + * @NL80211_CHAN_10MHZ: normal, 10 MHz bandwidth */ enum nl80211_channel_type { NL80211_CHAN_NO_HT, NL80211_CHAN_HT20, NL80211_CHAN_HT40MINUS, - NL80211_CHAN_HT40PLUS + NL80211_CHAN_HT40PLUS, + NL80211_CHAN_5MHZ, + NL80211_CHAN_10MHZ, }; /**