summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath10k/usb.h
diff options
context:
space:
mode:
authorDian-Syuan Yang <dian_syuan0116@realtek.com>2022-09-22 04:04:32 +0300
committerKalle Valo <kvalo@kernel.org>2022-09-24 15:36:27 +0300
commit3788c599da62917bbdf79abf829276eb8e0b087c (patch)
treea48da684670ba9c03c65081e2dc788a25480503a /drivers/net/wireless/ath/ath10k/usb.h
parente8ecfdd656ab6d744f79d16821ad7911ff35649e (diff)
downloadlinux-3788c599da62917bbdf79abf829276eb8e0b087c.tar.xz
wifi: rtw89: send OFDM rate only in P2P mode
Check IEEE80211_TX_CTL_NO_CCK_RATE flag to avoid sending frames with CCK rates in 2GHz band. In TX flow, add IEEE80211_TX_CTL_NO_CCK_RATE flag to check and get its lowest rate without CCK rates if the TX type is mgmt frames or data frames. Besides, the decision of phy rate and retry rate in P2P mode are also be handled. In P2P GO mode, it should send beacon of no CCK rates in its frame rate. Therefore, We add a condition to decide which rate is added to beacon content. Moreover, we avoid setting a mask of rates to be used for rate control selection before and after connection in P2P mode. Signed-off-by: Dian-Syuan Yang <dian_syuan0116@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20220922010435.12167-3-pkshih@realtek.com
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/usb.h')
0 files changed, 0 insertions, 0 deletions