Lines Matching refs:cred
86 os_free(sta->cred); in wps_er_sta_free()
1054 os_free(sta->cred); in wps_er_sta_start()
1055 sta->cred = os_malloc(sizeof(*sta->cred)); in wps_er_sta_start()
1056 if (sta->cred) { in wps_er_sta_start()
1057 os_memcpy(sta->cred, sta->ap->ap_settings, in wps_er_sta_start()
1058 sizeof(*sta->cred)); in wps_er_sta_start()
1059 sta->cred->cred_attr = NULL; in wps_er_sta_start()
1060 os_memcpy(sta->cred->mac_addr, sta->addr, ETH_ALEN); in wps_er_sta_start()
1061 sta->wps->use_cred = sta->cred; in wps_er_sta_start()
1607 static void wps_er_ap_settings_cb(void *ctx, const struct wps_credential *cred) in wps_er_ap_settings_cb() argument
1614 ap->ap_settings = os_malloc(sizeof(*cred)); in wps_er_ap_settings_cb()
1616 os_memcpy(ap->ap_settings, cred, sizeof(*cred)); in wps_er_ap_settings_cb()
1622 data.ap_settings.cred = cred; in wps_er_ap_settings_cb()
1933 const struct wps_credential *cred) in wps_er_set_config() argument
1948 ap->ap_settings = os_malloc(sizeof(*cred)); in wps_er_set_config()
1951 os_memcpy(ap->ap_settings, cred, sizeof(*cred)); in wps_er_set_config()
1986 const struct wps_credential *cred) in wps_er_config() argument
2008 ap->ap_settings = os_malloc(sizeof(*cred)); in wps_er_config()
2011 os_memcpy(ap->ap_settings, cred, sizeof(*cred)); in wps_er_config()
2028 struct wps_credential *cred) in wps_er_config_token_from_cred() argument
2039 data.use_cred = cred; in wps_er_config_token_from_cred()