Lines Matching refs:mdie
75 u8 *mdie; member
303 struct rsn_mdie *mdie = NULL; in ieee80211_authenticate() local
305 if (bss && bss->mdie_len >= 2 + sizeof(*mdie)) in ieee80211_authenticate()
306 mdie = (struct rsn_mdie *) (bss->mdie + 2); in ieee80211_authenticate()
307 if (mdie && in ieee80211_authenticate()
308 os_memcmp(mdie->mobility_domain, wpa_s->mlme.current_md, in ieee80211_authenticate()
432 bss && bss->mdie && in ieee80211_send_assoc()
434 bss->mdie[1] >= sizeof(struct rsn_mdie)) { in ieee80211_send_assoc()
439 os_memcpy(pos, bss->mdie + 2, MOBILITY_DOMAIN_ID_LEN); in ieee80211_send_assoc()
1001 if (elems->mdie && elems->mdie_len >= MOBILITY_DOMAIN_ID_LEN) in ieee80211_ft_assoc_resp()
1002 mobility_domain = elems->mdie; in ieee80211_ft_assoc_resp()
1260 os_free(bss->mdie); in ieee80211_bss_free()
1509 if (elems.mdie && in ieee80211_bss_info()
1510 (bss->mdie == NULL || bss->mdie_len != elems.mdie_len || in ieee80211_bss_info()
1511 os_memcmp(bss->mdie, elems.mdie, elems.mdie_len))) { in ieee80211_bss_info()
1512 os_free(bss->mdie); in ieee80211_bss_info()
1513 bss->mdie = os_malloc(elems.mdie_len + 2); in ieee80211_bss_info()
1514 if (bss->mdie) { in ieee80211_bss_info()
1515 os_memcpy(bss->mdie, elems.mdie - 2, in ieee80211_bss_info()
1520 } else if (!elems.mdie && bss->mdie) { in ieee80211_bss_info()
1521 os_free(bss->mdie); in ieee80211_bss_info()
1522 bss->mdie = NULL; in ieee80211_bss_info()