Lines Matching refs:iface
105 struct wma_txrx_node *iface; in wma_unified_set_sta_ps_param() local
117 iface = &wma->interfaces[vdev_id]; in wma_unified_set_sta_ps_param()
261 struct wma_txrx_node *iface; in wma_set_tx_power() local
287 iface = &wma_handle->interfaces[vdev_id]; in wma_set_tx_power()
292 mlme_set_tx_power(iface->vdev, tx_pwr_params->power); in wma_set_tx_power()
297 max_reg_power = mlme_get_max_reg_power(iface->vdev); in wma_set_tx_power()
305 if (mlme_get_tx_power(iface->vdev) != tx_pwr_params->power) { in wma_set_tx_power()
313 mlme_set_tx_power(iface->vdev, tx_pwr_params->power); in wma_set_tx_power()
338 struct wma_txrx_node *iface; in wma_set_max_tx_power() local
366 iface = &wma_handle->interfaces[vdev_id]; in wma_set_max_tx_power()
367 channel = wlan_vdev_get_active_channel(iface->vdev); in wma_set_max_tx_power()
393 mlme_set_tx_power(iface->vdev, max_tx_power); in wma_set_max_tx_power()
669 struct wma_txrx_node *iface; in wma_enable_sta_ps_mode() local
677 iface = &wma_handle->interfaces[vdev_id]; in wma_enable_sta_ps_mode()
679 if (!iface || !iface->vdev) { in wma_enable_sta_ps_mode()
684 ret = wma_wlan_pmo_get_ps_params(iface->vdev, &ps_params); in wma_enable_sta_ps_mode()
689 if (ps_params.opm_mode && iface->uapsd_cached_val) { in wma_enable_sta_ps_mode()
712 if (uapsd_val != iface->uapsd_cached_val) { in wma_enable_sta_ps_mode()
726 iface->uapsd_cached_val = uapsd_val; in wma_enable_sta_ps_mode()
732 if (!!ps_params.opm_mode && !!iface->uapsd_cached_val) { in wma_enable_sta_ps_mode()
763 iface->in_bmps = true; in wma_enable_sta_ps_mode()
778 struct wma_txrx_node *iface; in wma_disable_sta_ps_mode() local
785 iface = &wma_handle->interfaces[vdev_id]; in wma_disable_sta_ps_mode()
795 iface->in_bmps = false; in wma_disable_sta_ps_mode()
884 struct wma_txrx_node *iface = &wma->interfaces[vdev_id]; in wma_enable_uapsd_mode() local
886 if (!iface->vdev) { in wma_enable_uapsd_mode()
891 ret = wma_wlan_pmo_get_ps_params(iface->vdev, &ps_params); in wma_enable_uapsd_mode()
918 iface->uapsd_cached_val = uapsd_val; in wma_enable_uapsd_mode()
942 struct wma_txrx_node *iface = &wma->interfaces[vdev_id]; in wma_disable_uapsd_mode() local
944 if (!iface->vdev) { in wma_disable_uapsd_mode()
951 ret = wma_wlan_pmo_get_ps_params(iface->vdev, &ps_params); in wma_disable_uapsd_mode()
1075 struct wma_txrx_node *iface = &wma_handle->interfaces[vdev_id]; in wma_disable_uapsd_per_ac() local
1083 iface->uapsd_cached_val &= in wma_disable_uapsd_per_ac()
1089 iface->uapsd_cached_val &= in wma_disable_uapsd_per_ac()
1095 iface->uapsd_cached_val &= in wma_disable_uapsd_per_ac()
1101 iface->uapsd_cached_val &= in wma_disable_uapsd_per_ac()
1137 iface->uapsd_cached_val); in wma_disable_uapsd_per_ac()
1144 iface->uapsd_cached_val); in wma_disable_uapsd_per_ac()