summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2026-03-09 06:07:25 +0000
committerFelix Fietkau <nbd@nbd.name>2026-03-24 15:49:31 +0000
commitf72dd74dd0b69e3a87b4702f3c860e9a7318d5dd (patch)
tree348d790dd6768d791ce48b518b93a822f0d867c2 /tools/perf/scripts/python
parentde62b24224ac1533c17b3d5bae77164a82ae2e49 (diff)
wifi: mt76: optimize ROC for same-channel case
mt76_remain_on_channel() always creates an HT20 chandef and goes offchannel, even when the ROC channel matches the operating channel. This unnecessarily narrows bandwidth and triggers beacon stop/restart. When the ROC channel matches the current operating channel, preserve the full chandef and skip the offchannel transition, matching the optimization already present in the scan code. Extract the shared same-channel detection into mt76_offchannel_chandef() and use it in both ROC and scan paths. Link: https://patch.msgid.link/20260309060730.87840-6-nbd@nbd.name Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions