Introduce EDCCA support to mt76 driver in order to prevent transmission if detected energy is above the threshold. This series is based on "mt76x0: pci: fix ACS support" (https://patchwork.kernel.org/patch/10721037/) Lorenzo Bianconi (3): mt76: dfs: run mt76x02_dfs_set_domain atomically mt76x2: init: set default value for MT_TX_LINK_CFG mt76: add energy detect CCA support to mt76x{0,2}e drivers .../net/wireless/mediatek/mt76/mt76x0/pci.c | 1 + .../net/wireless/mediatek/mt76/mt76x0/phy.c | 2 + drivers/net/wireless/mediatek/mt76/mt76x02.h | 6 ++ .../net/wireless/mediatek/mt76/mt76x02_dfs.c | 6 ++ .../net/wireless/mediatek/mt76/mt76x02_mac.c | 85 +++++++++++++++++++ .../net/wireless/mediatek/mt76/mt76x02_mac.h | 2 + .../net/wireless/mediatek/mt76/mt76x02_regs.h | 8 ++ .../net/wireless/mediatek/mt76/mt76x2/init.c | 1 + .../wireless/mediatek/mt76/mt76x2/pci_init.c | 1 + .../wireless/mediatek/mt76/mt76x2/pci_phy.c | 2 + 10 files changed, 114 insertions(+) -- 2.19.2