• Ben Greear's avatar
    mt76: mt7915: add more MIB registers · a90f2115
    Ben Greear authored
    Add register definitions and read & accumulate them in
    the mib polling logic.  Note that some registers should not
    be read since firmware is already reading them.  If driver
    reads those, they will be cleared-on-read, and so the firmware
    stats will be incorrect.
    
    For these 'do-not-read' stats, add them to the registers definition
    so that other developers can be aware of these constraints, but do
    not actually read them in the driver.
    Signed-off-by: default avatarBen Greear <greearb@candelatech.com>
    Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
    a90f2115
mac.c 58.1 KB