Home
last modified time | relevance | path

Searched refs:phy_ctxt (Results 1 – 16 of 16) sorted by relevance

/freebsd-13.1/sys/contrib/dev/iwlwifi/mvm/
H A Dbinding.c78 if (mvmvif->phy_ctxt != data->phyctxt) in iwl_mvm_iface_iterator()
135 if (WARN_ON_ONCE(!mvmvif->phy_ctxt)) in iwl_mvm_binding_add_vif()
145 return iwl_mvm_binding_update(mvm, vif, mvmvif->phy_ctxt, true); in iwl_mvm_binding_add_vif()
153 if (WARN_ON_ONCE(!mvmvif->phy_ctxt)) in iwl_mvm_binding_remove_vif()
156 ret = iwl_mvm_binding_update(mvm, vif, mvmvif->phy_ctxt, false); in iwl_mvm_binding_remove_vif()
H A Dquota.c36 if (!mvmvif->phy_ctxt) in iwl_mvm_quota_iterator()
40 id = mvmvif->phy_ctxt->id; in iwl_mvm_quota_iterator()
70 data->colors[id] = mvmvif->phy_ctxt->color; in iwl_mvm_quota_iterator()
72 WARN_ON_ONCE(data->colors[id] != mvmvif->phy_ctxt->color); in iwl_mvm_quota_iterator()
102 phy_id = mvmvif->phy_ctxt->id; in iwl_mvm_adjust_quota_for_noa()
H A Dcoex.c317 if (mvmvif->phy_ctxt && in iwl_mvm_bt_notif_iterator()
318 (mvm->last_bt_notif.rrc_status & BIT(mvmvif->phy_ctxt->id))) in iwl_mvm_bt_notif_iterator()
557 struct iwl_mvm_phy_ctxt *phy_ctxt = mvmvif->phy_ctxt; in iwl_mvm_coex_agg_time_limit() local
560 if (mvm->last_bt_notif.ttc_status & BIT(phy_ctxt->id)) in iwl_mvm_coex_agg_time_limit()
581 struct iwl_mvm_phy_ctxt *phy_ctxt = mvmvif->phy_ctxt; in iwl_mvm_bt_coex_is_mimo_allowed() local
584 if (mvm->last_bt_notif.ttc_status & BIT(phy_ctxt->id)) in iwl_mvm_bt_coex_is_mimo_allowed()
H A Dmac80211.c1052 mvmvif->phy_ctxt = NULL; in iwl_mvm_cleanup_iterator()
1557 if (!mvmvif->phy_ctxt) { in iwl_mvm_mac_add_interface()
1606 mvmvif->phy_ctxt = NULL; in iwl_mvm_mac_add_interface()
1689 mvmvif->phy_ctxt = NULL; in iwl_mvm_mac_remove_interface()
4186 if (phy_ctxt->ref == 0 || mvmvif->phy_ctxt == phy_ctxt) in iwl_mvm_roc()
4189 if (phy_ctxt->ref && channel == phy_ctxt->channel) { in iwl_mvm_roc()
4201 mvmvif->phy_ctxt = phy_ctxt; in iwl_mvm_roc()
4245 if (!phy_ctxt) { in iwl_mvm_roc()
4265 mvmvif->phy_ctxt = phy_ctxt; in iwl_mvm_roc()
4343 if (!phy_ctxt) { in __iwl_mvm_add_chanctx()
[all …]
H A Dpower.c555 if (mvmvif->phy_ctxt && mvmvif->phy_ctxt->id < NUM_PHY_CTX) in iwl_mvm_power_ps_disabled_iterator()
564 bool active = mvmvif->phy_ctxt && mvmvif->phy_ctxt->id < NUM_PHY_CTX; in iwl_mvm_power_get_vifs_iterator()
649 client_same_channel = (bss_mvmvif->phy_ctxt->id == in iwl_mvm_power_set_pm()
650 p2p_mvmvif->phy_ctxt->id); in iwl_mvm_power_set_pm()
652 ap_same_channel = (bss_mvmvif->phy_ctxt->id == in iwl_mvm_power_set_pm()
653 ap_mvmvif->phy_ctxt->id); in iwl_mvm_power_set_pm()
H A Dftm-responder.c384 struct iwl_mvm_phy_ctxt *phy_ctxt; in iwl_mvm_ftm_start_responder() local
409 phy_ctxt = &mvm->phy_ctxts[*phy_ctxt_id]; in iwl_mvm_ftm_start_responder()
410 ret = iwl_mvm_phy_ctxt_changed(mvm, phy_ctxt, &ctx.def, in iwl_mvm_ftm_start_responder()
H A Dutils.c398 if (mvmvif->phy_ctxt != data->ctxt) in iwl_mvm_diversity_iter()
501 if (!mvmvif->phy_ctxt) in iwl_mvm_ll_iter()
504 band = mvmvif->phy_ctxt->channel->band; in iwl_mvm_ll_iter()
889 if (!mvmvif->phy_ctxt) in iwl_mvm_tcm_iterator()
892 band[mvmvif->id] = mvmvif->phy_ctxt->channel->band; in iwl_mvm_tcm_iterator()
H A Dphy-ctxt.c385 if (!mvmvif->phy_ctxt) in iwl_mvm_binding_iterator()
390 __set_bit(mvmvif->phy_ctxt->id, data); in iwl_mvm_binding_iterator()
H A Dsf.c26 if (vif == data->ignore_vif || !mvmvif->phy_ctxt || in iwl_mvm_bound_iface_iterator()
H A Dd3.c730 if (WARN_ON(!mvmvif->phy_ctxt)) in iwl_mvm_d3_reprogram()
744 ret = iwl_mvm_phy_ctxt_add(mvm, mvmvif->phy_ctxt, &chandef, in iwl_mvm_d3_reprogram()
761 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->phy_ctxt->id, in iwl_mvm_d3_reprogram()
762 mvmvif->phy_ctxt->color)); in iwl_mvm_d3_reprogram()
765 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->phy_ctxt->id, in iwl_mvm_d3_reprogram()
766 mvmvif->phy_ctxt->color)); in iwl_mvm_d3_reprogram()
798 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->phy_ctxt->id, in iwl_mvm_d3_reprogram()
799 mvmvif->phy_ctxt->color)); in iwl_mvm_d3_reprogram()
H A Dscan.c196 if (vif->type != NL80211_IFTYPE_P2P_DEVICE && mvmvif->phy_ctxt && in iwl_mvm_scan_iterator()
197 mvmvif->phy_ctxt->id < NUM_PHY_CTX) in iwl_mvm_scan_iterator()
206 mvmvif->phy_ctxt && curr_mvmvif->phy_ctxt && in iwl_mvm_scan_iterator()
207 mvmvif->phy_ctxt->id != curr_mvmvif->phy_ctxt->id) in iwl_mvm_scan_iterator()
2680 mvmvif->phy_ctxt->id < NUM_PHY_CTX && in iwl_mvm_scan_respect_p2p_go_iter()
2682 mvmvif->phy_ctxt->channel->band == data->band)) in iwl_mvm_scan_respect_p2p_go_iter()
H A Dmvm.h368 struct iwl_mvm_phy_ctxt *phy_ctxt; member
/freebsd-13.1/sys/dev/iwm/
H A Dif_iwm_binding.c224 if (!ivp->phy_ctxt) in iwm_binding_add_vif()
234 return iwm_binding_update(sc, ivp, ivp->phy_ctxt, TRUE); in iwm_binding_add_vif()
242 if (!ivp->phy_ctxt) in iwm_binding_remove_vif()
245 ret = iwm_binding_update(sc, ivp, ivp->phy_ctxt, FALSE); in iwm_binding_remove_vif()
H A Dif_iwmvar.h361 struct iwm_phy_ctxt *phy_ctxt; member
H A Dif_iwm_power.c391 if (ivp->phy_ctxt != NULL && ivp->ps_disabled) in iwm_power_set_ps()
H A Dif_iwm.c1284 iv->phy_ctxt = NULL; in iwm_stop_device()
4092 id = ivp->phy_ctxt->id; in iwm_update_quotas()
4094 colors[id] = ivp->phy_ctxt->color; in iwm_update_quotas()
4242 iv->phy_ctxt = &sc->sc_phyctxt[0]; in iwm_auth()
4499 ivp->phy_ctxt = NULL; in iwm_bring_down_firmware()