Home
last modified time | relevance | path

Searched refs:vifs (Results 1 – 25 of 28) sorted by relevance

12

/drivers/net/wireless/intel/iwlwifi/mvm/
Dpower.c670 struct iwl_power_vifs *vifs) in iwl_mvm_power_set_pm() argument
686 if (vifs->bss_vif) in iwl_mvm_power_set_pm()
687 bss_mvmvif = iwl_mvm_vif_from_mac80211(vifs->bss_vif); in iwl_mvm_power_set_pm()
689 if (vifs->p2p_vif) in iwl_mvm_power_set_pm()
690 p2p_mvmvif = iwl_mvm_vif_from_mac80211(vifs->p2p_vif); in iwl_mvm_power_set_pm()
692 if (vifs->ap_vif) in iwl_mvm_power_set_pm()
693 ap_mvmvif = iwl_mvm_vif_from_mac80211(vifs->ap_vif); in iwl_mvm_power_set_pm()
700 if (vifs->bss_active && !vifs->p2p_active && !vifs->ap_active) { in iwl_mvm_power_set_pm()
706 if (vifs->p2p_active && !vifs->bss_active && !vifs->ap_active) { in iwl_mvm_power_set_pm()
711 if (vifs->bss_active && vifs->p2p_active) in iwl_mvm_power_set_pm()
[all …]
Dmac80211.c4185 struct ieee80211_vif_chanctx_switch *vifs) in iwl_mvm_switch_vif_chanctx_swap() argument
4190 __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_swap()
4191 __iwl_mvm_remove_chanctx(mvm, vifs[0].old_ctx); in iwl_mvm_switch_vif_chanctx_swap()
4193 ret = __iwl_mvm_add_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap()
4199 ret = __iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].new_ctx, in iwl_mvm_switch_vif_chanctx_swap()
4214 __iwl_mvm_remove_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap()
4217 if (__iwl_mvm_add_chanctx(mvm, vifs[0].old_ctx)) { in iwl_mvm_switch_vif_chanctx_swap()
4222 if (__iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, in iwl_mvm_switch_vif_chanctx_swap()
4242 struct ieee80211_vif_chanctx_switch *vifs) in iwl_mvm_switch_vif_chanctx_reassign() argument
4247 __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_reassign()
[all …]
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_mr.c67 struct mlxsw_sp_mr_vif vifs[MAXVIFS]; member
320 &mr_table->vifs[i]); in mlxsw_sp_mr_route_create()
323 if (mr_table->vifs[i].dev && in mlxsw_sp_mr_route_create()
324 mr_table->vifs[i].dev->mtu < mr_route->min_mtu) in mlxsw_sp_mr_route_create()
325 mr_route->min_mtu = mr_table->vifs[i].dev->mtu; in mlxsw_sp_mr_route_create()
329 &mr_table->vifs[mfc->mfc_parent]); in mlxsw_sp_mr_route_create()
674 struct mlxsw_sp_mr_vif *mr_vif = &mr_table->vifs[vif_index]; in mlxsw_sp_mr_vif_add()
685 struct mlxsw_sp_mr_vif *mr_vif = &mr_table->vifs[vif_index]; in mlxsw_sp_mr_vif_del()
701 if (mr_table->vifs[vif_index].dev == dev) in mlxsw_sp_mr_dev_vif_lookup()
702 return &mr_table->vifs[vif_index]; in mlxsw_sp_mr_dev_vif_lookup()
[all …]
/drivers/net/wireless/ath/wil6210/
Dnetdev.c31 vif = wil->vifs[i]; in wil_has_other_active_ifaces()
161 vif = wil->vifs[txdata->mid]; in wil6210_netdev_poll_tx()
301 if (!wil->vifs[i]) in wil_vif_find_free_mid()
427 if (wil->vifs[vif->mid]) { in wil_vif_add()
446 wil->vifs[vif->mid] = vif; in wil_vif_add()
511 vif = wil->vifs[mid]; in wil_vif_remove()
532 wil->vifs[mid] = NULL; in wil_vif_remove()
Dpm.c30 struct wil6210_vif *vif = wil->vifs[i]; in wil_pm_wake_connected_net_queues()
44 struct wil6210_vif *vif = wil->vifs[i]; in wil_pm_stop_all_net_queues()
127 struct wil6210_vif *vif = wil->vifs[i]; in wil_can_suspend()
Dmain.c690 vif = wil->vifs[i]; in wil_bcast_fini_all()
1501 struct wil6210_vif *vif = wil->vifs[i]; in wil_abort_scan_all_vifs()
1565 vif = wil->vifs[i]; in wil_restore_vifs()
1655 vif = wil->vifs[i]; in wil_reset()
Ddebugfs.c1451 vif = (mid < GET_MAX_VIFS(wil)) ? wil->vifs[mid] : NULL; in link_show()
1650 struct wil6210_vif *vif = wil->vifs[mid]; in sta_show()
1716 vif = wil->vifs[i]; in mids_show()
1937 vif = wil->vifs[i]; in wil_link_stats_debugfs_show()
1993 vif = wil->vifs[i]; in wil_link_stats_write()
Drx_reorder.c112 vif = wil->vifs[mid]; in wil_rx_reorder()
Dtxrx_edma.c786 vif = wil->vifs[mid]; in wil_check_bar()
1096 struct wil6210_vif *vif = wil->vifs[mid]; in wil_rx_handle_edma()
1208 vif = wil->vifs[txdata->mid]; in wil_tx_sring_handler()
Dpcie_bus.c182 vif = wil->vifs[i]; in wil_remove_all_additional_vifs()
Dcfg80211.c622 if (wil->vifs[i]) { in wil_cfg80211_validate_add_iface()
623 wdev = vif_to_wdev(wil->vifs[i]); in wil_cfg80211_validate_add_iface()
643 struct wil6210_vif *vif_pos = wil->vifs[i]; in wil_cfg80211_validate_change_iface()
2024 struct wil6210_vif *vif = wil->vifs[i]; in wil_cfg80211_ap_recovery()
Dtxrx.c379 struct wil6210_vif *vif = wil->vifs[mid]; in wil_rx_get_cid_by_skb()
503 vif = wil->vifs[mid]; in wil_vring_reap_rx()
Dwil6210.h954 struct wil6210_vif *vifs[WIL_MAX_VIFS]; member
/drivers/net/wireless/rsi/
Drsi_91x_mac80211.c487 if (!adapter->vifs[i] || in rsi_mac80211_add_interface()
488 !memcmp(vif->addr, adapter->vifs[i]->addr, ETH_ALEN)) { in rsi_mac80211_add_interface()
499 adapter->vifs[vap_idx] = vif; in rsi_mac80211_add_interface()
555 if (!adapter->vifs[i]) in rsi_mac80211_remove_interface()
557 if (vif == adapter->vifs[i]) { in rsi_mac80211_remove_interface()
561 adapter->vifs[i] = NULL; in rsi_mac80211_remove_interface()
593 vif = adapter->vifs[i]; in rsi_channel_change()
693 vif = adapter->vifs[i]; in rsi_mac80211_config()
1093 if (vif == adapter->vifs[ii]) in rsi_mac80211_ampdu_action()
1322 vif = adapter->vifs[i]; in rsi_fill_rx_status()
[all …]
Drsi_main.h350 struct ieee80211_vif *vifs[RSI_MAX_VIFS]; member
Drsi_91x_core.c359 vif = adapter->vifs[i]; in rsi_get_vif()
Drsi_91x_hal.c433 vif = adapter->vifs[i]; in rsi_prepare_beacon()
/drivers/net/wireless/ath/ath9k/
Dchannel.c119 INIT_LIST_HEAD(&ctx->vifs); in ath_chanctx_init()
169 list_for_each_entry(avp, &ctx->vifs, list) { in ath_is_go_chanctx_present()
280 list_for_each_entry(avp, &ctx->vifs, list) { in ath_chanctx_check_active()
297 if (!ctx->assigned || list_empty(&ctx->vifs)) in ath_chanctx_check_active()
867 if (!ctx->assigned || list_empty(&ctx->vifs)) in ath_chanctx_get_oper_chan()
1154 list_for_each_entry(avp, &sc->cur_chan->vifs, list) { in ath_chanctx_send_ps_frame()
1348 INIT_LIST_HEAD(&ctx->vifs); in ath9k_offchannel_init()
Dmain.c992 list_for_each_entry(avp, &ctx->vifs, list) { in ath9k_update_bssid_mask()
1024 list_for_each_entry(avp, &ctx->vifs, list) in ath9k_calculate_iter_data()
1275 list_add_tail(&avp->list, &avp->chanctx->vifs); in ath9k_add_interface()
2508 list_add_tail(&avp->list, &ctx->vifs); in ath9k_assign_vif_chanctx()
Dath9k.h329 struct list_head vifs; member
/drivers/net/wireless/ath/carl9170/
Dmain.c691 ar->vifs++; in carl9170_op_add_interface()
749 ar->vifs--; in carl9170_op_add_interface()
755 if (ar->vifs > 1) in carl9170_op_add_interface()
777 ar->vifs--; in carl9170_op_remove_interface()
793 if (ar->vifs) { in carl9170_op_remove_interface()
817 if (ar->vifs == 1) in carl9170_op_remove_interface()
1819 ar->vifs = 0; in carl9170_alloc()
Dcarl9170.h305 unsigned int vifs; member
Ddebug.c443 ar->vifs, ar->fw.vif_num); in carl9170_debugfs_vif_dump_read()
Dtx.c1552 if (ar->vifs > 0 && cvif) { in carl9170_pick_beaconing_vif()
/drivers/net/wireless/ath/ath10k/
Dmac.c7727 struct ieee80211_vif_chanctx_switch *vifs, in ath10k_mac_update_rx_channel() argument
7738 WARN_ON(ctx && vifs); in ath10k_mac_update_rx_channel()
7739 WARN_ON(vifs && !n_vifs); in ath10k_mac_update_rx_channel()
7757 if (vifs) in ath10k_mac_update_rx_channel()
7758 def = &vifs[0].new_ctx->def; in ath10k_mac_update_rx_channel()
7777 struct ieee80211_vif_chanctx_switch *vifs, in ath10k_mac_update_vif_chan() argument
7793 arvif = (void *)vifs[i].vif->drv_priv; in ath10k_mac_update_vif_chan()
7798 vifs[i].old_ctx->def.chan->center_freq, in ath10k_mac_update_vif_chan()
7799 vifs[i].new_ctx->def.chan->center_freq, in ath10k_mac_update_vif_chan()
7800 vifs[i].old_ctx->def.width, in ath10k_mac_update_vif_chan()
[all …]

12