Lines Matching refs:nei
183 struct neighbor_report *nei; in get_first_acceptable() local
186 nei = &wpa_s->wnm_neighbor_report_elements[i]; in get_first_acceptable()
187 if (nei->acceptable) in get_first_acceptable()
188 return wpa_bss_get_bssid(wpa_s, nei->bssid); in get_first_acceptable()
203 struct neighbor_report *nei = wpa_s->wnm_neighbor_report_elements; in get_mbo_transition_candidate() local
214 for (i = 0; i < wpa_s->wnm_num_neighbor_report; nei++, i++) { in get_mbo_transition_candidate()
215 if (nei->is_first) in get_mbo_transition_candidate()
216 first_candidate_bssid = nei->bssid; in get_mbo_transition_candidate()
217 if (!nei->acceptable) in get_mbo_transition_candidate()
219 os_memcpy(pos, nei->bssid, ETH_ALEN); in get_mbo_transition_candidate()
331 struct neighbor_report *nei; in compare_scan_neighbor_results() local
333 nei = &wpa_s->wnm_neighbor_report_elements[i]; in compare_scan_neighbor_results()
334 if (nei->preference_present && nei->preference == 0) { in compare_scan_neighbor_results()
336 MAC2STR(nei->bssid)); in compare_scan_neighbor_results()
340 target = wpa_bss_get_bssid(wpa_s, nei->bssid); in compare_scan_neighbor_results()
344 MAC2STR(nei->bssid), in compare_scan_neighbor_results()
345 nei->preference_present ? nei->preference : in compare_scan_neighbor_results()
371 MAC2STR(nei->bssid), in compare_scan_neighbor_results()
372 nei->preference_present ? nei->preference : in compare_scan_neighbor_results()
381 MAC2STR(nei->bssid), in compare_scan_neighbor_results()
382 nei->preference_present ? nei->preference : in compare_scan_neighbor_results()
390 MAC2STR(nei->bssid), in compare_scan_neighbor_results()
391 nei->preference_present ? nei->preference : in compare_scan_neighbor_results()
397 nei->acceptable = 1; in compare_scan_neighbor_results()
771 struct neighbor_report *nei; in wnm_dump_cand_list() local
773 nei = &wpa_s->wnm_neighbor_report_elements[i]; in wnm_dump_cand_list()
776 i, MAC2STR(nei->bssid), nei->bssid_info, in wnm_dump_cand_list()
777 nei->regulatory_class, in wnm_dump_cand_list()
778 nei->channel_number, nei->phy_type, in wnm_dump_cand_list()
779 nei->preference_present ? nei->preference : -1); in wnm_dump_cand_list()
795 struct neighbor_report *nei; in wnm_set_scan_freqs() local
797 nei = &wpa_s->wnm_neighbor_report_elements[i]; in wnm_set_scan_freqs()
798 if (nei->channel_number <= 0) { in wnm_set_scan_freqs()
802 MAC2STR(nei->bssid)); in wnm_set_scan_freqs()
805 if (nei->channel_number != chan) { in wnm_set_scan_freqs()
806 chan = nei->channel_number; in wnm_set_scan_freqs()