git: 717e9ec72d89 - stable/15 - LinuxKPI: 802.11: leave a comment for sta->rates (mt7615, ?)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 Jun 2026 06:34:35 UTC
The branch stable/15 has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=717e9ec72d896d8c231b6f8a84871077f2042840
commit 717e9ec72d896d8c231b6f8a84871077f2042840
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2026-06-21 14:04:36 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-06-29 03:54:18 +0000
LinuxKPI: 802.11: leave a comment for sta->rates (mt7615, ?)
While we currently try to fill most rates places (e.g., basic_rates,
supp_rates, (*set_bitrate_mask)), sta->rates are not populated.
They are likely managed by the 802.11 rate control code (given no
ieee80211_hw_check HAS_RATE_CONTROL), which for use would be net80211,
which will require some extra code just to manage that.
At least Mediatek mt76 (mt7615) driver seems to fall into the category
of this need. See about that once/if we get to it.
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 557eed60d2a34d061350ac37acebe6686cd80d83)
---
sys/compat/linuxkpi/common/include/net/mac80211.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/compat/linuxkpi/common/include/net/mac80211.h b/sys/compat/linuxkpi/common/include/net/mac80211.h
index c77d37e72fd1..5555e14b06f9 100644
--- a/sys/compat/linuxkpi/common/include/net/mac80211.h
+++ b/sys/compat/linuxkpi/common/include/net/mac80211.h
@@ -747,7 +747,7 @@ struct ieee80211_sta {
int max_amsdu_subframes;
int mfp, smps_mode, tdls, tdls_initiator;
struct ieee80211_txq *txq[IEEE80211_NUM_TIDS + 1]; /* iwlwifi: 8 and adds +1 to tid_data, net80211::IEEE80211_TID_SIZE */
- struct ieee80211_sta_rates *rates; /* some rcu thing? */
+ struct ieee80211_sta_rates *rates; /* some rcu thing? */ /* mt7615, and? */
uint8_t addr[ETH_ALEN];
uint16_t aid;
bool wme;