On Monday 19 February 2007 14:49, Jiri Benc wrote: > How is a driver supposed to handle this? By walking through the channel > list and based on some value obtained from its EEPROM (or firmware or > whatever) set appropriate flags? That sounds like a need for duplicate > code in drivers. Shouldn't the stack accept a regdomain code (defined > as an enum of integers or so) instead? > Region codes are not standardized though many devices these days tend towards using atheros' codes. Of course, you can make a d80211 specific region code enum and map hardware region codes to those region codes and this would work well for most hardware out there.. except for ipw3945. So, this patch would allow the ipw3945 to do its own funny thing while everyone else uses a library to setup the channels. -Michael Wu
Attachment:
pgpYeBNSeyKBF.pgp
Description: PGP signature