git: c3c2f0ddd818 - main - rtwn: add missing iv_ampdu_limit

From: Adrian Chadd <adrian_at_FreeBSD.org>
Date: Sat, 07 Dec 2024 00:23:11 UTC
The branch main has been updated by adrian:

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

commit c3c2f0ddd818b7a10e44399985b4cd2bef6dd3cd
Author:     Adrian Chadd <adrian@FreeBSD.org>
AuthorDate: 2024-12-04 04:19:48 +0000
Commit:     Adrian Chadd <adrian@FreeBSD.org>
CommitDate: 2024-12-07 00:22:54 +0000

    rtwn: add missing iv_ampdu_limit
    
    This explicitly sets it rather than defaulting to the RX value.
    
    Differential Revision:  https://reviews.freebsd.org/D47895
---
 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 3d0dce516f84..d4b45aa9eea7 100644
--- a/sys/dev/rtwn/if_rtwn.c
+++ b/sys/dev/rtwn/if_rtwn.c
@@ -574,6 +574,7 @@ rtwn_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ], int unit,
 	/* 802.11n parameters */
 	vap->iv_ampdu_density = IEEE80211_HTCAP_MPDUDENSITY_16;
 	vap->iv_ampdu_rxmax = IEEE80211_HTCAP_MAXRXAMPDU_64K;
+	vap->iv_ampdu_limit = IEEE80211_HTCAP_MAXRXAMPDU_64K;
 
 	TIMEOUT_TASK_INIT(taskqueue_thread, &uvp->tx_beacon_csa, 0,
 	    rtwn_tx_beacon_csa, vap);