From nobody Tue Apr 29 11:42:02 2025 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Zmz1l4LWhz5tvPZ; Tue, 29 Apr 2025 11:42:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Zmz1l0W03z3xPJ; Tue, 29 Apr 2025 11:42:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1745926923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=p44wrKC49+39TlTzih3taBrK7kogyuODmn8ECLo6f8U=; b=iKZ6SOb/2MDMwma5x9ODRz6OURM48XlrGziT+PWfYDO5LcvmCvSXcQzquc1HntZnrSL8cQ q8HK8B/eJmnH9wHmOmJzORIlH04SzorZacvBxSYmP8T1Vqc3r9WrbfP1KjuPoMHrFkIqJM Rbek5nvq+cLAsLlMirpBJ7XGfHtA3hOSJo3lS9eEe1/I8iNyuKTVQ6V+t4FztbzS31fwUN TrrV2utKlOA7hddeXt14GERi4b1CLpoLezWxwDgBklEyNpUu3sSzucVuciob5tOGgX3SH1 QdturEuKv8I08JP0iyHU/ou2NsWvaflsDZYOfOgEpAlxxWhI+pwjtV6J4bKXow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1745926923; a=rsa-sha256; cv=none; b=ASjEZS677fqDeFr1CEY7+XwS7wov/hy1PHxcrtCP/OSUR1nYAf/3MNFFfeXFad9lIUq9tS GBy55FqALB/J55XUqmfBJadH+L3CD6nLQmac38iOldtOxAlSK6dO6885v0+QmOeBrYRQNG lZzSFvGzfSTZqbwKyL0GRKoc8XQ01ARQ2/elv+z80lccdweYqsV8aWemC+3jQ98miAeJwX LgICw8i1Ju1XxzpAppl0UyGOkcfJigEU8l3MEqRmWltihsgvWazfbwSsW+b3jbtOekg6b/ NqrqLLbu84Tbn9bsOzj/VL5sf1ufy23Lc5wFZgw2k5cJsRsy7rZdLsnPtUw7bA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1745926923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=p44wrKC49+39TlTzih3taBrK7kogyuODmn8ECLo6f8U=; b=btqezOGNqScoEDYCsyy50FlP50l1UnNMEUqt4cmKGbWHcVyZuBpPKKpQJH1+aGVDdEloi6 m8Jx9vijK5ujg3bY2CZmKIB4GSziTIFUppqd3Iu2w2RMw48riHqmTDxOMIj+TMPnr/QgAV vB4xshsRw0wSxD30cwsqwxpxg2FBZGcwCTEIO/B9Z2tTOdFbNxUKFoxjfIwsw/f4nrpl2n S5xod7a34ru1Bs/mu3Lyivu/4QSKY94+//izvKl4kXz8BFxg0eZb6+kv6jiMDTitipi4Yd 4iEXXzopNLi5hRtMsBY8pkh4er2qyiqkrPF2lL4E3kO9gWx9gMKueuLKF/GL6g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Zmz1k6yBYz3jW; Tue, 29 Apr 2025 11:42:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 53TBg2Nr047583; Tue, 29 Apr 2025 11:42:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 53TBg2iN047580; Tue, 29 Apr 2025 11:42:02 GMT (envelope-from git) Date: Tue, 29 Apr 2025 11:42:02 GMT Message-Id: <202504291142.53TBg2iN047580@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: c40937bfbb57 - stable/14 - LinuxKPI: 802.11: introduce mlo field to sta List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: c40937bfbb57a9bc4cf16af980b5e823980dbd90 Auto-Submitted: auto-generated The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=c40937bfbb57a9bc4cf16af980b5e823980dbd90 commit c40937bfbb57a9bc4cf16af980b5e823980dbd90 Author: Bjoern A. Zeeb AuthorDate: 2025-04-24 10:04:10 +0000 Commit: Bjoern A. Zeeb 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);