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
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html