Lines Matching refs:txpower
611 int ret, txpower = -1; in ath12k_mac_txpower_recalc() local
617 if (arvif->txpower <= 0) in ath12k_mac_txpower_recalc()
620 if (txpower == -1) in ath12k_mac_txpower_recalc()
621 txpower = arvif->txpower; in ath12k_mac_txpower_recalc()
623 txpower = min(txpower, arvif->txpower); in ath12k_mac_txpower_recalc()
626 if (txpower == -1) in ath12k_mac_txpower_recalc()
630 txpower = min_t(u32, max_t(u32, ar->min_tx_power, txpower), in ath12k_mac_txpower_recalc()
634 txpower / 2); in ath12k_mac_txpower_recalc()
637 ar->txpower_limit_2g != txpower) { in ath12k_mac_txpower_recalc()
640 txpower, ar->pdev->pdev_id); in ath12k_mac_txpower_recalc()
643 ar->txpower_limit_2g = txpower; in ath12k_mac_txpower_recalc()
647 ar->txpower_limit_5g != txpower) { in ath12k_mac_txpower_recalc()
650 txpower, ar->pdev->pdev_id); in ath12k_mac_txpower_recalc()
653 ar->txpower_limit_5g = txpower; in ath12k_mac_txpower_recalc()
660 txpower / 2, param, ret); in ath12k_mac_txpower_recalc()
2457 arvif->vdev_id, info->txpower); in ath12k_mac_op_bss_info_changed()
2459 arvif->txpower = info->txpower; in ath12k_mac_op_bss_info_changed()
5066 arvif->txpower = vif->bss_conf.txpower; in ath12k_mac_op_add_interface()