Search Linux Wireless

Re: [PATCH] wifi: rtlwifi: Fix setting the basic rates

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

 



On Mon, 2024-02-19 at 07:37 +0000, Ping-Ke Shih wrote:
> > 
> > I'm not sure if this is enough. Should we also handle
> > BSS_CHANGED_BASIC_RATES? But bss_conf->basic_rates is only 0xf (CCK
> > rates only) and the out-of-tree Realtek drivers want to use the 6, 12,
> > and 24M rates as well. If ieee80211_find_sta() returns NULL, how can we
> > know if OFDM rates are supported?

This whole find_sta is a bit questionable - basic rates are from the BSS
configuration anyway?

> > I'm also not sure if it's okay to set the basic rates later than
> > originally intended, but it's still better than never.
> 
> bss_conf->basic_rates is from AP beacon basically, and only the supported rates
> with 0x80 bit are basic rates, which is minimum rates requirement to the AP.
> Thus, I think it is not suitable to consider basic rates as RTS rate. 
> 

But you have to consider them? Control response rates are very precisely
defined in the spec, see 10.6.6.5.2 "Selection of a rate or MCS".

I also have a bunch of explanations about that in the iwlmvm driver in
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c around line 360.

johannes





[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