linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arend van Spriel <arend@broadcom.com>
To: "Luis R. Rodriguez" <mcgrof@do-not-panic.com>,
	Ilan Peer <ilan.peer@intel.com>
Cc: <linux-wireless@vger.kernel.org>,
	David Spinadel <david.spinadel@intel.com>
Subject: Re: [PATCH v4 1/5] cfg80211: Add indoor only and GO concurrent channel attributes
Date: Wed, 19 Feb 2014 18:36:49 +0100	[thread overview]
Message-ID: <5304EBB1.904@broadcom.com> (raw)
In-Reply-To: <20140219161101.GJ14296@garbanzo.do-not-panic.com>

On 02/19/2014 05:11 PM, Luis R. Rodriguez wrote:
> On Wed, Feb 19, 2014 at 05:39:33PM +0200, Ilan Peer wrote:
>> From: David Spinadel <david.spinadel@intel.com>
>>
>> The FCC are clarifying some soft configuration requirements,
>> which among other include the following:
>>
>> 1. Indoor operation, where a device can use channels requiring indoor
>>    operation, subject to that it can guarantee indoor operation,
>>    i.e., the device is connected to AC Power or the device is under
>>    the control of a local master that is acting as an AP and is
>>    connected to AC Power.
>> 2. Concurrent GO operation, where devices may instantiate a P2P GO
>>    while they are under the guidance of an authorized master. For example,
>>    on a channel on which a BSS is connected to an authorized master, i.e.,
>>    with DFS and radar detection capability in the UNII band.

So apparently FCC has another understanding than the WiFi Alliance (from
section 2.3 in WFA P2P-TS):

"""
A P2P Device can operate concurrently with a WLAN (infrastructure
network). Such a device is considered a P2P Concurrent Device. The
concurrent operation requires a device to support multiple MAC entities.
	:
	:
A P2P Group may operate in the same or different operating class and
channel as a concurrently operating WLAN BSS. For example, a WLAN BSS
may operate in channel 36 in the 5.2 GHz band, while the P2P Group may
operate in channel 6 in the 2.4 GHz band.
"""

Regards,
Arend

