Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Sep 2025 00:47:41 GMT
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: db69f613ee45 - main - [iwx] tell net80211 not to originate NULL data frames
Message-ID:  <202509200047.58K0lfGb017138@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by adrian:

URL: https://cgit.FreeBSD.org/src/commit/?id=db69f613ee45c2614a38d40f3e82733e6247e13a

commit db69f613ee45c2614a38d40f3e82733e6247e13a
Author:     Adrian Chadd <adrian@FreeBSD.org>
AuthorDate: 2025-08-30 05:10:22 +0000
Commit:     Adrian Chadd <adrian@FreeBSD.org>
CommitDate: 2025-09-20 00:47:20 +0000

    [iwx] tell net80211 not to originate NULL data frames
    
    Tell it not to originate NULL / QoS NULL data frames.
    The firmware will handle them here.
    
    Differential Revision:  https://reviews.freebsd.org/D52300
    Reviewed by: bz
    Locally tested:
    
    * 9260, STA mode
---
 sys/dev/iwx/if_iwx.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/dev/iwx/if_iwx.c b/sys/dev/iwx/if_iwx.c
index 1fe531d69933..3b29c8e78b97 100644
--- a/sys/dev/iwx/if_iwx.c
+++ b/sys/dev/iwx/if_iwx.c
@@ -10474,6 +10474,8 @@ iwx_attach(device_t dev)
 	ic->ic_flags_ext = IEEE80211_FEXT_SCAN_OFFLOAD;
 	/* Enable seqno offload */
 	ic->ic_flags_ext |= IEEE80211_FEXT_SEQNO_OFFLOAD;
+	/* Don't send null data frames; let firmware do it */
+	ic->ic_flags_ext |= IEEE80211_FEXT_NO_NULLDATA;
 
 	ic->ic_txstream = 2;
 	ic->ic_rxstream = 2;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509200047.58K0lfGb017138>