Search Linux Wireless

Regulatory Domain: User hint + Driver hint

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

>From reading http://wireless.kernel.org/en/developers/Regulatory/processing_rules
I am under the impression that the Driver hint gives the driver an
opportunity to "lock" the card to a specific regdom based on its
EEPROM.  Then any regdom set as a User hint (via "iw reg set ??" or
wpa_supplicant) would be the intersection of the Driver hint and the
User hint.

What I'm seeing from the cfg80211 dbg prints is that the User hint
simply overrides the Driver hint ("cfg80211: Regulatory domain changed
to country").  I also don't see what looks like an intersection when
comparing the resulting rules... it looks like a replacement.

Looking at the code in net/wireless/reg.c in the ignore_request
function, only if (last_request->initiator ==
NL80211_REGDOM_SET_BY_COUNTRY_IE) return REG_INTERSECT;  This seems to
disagree with the document.  Am I simply misinterpreting the code or
is it broken as is?

Any enlightenment would be greatly appreciated.

I'm using Kernel.org 2.6.35 with ath5k 802.11 PCI card.

Thanks,
-Joe
--
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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux