mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: testmode: introduce dbdc support
Add testmode support for DBDC NICs (both MT7615D and MT7915D work). Testmode data and parameters are moved from per-dev to per-phy for maintaining the value of each band. Signed-off-by: Shayne Chen <[email protected]> Acked-by: Ryder Lee <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
d1b827781f
commit
a897a69769
@@ -75,8 +75,8 @@ mt76_get_of_eeprom(struct mt76_dev *dev, int len)
|
||||
}
|
||||
|
||||
#ifdef CONFIG_NL80211_TESTMODE
|
||||
dev->test.mtd_name = devm_kstrdup(dev->dev, part, GFP_KERNEL);
|
||||
dev->test.mtd_offset = offset;
|
||||
dev->phy.test.mtd_name = devm_kstrdup(dev->dev, part, GFP_KERNEL);
|
||||
dev->phy.test.mtd_offset = offset;
|
||||
#endif
|
||||
|
||||
out_put_node:
|
||||
|
||||
Reference in New Issue
Block a user