diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2019-06-21 22:31:28 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-06-27 12:58:13 +0200 |
commit | d8b8890d5943ff68470c5a246fc500a830372812 (patch) | |
tree | e1eab59f4c7af645a8e9a7328eb1b2d6fd54b424 /drivers/net/wireless/mediatek/mt76/mt76.h | |
parent | 07d557f640ced1935f693903a2f31d123d403998 (diff) | |
download | lwn-d8b8890d5943ff68470c5a246fc500a830372812.tar.gz lwn-d8b8890d5943ff68470c5a246fc500a830372812.zip |
mt76: move nl80211_dfs_regions in mt76_dev data structure
Move dfs region field in mt76_dev data structure since it is
used by all drivers. This is a preliminary patch to add DFS support to
mt7615 driver
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76.h')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h index e10ecbbb6ecf..850ef1627b04 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76.h +++ b/drivers/net/wireless/mediatek/mt76/mt76.h @@ -486,6 +486,8 @@ struct mt76_dev { int txpower_conf; int txpower_cur; + enum nl80211_dfs_regions region; + u32 debugfs_reg; struct led_classdev led_cdev; |