Lines Matching refs:curr_ctx
753 struct ieee80211_chanctx *curr_ctx = NULL; in ieee80211_assign_vif_chanctx() local
763 curr_ctx = container_of(conf, struct ieee80211_chanctx, conf); in ieee80211_assign_vif_chanctx()
765 drv_unassign_vif_chanctx(local, sdata, curr_ctx); in ieee80211_assign_vif_chanctx()
785 if (curr_ctx && ieee80211_chanctx_num_assigned(local, curr_ctx) > 0) { in ieee80211_assign_vif_chanctx()
786 ieee80211_recalc_chanctx_chantype(local, curr_ctx); in ieee80211_assign_vif_chanctx()
787 ieee80211_recalc_smps_chanctx(local, curr_ctx); in ieee80211_assign_vif_chanctx()
788 ieee80211_recalc_radar_chanctx(local, curr_ctx); in ieee80211_assign_vif_chanctx()
789 ieee80211_recalc_chanctx_min_def(local, curr_ctx); in ieee80211_assign_vif_chanctx()
981 struct ieee80211_chanctx *new_ctx, *curr_ctx, *ctx; in ieee80211_vif_reserve_chanctx() local
985 curr_ctx = ieee80211_vif_get_chanctx(sdata); in ieee80211_vif_reserve_chanctx()
986 if (curr_ctx && local->use_chanctx && !local->ops->switch_vif_chanctx) in ieee80211_vif_reserve_chanctx()
996 if (!curr_ctx || in ieee80211_vif_reserve_chanctx()
997 (curr_ctx->replace_state == in ieee80211_vif_reserve_chanctx()
999 !list_empty(&curr_ctx->reserved_vifs)) { in ieee80211_vif_reserve_chanctx()
1031 curr_ctx = ctx; in ieee80211_vif_reserve_chanctx()
1040 if (!curr_ctx || in ieee80211_vif_reserve_chanctx()
1041 (curr_ctx->replace_state == in ieee80211_vif_reserve_chanctx()
1043 !list_empty(&curr_ctx->reserved_vifs)) in ieee80211_vif_reserve_chanctx()
1050 new_ctx->replace_ctx = curr_ctx; in ieee80211_vif_reserve_chanctx()
1054 curr_ctx->replace_ctx = new_ctx; in ieee80211_vif_reserve_chanctx()
1055 curr_ctx->replace_state = in ieee80211_vif_reserve_chanctx()