The branch main has been updated by adrian:

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

commit db69f613ee45c2614a38d40f3e82733e6247e13a
Author:     Adrian Chadd <adr...@freebsd.org>
AuthorDate: 2025-08-30 05:10:22 +0000
Commit:     Adrian Chadd <adr...@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;

Reply via email to