Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH v4 0/4] mt76: channel switch support for USB devices
@ 2019-11-18 22:15 Markus Theil
  2019-11-18 22:15 ` [PATCH v4 1/4] mt76: mt76x02: ommit beacon slot clearing Markus Theil
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Markus Theil @ 2019-11-18 22:15 UTC (permalink / raw)
  To: nbd; +Cc: linux-wireless, lorenzo.bianconi, Stanislaw Gruszka, Markus Theil

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.

v4:
* use multiple of 4 len for usb copy again

v3:
* fixed checkpatch errors

v2 (thanks for the comments Lorenzo):
* correctly track beacon data mask
* clean-ups
* make channel switch fn static (reported by kbuild test robot)

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   | 52 ++++++-------------
 .../net/wireless/mediatek/mt76/mt76x02_mac.h  |  1 +
 .../net/wireless/mediatek/mt76/mt76x02_mmio.c |  5 ++
 .../wireless/mediatek/mt76/mt76x02_usb_core.c | 12 +++++
 .../net/wireless/mediatek/mt76/mt76x02_util.c |  2 +-
 .../wireless/mediatek/mt76/mt76x2/usb_main.c  |  7 +++
 drivers/net/wireless/mediatek/mt76/usb.c      | 24 ++++++---
 8 files changed, 60 insertions(+), 45 deletions(-)

-- 
2.24.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-11-19 12:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-18 22:15 [PATCH v4 0/4] mt76: channel switch support for USB devices Markus Theil
2019-11-18 22:15 ` [PATCH v4 1/4] mt76: mt76x02: ommit beacon slot clearing Markus Theil
2019-11-18 22:15 ` [PATCH v4 2/4] mt76: mt76x02: split beaconing Markus Theil
2019-11-18 22:15 ` [PATCH v4 3/4] mt76: speed up usb bulk copy Markus Theil
2019-11-19 12:15   ` Lorenzo Bianconi
2019-11-19 12:27     ` Markus Theil
2019-11-18 22:15 ` [PATCH v4 4/4] mt76: mt76x02: add channel switch support for usb interfaces Markus Theil
2019-11-19 11:19   ` Stanislaw Gruszka
2019-11-19 12:12     ` Markus Theil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox