diff options
author | Ping-Ke Shih <[email protected]> | 2024-04-30 10:05:15 +0800 |
---|---|---|
committer | Ping-Ke Shih <[email protected]> | 2024-05-04 08:14:49 +0800 |
commit | f506e3ee547669cd96842e03c8a772aa7df721fa (patch) | |
tree | cc0e052b5d4969e5ae4bc0e235ddb06b4f6a2d10 | |
parent | 58ed86e1666b3afaef8c303cfa6a734c96efeb85 (diff) |
wifi: rtw89: correct aSIFSTime for 6GHz band
aSIFSTime is 10us for 2GHz band and 16us for 5GHz and 6GHz bands.
Originally, it doesn't consider 6GHz band and use wrong value, so correct
it accordingly.
Cc: [email protected]
Signed-off-by: Ping-Ke Shih <[email protected]>
Link: https://msgid.link/[email protected]
-rw-r--r-- | drivers/net/wireless/realtek/rtw89/mac80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/realtek/rtw89/mac80211.c b/drivers/net/wireless/realtek/rtw89/mac80211.c index ca4938eed23c..1ec97250e88e 100644 --- a/drivers/net/wireless/realtek/rtw89/mac80211.c +++ b/drivers/net/wireless/realtek/rtw89/mac80211.c @@ -318,7 +318,7 @@ static u8 rtw89_aifsn_to_aifs(struct rtw89_dev *rtwdev, u8 sifs; slot_time = vif->bss_conf.use_short_slot ? 9 : 20; - sifs = chan->band_type == RTW89_BAND_5G ? 16 : 10; + sifs = chan->band_type == RTW89_BAND_2G ? 10 : 16; return aifsn * slot_time + sifs; } |