Search Linux Wireless

Re: brcmfmac: Unexpected cfg80211_set_channel: set chanspec ... fail, reason -52

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

 



Johannes Berg <johannes@xxxxxxxxxxxxxxxx> writes:

>> > [  104.897615] brcmfmac: cfg80211_set_channel: set chanspec 0x100e fail, 
>> > reason -52
>
> [...]
>
>> 
>> > All of these 10 errors are repeated every 60 sec.
>> 
>> Catching up after the holidays ;-) Above chanspec values are invalid. 
>> 0x100e = channel 14/bw 20MHz. The 'iw list' output shows all these 
>> channels are disabled. So who/what is trying to set these channels. 
>> Scanning sets the channel in firmware. Is this initiated from hostapd? 
>
> Yeah, what userspace is running here? Looks like cfg80211_set_channel()
> is only used for survey?
>
> Couple of observations on the side:
>  * might be nice to have some "brcm" indication in that name :P

Indeed, having a function cfg80211_set_channel() in brcmfmac/cfg80211.c
is VERY misleading. I first though that is a cfg80211 function and
didn't understand Johannes' comment until I started grepping :) Can
someone fix that, please?

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux