• Markus Theil's avatar
    mt76: mt76x02: split beaconing · f27469a9
    Markus Theil authored
    Sending beacons to the hardware always happens in batches. In order to
    speed up beacon processing on usb devices, this patch splits out common
    code an calls it only once.
    
    Beacons are sequentially written into the beacon memory area, by
    tracking its usage with the dev->beacon_data_count. For MBSS support
    and buffered traffic dev->beacon_data_count is used to create the bypass
    mask.
    
    The code is also adapted for the mmio part of the driver, but should not
    have any performance implication there.
    
    MBSS tests were performed with AVM AC860 USB NIC with temporary support
    for 5 BSS'. Different combinations of active vifs were created and
    brought up. Afterwards connection and data transfer was tested for the
    announced BSS'.
    Signed-off-by: default avatarMarkus Theil <markus.theil@tu-ilmenau.de>
    Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
    f27469a9
mt76x02_mmio.c 13.3 KB