linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
To: johannes@sipsolutions.net
Cc: linux-wireless@vger.kernel.org, Eliad Peller <eliad@wizery.com>,
	Eliad Peller <eliadx.peller@intel.com>,
	Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Subject: [PATCH 02/16] cfg80211: add operating classes 128-130
Date: Sun,  1 Mar 2015 09:10:01 +0200	[thread overview]
Message-ID: <1425193815-17785-3-git-send-email-emmanuel.grumbach@intel.com> (raw)
In-Reply-To: <1425193815-17785-1-git-send-email-emmanuel.grumbach@intel.com>

From: Eliad Peller <eliad@wizery.com>

Operating classes 128-130 are defined in the 11ac
spec for the 5GHz band.

Update ieee80211_operating_class_to_band() to support them.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
---
 net/wireless/util.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/wireless/util.c b/net/wireless/util.c
index 6903dbd..f7b3598 100644
--- a/net/wireless/util.c
+++ b/net/wireless/util.c
@@ -1296,6 +1296,7 @@ bool ieee80211_operating_class_to_band(u8 operating_class,
 	switch (operating_class) {
 	case 112:
 	case 115 ... 127:
+	case 128 ... 130:
 		*band = IEEE80211_BAND_5GHZ;
 		return true;
 	case 81:
-- 
1.9.1


  parent reply	other threads:[~2015-03-01  7:10 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-01  7:09 [PATCH 00/16] Various patches from our internal tree Emmanuel Grumbach
2015-03-01  7:10 ` [PATCH 01/16] mac80211: Update beacon's timing and DTIM count on every beacon Emmanuel Grumbach
2015-03-01  7:10 ` Emmanuel Grumbach [this message]
2015-03-01  7:10 ` [PATCH 03/16] mac80211: TDLS: support VHT between peers Emmanuel Grumbach
2015-03-01  7:10 ` [PATCH 04/16] mac80211: fix another suspend vs. association race Emmanuel Grumbach
2015-03-01  7:10 ` [PATCH 05/16] mac80211: handle drv_add_interface failures properly during reconfig Emmanuel Grumbach
2015-03-01  7:10 ` [PATCH 06/16] mac80211: tell drivers the user TX power restriction Emmanuel Grumbach
2015-03-04  9:34   ` Johannes Berg
2015-03-01  7:10 ` [PATCH 07/16] mac80211: don't do driver suspend with auth/assoc in progress Emmanuel Grumbach
2015-03-01  7:10 ` [PATCH 08/16] mac80211: remove useless double check for open_count in __ieee80211_suspend() Emmanuel Grumbach
2015-03-01  7:10 ` [PATCH 09/16] mac80211: start queues if driver rejected wowlan Emmanuel Grumbach
2015-03-01  7:10 ` [PATCH 10/16] mac80211: allow TDLS setup code to take wdev lock Emmanuel Grumbach
2015-03-01  7:10 ` [PATCH 11/16] mac80211: remove duplicate check for quiescing when queueing work Emmanuel Grumbach
2015-03-01  7:10 ` [PATCH 12/16] mac80211: update TDLS sta spatial streams before auth Emmanuel Grumbach
2015-03-01  7:10 ` [PATCH 13/16] mac80211: check and dequeue skb in ieee80211_tx_prepare_skb() Emmanuel Grumbach
2015-03-01  7:10 ` [PATCH 14/16] nl80211: prohibit mixing 'any' and regular wowlan triggers Emmanuel Grumbach
2015-03-01  7:10 ` [PATCH 15/16] mac80211: remove channel_switch_beacon operation Emmanuel Grumbach
2015-03-01  7:10 ` [PATCH 16/16] mac80211: allow iterating inactive interfaces Emmanuel Grumbach
2015-03-03  9:47 ` [PATCH 00/16] Various patches from our internal tree Johannes Berg
2015-03-03 10:01   ` Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1425193815-17785-3-git-send-email-emmanuel.grumbach@intel.com \
    --to=emmanuel.grumbach@intel.com \
    --cc=eliad@wizery.com \
    --cc=eliadx.peller@intel.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).