>> See https://apps.fcc.gov/eas/comments/GetPublishedDocument.html?id=327&tn=528122
>>
>> Add support for advertising Indoor-only and GO-Concurrent channel
>> properties.
>>
>> Signed-off-by: David Spinadel <david.spinadel@intel.com>
>> Signed-off-by: Ilan Peer <ilan.peer@intel.com>
>> ---
>>  include/net/cfg80211.h       |   22 ++++++++++++++++++++++
>>  include/uapi/linux/nl80211.h |    8 ++++++++
>>  net/wireless/nl80211.c       |    6 ++++++
>>  net/wireless/reg.c           |    2 ++
>>  4 files changed, 38 insertions(+)
>>
>> diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
>> index 9f90554..5b2f275 100644
>> --- a/include/net/cfg80211.h
>> +++ b/include/net/cfg80211.h
>> @@ -109,6 +109,26 @@ enum ieee80211_band {
>>   *	channel as the control or any of the secondary channels.
>>   *	This may be due to the driver or due to regulatory bandwidth
>>   *	restrictions.
>> + * @IEEE80211_CHAN_INDOOR_ONLY: Only indoor use is permitted on this channel.
>> + *	A channel marked with IEEE80211_CHAN_INDOOR_ONLY can only be used when
>> + *	there is a clear assessment that the device is operating in an indoor
>> + *	surroundings, i.e., it is connected to AC power (and not through
>> + *	portable DC inverters) or is under the control of a master that is
>> + *	acting as an AP and is connected to AC power.
>> + * @IEEE80211_CHAN_GO_CONCURRENT: GO operation is allowed on this channel if
>> + *	it's connected concurrently to a BSS on the same channel on the 2 GHz
>> + *	band or to a channel in the same UNII band (on the 5 GHz band), and
>> + *	IEEE80211_CHAN_RADAR is not set
>> + *	Instantiating a GO on a channel marked with IEEE80211_CHAN_GO_CONCURRENT
>> + *	can be done when there is a clear assessment that the device is
>> + *	operating under the guidance of an authorized master, i.e., setting up a
>> + *	GO while the device is also connected to an AP with DFS and radar
>> + *	detection on the UNII band.
> 
> 
> Would make sense to add here a comment indicating what you mentioned
> on the other thread about userspace being responsible for this
> verification. In this case the supplicant (wpa_supplicant).
> 
>> + *
>> + *	See https://apps.fcc.gov/eas/comments/GetPublishedDocument.html?id=327&tn=528122
>> + *	for more information on the FCC description of the relaxations allowed
>> + *	by IEEE80211_CHAN_INDOOR_ONLY and IEEE80211_CHAN_GO_CONCURRENT.
>> + *
>>   */
>>  enum ieee80211_channel_flags {
>>  	IEEE80211_CHAN_DISABLED		= 1<<0,
>> @@ -120,6 +140,8 @@ enum ieee80211_channel_flags {
>>  	IEEE80211_CHAN_NO_OFDM		= 1<<6,
>>  	IEEE80211_CHAN_NO_80MHZ		= 1<<7,
>>  	IEEE80211_CHAN_NO_160MHZ	= 1<<8,
>> +	IEEE80211_CHAN_INDOOR_ONLY	= 1<<9,
>> +	IEEE80211_CHAN_GO_CONCURRENT	= 1<<10,
>>  };
>>  
>>  #define IEEE80211_CHAN_NO_HT40 \
>> diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
>> index a12e6ca..da27ca4 100644
>> --- a/include/uapi/linux/nl80211.h
>> +++ b/include/uapi/linux/nl80211.h
>> @@ -2329,6 +2329,12 @@ enum nl80211_band_attr {
>>   * @NL80211_FREQUENCY_ATTR_NO_160MHZ: any 160 MHz (but not 80+80) channel
>>   *	using this channel as the primary or any of the secondary channels
>>   *	isn't possible
>> + * @NL80211_FREQUENCY_ATTR_INDOOR_ONLY: Indoor only use is permitted
>> + *	on this channel in current regulatory domain
> 
> I'd prefer the more verbose documentation to go here as this is
> the userspace API. What you can do is on the IEEE80211_CHAN_INDOOR_ONLY
> documetnation refer for further information to
> %NL80211_FREQUENCY_ATTR_INDOOR_ONLY.
> 
>> + * @NL80211_FREQUENCY_ATTR_GO_CONCURRENT: GO operation is allowed on this
>> + *      channel if it's connected concurrently to a BSS on the same channel on
>> + *      the 2 GHz band or to a channel in the same UNII band (on the 5 GHz
>> + *      band), and NL80211_FREQUENCY_ATTR_RADAR is not set
> 
> Same here.
> 
>   Luis
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


  reply	other threads:[~2014-02-19 17:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-19 15:39 [PATCH v4 0/5] Enable additional channels for use Ilan Peer
2014-02-19 15:39 ` [PATCH v4 1/5] cfg80211: Add indoor only and GO concurrent channel attributes Ilan Peer
2014-02-19 16:11   ` Luis R. Rodriguez
2014-02-19 17:36     ` Arend van Spriel [this message]
2014-02-19 17:56       ` Luis R. Rodriguez
2014-02-20  8:11         ` Peer, Ilan
2014-02-20  9:32     ` Peer, Ilan
2014-02-19 15:39 ` [PATCH v4 2/5] cfg80211: Add Kconfig option for cellular BS hints Ilan Peer
2014-02-19 15:39 ` [PATCH v4 3/5] cfg80211: Enable GO operation on additional channels Ilan Peer
2014-02-19 16:24   ` Luis R. Rodriguez
2014-02-20 11:08     ` Peer, Ilan
2014-02-19 15:39 ` [PATCH v4 4/5] cfg80211: Add an option to hint indoor operation Ilan Peer
2014-02-19 16:34   ` Luis R. Rodriguez
2014-02-19 15:39 ` [PATCH v6 5/5] cfg80211: Enable GO operation on indoor channels Ilan Peer
2014-02-19 15:48   ` [PATCH v4 " Ilan Peer
2014-02-19 16:38     ` Luis R. Rodriguez

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=5304EBB1.904@broadcom.com \
    --to=arend@broadcom.com \
    --cc=david.spinadel@intel.com \
    --cc=ilan.peer@intel.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mcgrof@do-not-panic.com \
    /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).