Searched refs:seg0_idx (Results 1 – 2 of 2) sorted by relevance
868 u8 seg0_idx = 0, seg1_idx = 0; in hostapd_event_ch_switch() local917 seg0_idx = (cf1 - 5925) / 5; in hostapd_event_ch_switch()919 seg0_idx = (cf1 - 5950) / 5; in hostapd_event_ch_switch()921 seg0_idx = (cf1 - 5000) / 5; in hostapd_event_ch_switch()931 ieee80211_freq_to_chan(cf1, &seg0_idx); in hostapd_event_ch_switch()962 hostapd_set_oper_centr_freq_seg0_idx(hapd->iconf, seg0_idx); in hostapd_event_ch_switch()
3617 int seg0_idx = 0, seg1_idx = 0, bw = CHANWIDTH_USE_HT; in hostapd_switch_channel_fallback() local3622 seg0_idx = 36 + (freq_params->center_freq1 - 5180) / 5; in hostapd_switch_channel_fallback()3650 hostapd_set_oper_centr_freq_seg0_idx(iface->conf, seg0_idx); in hostapd_switch_channel_fallback()