return 0;
 }
 
+static bool ath11k_mac_supports_station_tpc(struct ath11k *ar,
+                                           struct ath11k_vif *arvif,
+                                           const struct cfg80211_chan_def *chandef)
+{
+       return ath11k_wmi_supports_6ghz_cc_ext(ar) &&
+               test_bit(WMI_TLV_SERVICE_EXT_TPC_REG_SUPPORT, ar->ab->wmi_ab.svc_map) &&
+               arvif->vdev_type == WMI_VDEV_TYPE_STA &&
+               arvif->vdev_subtype == WMI_VDEV_SUBTYPE_NONE &&
+               chandef->chan &&
+               chandef->chan->band == NL80211_BAND_6GHZ;
+}
+
 static void ath11k_mac_op_bss_info_changed(struct ieee80211_hw *hw,
                                           struct ieee80211_vif *vif,
                                           struct ieee80211_bss_conf *info,
        if (changed & BSS_CHANGED_TXPOWER) {
                ath11k_dbg(ar->ab, ATH11K_DBG_MAC, "vdev_id %i txpower %d\n",
                           arvif->vdev_id, info->txpower);
-
                arvif->txpower = info->txpower;
                ath11k_mac_txpower_recalc(ar);
        }
                return ret;
        }
 
+       /* TODO: For now we only set TPC power here. However when
+        * channel changes, say CSA, it should be updated again.
+        */
+       if (ath11k_mac_supports_station_tpc(ar, arvif, chandef)) {
+               ath11k_mac_fill_reg_tpc_info(ar, arvif->vif, &arvif->chanctx);
+               ath11k_wmi_send_vdev_set_tpc_power(ar, arvif->vdev_id,
+                                                  &arvif->reg_tpc_info);
+       }
+
        if (!restart)
                ar->num_started_vdevs++;
 
                }
 
                ath11k_reg_handle_chan_list(ab, reg_info, power_type);
-
+               arvif->chanctx = *ctx;
                ath11k_mac_parse_tx_pwr_env(ar, vif, ctx);
        }