diff options
author | Felix Fietkau <nbd@nbd.name> | 2019-10-30 14:16:28 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-02-14 10:05:59 +0100 |
commit | 2bed2a3e905a736abc75c83786042b9c758514f6 (patch) | |
tree | 256623cc9ca9d150f21166d9c392670765f48a1e /drivers/net/wireless/mediatek/mt76/mt7615/regs.h | |
parent | mt76: mt7615: add multiple wiphy support to the dfs support code (diff) | |
download | linux-2bed2a3e905a736abc75c83786042b9c758514f6.tar.xz linux-2bed2a3e905a736abc75c83786042b9c758514f6.zip |
mt76: mt7615: rework chainmask handling
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: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7615/regs.h')
0 files changed, 0 insertions, 0 deletions