linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Changing the way we handle region codes on Linux (public thread)
@ 2009-11-06 16:57 Luis R. Rodriguez
  2009-11-06 17:29 ` Bob Copeland
  0 siblings, 1 reply; 8+ messages in thread
From: Luis R. Rodriguez @ 2009-11-06 16:57 UTC (permalink / raw)
  To: linux-wireless, Vivek Natarajan, Vivek Natarajan
  Cc: Jeffrey Baker, John W. Linville, David Quan, Michael Green

Note: this e-mail is on a public mailing list.

So Jeffrey pointed out a regression introduced by a recent patch to
update our regulatory domain information on the Atheros driver common
module, ath.ko. Of relevance the patch added Aruba "AW" and made "AW"
the first alpha2 to which the ETSI1_WORLD region code maps to. This
region code used to first map to "AT". The wireless-regdb did not
however yet get an update for "AW" so the next logical step is to add
it to wireless-regdb based on the "AT" for example (or any other
country on the region, as all of those countries are expected to be on
the same region and hence the same regulatory domain). That missing
patch would address the issues reported by Jeffrey, which is that he
was unable to use AP mode of operation as no channels when world
roaming are allowed to start IBSS/AP mode unless you are world roaming
(not the case when a region code is used) and find a nearby AP.

Users tend to get confused by the current region code mapping though
so alternatives we can consider are:

1) If a user selects a regulatory domain manually (either before or
after the wireless driver is loaded) check to see if the alpha2 the
user selected fits in the region of the currently programmed region
code. This would be to search the allCountries[] array, and see if the
programmed region code has a match for the alpha2 the user selected at
all in the array. If this is true then allow the usage of that
regulatory domain for the driver.

2) Treat region codes as world roaming regulatory domains and define
them statically in the ath.ko module as we do with the other 12 world
regulatory domains. The advantage to this solution is these regions
would then *world roam* and this means being able to use the world
roaming features of finding a channel on a passive-scan/no-beaconing
channel and lifting those restrictions. The down side to this is we'd
increase ath.ko in size with however many region codes we support.

I think that sums it up. I'd like to hear input on these on
linux-wireless. I'll address this internally at Atheros also to to see
what we think too and get back to this thread with a path. In th
meantime I'll send a patch for wireless-regdb for AW just to get a
quick resolution to this.

  Luis

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-11-07  0:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-06 16:57 Changing the way we handle region codes on Linux (public thread) Luis R. Rodriguez
2009-11-06 17:29 ` Bob Copeland
2009-11-06 17:45   ` Luis R. Rodriguez
2009-11-06 18:38     ` John W. Linville
2009-11-06 19:20       ` Luis R. Rodriguez
2009-11-06 19:26         ` John W. Linville
2009-11-06 19:26         ` Luis R. Rodriguez
2009-11-07  0:08           ` Luis R. Rodriguez

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).