This patch series adds channel switch support for mt76 usb interfaces. When testing, I noticed that between 5 or 7 consecutive beacons had the identical channel switch count set. After some debugging I found out, that beacon copying over usb took far too long (up to 700ms for one call of mt76x02u_pre_tbtt_work). Therefore the first three patches speed up beacon copying and the last patch enables channel switch support also for usb interfaces. Markus Theil (4): mt76: mt76x02: ommit beacon slot clearing mt76: mt76x02: split beaconing mt76: speed up usb bulk copy mt76: mt76x02: add channel switch support for usb interfaces drivers/net/wireless/mediatek/mt76/mt76.h | 2 +- .../wireless/mediatek/mt76/mt76x02_beacon.c | 62 +++++++------------ .../net/wireless/mediatek/mt76/mt76x02_mac.h | 2 + .../net/wireless/mediatek/mt76/mt76x02_mmio.c | 4 ++ .../wireless/mediatek/mt76/mt76x02_usb_core.c | 11 ++++ .../net/wireless/mediatek/mt76/mt76x02_util.c | 2 +- .../wireless/mediatek/mt76/mt76x2/usb_main.c | 5 ++ drivers/net/wireless/mediatek/mt76/usb.c | 22 +++++-- 8 files changed, 63 insertions(+), 47 deletions(-) -- 2.24.0