Skip to content

Commit f506e3e

Browse files
author
Ping-Ke Shih
committed
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]
1 parent 58ed86e commit f506e3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/wireless/realtek/rtw89/mac80211.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ static u8 rtw89_aifsn_to_aifs(struct rtw89_dev *rtwdev,
318318
u8 sifs;
319319

320320
slot_time = vif->bss_conf.use_short_slot ? 9 : 20;
321-
sifs = chan->band_type == RTW89_BAND_5G ? 16 : 10;
321+
sifs = chan->band_type == RTW89_BAND_2G ? 10 : 16;
322322

323323
return aifsn * slot_time + sifs;
324324
}

0 commit comments

Comments
 (0)