]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mt76: mt7915: rework eeprom tx paths and streams init
authorShayne Chen <shayne.chen@mediatek.com>
Fri, 30 Sep 2022 15:13:10 +0000 (23:13 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:32:21 +0000 (13:32 +0100)
commit13b31708e54f37e91379031e5f797855b6128318
treedb5e94a82e9599fc62e2f9b4026197e72163150d
parent5e55a45d91960ab02ea8dfa04cb3ee044ee6dcdf
wifi: mt76: mt7915: rework eeprom tx paths and streams init

[ Upstream commit a7ec8bcf00034ce84d4c9a15dffd7577fbed4db2 ]

Rework tx paths and streams init part to improve readability, and make
sure that the available tx streams should be smaller than or equal to
the available tx paths.

Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Stable-dep-of: de147cc28985 ("wifi: mt76: mt7915: Fix chainmask calculation on mt7915 DBDC")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c
drivers/net/wireless/mediatek/mt76/mt7915/eeprom.h