Ping-Ke Shih <pkshih@xxxxxxxxxxx> wrote: > From: Dian-Syuan Yang <dian_syuan0116@xxxxxxxxxxx> > > We used EHT capability of 20MHz-only as rate mask to RA (rate adaptive) > H2C command when connecting with AP set EHT 20MHz. It would get the > wrong rate mask and the MCS rate can only reach MCS11. > > According to the description of 802.11be spec, if all supported channel > bandwidth field of HE PHY capabilities are zero, then the EHT capability > of 20MHz-only is valid. As a result, we adjust the code to set correct > rate mask based on HE PHY bandwidth capability. > > Signed-off-by: Dian-Syuan Yang <dian_syuan0116@xxxxxxxxxxx> > Signed-off-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> Patch applied to wireless-next.git, thanks. f1dfcee2eae9 wifi: rtw89: Correct EHT TX rate on 20MHz connection -- https://patchwork.kernel.org/project/linux-wireless/patch/20240305004502.6655-1-pkshih@xxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches