Lines Matching refs:new_sta
8239 struct sta_info *new_sta = NULL; in ieee80211_prep_connection() local
8287 new_sta = sta_info_alloc_with_link(sdata, ap_mld_addr, in ieee80211_prep_connection()
8291 new_sta = sta_info_alloc(sdata, ap_mld_addr, GFP_KERNEL); in ieee80211_prep_connection()
8293 if (!new_sta) { in ieee80211_prep_connection()
8298 new_sta->sta.mlo = mlo; in ieee80211_prep_connection()
8314 if (new_sta) { in ieee80211_prep_connection()
8319 link_sta = rcu_dereference(new_sta->link[link_id]); in ieee80211_prep_connection()
8322 sta_info_free(local, new_sta); in ieee80211_prep_connection()
8327 err = ieee80211_mgd_setup_link_sta(link, new_sta, in ieee80211_prep_connection()
8331 sta_info_free(local, new_sta); in ieee80211_prep_connection()
8364 if (new_sta || override) { in ieee80211_prep_connection()
8375 if (new_sta) in ieee80211_prep_connection()
8376 sta_info_free(local, new_sta); in ieee80211_prep_connection()
8383 if (new_sta) { in ieee80211_prep_connection()
8394 sta_info_pre_move_state(new_sta, IEEE80211_STA_AUTH); in ieee80211_prep_connection()
8396 err = sta_info_insert(new_sta); in ieee80211_prep_connection()
8397 new_sta = NULL; in ieee80211_prep_connection()