From nobody Mon Jun 29 06:34:35 2026 X-Original-To: dev-commits-src-all@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 4gpc2N01xTz6k5jT for ; Mon, 29 Jun 2026 06:34:36 +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 4gpc2M3qnHz4Gm0 for ; Mon, 29 Jun 2026 06:34:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782714875; 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=2Bx8jg0aUSuYZGBayC7kSE2frPk4GSYxpWPcEM39rGs=; b=SobKtutRJAx+ViCQyZbd6wkU5Tz2MGmj8ZE7LVEa0mPgy2tHmQMPsnfFzfFJOh6hkYARp9 65l91ZUN0t2hn4JY31ypWvEslgWESteqgw/KuQu4MWQz2cc1qE549B3YWwiLKenplwk0pg 231Wl3G6I4hbejvWkFoUyec2oTlQsFckI6BYMpwFj4BDM5wAVGWChYpaH361UVq5fHPs0u FdRgfz4BgxejjrereSddw5CgxqOgck6drpmoKn+W7bjght5xK0oW9W12OzycPWDImYofSJ mPr1fCCpbN2I1BA2tTFx3dZ1ucEsEUqQBv48pSIpkfo/AJLQde/XKnWg9P0Raw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1782714875; a=rsa-sha256; cv=none; b=R7IKB35rqSg7sZ4RdSf+G2MKoLOrkzEpIkH/S56paxBeHdjD/VeDlHipaZ0zIQwXHksc8y kK91Xlb25Y+MYr2W77EUN/cJnqokVzAj/wgG1GV6nPnn7ErrkjrKP4qwNpV0kd0SEWVhiQ 4V3q9mcYCylIyZ0Jo8uNrvxkAKSY1ezhCDrIQH4iTtA11eVhTmEtWvPMsRIbUqAKmY4p62 /kdLwATUm7oIHyXqV6v3lz/1nqO1NpIJZO7WOZRbblV8c6+0CgWySfXS1npSjcZtk4DZPe rHLVlwzKm5wlAI9vJakQavgCH7Z+w9oN30XE7xMw/liL3U1JsoVe/GBIODZppQ== 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=1782714875; 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=2Bx8jg0aUSuYZGBayC7kSE2frPk4GSYxpWPcEM39rGs=; b=NGYBEMN3OxSiM221if2SkcxoM5a2W9Cl50q4Hicgs+mysA85OxXCVNNqg5MWp9L3+k1JR7 TADlcLvy2ZIMlDMMx4bWmjMHo/x5zZvI4uPDx1IisFbt+LwJfWE44VCiDur4TicJMU8Q1M RVgw0YSWrsd13KuR+m/GWp53NmsB0XmotnSS6c49C49FD+yKUGgfrio4+3ymQOy6Y1PFIe CTZlVHLn0EuyeCPT1lOjsZqZ83ABcYW3HKZjm8kQ0e/FYkUnJlJ7AGfj3XjEusNvOGp2dD M3b1FdQcuhy4PzDaYsvDnqXtINSGKtLZB7/KN97aHH2N5wIL3tfaKm62c+E9YA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gpc2M2pFTzmh1 for ; Mon, 29 Jun 2026 06:34:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 46b12 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 29 Jun 2026 06:34:35 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Bjoern A. Zeeb Subject: git: 717e9ec72d89 - stable/15 - LinuxKPI: 802.11: leave a comment for sta->rates (mt7615, ?) List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/stable/15 X-Git-Reftype: branch X-Git-Commit: 717e9ec72d896d8c231b6f8a84871077f2042840 Auto-Submitted: auto-generated Date: Mon, 29 Jun 2026 06:34:35 +0000 Message-Id: <6a4211fb.46b12.a1be9d6@gitrepo.freebsd.org> The branch stable/15 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=717e9ec72d896d8c231b6f8a84871077f2042840 commit 717e9ec72d896d8c231b6f8a84871077f2042840 Author: Bjoern A. Zeeb AuthorDate: 2026-06-21 14:04:36 +0000 Commit: Bjoern A. Zeeb 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;