Home
last modified time | relevance | path

Searched refs:radar_specs (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/wireless/mediatek/mt76/
Dmt76x02_dfs.c702 const struct mt76x02_radar_specs *radar_specs; in mt76x02_dfs_set_bbp_params() local
720 radar_specs = &fcc_radar_specs[shift]; in mt76x02_dfs_set_bbp_params()
723 radar_specs = &etsi_radar_specs[shift]; in mt76x02_dfs_set_bbp_params()
728 radar_specs = &jp_w53_radar_specs[shift]; in mt76x02_dfs_set_bbp_params()
730 radar_specs = &jp_w56_radar_specs[shift]; in mt76x02_dfs_set_bbp_params()
752 data = ((radar_specs[i].avg_len & 0x1ff) << 16) | in mt76x02_dfs_set_bbp_params()
753 (radar_specs[i].mode & 0xf); in mt76x02_dfs_set_bbp_params()
757 data = ((radar_specs[i].e_high & 0x0fff) << 16) | in mt76x02_dfs_set_bbp_params()
758 (radar_specs[i].e_low & 0x0fff); in mt76x02_dfs_set_bbp_params()
762 mt76_wr(dev, MT_BBP(DFS, 7), radar_specs[i].t_low); in mt76x02_dfs_set_bbp_params()
[all …]
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c2191 const struct mt7615_dfs_radar_spec *radar_specs; in mt7615_dfs_init_radar_specs() local
2197 radar_specs = &fcc_radar_specs; in mt7615_dfs_init_radar_specs()
2201 radar_specs = &etsi_radar_specs; in mt7615_dfs_init_radar_specs()
2204 radar_specs = &jp_radar_specs; in mt7615_dfs_init_radar_specs()
2215 for (i = 0; i < ARRAY_SIZE(radar_specs->radar_pattern); i++) { in mt7615_dfs_init_radar_specs()
2217 &radar_specs->radar_pattern[i]); in mt7615_dfs_init_radar_specs()
2222 return mt7615_mcu_set_pulse_th(dev, &radar_specs->pulse_th); in mt7615_dfs_init_radar_specs()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7915/
Dmac.c2111 const struct mt7915_dfs_radar_spec *radar_specs; in mt7915_dfs_init_radar_specs() local
2117 radar_specs = &fcc_radar_specs; in mt7915_dfs_init_radar_specs()
2123 radar_specs = &etsi_radar_specs; in mt7915_dfs_init_radar_specs()
2126 radar_specs = &jp_radar_specs; in mt7915_dfs_init_radar_specs()
2132 for (i = 0; i < ARRAY_SIZE(radar_specs->radar_pattern); i++) { in mt7915_dfs_init_radar_specs()
2134 &radar_specs->radar_pattern[i]); in mt7915_dfs_init_radar_specs()
2139 return mt7915_mcu_set_pulse_th(dev, &radar_specs->pulse_th); in mt7915_dfs_init_radar_specs()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7996/
Dmac.c2379 const struct mt7996_dfs_radar_spec *radar_specs; in mt7996_dfs_init_radar_specs() local
2385 radar_specs = &fcc_radar_specs; in mt7996_dfs_init_radar_specs()
2391 radar_specs = &etsi_radar_specs; in mt7996_dfs_init_radar_specs()
2394 radar_specs = &jp_radar_specs; in mt7996_dfs_init_radar_specs()
2400 for (i = 0; i < ARRAY_SIZE(radar_specs->radar_pattern); i++) { in mt7996_dfs_init_radar_specs()
2402 &radar_specs->radar_pattern[i]); in mt7996_dfs_init_radar_specs()
2407 return mt7996_mcu_set_pulse_th(dev, &radar_specs->pulse_th); in mt7996_dfs_init_radar_specs()