if (vif->type == NL80211_IFTYPE_STATION && !sta->tdls)
                mt76_connac_mcu_uni_add_bss(&dev->mphy, vif, &mvif->sta.wcid,
-                                           true, mvif->ctx);
+                                           true, mvif->mt76.ctx);
 
        ewma_avg_signal_init(&msta->avg_ack_signal);
 
                if (!sta->tdls)
                        mt76_connac_mcu_uni_add_bss(&dev->mphy, vif,
                                                    &mvif->sta.wcid, false,
-                                                   mvif->ctx);
+                                                   mvif->mt76.ctx);
        }
 
        spin_lock_bh(&dev->mt76.sta_poll_lock);
        mt792x_mutex_acquire(dev);
 
        err = mt76_connac_mcu_uni_add_bss(phy->mt76, vif, &mvif->sta.wcid,
-                                         true, mvif->ctx);
+                                         true, mvif->mt76.ctx);
        if (err)
                goto out;
 
                goto out;
 
        mt76_connac_mcu_uni_add_bss(phy->mt76, vif, &mvif->sta.wcid, false,
-                                   mvif->ctx);
+                                   mvif->mt76.ctx);
 
 out:
        mt792x_mutex_release(dev);
        struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv;
        struct ieee80211_chanctx_conf *ctx = priv;
 
-       if (ctx != mvif->ctx)
+       if (ctx != mvif->mt76.ctx)
                return;
 
        if (vif->type == NL80211_IFTYPE_MONITOR)
                       jiffies_to_msecs(HZ);
 
        mt792x_mutex_acquire(dev);
-       mt7921_set_roc(mvif->phy, mvif, mvif->ctx->def.chan, duration,
+       mt7921_set_roc(mvif->phy, mvif, mvif->mt76.ctx->def.chan, duration,
                       MT7921_ROC_REQ_JOIN);
        mt792x_mutex_release(dev);
 }
 
        struct mt792x_dev *dev = mt792x_hw_dev(hw);
 
        mutex_lock(&dev->mt76.mutex);
-       mvif->ctx = ctx;
+       mvif->mt76.ctx = ctx;
        mutex_unlock(&dev->mt76.mutex);
 
        return 0;
        struct mt792x_dev *dev = mt792x_hw_dev(hw);
 
        mutex_lock(&dev->mt76.mutex);
-       mvif->ctx = NULL;
+       mvif->mt76.ctx = NULL;
        mutex_unlock(&dev->mt76.mutex);
 }
 EXPORT_SYMBOL_GPL(mt792x_unassign_vif_chanctx);