diff --git a/patches.suse/wcn36xx-Use-sequence-number-allocated-by-mac80211.patch b/patches.suse/wcn36xx-Use-sequence-number-allocated-by-mac80211.patch new file mode 100644 index 0000000..af87726 --- /dev/null +++ b/patches.suse/wcn36xx-Use-sequence-number-allocated-by-mac80211.patch @@ -0,0 +1,38 @@ +From 84aff52e4f57ed4702ec328b839941cd29551d49 Mon Sep 17 00:00:00 2001 +From: Loic Poulain +Date: Fri, 24 Jul 2020 12:20:52 +0200 +Subject: [PATCH] wcn36xx: Use sequence number allocated by mac80211 +Git-commit: 84aff52e4f57ed4702ec328b839941cd29551d49 +References: git-fixes +Patch-mainline: v5.10-rc1 + +Instead of using the firmware generated sequence number, use the one +already allocated by the mac80211 layer. This allows better control +of the sequence numbers and avoid to rely on same sequence for Data, +QOS Data and QOS Null Data packets. + +Signed-off-by: Loic Poulain +Signed-off-by: Kalle Valo +Link: https://lore.kernel.org/r/1595586052-16081-7-git-send-email-loic.poulain@linaro.org +Signed-off-by: Oliver Neukum +--- + drivers/net/wireless/ath/wcn36xx/txrx.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/drivers/net/wireless/ath/wcn36xx/txrx.c b/drivers/net/wireless/ath/wcn36xx/txrx.c +index 52aff4c63587..f5872e7dfb51 100644 +--- a/drivers/net/wireless/ath/wcn36xx/txrx.c ++++ b/drivers/net/wireless/ath/wcn36xx/txrx.c +@@ -207,7 +207,8 @@ static void wcn36xx_set_tx_pdu(struct wcn36xx_tx_bd *bd, + bd->pdu.mpdu_header_off; + bd->pdu.mpdu_len = len; + bd->pdu.tid = tid; +- bd->pdu.bd_ssn = WCN36XX_TXBD_SSN_FILL_DPU_QOS; ++ /* Use seq number generated by mac80211 */ ++ bd->pdu.bd_ssn = WCN36XX_TXBD_SSN_FILL_HOST; + } + + static inline struct wcn36xx_vif *get_vif_by_addr(struct wcn36xx *wcn, +-- +2.40.1 + diff --git a/series.conf b/series.conf index 449e22f..23bc47c 100644 --- a/series.conf +++ b/series.conf @@ -58494,6 +58494,7 @@ patches.suse/wcn36xx-Fix-multiple-AMPDU-sessions-support.patch patches.suse/wcn36xx-Increase-number-of-TX-retries.patch patches.suse/wcn36xx-Fix-TX-data-path.patch + patches.suse/wcn36xx-Use-sequence-number-allocated-by-mac80211.patch patches.suse/ath10k-start-recovery-process-when-payload-length-ex.patch patches.suse/ath6kl-prevent-potential-array-overflow-in-ath6kl_ad.patch patches.suse/ath9k_htc-Use-appropriate-rs_datalen-type.patch