Skip to content

Commit 5708966

Browse files
dolcinijmberg-intel
authored andcommitted
Revert "wifi: mwifiex: Fix HT40 bandwidth issue."
This reverts commit 4fcfcbe ("wifi: mwifiex: Fix HT40 bandwidth issue.") 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 <[email protected]> Cc: [email protected] Fixes: 4fcfcbe ("wifi: mwifiex: Fix HT40 bandwidth issue.") Closes: https://lore.kernel.org/all/20250603203337.GA109929@francesco-nb/ Signed-off-by: Francesco Dolcini <[email protected]> Link: https://patch.msgid.link/[email protected] [fix commit reference format] Signed-off-by: Johannes Berg <[email protected]>
1 parent 2c7e4a2 commit 5708966

File tree

1 file changed

+2
-4
lines changed
  • drivers/net/wireless/marvell/mwifiex

1 file changed

+2
-4
lines changed

drivers/net/wireless/marvell/mwifiex/11n.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -403,14 +403,12 @@ mwifiex_cmd_append_11n_tlv(struct mwifiex_private *priv,
403403

404404
if (sband->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 &&
405405
bss_desc->bcn_ht_oper->ht_param &
406-
IEEE80211_HT_PARAM_CHAN_WIDTH_ANY) {
407-
chan_list->chan_scan_param[0].radio_type |=
408-
CHAN_BW_40MHZ << 2;
406+
IEEE80211_HT_PARAM_CHAN_WIDTH_ANY)
409407
SET_SECONDARYCHAN(chan_list->chan_scan_param[0].
410408
radio_type,
411409
(bss_desc->bcn_ht_oper->ht_param &
412410
IEEE80211_HT_PARAM_CHA_SEC_OFFSET));
413-
}
411+
414412
*buffer += struct_size(chan_list, chan_scan_param, 1);
415413
ret_len += struct_size(chan_list, chan_scan_param, 1);
416414
}

0 commit comments

Comments
 (0)