Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dpower.c643 struct iwl_power_vifs *vifs) in iwl_mvm_power_set_pm() argument
659 if (vifs->bss_vif) in iwl_mvm_power_set_pm()
660 bss_mvmvif = iwl_mvm_vif_from_mac80211(vifs->bss_vif); in iwl_mvm_power_set_pm()
662 if (vifs->p2p_vif) in iwl_mvm_power_set_pm()
663 p2p_mvmvif = iwl_mvm_vif_from_mac80211(vifs->p2p_vif); in iwl_mvm_power_set_pm()
665 if (vifs->ap_vif) in iwl_mvm_power_set_pm()
666 ap_mvmvif = iwl_mvm_vif_from_mac80211(vifs->ap_vif); in iwl_mvm_power_set_pm()
673 if (bss_mvmvif && vifs->bss_active && !vifs->p2p_active && in iwl_mvm_power_set_pm()
674 !vifs in iwl_mvm_power_set_pm()
933 struct iwl_power_vifs vifs = { iwl_mvm_power_update_ps() local
957 struct iwl_power_vifs vifs = { iwl_mvm_power_update_mac() local
[all...]
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_mr.c69 struct mlxsw_sp_mr_vif vifs[MAXVIFS]; member
323 &mr_table->vifs[i]); in mlxsw_sp_mr_route_create()
326 if (mr_table->vifs[i].dev && in mlxsw_sp_mr_route_create()
327 mr_table->vifs[i].dev->mtu < mr_route->min_mtu) in mlxsw_sp_mr_route_create()
328 mr_route->min_mtu = mr_table->vifs[i].dev->mtu; in mlxsw_sp_mr_route_create()
332 &mr_table->vifs[mfc->mfc_parent]); in mlxsw_sp_mr_route_create()
687 struct mlxsw_sp_mr_vif *mr_vif = &mr_table->vifs[vif_index]; in mlxsw_sp_mr_vif_add()
698 struct mlxsw_sp_mr_vif *mr_vif = &mr_table->vifs[vif_index]; in mlxsw_sp_mr_vif_del()
714 if (mlxsw_sp_rif_dev_is(rif, mr_table->vifs[vif_index].dev)) in mlxsw_sp_mr_dev_vif_lookup()
715 return &mr_table->vifs[vif_index]; in mlxsw_sp_mr_dev_vif_lookup()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dmac80211.c2453 struct ieee80211_vif_chanctx_switch *vifs) in iwl_mld_switch_vif_chanctx_swap()
2458 iwl_mld_unassign_vif_chanctx(hw, vifs[0].vif, vifs[0].link_conf, in iwl_mld_switch_vif_chanctx_swap()
2459 vifs[0].old_ctx); in iwl_mld_switch_vif_chanctx_swap()
2460 iwl_mld_remove_chanctx(hw, vifs[0].old_ctx); in iwl_mld_switch_vif_chanctx_swap()
2462 ret = iwl_mld_add_chanctx(hw, vifs[0].new_ctx);
2468 ret = iwl_mld_assign_vif_chanctx(hw, vifs[0].vif, vifs[0].link_conf, in iwl_mld_switch_vif_chanctx_reassign()
2469 vifs[0].new_ctx); in iwl_mld_switch_vif_chanctx_reassign()
2479 iwl_mld_remove_chanctx(hw, vifs[ in iwl_mld_switch_vif_chanctx_reassign()
2422 iwl_mld_switch_vif_chanctx_swap(struct ieee80211_hw * hw,struct ieee80211_vif_chanctx_switch * vifs) iwl_mld_switch_vif_chanctx_swap() argument
2464 iwl_mld_switch_vif_chanctx_reassign(struct ieee80211_hw * hw,struct ieee80211_vif_chanctx_switch * vifs) iwl_mld_switch_vif_chanctx_reassign() argument
2491 iwl_mld_switch_vif_chanctx(struct ieee80211_hw * hw,struct ieee80211_vif_chanctx_switch * vifs,int n_vifs,enum ieee80211_chanctx_switch_mode mode) iwl_mld_switch_vif_chanctx() argument
[all...]
/linux/drivers/net/wireless/ath/wil6210/
H A Dnetdev.c20 vif = wil->vifs[i]; in wil_has_other_active_ifaces()
150 vif = wil->vifs[txdata->mid]; in wil6210_netdev_poll_tx()
291 if (!wil->vifs[i]) in wil_vif_find_free_mid()
417 if (wil->vifs[vif->mid]) { in wil_vif_add()
436 wil->vifs[vif->mid] = vif; in wil_vif_add()
506 vif = wil->vifs[mid]; in wil_vif_remove()
527 wil->vifs[mid] = NULL; in wil_vif_remove()
H A Ddebugfs.c1423 vif = (mid < GET_MAX_VIFS(wil)) ? wil->vifs[mid] : NULL; in link_show()
1624 struct wil6210_vif *vif = wil->vifs[mid]; in sta_show()
1690 vif = wil->vifs[i]; in mids_show()
1912 vif = wil->vifs[i]; in wil_link_stats_debugfs_show()
1968 vif = wil->vifs[i]; in wil_link_stats_write()
H A Drx_reorder.c101 vif = wil->vifs[mid]; in wil_rx_reorder()
H A Dtxrx_edma.c771 vif = wil->vifs[mid]; in wil_check_bar()
1094 struct wil6210_vif *vif = wil->vifs[mid]; in wil_rx_handle_edma()
1205 vif = wil->vifs[txdata->mid]; in wil_tx_sring_handler()
H A Dpcie_bus.c171 vif = wil->vifs[i]; in wil_remove_all_additional_vifs()
H A Dtxrx.c367 struct wil6210_vif *vif = wil->vifs[mid]; in wil_rx_get_cid_by_skb()
490 vif = wil->vifs[mid]; in wil_vring_reap_rx()
/linux/net/mac80211/
H A Ddriver-ops.c384 struct ieee80211_vif_chanctx_switch *vifs, in drv_switch_vif_chanctx() argument
398 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx()
402 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
413 trace_drv_switch_vif_chanctx(local, vifs, n_vifs, mode); in drv_switch_vif_chanctx()
415 vifs, n_vifs, mode); in drv_switch_vif_chanctx()
421 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx()
425 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
/linux/drivers/net/wireless/rsi/
H A Drsi_91x_mac80211.c502 if (!adapter->vifs[i] || in rsi_mac80211_add_interface()
503 !memcmp(vif->addr, adapter->vifs[i]->addr, ETH_ALEN)) { in rsi_mac80211_add_interface()
514 adapter->vifs[vap_idx] = vif; in rsi_mac80211_add_interface()
569 if (!adapter->vifs[i]) in rsi_mac80211_remove_interface()
571 if (vif == adapter->vifs[i]) { in rsi_mac80211_remove_interface()
575 adapter->vifs[i] = NULL; in rsi_mac80211_remove_interface()
606 vif = adapter->vifs[i]; in rsi_channel_change()
707 vif = adapter->vifs[i]; in rsi_mac80211_config()
1124 if (vif == adapter->vifs[ii]) in rsi_mac80211_ampdu_action()
1369 vif = adapter->vifs[i]; in rsi_fill_rx_status()
[all …]
H A Drsi_main.h357 struct ieee80211_vif *vifs[RSI_MAX_VIFS]; member
H A Drsi_91x_core.c358 vif = adapter->vifs[i]; in rsi_get_vif()
H A Drsi_91x_hal.c437 vif = adapter->vifs[i]; in rsi_prepare_beacon()
/linux/drivers/net/wireless/ath/ath9k/
H A 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()
275 list_for_each_entry(avp, &ctx->vifs, list) { in ath_chanctx_check_active()
292 if (!ctx->assigned || list_empty(&ctx->vifs)) in ath_chanctx_check_active()
862 if (!ctx->assigned || list_empty(&ctx->vifs)) in ath_chanctx_get_oper_chan()
1147 list_for_each_entry(avp, &sc->cur_chan->vifs, list) { in ath_chanctx_send_ps_frame()
1341 INIT_LIST_HEAD(&ctx->vifs); in ath9k_offchannel_init()
H A Dmain.c1075 list_for_each_entry(avp, &ctx->vifs, list) { in ath9k_update_bssid_mask()
1107 list_for_each_entry(avp, &ctx->vifs, list) in ath9k_calculate_iter_data()
1359 list_add_tail(&avp->list, &avp->chanctx->vifs); in ath9k_add_interface()
2637 list_add_tail(&avp->list, &ctx->vifs); in ath9k_assign_vif_chanctx()
/linux/drivers/net/wireless/ath/carl9170/
H A Dmain.c676 ar->vifs++; in carl9170_op_add_interface()
734 ar->vifs--; in carl9170_op_add_interface()
740 if (ar->vifs > 1) in carl9170_op_add_interface()
762 ar->vifs--; in carl9170_op_remove_interface()
778 if (ar->vifs) { in carl9170_op_remove_interface()
802 if (ar->vifs == 1) in carl9170_op_remove_interface()
1787 ar->vifs = 0; in carl9170_alloc()
H A Dtx.c1554 if (ar->vifs > 0 && cvif) { in carl9170_pick_beaconing_vif()
/linux/drivers/net/wireless/ath/ath10k/
H A Dmac.c8706 struct ieee80211_vif_chanctx_switch *vifs, in ath10k_mac_update_rx_channel() argument
8717 WARN_ON(ctx && vifs); in ath10k_mac_update_rx_channel()
8718 WARN_ON(vifs && !n_vifs); in ath10k_mac_update_rx_channel()
8736 if (vifs) in ath10k_mac_update_rx_channel()
8737 def = &vifs[0].new_ctx->def; in ath10k_mac_update_rx_channel()
8756 struct ieee80211_vif_chanctx_switch *vifs, in ath10k_mac_update_vif_chan() argument
8772 arvif = (void *)vifs[i].vif->drv_priv; in ath10k_mac_update_vif_chan()
8777 vifs[i].old_ctx->def.chan->center_freq, in ath10k_mac_update_vif_chan()
8778 vifs[i].new_ctx->def.chan->center_freq, in ath10k_mac_update_vif_chan()
8779 vifs[i].old_ctx->def.width, in ath10k_mac_update_vif_chan()
[all …]
/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c
/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.c11437 struct ieee80211_vif_chanctx_switch *vifs; in ath12k_mac_update_peer_puncturing_width()
11512 arg->vifs[arg->next_vif].vif = vif; in ath12k_mac_update_vif_chan()
11513 arg->vifs[arg->next_vif].old_ctx = ctx; in ath12k_mac_update_vif_chan()
11514 arg->vifs[arg->next_vif].new_ctx = ctx; in ath12k_mac_update_vif_chan()
11515 arg->vifs[arg->next_vif].link_conf = link_conf; in ath12k_mac_update_vif_chan()
11573 struct ieee80211_vif_chanctx_switch *vifs, in ath12k_mac_update_active_vif_chan()
11592 vif = vifs[i].vif; in ath12k_mac_op_change_chanctx()
11594 link_conf = vifs[i].link_conf; in ath12k_mac_op_change_chanctx()
11610 vifs[i].old_ctx->def.chan->center_freq, in ath12k_mac_op_change_chanctx()
11611 vifs[ in ath12k_mac_op_change_chanctx()
11307 struct ieee80211_vif_chanctx_switch *vifs; global() member
11443 ath12k_mac_update_vif_chan(struct ath12k * ar,struct ieee80211_vif_chanctx_switch * vifs,int n_vifs) ath12k_mac_update_vif_chan() argument
12223 ath12k_mac_op_switch_vif_chanctx(struct ieee80211_hw * hw,struct ieee80211_vif_chanctx_switch * vifs,int n_vifs,enum ieee80211_chanctx_switch_mode mode) ath12k_mac_op_switch_vif_chanctx() argument
[all...]
/linux/net/ipv4/
H A Dipmr.c2198 * As there are no vifs associated with loopback devices, in ip_mr_input()
3067 struct nlattr *vifs, *af; in ipmr_rtm_dumplink() local
3094 vifs = nla_nest_start_noflag(skb, IPMRA_TABLE_VIFS); in ipmr_rtm_dumplink()
3095 if (!vifs) { in ipmr_rtm_dumplink()
3104 nla_nest_end(skb, vifs); in ipmr_rtm_dumplink()
3114 nla_nest_end(skb, vifs); in ipmr_rtm_dumplink()
/linux/include/net/
H A Dmac80211.h251 * struct ieee80211_chanctx_conf - channel context that vifs may be tuned to
1994 * opposite. Only relevant for STA vifs.
2927 * be created. It is expected user-space will create vifs as
4555 * @switch_vif_chanctx: switch a number of vifs from one chanctx to
4996 struct ieee80211_vif_chanctx_switch *vifs,
8189 struct ieee80211_vif_chanctx_switch *vifs,
/linux/drivers/net/wireless/ti/wlcore/
H A Dmain.c4913 struct ieee80211_vif_chanctx_switch *vifs, in wlcore_op_switch_vif_chanctx()
4931 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vifs[i].vif); in wlcore_op_switch_vif_chanctx()
4933 ret = __wlcore_switch_vif_chan(wl, wlvif, vifs[i].new_ctx);
4902 wlcore_op_switch_vif_chanctx(struct ieee80211_hw * hw,struct ieee80211_vif_chanctx_switch * vifs,int n_vifs,enum ieee80211_chanctx_switch_mode mode) wlcore_op_switch_vif_chanctx() argument