[PATCH v6 11/13] wifi: ath11k: discard BSS_CHANGED_TXPOWER when EXT_TPC_REG_SUPPORT for 6 GHz
Wen Gong
quic_wgong at quicinc.com
Fri Sep 22 02:17:52 PDT 2023
On 9/22/2023 5:04 PM, Aditya Kumar Singh wrote:
> On 9/20/23 13:53, Wen Gong wrote:
>>
[...]
>> @@ -3595,9 +3607,13 @@ static void
>> ath11k_mac_op_bss_info_changed(struct ieee80211_hw *hw,
>> 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);
>> + if (ath11k_mac_supports_station_tpc(ar, arvif,
>> &info->chandef)) {
> So even if user wants to operate in low power value, we won't be
> allowing to do that in case of 6 GHz station mode? Only TPC power is
> valid?
>
You are right. I think I will drop this patch. Firmware will select the
lowest TX power from multi-source.
>> + ath11k_dbg(ar->ab, ATH11K_DBG_MAC,
>> + "discard tx power, change to set TPC power\n");
>> + } else {
>> + arvif->txpower = info->txpower;
>> + ath11k_mac_txpower_recalc(ar);
>> + }
>> }
>> if (changed & BSS_CHANGED_PS &&
>
>
More information about the ath11k
mailing list