Introduce {sw,hw} dfs detector to mt76x0e driver in order to properly unlock radar frequencies This series is based on top of 'unify drv_bss_info_changed between mt76x0 and mt76x2' one: https://patchwork.kernel.org/cover/10650357/ Lorenzo Bianconi (2): mt76: move dfs support in mt76x02-lib module mt76x0: pci: add DFS support drivers/net/wireless/mediatek/mt76/Makefile | 3 +- .../net/wireless/mediatek/mt76/mt76x0/main.c | 11 +- .../net/wireless/mediatek/mt76/mt76x0/phy.c | 4 + .../mt76/{mt76x2/pci_dfs.c => mt76x02_dfs.c} | 162 +++++++++++------- .../net/wireless/mediatek/mt76/mt76x02_dfs.h | 5 + .../net/wireless/mediatek/mt76/mt76x02_util.c | 5 + .../wireless/mediatek/mt76/mt76x2/Makefile | 2 +- .../net/wireless/mediatek/mt76/mt76x2/dfs.h | 25 --- .../wireless/mediatek/mt76/mt76x2/mt76x2.h | 1 - .../wireless/mediatek/mt76/mt76x2/pci_init.c | 16 -- .../wireless/mediatek/mt76/mt76x2/pci_main.c | 2 +- .../net/wireless/mediatek/mt76/mt76x2/phy.c | 23 +-- 12 files changed, 128 insertions(+), 131 deletions(-) rename drivers/net/wireless/mediatek/mt76/{mt76x2/pci_dfs.c => mt76x02_dfs.c} (83%) delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2/dfs.h -- 2.19.1