Lines Matching defs:curr_ctx
658 struct ieee80211_chanctx *curr_ctx = NULL;
668 curr_ctx = container_of(conf, struct ieee80211_chanctx, conf);
670 drv_unassign_vif_chanctx(local, sdata, curr_ctx);
690 if (curr_ctx && ieee80211_chanctx_num_assigned(local, curr_ctx) > 0) {
691 ieee80211_recalc_chanctx_chantype(local, curr_ctx);
692 ieee80211_recalc_smps_chanctx(local, curr_ctx);
693 ieee80211_recalc_radar_chanctx(local, curr_ctx);
694 ieee80211_recalc_chanctx_min_def(local, curr_ctx);
887 struct ieee80211_chanctx *new_ctx, *curr_ctx, *ctx;
891 curr_ctx = ieee80211_vif_get_chanctx(sdata);
892 if (curr_ctx && local->use_chanctx && !local->ops->switch_vif_chanctx)
902 if (!curr_ctx ||
903 (curr_ctx->replace_state ==
905 !list_empty(&curr_ctx->reserved_vifs)) {
937 curr_ctx = ctx;
946 if (!curr_ctx ||
947 (curr_ctx->replace_state ==
949 !list_empty(&curr_ctx->reserved_vifs))
956 new_ctx->replace_ctx = curr_ctx;
960 curr_ctx->replace_ctx = new_ctx;
961 curr_ctx->replace_state =