diff options
| author | Sean Wang <sean.wang@mediatek.com> | 2026-06-13 17:51:43 -0500 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2026-07-31 12:25:39 +0000 |
| commit | c410102bbff0803c9dc44056b917aff90abcbaec (patch) | |
| tree | 10ba27eeb0175489d3dc765c7f6e8e830338a07d /tools | |
| parent | 915672c5ae32deeb72f4572856d123f314791136 (diff) | |
wifi: mt76: mt7927: set band index for sniffer mode
Use the active channel context to select the SNIFFER command band index on
MT7927, and fall back to the PHY chandef when no channel context is
available.
Also pass the same band index to the sniffer channel configuration. This
keeps monitor setup on the correct band, especially when multiple PHY band
contexts are present.
Fixes: 35a5dcc71735 ("wifi: mt76: mt7925: add MT7927 PCIe support")
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Tested-by: Devin Wittmayer <lucid_duck@justthetip.ca>
Link: https://patch.msgid.link/20260613225144.2414283-1-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
