Lines Matching refs:old
468 static int are_ies_equal(const struct wpa_bss *old,
478 old_ie = wpa_bss_get_vendor_ie(old, ie);
483 old_ie_buff = wpa_bss_get_vendor_ie_multi(old, ie);
490 old_ie = wpa_bss_get_ie(old, ie);
524 static u32 wpa_bss_compare_res(const struct wpa_bss *old,
528 int caps_diff = old->caps ^ new_res->caps;
530 if (old->freq != new_res->freq)
533 if (old->level != new_res->level)
542 if (old->ie_len == new_res->ie_len &&
543 os_memcmp(old + 1, new_res + 1, old->ie_len) == 0)
547 if (!are_ies_equal(old, new_res, WPA_IE_VENDOR_TYPE))
550 if (!are_ies_equal(old, new_res, WLAN_EID_RSN))
553 if (!are_ies_equal(old, new_res, WPS_IE_VENDOR_TYPE))
556 if (!are_ies_equal(old, new_res, WLAN_EID_SUPP_RATES) ||
557 !are_ies_equal(old, new_res, WLAN_EID_EXT_SUPP_RATES))
909 * wpa_bss_flush_by_age - Flush old BSS entries