Lines Matching refs:curr_ctx
872 struct ieee80211_chanctx *curr_ctx = NULL; in ieee80211_assign_link_chanctx() local
883 curr_ctx = container_of(conf, struct ieee80211_chanctx, conf); in ieee80211_assign_link_chanctx()
885 drv_unassign_vif_chanctx(local, sdata, link->conf, curr_ctx); in ieee80211_assign_link_chanctx()
911 if (curr_ctx && ieee80211_chanctx_num_assigned(local, curr_ctx) > 0) { in ieee80211_assign_link_chanctx()
912 ieee80211_recalc_chanctx_chantype(local, curr_ctx); in ieee80211_assign_link_chanctx()
913 ieee80211_recalc_smps_chanctx(local, curr_ctx); in ieee80211_assign_link_chanctx()
914 ieee80211_recalc_radar_chanctx(local, curr_ctx); in ieee80211_assign_link_chanctx()
915 ieee80211_recalc_chanctx_min_def(local, curr_ctx, NULL, false); in ieee80211_assign_link_chanctx()
1120 struct ieee80211_chanctx *curr_ctx) in ieee80211_replace_chanctx() argument
1126 if (!curr_ctx || (curr_ctx->replace_state == in ieee80211_replace_chanctx()
1128 !list_empty(&curr_ctx->reserved_links)) { in ieee80211_replace_chanctx()
1160 curr_ctx = ctx; in ieee80211_replace_chanctx()
1169 if (!curr_ctx || (curr_ctx->replace_state == in ieee80211_replace_chanctx()
1171 !list_empty(&curr_ctx->reserved_links)) in ieee80211_replace_chanctx()
1178 new_ctx->replace_ctx = curr_ctx; in ieee80211_replace_chanctx()
1181 curr_ctx->replace_ctx = new_ctx; in ieee80211_replace_chanctx()
1182 curr_ctx->replace_state = IEEE80211_CHANCTX_WILL_BE_REPLACED; in ieee80211_replace_chanctx()
1227 struct ieee80211_chanctx *new_ctx, *curr_ctx; in ieee80211_link_reserve_chanctx() local
1232 curr_ctx = ieee80211_link_get_chanctx(link); in ieee80211_link_reserve_chanctx()
1233 if (curr_ctx && !local->ops->switch_vif_chanctx) in ieee80211_link_reserve_chanctx()
1246 mode, curr_ctx); in ieee80211_link_reserve_chanctx()