Lines Matching refs:new_res
469 const struct wpa_scan_res *new_res, u32 ie) in are_ies_equal() argument
479 new_ie = wpa_scan_get_vendor_ie(new_res, ie); in are_ies_equal()
484 new_ie_buff = wpa_scan_get_vendor_ie_multi(new_res, ie); in are_ies_equal()
491 new_ie = wpa_scan_get_ie(new_res, ie); in are_ies_equal()
525 const struct wpa_scan_res *new_res) in wpa_bss_compare_res() argument
528 int caps_diff = old->caps ^ new_res->caps; in wpa_bss_compare_res()
530 if (old->freq != new_res->freq) in wpa_bss_compare_res()
533 if (old->level != new_res->level) in wpa_bss_compare_res()
542 if (old->ie_len == new_res->ie_len && in wpa_bss_compare_res()
543 os_memcmp(old + 1, new_res + 1, old->ie_len) == 0) in wpa_bss_compare_res()
547 if (!are_ies_equal(old, new_res, WPA_IE_VENDOR_TYPE)) in wpa_bss_compare_res()
550 if (!are_ies_equal(old, new_res, WLAN_EID_RSN)) in wpa_bss_compare_res()
553 if (!are_ies_equal(old, new_res, WPS_IE_VENDOR_TYPE)) in wpa_bss_compare_res()
556 if (!are_ies_equal(old, new_res, WLAN_EID_SUPP_RATES) || in wpa_bss_compare_res()
557 !are_ies_equal(old, new_res, WLAN_EID_EXT_SUPP_RATES)) in wpa_bss_compare_res()