• Felix Fietkau's avatar
    mt76: mt7615: rework chainmask handling · 2bed2a3e
    Felix Fietkau authored
    Move chainmask to struct mt7615_phy and instead of needlessly making the
    format similar to values for older chips, make it refer to the actual chain
    bits used for the rx/tx path.
    This is important for multiple wiphy support, where for a secondary phy,
    antenna_mask will start at 0, and chainmask will start at the chain offset
    (bit 2)
    Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
    2bed2a3e
mt7615.h 8.21 KB