Home
last modified time | relevance | path

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

/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dmld-mac80211.c164 if (mvmvif->deflink.phy_ctxt) { in iwl_mvm_mld_mac_remove_interface()
165 iwl_mvm_phy_ctxt_unref(mvm, mvmvif->deflink.phy_ctxt); in iwl_mvm_mld_mac_remove_interface()
166 mvmvif->deflink.phy_ctxt = NULL; in iwl_mvm_mld_mac_remove_interface()
196 if (mvmvif->link[i] && mvmvif->link[i]->phy_ctxt) in iwl_mvm_mld_mac_remove_interface()
246 if (!link->phy_ctxt) in iwl_mvm_esr_mode_active()
249 ret = iwl_mvm_phy_send_rlc(mvm, link->phy_ctxt, 2, 2); in iwl_mvm_esr_mode_active()
253 link->phy_ctxt->rlc_disabled = true; in iwl_mvm_esr_mode_active()
283 struct iwl_mvm_phy_ctxt *phy_ctxt = &mvm->phy_ctxts[*phy_ctxt_id]; in __iwl_mvm_mld_assign_vif_chanctx()
293 if (!mvmvif->link[link_id]->phy_ctxt) in __iwl_mvm_mld_assign_vif_chanctx()
308 mvmvif->link[link_id]->phy_ctxt in __iwl_mvm_mld_assign_vif_chanctx()
273 struct iwl_mvm_phy_ctxt *phy_ctxt = &mvm->phy_ctxts[*phy_ctxt_id]; __iwl_mvm_mld_assign_vif_chanctx() local
409 struct iwl_mvm_phy_ctxt *phy_ctxt; iwl_mvm_esr_mode_inactive() local
[all...]
H A Dbinding.c79 if (mvmvif->deflink.phy_ctxt != data->phyctxt) in iwl_mvm_iface_iterator()
136 if (WARN_ON_ONCE(!mvmvif->deflink.phy_ctxt)) in iwl_mvm_binding_add_vif()
146 return iwl_mvm_binding_update(mvm, vif, mvmvif->deflink.phy_ctxt, in iwl_mvm_binding_add_vif()
155 if (WARN_ON_ONCE(!mvmvif->deflink.phy_ctxt)) in iwl_mvm_binding_remove_vif()
158 ret = iwl_mvm_binding_update(mvm, vif, mvmvif->deflink.phy_ctxt, in iwl_mvm_binding_remove_vif()
H A Dquota.c36 if (!mvmvif->deflink.phy_ctxt) in iwl_mvm_quota_iterator()
40 id = mvmvif->deflink.phy_ctxt->id; in iwl_mvm_quota_iterator()
70 data->colors[id] = mvmvif->deflink.phy_ctxt->color; in iwl_mvm_quota_iterator()
73 mvmvif->deflink.phy_ctxt->color); in iwl_mvm_quota_iterator()
103 phy_id = mvmvif->deflink.phy_ctxt->id; in iwl_mvm_adjust_quota_for_noa()
H A Dcoex.c389 if (link_info->phy_ctxt && in iwl_mvm_bt_notif_per_link()
390 (mvm->last_bt_notif.rrc_status & BIT(link_info->phy_ctxt->id))) in iwl_mvm_bt_notif_per_link()
667 struct iwl_mvm_phy_ctxt *phy_ctxt = mvmvif->deflink.phy_ctxt; in iwl_mvm_bt_coex_is_tpc_allowed()
670 if (mvm->last_bt_notif.ttc_status & BIT(phy_ctxt->id)) in iwl_mvm_bt_coex_is_tpc_allowed()
691 struct iwl_mvm_phy_ctxt *phy_ctxt = mvmvif->deflink.phy_ctxt; in iwl_mvm_bt_coex_tx_prio()
694 if (mvm->last_bt_notif.ttc_status & BIT(phy_ctxt->id)) in iwl_mvm_bt_coex_tx_prio()
595 struct iwl_mvm_phy_ctxt *phy_ctxt = mvmvif->deflink.phy_ctxt; iwl_mvm_coex_agg_time_limit() local
619 struct iwl_mvm_phy_ctxt *phy_ctxt = mvmvif->deflink.phy_ctxt; iwl_mvm_bt_coex_is_mimo_allowed() local
H A Dmac80211.c1131 mvmvif->link[link_id]->phy_ctxt = NULL; in __iwl_mvm_mac_start()
1872 mvmvif->deflink.phy_ctxt = NULL; in iwl_mvm_prepare_multicast()
1965 if (mvmvif->deflink.phy_ctxt) { in iwl_mvm_update_mu_groups()
1966 iwl_mvm_phy_ctxt_unref(mvm, mvmvif->deflink.phy_ctxt); in iwl_mvm_update_mu_groups()
1967 mvmvif->deflink.phy_ctxt = NULL;
3807 if (!conf || !link_sta || !mvmvif->link[link_id]->phy_ctxt) in iwl_mvm_sta_state_assoc_to_authorized()
3811 mvmvif->link[link_id]->phy_ctxt->channel->band); in iwl_mvm_sta_state_assoc_to_authorized()
4157 * legit to have phy_ctxt = NULL. Don't bother not to WARN if we are in in __iwl_mvm_mac_set_key()
4162 !mvmvif->link[link_id]->phy_ctxt)) { in __iwl_mvm_mac_set_key()
4873 if (mvmvif->deflink.phy_ctxt
4607 struct iwl_mvm_phy_ctxt *phy_ctxt; iwl_mvm_roc_common() local
4768 struct iwl_mvm_phy_ctxt *phy_ctxt; __iwl_mvm_add_chanctx() local
4814 struct iwl_mvm_phy_ctxt *phy_ctxt = &mvm->phy_ctxts[*phy_ctxt_id]; __iwl_mvm_remove_chanctx() local
4836 struct iwl_mvm_phy_ctxt *phy_ctxt = &mvm->phy_ctxts[*phy_ctxt_id]; iwl_mvm_change_chanctx() local
4884 struct iwl_mvm_phy_ctxt *phy_ctxt = &mvm->phy_ctxts[*phy_ctxt_id]; __iwl_mvm_assign_vif_chanctx_common() local
[all...]
H A Dutils.c518 if (link_info->phy_ctxt != data->ctxt)
622 if (!mvmvif->deflink.phy_ctxt) in iwl_mvm_get_vif_by_macid()
625 band = mvmvif->deflink.phy_ctxt->channel->band; in iwl_mvm_get_vif_by_macid()
1009 if (!mvmvif->deflink.phy_ctxt) in iwl_mvm_calc_tcm_stats()
1012 band[mvmvif->id] = mvmvif->deflink.phy_ctxt->channel->band; in iwl_mvm_calc_tcm_stats()
1265 * used phy_ctxt ids.
1274 if (vif1->link[i]->phy_ctxt == vif2->link[j]->phy_ctxt)
1286 /* FIXME: can it fail when phy_ctxt is assigned? */
1288 if (mvmvif->link[i]->phy_ctxt
[all...]
H A Dlink.c129 WARN_ON_ONCE(link_info->phy_ctxt); in iwl_mvm_link_changed()
227 if (!link_info->phy_ctxt) in iwl_mvm_link_changed()
247 phyctxt = link_info->phy_ctxt; in iwl_mvm_remove_link()
548 if (WARN_ONCE(!mvm_link->phy_ctxt,
555 NORMALIZE_PERCENT_TO_255(mvm_link->phy_ctxt->channel_load_by_us);
H A Dftm-responder.c422 struct iwl_mvm_phy_ctxt *phy_ctxt; in iwl_mvm_ftm_start_responder()
447 phy_ctxt = &mvm->phy_ctxts[*phy_ctxt_id]; in iwl_mvm_ftm_responder_clear()
448 ret = iwl_mvm_phy_ctxt_changed(mvm, phy_ctxt, &ctx.def, &ctx.ap, in iwl_mvm_ftm_responder_clear()
399 struct iwl_mvm_phy_ctxt *phy_ctxt; iwl_mvm_ftm_start_responder() local
H A Dphy-ctxt.c385 if (!mvmvif->deflink.phy_ctxt) in iwl_mvm_binding_iterator()
390 __set_bit(mvmvif->deflink.phy_ctxt->id, data); in iwl_mvm_binding_iterator()
H A Ddebugfs-vif.c603 struct iwl_mvm_phy_ctxt *phy_ctxt; in iwl_dbgfs_rx_phyinfo_write() local
621 phy_ctxt = mvmvif->link[link_id]->phy_ctxt; in iwl_dbgfs_rx_phyinfo_write()
622 if (!phy_ctxt) in iwl_dbgfs_rx_phyinfo_write()
625 ret = iwl_mvm_phy_ctxt_changed(mvm, phy_ctxt, &min_def, &ap_def, in iwl_dbgfs_rx_phyinfo_write()
H A Dsf.c26 if (vif == data->ignore_vif || !mvmvif->deflink.phy_ctxt || in iwl_mvm_bound_iface_iterator()
H A Dscan.c204 mvmvif->deflink.phy_ctxt && in iwl_mvm_scan_iterator()
205 mvmvif->deflink.phy_ctxt->id < NUM_PHY_CTX) in iwl_mvm_scan_iterator()
214 mvmvif->deflink.phy_ctxt && curr_mvmvif->deflink.phy_ctxt && in iwl_mvm_scan_iterator()
215 mvmvif->deflink.phy_ctxt->id != curr_mvmvif->deflink.phy_ctxt->id)
2905 if (link && link->phy_ctxt->id < NUM_PHY_CTX && in iwl_mvm_get_respect_p2p_go()
2907 link->phy_ctxt->channel->band == data->band)) { in iwl_mvm_get_respect_p2p_go()
H A Dd3.c748 if (WARN_ON(!mvmvif->deflink.phy_ctxt)) in iwl_mvm_d3_reprogram()
763 ret = iwl_mvm_phy_ctxt_add(mvm, mvmvif->deflink.phy_ctxt, &chandef, in iwl_mvm_d3_reprogram()
780 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->deflink.phy_ctxt->id, in iwl_mvm_d3_reprogram()
781 mvmvif->deflink.phy_ctxt->color)); in iwl_mvm_d3_reprogram()
784 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->deflink.phy_ctxt->id, in iwl_mvm_d3_reprogram()
785 mvmvif->deflink.phy_ctxt->color)); in iwl_mvm_d3_reprogram()
818 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->deflink.phy_ctxt->id, in iwl_mvm_d3_reprogram()
819 mvmvif->deflink.phy_ctxt->color)); in iwl_mvm_d3_reprogram()
H A Dmvm.h308 * @phy_ctxt: phy context allocated to this link, if any
337 struct iwl_mvm_phy_ctxt *phy_ctxt;
338 struct iwl_mvm_phy_ctxt *phy_ctxt; global() member
/freebsd/sys/dev/iwm/
H A Dif_iwm_binding.c222 if (!ivp->phy_ctxt) in iwm_binding_add_vif()
232 return iwm_binding_update(sc, ivp, ivp->phy_ctxt, TRUE); in iwm_binding_add_vif()
240 if (!ivp->phy_ctxt) in iwm_binding_remove_vif()
243 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;
360 struct iwm_phy_ctxt *phy_ctxt; global() member
H A Dif_iwm_power.c389 if (ivp->phy_ctxt != NULL && ivp->ps_disabled) in iwm_power_set_ps()
H A Dif_iwm.c1310 iv->phy_ctxt = NULL; in iwm_stop_device()
4024 id = ivp->phy_ctxt->id; in iwm_update_quotas()
4026 colors[id] = ivp->phy_ctxt->color; in iwm_update_quotas()
4174 iv->phy_ctxt = &sc->sc_phyctxt[0]; in iwm_auth()
4450 ivp->phy_ctxt = NULL; in iwm_bring_down_firmware()