Search Linux Wireless

Re: [PATCH][RESEND] wifi: cfg80211: Do not create BSS entries for unsupported channels

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

 




On 9/23/2024 3:29 PM, Kalle Valo wrote:
> Chenming Huang <quic_chenhuan@xxxxxxxxxxx> writes:
> 
>> Currently, in cfg80211_parse_ml_elem_sta_data(), when RNR element
>> indicates a BSS that operates in a channel that current regulatory
>> domain doesn't support, a NULL value is returned by
>> ieee80211_get_channel_khz() and assigned to this BSS entry's channel
>> field. Later in cfg80211_inform_single_bss_data(), the reported
>> BSS entry's channel will be wrongly overridden by transmitted BSS's.
>> This could result in connection failure that when wpa_supplicant
>> tries to select this reported BSS entry while it actually resides in
>> an unsupported channel.
>>
>> Since this channel is not supported, it is reasonable to skip such
>> entries instead of reporting wrong information.
>>
>> Signed-off-by: Chenming Huang <quic_chenhuan@xxxxxxxxxxx>
> 
> The list of changes from v1 missing. I guess you added the 'wifi:' prefix
> but did you change something else?
> 

Hi Kalle, only added the 'wifi:' prefix. No other change.




[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