The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=557eed60d2a34d061350ac37acebe6686cd80d83
commit 557eed60d2a34d061350ac37acebe6686cd80d83 Author: Bjoern A. Zeeb <[email protected]> AuthorDate: 2026-06-21 14:04:36 +0000 Commit: Bjoern A. Zeeb <[email protected]> CommitDate: 2026-06-22 01:21:38 +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 MFC after: 3 days --- 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;
