git: c40937bfbb57 - stable/14 - LinuxKPI: 802.11: introduce mlo field to sta
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Apr 2025 11:42:02 UTC
The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=c40937bfbb57a9bc4cf16af980b5e823980dbd90 commit c40937bfbb57a9bc4cf16af980b5e823980dbd90 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2025-04-24 10:04:10 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2025-04-29 10:49:32 +0000 LinuxKPI: 802.11: introduce mlo field to sta Driver updates introduce a new field "mlo" to the sta. Add the field to the struct and initialize it in the 802.11 compat code along with a IMPROVE so once we get to 11be we can deal with it. Sponsored by: The FreeBSD Foundation (cherry picked from commit 71034267d861c183297bb209770004751f0e30c5) --- sys/compat/linuxkpi/common/include/net/mac80211.h | 1 + sys/compat/linuxkpi/common/src/linux_80211.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/net/mac80211.h b/sys/compat/linuxkpi/common/include/net/mac80211.h index 0d033da2b83e..50c1475063e2 100644 --- a/sys/compat/linuxkpi/common/include/net/mac80211.h +++ b/sys/compat/linuxkpi/common/include/net/mac80211.h @@ -763,6 +763,7 @@ struct ieee80211_sta { uint8_t addr[ETH_ALEN]; uint16_t aid; bool wme; + bool mlo; uint8_t max_sp; uint8_t uapsd_queues; uint16_t valid_links; diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c index 3edbcb141dd8..fb9a4bc0177b 100644 --- a/sys/compat/linuxkpi/common/src/linux_80211.c +++ b/sys/compat/linuxkpi/common/src/linux_80211.c @@ -791,6 +791,8 @@ lkpi_lsta_alloc(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN], for (i = 1; i < nitems(sta->link); i++) { IMPROVE("more links; only link[0] = deflink currently."); } + IMPROVE("11be"); + sta->mlo = false; /* Deferred TX path. */ LKPI_80211_LSTA_TXQ_LOCK_INIT(lsta);