Skip to content

wifi: mt76: mt7921: use the BSS chandef for ROC

Emery Hsin linux-arm-kernel linux-mediatek linux-wireless 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2wifi: mt76: mt792x: factor out FW channel width mappingdrivers/net/wireless/mediatek/mt76/mt7925/mcu.c drivers/net/wireless/mediatek/mt76/mt7925/mt7925.h drivers/net/wireless/mediatek/mt76/mt792x.h +1 more+34 -320 replies
2/2wifi: mt76: mt7921: use the BSS channel definition for ROC requestsdrivers/net/wireless/mediatek/mt76/mt7921/mcu.c+42 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [mt76-next,0/2] wifi: mt76: mt7921: use the BSS chandef for ROC

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(-)
Signature · 1 line
2.45.2