summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mediatek/mt76/mt7996/pci.c
diff options
context:
space:
mode:
authorShayne Chen <shayne.chen@mediatek.com>2023-11-13 15:06:12 +0800
committerFelix Fietkau <nbd@nbd.name>2023-12-07 18:50:22 +0100
commit1e1e563fe3bd2ad9252a98c24d55bb3f3a06990e (patch)
tree2f99a2e0d01cdf93ae7ff1c51451b4c40c4d0680 /drivers/net/wireless/mediatek/mt76/mt7996/pci.c
parent2ee1c40daeb9a33e25c460bf87feca58e91af879 (diff)
wifi: mt76: mt7996: introduce mt7996_band_valid()
Replace dbdc_support and tbtc_support with mt7996_band_valid() to support mt7996 variants with band0/band2 dual-band support. This changes reduces ambiguity when checking supported bands on different variants or new chipsets, as well as during the init configurations on DMA TX/RX queues or irq masks. Signed-off-by: Shayne Chen <shayne.chen@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7996/pci.c')
0 files changed, 0 insertions, 0 deletions