Searched refs:seg0_idx (Results 1 – 2 of 2) sorted by relevance
1128 u8 seg0_idx = 0, seg1_idx = 0, op_class, chan_no; in hostapd_event_ch_switch() local1191 seg0_idx = (cf1 - 5925) / 5; in hostapd_event_ch_switch()1193 seg0_idx = (cf1 - 5950) / 5; in hostapd_event_ch_switch()1195 seg0_idx = (cf1 - 5000) / 5; in hostapd_event_ch_switch()1205 ieee80211_freq_to_chan(cf1, &seg0_idx); in hostapd_event_ch_switch()1268 hostapd_set_oper_centr_freq_seg0_idx(hapd->iconf, seg0_idx); in hostapd_event_ch_switch()
4523 u8 seg0_idx = 0, seg1_idx = 0; in hostapd_switch_channel_fallback() local4530 ieee80211_freq_to_chan(freq_params->center_freq1, &seg0_idx); in hostapd_switch_channel_fallback()4574 hostapd_set_oper_centr_freq_seg0_idx(iface->conf, seg0_idx); in hostapd_switch_channel_fallback()