From nobody Mon Nov 23 19:51:45 2026
X-Original-To: wireless@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 4jYGmK0cyqz71Qv3
	for <wireless@mlmmj.nyi.freebsd.org>; Mon, 23 Nov 2026 19:51:45 +0000 (UTC)
	(envelope-from bugzilla-noreply@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)
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 4jYGmK0BHPz4WTf
	for <wireless@FreeBSD.org>; Mon, 23 Nov 2026 19:51:45 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1795463505;
	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=e+6OvY6wJ8iJTKUztsSz7R7uhhpW911zq28CG2xX5tM=;
	b=pTGRcvur3vEG93viM7ZzeeAr4Xxt8qvPvMe56AfDH1G8Z8jQKA9e29ep4+e9d6pMc7l8ad
	zwRQ0Eak0G6RLFKiuK2AKAeyyFCLDbH1vA9c1r4GtYcB5mLdUJt2yHdcXsvkNBG36p2Edr
	F5vHR2MK9njnf0LTvo77x4C7OIuKCDEkshtKOAo/0j/STmlw7whU3DE1RyGPosFi4cBH4T
	C6nAQMYnHQQy0M1vbZGItjdNfQOkyurZ1IPtTCJdv+gjunFLBKIa5K2e5Bk7X6Bblvuono
	tkqndzPx4BiZ3gO3IxQJsEqpDguZDu9/Q5FUy1GSJFSald6owB7hVNatOENk2w==
ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1795463505;
	b=ybeafZNiyS99R8PEi4bU9RzrbeurEvne7qrSbTrpJn4If2cdD/MRJGpRV8Zhc8rEf1PdKy
	mVgP+BF8NZLRpt4/dYaajw4tD9FY6SH+R01EOhup7i379ITuOQzO6Rnn5AVcHcnVnHZOFK
	ZFsrvfRV8BT7c8W0RL7vEMqVrjXwr+7gmDaT4csBnQQtdotgcHkQS9JgAq+/Ig8351R6mU
	ViridyyoY+zdz0VrABVXXF8tPNs+utAeFOCctf/yjFdA2cBwQc9jXvyTVYBJw+wRTT/SAC
	sAFGjMXJA9G/RV+PRsAohf5n4fkv1YmuYCbSUUjin4cHRL/6y6HnFXkwBSBxTA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1795463505;
	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=e+6OvY6wJ8iJTKUztsSz7R7uhhpW911zq28CG2xX5tM=;
	b=kNl8flvhstHteR2+v/tyV4m18ZbqknzGX5209IFF/kWdQFSdifpcW6jcXGdXd/C2c5s1UZ
	wzGZS7doqyi9PYK2c1WosU2N/Qk/zEPbLVRPn60AM1sAlUkSZYU2Q6ylGEBX5Vd0ZPLn2+
	VGqR8t7YayAR5+B3UXhxj3iopeayNMBspl516PY0AQgkqipPXUMZWIRmgIknRW4kUDJ83u
	dRfGTLtP7bUchI7fsFFcrHGFp4jcdYkk5s0wUOJ3UjmiLVxxwRD/NBbwNeCUymIiBTovi8
	5Q+bH8E3F0hMXjgxeDlRhzdRMl7EoX/l3JaDEPIyWduAtuO6ZFohe/OhSr1+zg==
