aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2025-08-30 05:10:22 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2025-09-20 00:47:20 +0000
commitdb69f613ee45c2614a38d40f3e82733e6247e13a (patch)
treee9e330182b1c2c14a72068462aea14b6a1b597b0
parenta58f307880700fff7646416101c301e4d1784bfb (diff)
[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
-rw-r--r--sys/dev/iwx/if_iwx.c2
1 files changed, 2 insertions, 0 deletions
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;