Search Linux Wireless

Re: iw reg overwritten after connecting to AP

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

 



Hi Krishna,

On Thu, Jun 2, 2016 at 10:21 PM, Krishna Chaitanya
<chaitanya.mgit@xxxxxxxxx> wrote:
> On Thu, Jun 2, 2016 at 7:34 PM, Belisko Marek <marek.belisko@xxxxxxxxx> wrote:
>>
>> Hello,
>>
>> I'm using kernel 4.1 with option CONFIG_CFG80211_INTERNAL_REGDB
>> enabled. I have set one country in db.txt which during startup I set
>> via 'iw reg set XX'. When connected to some AP which sends country
>> code (e.g. SK) region is overwritten to 00 (in kernel log there is
>> some timeout message - I suppose it's communication with crda daemon
>> which I'm not using). Is there a way how to override this behavior (to
>> keep my regulatory persistent). Many thanks.
>>
> You need to disable country_ie hints, you driver has to advertise
> REGULATORY_WIPHY_SELF_MANAGED in the wiphy.regualtory_flags
> to disable beacon and country_ie hints.
I would like to keep beacon hinting (maybe disable only country_ie). I
have same setup but with 3.9 kernel and regulatory isn't overwritten.
>
> Which driver are you using?
I'm using mwifiex driver

Thanks,

BR,

marek


-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com
--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux