From: Benoit PAPILLAULT <benoit.papillault@free.fr>
To: Jouni Malinen <j@w1.fi>
Cc: "Luis R. Rodriguez" <lrodriguez@atheros.com>,
linville@tuxdriver.com, johannes@sipsolutions.net,
linux-wireless@vger.kernel.org
Subject: Re: [PATCH 2/4] cfg80211: fix 2 GHz subband calculation for country IEs
Date: Sat, 09 Jan 2010 14:55:46 +0100 [thread overview]
Message-ID: <4B488AE2.70006@free.fr> (raw)
In-Reply-To: <20100109084521.GA6190@jm.kir.nu>
Jouni Malinen a écrit :
> On Fri, Jan 08, 2010 at 04:28:17PM -0800, Luis R. Rodriguez wrote:
>
>
>> Heh alright, I'll change this to match the rx'd band first but that
>> change is a bit big for stable so we'll have to deal with how we have
>> it now for stable. I'll submit the changes for wireless-testing. Now
>> last question -- although I haven't seen APs send country IEs for two
>> bands in case we do, how do you want to treat those channels?
>>
>
> What exactly do you mean with sending two bands? By using the Regulatory
> Extension Identifier? I didn't think we support it.. In general, I would
> not bother doing anything special until someone can show that such an AP
> exist.
>
>
>> Does hostapd send just one band or two bands on the country IE?
>>
>
> Only one; it does not support Regulatory Extension Identifier and I
> don't really see any point in advertising more than the current band.
>
>
I was going to say the same as Jouni : channel number cannot be used to
determine the frequency band (2.4GHz versus 5GHz). Channel 1 exists both
in 2.4GHz and 5GHz. For 5GHz, I think the 802.11 specs mentions a
"Channel starting frequency is defined as dot11ChannelStartingFactor ×
500 kHz or is defined as 5 GHz for systems where
dot11RegulatoryClassesRequired is false or not defined." (17.3.8.3.2).
This is based on the RegulatoryClass as defined in Annex J which is
transmitted in Country IE as Regulatory Extension Identifier.
There are AP that are operating on both bands (either single radio or
dual radio). We could imagine a scenario where the AP sends a Channel
Switch Announcement IE asking to switch from a 2.4GHz channel to a 5GHz
channel. At this point, the STA should be aware of regulatory
restrictions that may exist in the 5GHz band. In this case, the STA must
wait for a beacon to show up in the 5GHz band (see 11.1.3.3 Initializing
a BSS) and we are on the safe side by assuming that it applies on the
same band.
Regards,
Benoit
next prev parent reply other threads:[~2010-01-09 13:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-07 22:24 [PATCH 0/4] cfg80211: few country IE parse fixes Luis R. Rodriguez
2010-01-07 22:24 ` [PATCH 1/4] cfg80211: add debug print when we drop a bogus country IE Luis R. Rodriguez
2010-01-07 22:24 ` [PATCH 2/4] cfg80211: fix 2 GHz subband calculation for country IEs Luis R. Rodriguez
2010-01-08 13:14 ` Jouni Malinen
2010-01-08 21:41 ` Luis R. Rodriguez
2010-01-08 23:20 ` Jouni Malinen
2010-01-09 0:28 ` Luis R. Rodriguez
2010-01-09 8:45 ` Jouni Malinen
2010-01-09 13:55 ` Benoit PAPILLAULT [this message]
2010-01-07 22:24 ` [PATCH 3/4] cfg80211: process the max power on a country IE Luis R. Rodriguez
2010-01-07 22:24 ` [PATCH 4/4] cfg80211: Fix country IE parsing for single channel triplets 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=4B488AE2.70006@free.fr \
--to=benoit.papillault@free.fr \
--cc=j@w1.fi \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=lrodriguez@atheros.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).