diff options
| author | Adrian Chadd <adrian@FreeBSD.org> | 2025-08-30 05:10:22 +0000 |
|---|---|---|
| committer | Adrian Chadd <adrian@FreeBSD.org> | 2025-09-20 00:47:20 +0000 |
| commit | db69f613ee45c2614a38d40f3e82733e6247e13a (patch) | |
| tree | e9e330182b1c2c14a72068462aea14b6a1b597b0 | |
| parent | a58f307880700fff7646416101c301e4d1784bfb (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.c | 2 |
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; |
