diff options
author | Po-Hao Huang <phhuang@realtek.com> | 2021-02-09 10:07:49 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-02-12 10:50:55 +0300 |
commit | d77ddc34d7317dc2c0fad21ef40f75b909552d5b (patch) | |
tree | 0e8080e8797bd1cec4ff8865428155e531bc531c /drivers/net/wireless/realtek/rtw88/main.h | |
parent | 4830872685f80666b29bab6a930254809c18c40a (diff) | |
download | linux-d77ddc34d7317dc2c0fad21ef40f75b909552d5b.tar.xz |
rtw88: add rts condition
Since we set the IEEE80211_HW_HAS_RATE_CONTROL flag, so use_rts in
ieee80211_tx_info will never be set in the ieee80211_xmit_fast path.
Add length check for skb to decide whether rts is needed.
Signed-off-by: Po-Hao Huang <phhuang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210209070755.23019-3-pkshih@realtek.com
Diffstat (limited to 'drivers/net/wireless/realtek/rtw88/main.h')
0 files changed, 0 insertions, 0 deletions