Lines Matching refs:dfs_state
2230 enum mt76_dfs_state dfs_state, prev_state; in mt7615_dfs_init_radar_detector() local
2236 prev_state = phy->mt76->dfs_state; in mt7615_dfs_init_radar_detector()
2237 dfs_state = mt76_phy_dfs_state(phy->mt76); in mt7615_dfs_init_radar_detector()
2239 dfs_state < MT_DFS_STATE_CAC) in mt7615_dfs_init_radar_detector()
2240 dfs_state = MT_DFS_STATE_ACTIVE; in mt7615_dfs_init_radar_detector()
2242 if (prev_state == dfs_state) in mt7615_dfs_init_radar_detector()
2245 if (dfs_state == MT_DFS_STATE_DISABLED) in mt7615_dfs_init_radar_detector()
2257 phy->mt76->dfs_state = MT_DFS_STATE_CAC; in mt7615_dfs_init_radar_detector()
2260 if (dfs_state == MT_DFS_STATE_CAC) in mt7615_dfs_init_radar_detector()
2266 phy->mt76->dfs_state = MT_DFS_STATE_UNKNOWN; in mt7615_dfs_init_radar_detector()
2270 phy->mt76->dfs_state = MT_DFS_STATE_ACTIVE; in mt7615_dfs_init_radar_detector()
2280 phy->mt76->dfs_state = MT_DFS_STATE_DISABLED; in mt7615_dfs_init_radar_detector()