git: 50ec1e7af002 - main - ath: fix 20MHz HT short-gi logic.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 01 Mar 2025 23:33:12 UTC
The branch main has been updated by adrian:
URL: https://cgit.FreeBSD.org/src/commit/?id=50ec1e7af002d710eaefa5dd5f581efc20159122
commit 50ec1e7af002d710eaefa5dd5f581efc20159122
Author: Adrian Chadd <adrian@FreeBSD.org>
AuthorDate: 2025-03-01 22:35:26 +0000
Commit: Adrian Chadd <adrian@FreeBSD.org>
CommitDate: 2025-03-01 23:32:04 +0000
ath: fix 20MHz HT short-gi logic.
This was broken in an earlier commit
(ca389486a9599768e0ba69dca13c208020623083).
PR: kern/285096
Differential Revision: https://reviews.freebsd.org/D49196
Fixes: ca389486a9599768e0ba69dca13c208020623083
Reviewed by: bz
---
sys/dev/ath/if_ath_tx_ht.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/ath/if_ath_tx_ht.c b/sys/dev/ath/if_ath_tx_ht.c
index ac61c7b4cf54..e7ee029fecf0 100644
--- a/sys/dev/ath/if_ath_tx_ht.c
+++ b/sys/dev/ath/if_ath_tx_ht.c
@@ -301,7 +301,7 @@ ath_tx_rate_fill_rcflags(struct ath_softc *sc, struct ath_buf *bf)
rc[i].flags |= ATH_RC_SGI_FLAG;
}
- if (ni->ni_chw == IEEE80211_STA_RX_BW_40 &&
+ if (ni->ni_chw == IEEE80211_STA_RX_BW_20 &&
ieee80211_ht_check_tx_shortgi_20(ni) &&
(bf->bf_flags & ATH_BUF_TOA_PROBE) == 0) {
rc[i].flags |= ATH_RC_SGI_FLAG;