git: 05c3851b20e0 - main - rtwn: enable receiving AMSDU in AMPDU

From: Adrian Chadd <adrian_at_FreeBSD.org>
Date: Thu, 05 Dec 2024 07:30:16 UTC
The branch main has been updated by adrian:

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

commit 05c3851b20e0c9036f8252fa3056df23d72369bb
Author:     Adrian Chadd <adrian@FreeBSD.org>
AuthorDate: 2024-11-27 04:39:09 +0000
Commit:     Adrian Chadd <adrian@FreeBSD.org>
CommitDate: 2024-12-05 07:27:12 +0000

    rtwn: enable receiving AMSDU in AMPDU
    
    All of the supported NICs should support this.
    
    Locally tested:
    
    * RTL8192CU, STA mode
    * RTL8192EU, STA mode
    * RTL8821AU, STA mode
    * RTL8812AU, STA mode
    
    Differential Revision:  https://reviews.freebsd.org/D47776
---
 sys/dev/rtwn/if_rtwn.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/rtwn/if_rtwn.c b/sys/dev/rtwn/if_rtwn.c
index 4334d5700e51..df18dc54ed3f 100644
--- a/sys/dev/rtwn/if_rtwn.c
+++ b/sys/dev/rtwn/if_rtwn.c
@@ -247,6 +247,7 @@ rtwn_attach(struct rtwn_softc *sc)
 	    | IEEE80211_HTCAP_SMPS_OFF		/* SM PS mode disabled */
 	    /* s/w capabilities */
 	    | IEEE80211_HTC_HT			/* HT operation */
+	    | IEEE80211_HTC_RX_AMSDU_AMPDU	/* A-MSDU in A-MPDU */
 	    | IEEE80211_HTC_AMPDU		/* A-MPDU tx */
 	    | IEEE80211_HTC_AMSDU		/* A-MSDU tx */
 	    ;