From nobody Mon Jun 22 05:31:00 2026 X-Original-To: dev-commits-src-main@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 4gkGyF5VY4z6j9ql for ; Mon, 22 Jun 2026 05:31:01 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gkGyF2Cn1z3q2w for ; Mon, 22 Jun 2026 05:31:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782106261; 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=hCxeqQ5sbJ6jLxFlP6CzgqytJvjAKceKRHkthUsy3ng=; b=JD2cOnCUjbh3Br+9jjghK3xLT1gsNGXDTzC4QETm9sSiurrGehGpBRB2IY+OD/p1VtezDy MWTYT/nogxAN3RnTV1PLkqOYHKz2OpCT4kQNY+fGMKH+SgReuGAxPCd9AMpRKeH7cxjMQg ZBwHtQcb1UZcLbuWI40+5viFDvCbozzkMKRy1bamJ9nd/F0IIqPLecHoVB/C4+9ru+nPsz Gz3tbp9ftNmYPcTFfoH+vFnhJz8wmoBC99o4gOzj51eIufPfuCZNSxiAGBB2A23mDTWUh+ 8AKmzLjUaDGUU1DDzUHg6wHfs7FmfXHsExVrOKwo/9/2C8wKdc76znh3rFcfYA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1782106261; a=rsa-sha256; cv=none; b=U/RrAoCWbmxyrGl9yl63Uy3UnoqlGPi3I5JoEaJw1D6OgExOng46UV2iWzJ+MH2e/ewTUm Umiz2lyy7Ezj3gw+YUe7+PMdWS6klMEUVZUJt7OIvICvjoA8rNgIUq+hMb+ozJBxyBIFQ4 68z7Yk5vYof/h/KOhALF/ET+1kzOqJN1pTiboeh043KwXIiMLvKn7s/e1xpiyuYM42GChC nZkKUxE+G+oN8PIMPhu74n0ZfTFy+EecMnArzH9cUHimBvLdZwaEosHrJ8BySofJuB7A2c lpjgUyFOgIU6PMEfODs2g9IQbh+H655ioUCT9+qMV9mCXdo7tBlmyKsnhMFBaA== 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=1782106261; 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=hCxeqQ5sbJ6jLxFlP6CzgqytJvjAKceKRHkthUsy3ng=; b=cBSuz0VS3NAqeRInBgl7hk4LgEH4VoQzNGjQ/+TP0nudyGLb5qvlLhVpOEWr84fEIStJ5R Rz+picAFp87WXz2ppa6xWednucvQqkFSeRCv+DDD8EKgdsS5SYvy6sD9ubb425Qhi6N9Qx vN+ryJBeeN2xqhl/bklQ4PobeTb5TfzUvUXNFeLhK0RdDCPRCpBNVO47EyN025bK84w4cv pAufqjbK2yPJNPdORHXhnWOtZqO2d4xfS7WdRc8dQlh96fm1BVoyZtNC8GqtakYWm/wRqm dtYsX/+wBHf7Y/XU464LpEVQ7QVhbyXOgLgmSFLC1NJcB0dqsas6/DKwKeVaWw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gkGyF07QqzbL0 for ; Mon, 22 Jun 2026 05:31:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 27f2c by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 22 Jun 2026 05:31:00 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Bjoern A. Zeeb Subject: git: 557eed60d2a3 - main - LinuxKPI: 802.11: leave a comment for sta->rates (mt7615, ?) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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/main X-Git-Reftype: branch X-Git-Commit: 557eed60d2a34d061350ac37acebe6686cd80d83 Auto-Submitted: auto-generated Date: Mon, 22 Jun 2026 05:31:00 +0000 Message-Id: <6a38c894.27f2c.50fce58a@gitrepo.freebsd.org> The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=557eed60d2a34d061350ac37acebe6686cd80d83 commit 557eed60d2a34d061350ac37acebe6686cd80d83 Author: Bjoern A. Zeeb AuthorDate: 2026-06-21 14:04:36 +0000 Commit: Bjoern A. Zeeb 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;