ARC-Authentication-Results: i=1;
	mx1.freebsd.org;
	none
Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d])
	(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 4jYGmJ6ybRz14sv
	for <wireless@FreeBSD.org>; Mon, 23 Nov 2026 19:51:44 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org ([127.0.1.5])
	by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 6ANJpi2P025720
	for <wireless@FreeBSD.org>; Mon, 23 Nov 2026 19:51:44 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 6ANJpiIY025719
	for wireless@FreeBSD.org; Mon, 23 Nov 2026 19:51:44 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
From: bugzilla-noreply@freebsd.org
To: wireless@FreeBSD.org
Subject: [Bug 301058] iwlwifi: host rate control for 7000/8000/9000 chips
 without TLC offload
Date: Mon, 23 Nov 2026 19:51:45 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: wireless
X-Bugzilla-Version: 16.0-CURRENT
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Some People
X-Bugzilla-Who: sam@sheridan.co.uk
X-Bugzilla-Status: New
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: wireless@FreeBSD.org
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
 op_sys bug_status bug_severity priority component assigned_to reporter
 attachments.created
Message-ID: <bug-301058-21060@https.bugs.freebsd.org/bugzilla/>
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
List-Archive: https://lists.freebsd.org/archives/freebsd-wireless
X-BeenThere: freebsd-wireless@freebsd.org
List-Id: Discussions of 802.11 stack, tools device driver development <freebsd-wireless.FreeBSD.org>
List-Post: <mailto:freebsd-wireless@FreeBSD.org>
List-Help: <mailto:freebsd-wireless+help@FreeBSD.org>
List-Subscribe: <mailto:freebsd-wireless+subscribe@FreeBSD.org>
List-Unsubscribe: <mailto:freebsd-wireless+unsubscribe@FreeBSD.org>
List-Owner: <mailto:freebsd-wireless+owner@FreeBSD.org>
Precedence: list
MIME-Version: 1.0

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D301058

            Bug ID: 301058
           Summary: iwlwifi: host rate control for 7000/8000/9000 chips
                    without TLC offload
           Product: Base System
           Version: 16.0-CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: wireless
          Assignee: wireless@FreeBSD.org
          Reporter: sam@sheridan.co.uk

Created attachment 277614
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D277614&action=
=3Dedit
iwlwifi: host rate control for Intel 7000/8000/9000 cards, which have no TLC
offload and get no rate control today

These cards have no TLC offload and the driver's rs.c is a stub on FreeBSD,=
 so
they sit on one low rate.=20

The attached patch lets net80211 choose the rate and programs the firmware's
table from it, off by default behind compat.linuxkpi.iwlwifi_sw_rate_contro=
l.=20

It runs on three laptops (7265, 8265, 9560) on 15.1-RELEASE-p7, uploads from
about 4 Mbit/s to up to 35 and downloads from about 18 to up to 60; the dif=
f is
against main 9dbdb1fb4.=20

15.1 is affected to, and that's this has been running, write-up and
measurements:=20
https://hyprbsd.org/blog/faster-wifi-intel-7000-8000-9000/

--=20
You are receiving this mail because:
You are the assignee for the bug.=

From nobody Tue Nov 24 05:35:52 2026
X-Original-To: wireless@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 4jYWkJ1XSFz72T9v
	for <wireless@mlmmj.nyi.freebsd.org>; Tue, 24 Nov 2026 05:35:52 +0000 (UTC)
	(envelope-from bugzilla-noreply@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)
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 4jYWkJ128mz3Jh1
	for <wireless@FreeBSD.org>; Tue, 24 Nov 2026 05:35:52 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1795498552;
	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=ZBmtXip3fEkEGLROXbOpfuSgWlKQacmiljZMhCpPK9w=;
	b=pkBg/sE8Eaf3uXYo0lP5vkH2wvr0txjQ2mZw5BSmQzFI0ibGmRASh0jTjcTHvdwVB3RaMk
	dWVJmEZZeSpnuiwENGxAb4tmJ4tYO64njNuhN7AraDvK2M0C/o9A0v8sabl2LRyEibIc1F
	CizzKvjqy2oGn5kB1sO8C4L6/5V2hd9oDCZ3P57oAE9/V2ZKozVBJDRNa4QYgHcYU0pCQm
	rITqipeduD4KvJfviN4iFZCTGHwAUjjYjUMHexbFOPcYhPuLsm4TGjVHP0JiDoUry+uqB/
	7LQ7LCniLPUCytHtCeGXdfKsBahd5wFtgixM8BjxAYKrGuoKXudPFmR6yERvPQ==
ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1795498552;
	b=P23LF7SlYcMp8nlhLcmjud02R8jTl1/rWEXblb6m7C6BOpo/6EAsiD61auS23nPpDIl509
	ylrvrkhcxou4E81TQlh2jdOnQpqTOdXUdc93QpNfOX/HGVW2H01x9tFubdkcf5po78ALf4
	ZXjou5qBn8Mq7LVHvKcSai59KcsJJDR2MKBNpH6OQrj+juVjn2Z6jxLuK/s1E5/UsuZi+2
	4RL3F8mc/pstkfaBUzGnn0C/Q2vgD44ahCJy4WAw+NGCIZzG3OHNpR9ZZyr3jlrwkbWCOW
	KBKq4OzcXF0iTIM5BHm1iQFa1+IxMYjpWYIahTDEurDw9W4uKinUMmmFqDZ0LQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1795498552;
	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=ZBmtXip3fEkEGLROXbOpfuSgWlKQacmiljZMhCpPK9w=;
	b=bpaNZVOYbeGFcJ/s0jLRdv1teXRaHnzNiz5WgAYgquxhL9Pe/1jrIEHs/4jLcSCzvAj3d/
	nmYzqa6vp1YQqUP7AG+rU+1Kv5eyvMf1ynRzb1JY+fkj+uD48aORfv57AGvZnVD5lPL7hJ
	zmM74ntegUUf2Z/Vgqc872ydC/oPunr6ITVNuzRL5XmtCUcI8DPvDGV5sclkp8cj9jLh50
	kZ9X0enKHaaQGvG00Fl6NmyPtpIRJePjFFwjur1R7eBYlu7etxf5GV0remf81NkD6ls7ua
	baz32XD5xEWkXsAJviCgt24YuOOa+IKQOoHgcrRzTlzZhVUCJC7OJpqovK1scg==
ARC-Authentication-Results: i=1;
	mx1.freebsd.org;
	none
Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d])
	(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 4jYWkJ0hcmzNPS
	for <wireless@FreeBSD.org>; Tue, 24 Nov 2026 05:35:52 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org ([127.0.1.5])
	by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 6AO5ZqdF049615
	for <wireless@FreeBSD.org>; Tue, 24 Nov 2026 05:35:52 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 6AO5ZqeT049614
	for wireless@FreeBSD.org; Tue, 24 Nov 2026 05:35:52 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
From: bugzilla-noreply@freebsd.org
To: wireless@FreeBSD.org
Subject: [Bug 301069] linuxkpi 80211: old key is never removed from the
 driver on rekey; iwlwifi runs out of key slots
Date: Tue, 24 Nov 2026 05:35:52 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: wireless
X-Bugzilla-Version: 16.0-CURRENT
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Some People
X-Bugzilla-Who: sam@sheridan.co.uk
X-Bugzilla-Status: New
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: wireless@FreeBSD.org
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
 op_sys bug_status bug_severity priority component assigned_to reporter
 attachments.created
Message-ID: <bug-301069-21060@https.bugs.freebsd.org/bugzilla/>
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
List-Archive: https://lists.freebsd.org/archives/freebsd-wireless
X-BeenThere: freebsd-wireless@freebsd.org
List-Id: Discussions of 802.11 stack, tools device driver development <freebsd-wireless.FreeBSD.org>
List-Post: <mailto:freebsd-wireless@FreeBSD.org>
List-Help: <mailto:freebsd-wireless+help@FreeBSD.org>
List-Subscribe: <mailto:freebsd-wireless+subscribe@FreeBSD.org>
List-Unsubscribe: <mailto:freebsd-wireless+unsubscribe@FreeBSD.org>
List-Owner: <mailto:freebsd-wireless+owner@FreeBSD.org>
Precedence: list
MIME-Version: 1.0

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D301069

            Bug ID: 301069
           Summary: linuxkpi 80211: old key is never removed from the
                    driver on rekey; iwlwifi runs out of key slots
           Product: Base System
           Version: 16.0-CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: wireless
          Assignee: wireless@FreeBSD.org
          Reporter: sam@sheridan.co.uk

Created attachment 277631
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D277631&action=
=3Dedit
linuxkpi 80211: remove old key from the driver before installing its
replacement

On a WPA group rekey, the LinuxKPI 802.11 shim installs the new key but nev=
er
tells the driver to remove the old one. With hw_crypto enabled, iwlwifi kee=
ps
one firmware key slot per installed key and only has 16, so after about 14
rekeys the table is full. The next key install fails and the card carries on
decrypting with the old group key, so broadcast and multicast traffic stop
arriving. Seen on 15.1-RELEASE-p7 with Intel 8265, 7265 and 9560 cards.

The attached patch (against main, applies to 15.1) removes the old key from=
 the
driver before installing the new one. Tested on an 8265: 90 rekeys at 120
second intervals, no failure.

Not tried with rtw88, rtw89 or mt76 with hw_crypto enabled.

--=20
You are receiving this mail because:
You are the assignee for the bug.=

