Lines Matching refs:old
129 static int are_ies_equal(const struct wpa_bss *old,
139 old_ie = wpa_bss_get_vendor_ie(old, ie);
144 old_ie_buff = wpa_bss_get_vendor_ie_multi(old, ie);
151 old_ie = wpa_bss_get_ie(old, ie);
185 static u32 wpa_bss_compare_res(const struct wpa_bss *old,
189 int caps_diff = old->caps ^ new->caps;
191 if (old->freq != new->freq)
194 if (old->level != new->level)
203 if (old->ie_len == new->ie_len &&
204 os_memcmp(old + 1, new + 1, old->ie_len) == 0)
208 if (!are_ies_equal(old, new, WPA_IE_VENDOR_TYPE))
211 if (!are_ies_equal(old, new, WLAN_EID_RSN))
214 if (!are_ies_equal(old, new, WPS_IE_VENDOR_TYPE))
217 if (!are_ies_equal(old, new, WLAN_EID_SUPP_RATES) ||
218 !are_ies_equal(old, new, WLAN_EID_EXT_SUPP_RATES))