mbox series

[0/2] mt76x02: tidy up beacon shared code

Message ID cover.1564647482.git.lorenzo@kernel.org (mailing list archive)
Headers show
Series mt76x02: tidy up beacon shared code | expand

Message

Lorenzo Bianconi Aug. 1, 2019, 8:26 a.m. UTC
Do not copy beacon skb in mt76x02_mac_set_beacon_enable for usb devices
since it will be done in tbtt tasklet. Moreover tidy up a bit beacon
shared code

Lorenzo Bianconi (2):
  mt76: mt76x02: introduce mt76x02_pre_tbtt_enable and
    mt76x02_beacon_enable macros
  mt76: mt76x02: do not copy beacon skb in mt76x02_mac_set_beacon_enable

 .../net/wireless/mediatek/mt76/mt76x0/main.c  |  4 +-
 drivers/net/wireless/mediatek/mt76/mt76x02.h  |  5 ++
 .../wireless/mediatek/mt76/mt76x02_beacon.c   | 66 ++++++++-----------
 .../net/wireless/mediatek/mt76/mt76x02_mac.h  |  2 +-
 .../wireless/mediatek/mt76/mt76x2/usb_main.c  |  4 +-
 5 files changed, 37 insertions(+), 44 deletions(-)