mt76: move dfs support in mt76x02-lib module
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Mon, 22 Oct 2018 21:42:12 +0000 (23:42 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 30 Nov 2018 11:21:42 +0000 (12:21 +0100)
commite6cb3291053fdf21e5caba68137b4bab112815fc
treeea49af17840530a9c7ba6b64d1d37ff6f8b678ff
parentcc726268e4dcec33c6ed65d664d70b9e13cb4760
mt76: move dfs support in mt76x02-lib module

Move mt76x2 DFS support in mt76x02-lib module in order to
be reused by mt76x0 driver and unlock DFS frequencies

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/Makefile
drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c [moved from drivers/net/wireless/mediatek/mt76/mt76x2/pci_dfs.c with 86% similarity]
drivers/net/wireless/mediatek/mt76/mt76x02_dfs.h
drivers/net/wireless/mediatek/mt76/mt76x2/Makefile
drivers/net/wireless/mediatek/mt76/mt76x2/dfs.h [deleted file]
drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h
drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c
drivers/net/wireless/mediatek/mt76/mt76x2/pci_main.c