* [PATCH wireless v2] Revert "wifi: mwifiex: Fix HT40 bandwidth issue."
@ 2025-06-05 13:03 Francesco Dolcini
2025-06-11 22:47 ` Brian Norris
0 siblings, 1 reply; 2+ messages in thread
From: Francesco Dolcini @ 2025-06-05 13:03 UTC (permalink / raw)
To: Brian Norris, Francesco Dolcini
Cc: Francesco Dolcini, linux-wireless, linux-kernel, Jeff Chen,
stable
From: Francesco Dolcini <francesco.dolcini@toradex.com>
This reverts commit 4fcfcbe457349267fe048524078e8970807c1a5b.
That commit introduces a regression, when HT40 mode is enabled,
received packets are lost, this was experience with W8997 with both
SDIO-UART and SDIO-SDIO variants. From an initial investigation the
issue solves on its own after some time, but it's not clear what is
the reason. Given that this was just a performance optimization, let's
revert it till we have a better understanding of the issue and a proper
fix.
Cc: Jeff Chen <jeff.chen_1@nxp.com>
Cc: stable@vger.kernel.org
Fixes: 4fcfcbe45734 ("wifi: mwifiex: Fix HT40 bandwidth issue.")
Closes: https://lore.kernel.org/all/20250603203337.GA109929@francesco-nb/
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
---
v2: fix reverted commit sha
v1: https://lore.kernel.org/all/20250605100313.34014-1-francesco@dolcini.it/
---
drivers/net/wireless/marvell/mwifiex/11n.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/wireless/marvell/mwifiex/11n.c b/drivers/net/wireless/marvell/mwifiex/11n.c
index 738bafc3749b..66f0f5377ac1 100644
--- a/drivers/net/wireless/marvell/mwifiex/11n.c
+++ b/drivers/net/wireless/marvell/mwifiex/11n.c
@@ -403,14 +403,12 @@ mwifiex_cmd_append_11n_tlv(struct mwifiex_private *priv,
if (sband->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 &&
bss_desc->bcn_ht_oper->ht_param &
- IEEE80211_HT_PARAM_CHAN_WIDTH_ANY) {
- chan_list->chan_scan_param[0].radio_type |=
- CHAN_BW_40MHZ << 2;
+ IEEE80211_HT_PARAM_CHAN_WIDTH_ANY)
SET_SECONDARYCHAN(chan_list->chan_scan_param[0].
radio_type,
(bss_desc->bcn_ht_oper->ht_param &
IEEE80211_HT_PARAM_CHA_SEC_OFFSET));
- }
+
*buffer += struct_size(chan_list, chan_scan_param, 1);
ret_len += struct_size(chan_list, chan_scan_param, 1);
}
--
2.39.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH wireless v2] Revert "wifi: mwifiex: Fix HT40 bandwidth issue."
2025-06-05 13:03 [PATCH wireless v2] Revert "wifi: mwifiex: Fix HT40 bandwidth issue." Francesco Dolcini
@ 2025-06-11 22:47 ` Brian Norris
0 siblings, 0 replies; 2+ messages in thread
From: Brian Norris @ 2025-06-11 22:47 UTC (permalink / raw)
To: Francesco Dolcini
Cc: Francesco Dolcini, linux-wireless, linux-kernel, Jeff Chen,
stable
On Thu, Jun 05, 2025 at 03:03:02PM +0200, Francesco Dolcini wrote:
> From: Francesco Dolcini <francesco.dolcini@toradex.com>
>
> This reverts commit 4fcfcbe457349267fe048524078e8970807c1a5b.
>
> That commit introduces a regression, when HT40 mode is enabled,
> received packets are lost, this was experience with W8997 with both
> SDIO-UART and SDIO-SDIO variants. From an initial investigation the
> issue solves on its own after some time, but it's not clear what is
> the reason. Given that this was just a performance optimization, let's
> revert it till we have a better understanding of the issue and a proper
> fix.
>
> Cc: Jeff Chen <jeff.chen_1@nxp.com>
> Cc: stable@vger.kernel.org
> Fixes: 4fcfcbe45734 ("wifi: mwifiex: Fix HT40 bandwidth issue.")
> Closes: https://lore.kernel.org/all/20250603203337.GA109929@francesco-nb/
> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Johannes seems to have applied this already, but FWIW:
Acked-by: Brian Norris <briannorris@chromium.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-06-11 22:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-05 13:03 [PATCH wireless v2] Revert "wifi: mwifiex: Fix HT40 bandwidth issue." Francesco Dolcini
2025-06-11 22:47 ` Brian Norris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox