Lines Matching defs:vifs
641 struct iwl_power_vifs *vifs)
657 if (vifs->bss_vif)
658 bss_mvmvif = iwl_mvm_vif_from_mac80211(vifs->bss_vif);
660 if (vifs->p2p_vif)
661 p2p_mvmvif = iwl_mvm_vif_from_mac80211(vifs->p2p_vif);
663 if (vifs->ap_vif)
664 ap_mvmvif = iwl_mvm_vif_from_mac80211(vifs->ap_vif);
671 if (bss_mvmvif && vifs->bss_active && !vifs->p2p_active &&
672 !vifs->ap_active) {
678 if (p2p_mvmvif && vifs->p2p_active && !vifs->bss_active &&
679 !vifs->ap_active) {
684 if (p2p_mvmvif && bss_mvmvif && vifs->bss_active && vifs->p2p_active)
688 if (bss_mvmvif && ap_mvmvif && vifs->bss_active && vifs->ap_active)
694 if (bss_mvmvif && vifs->bss_active)
696 if (p2p_mvmvif && vifs->p2p_active)
705 if (client_same_channel && !vifs->ap_active) {
885 /* ...or if any of the vifs require PS to be off */
931 struct iwl_power_vifs vifs = {
938 /* get vifs info */
941 iwl_mvm_power_get_vifs_iterator, &vifs);
947 if (vifs.bss_vif)
948 return iwl_mvm_power_set_ba(mvm, vifs.bss_vif);
955 struct iwl_power_vifs vifs = {
962 /* get vifs info */
965 iwl_mvm_power_get_vifs_iterator, &vifs);
967 iwl_mvm_power_set_pm(mvm, &vifs);
973 if (vifs.bss_vif) {
974 ret = iwl_mvm_power_send_cmd(mvm, vifs.bss_vif);
979 if (vifs.p2p_vif) {
980 ret = iwl_mvm_power_send_cmd(mvm, vifs.p2p_vif);
985 if (vifs.bss_vif)
986 return iwl_mvm_power_set_ba(mvm, vifs.bss_vif);