[mt76-next,0/2] wifi: mt76: mt7921: use the BSS chandef for ROC
Emery Hsin
emery.hsin at mediatek.com
Sun Nov 29 07:37:33 PST 2026
The mt7921 ROC request always carried a 20 MHz bandwidth, the center
channel of the control channel and a secondary channel offset that was
never set, even when joining a wider BSS channel.
Patch 1 moves the mt7925 chandef to firmware channel width mapping to
mt792x so mt7921 can reuse it. Patch 2 fills the ROC request from the
BSS channel context chandef on join, as mt7925 does, and from a 20 MHz
no-HT chandef otherwise.
Emery Hsin (2):
wifi: mt76: mt792x: factor out FW channel width mapping
wifi: mt76: mt7921: use the BSS channel definition for ROC requests
.../net/wireless/mediatek/mt76/mt7921/mcu.c | 51 +++++++++++++++----
.../net/wireless/mediatek/mt76/mt7925/mcu.c | 22 +-------
.../wireless/mediatek/mt76/mt7925/mt7925.h | 11 ----
drivers/net/wireless/mediatek/mt76/mt792x.h | 12 +++++
.../net/wireless/mediatek/mt76/mt792x_core.c | 21 ++++++++
5 files changed, 76 insertions(+), 41 deletions(-)
--
2.45.2
More information about the linux-arm-kernel
mailing list