/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | power.c | 628 struct iwl_power_vifs *vifs) in iwl_mvm_power_set_pm() argument 644 if (vifs->bss_vif) in iwl_mvm_power_set_pm() 645 bss_mvmvif = iwl_mvm_vif_from_mac80211(vifs->bss_vif); in iwl_mvm_power_set_pm() 647 if (vifs->p2p_vif) in iwl_mvm_power_set_pm() 648 p2p_mvmvif = iwl_mvm_vif_from_mac80211(vifs->p2p_vif); in iwl_mvm_power_set_pm() 650 if (vifs->ap_vif) in iwl_mvm_power_set_pm() 651 ap_mvmvif = iwl_mvm_vif_from_mac80211(vifs->ap_vif); in iwl_mvm_power_set_pm() 658 if (bss_mvmvif && vifs->bss_active && !vifs->p2p_active && in iwl_mvm_power_set_pm() 659 !vifs->ap_active) { in iwl_mvm_power_set_pm() 665 if (p2p_mvmvif && vifs->p2p_active && !vifs->bss_active && in iwl_mvm_power_set_pm() [all …]
|
H A D | mac80211.c | 5103 struct ieee80211_vif_chanctx_switch *vifs, in iwl_mvm_switch_vif_chanctx_swap() argument 5109 ops->__unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].link_conf, in iwl_mvm_switch_vif_chanctx_swap() 5110 vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_swap() 5111 __iwl_mvm_remove_chanctx(mvm, vifs[0].old_ctx); in iwl_mvm_switch_vif_chanctx_swap() 5113 ret = __iwl_mvm_add_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap() 5119 ret = ops->__assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].link_conf, in iwl_mvm_switch_vif_chanctx_swap() 5120 vifs[0].new_ctx, true); in iwl_mvm_switch_vif_chanctx_swap() 5134 __iwl_mvm_remove_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap() 5137 if (__iwl_mvm_add_chanctx(mvm, vifs[0].old_ctx)) { in iwl_mvm_switch_vif_chanctx_swap() 5142 if (ops->__assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].link_conf, in iwl_mvm_switch_vif_chanctx_swap() [all …]
|
H A D | mld-mac80211.c | 881 struct ieee80211_vif_chanctx_switch *vifs, in iwl_mvm_mld_switch_vif_chanctx() argument 890 return iwl_mvm_switch_vif_chanctx_common(hw, vifs, n_vifs, mode, &ops); in iwl_mvm_mld_switch_vif_chanctx()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_mr.c | 69 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() 685 struct mlxsw_sp_mr_vif *mr_vif = &mr_table->vifs[vif_index]; in mlxsw_sp_mr_vif_add() 696 struct mlxsw_sp_mr_vif *mr_vif = &mr_table->vifs[vif_index]; in mlxsw_sp_mr_vif_del() 712 if (mlxsw_sp_rif_dev_is(rif, mr_table->vifs[vif_index].dev)) in mlxsw_sp_mr_dev_vif_lookup() 713 return &mr_table->vifs[vif_index]; in mlxsw_sp_mr_dev_vif_lookup() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | netdev.c | 20 vif = wil->vifs[i]; in wil_has_other_active_ifaces() 150 vif = wil->vifs[txdata->mid]; in wil6210_netdev_poll_tx() 290 if (!wil->vifs[i]) in wil_vif_find_free_mid() 416 if (wil->vifs[vif->mid]) { in wil_vif_add() 435 wil->vifs[vif->mid] = vif; in wil_vif_add() 498 vif = wil->vifs[mid]; in wil_vif_remove() 519 wil->vifs[mid] = NULL; in wil_vif_remove()
|
H A D | pm.c | 19 struct wil6210_vif *vif = wil->vifs[i]; in wil_pm_wake_connected_net_queues() 33 struct wil6210_vif *vif = wil->vifs[i]; in wil_pm_stop_all_net_queues() 116 struct wil6210_vif *vif = wil->vifs[i]; in wil_can_suspend()
|
H A D | main.c | 679 vif = wil->vifs[i]; in wil_bcast_fini_all() 1490 struct wil6210_vif *vif = wil->vifs[i]; in wil_abort_scan_all_vifs() 1554 vif = wil->vifs[i]; in wil_restore_vifs() 1644 vif = wil->vifs[i]; in wil_reset()
|
H A D | debugfs.c | 1423 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 D | rx_reorder.c | 101 vif = wil->vifs[mid]; in wil_rx_reorder()
|
H A D | txrx_edma.c | 773 vif = wil->vifs[mid]; in wil_check_bar() 1096 struct wil6210_vif *vif = wil->vifs[mid]; in wil_rx_handle_edma() 1207 vif = wil->vifs[txdata->mid]; in wil_tx_sring_handler()
|
H A D | pcie_bus.c | 171 vif = wil->vifs[i]; in wil_remove_all_additional_vifs()
|
H A D | cfg80211.c | 633 if (wil->vifs[i]) { in wil_cfg80211_validate_add_iface() 634 wdev = vif_to_wdev(wil->vifs[i]); in wil_cfg80211_validate_add_iface() 654 struct wil6210_vif *vif_pos = wil->vifs[i]; in wil_cfg80211_validate_change_iface() 2036 struct wil6210_vif *vif = wil->vifs[i]; in wil_cfg80211_ap_recovery()
|
/openbmc/linux/net/mac80211/ |
H A D | driver-ops.c | 336 struct ieee80211_vif_chanctx_switch *vifs, in drv_switch_vif_chanctx() argument 349 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx() 353 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx() 364 trace_drv_switch_vif_chanctx(local, vifs, n_vifs, mode); in drv_switch_vif_chanctx() 366 vifs, n_vifs, mode); in drv_switch_vif_chanctx() 372 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx() 376 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
|
H A D | trace.h | 1646 #define SWITCH_ENTRY_ASSIGN(to, from) local_vifs[i].to = vifs[i].from 1651 struct ieee80211_vif_chanctx_switch *vifs, 1653 TP_ARGS(local, vifs, n_vifs, mode), 1659 __dynamic_array(u8, vifs, 1669 __get_dynamic_array(vifs); 1675 sdata = container_of(vifs[i].vif,
|
/openbmc/linux/drivers/net/wireless/rsi/ |
H A D | rsi_91x_mac80211.c | 486 if (!adapter->vifs[i] || in rsi_mac80211_add_interface() 487 !memcmp(vif->addr, adapter->vifs[i]->addr, ETH_ALEN)) { in rsi_mac80211_add_interface() 498 adapter->vifs[vap_idx] = vif; in rsi_mac80211_add_interface() 553 if (!adapter->vifs[i]) in rsi_mac80211_remove_interface() 555 if (vif == adapter->vifs[i]) { in rsi_mac80211_remove_interface() 559 adapter->vifs[i] = NULL; in rsi_mac80211_remove_interface() 590 vif = adapter->vifs[i]; in rsi_channel_change() 689 vif = adapter->vifs[i]; in rsi_mac80211_config() 1106 if (vif == adapter->vifs[ii]) in rsi_mac80211_ampdu_action() 1350 vif = adapter->vifs[i]; in rsi_fill_rx_status() [all …]
|
H A D | rsi_main.h | 357 struct ieee80211_vif *vifs[RSI_MAX_VIFS]; member
|
H A D | rsi_91x_core.c | 358 vif = adapter->vifs[i]; in rsi_get_vif()
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | channel.c | 119 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()
|
H A D | main.c | 1075 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() 2619 list_add_tail(&avp->list, &ctx->vifs); in ath9k_assign_vif_chanctx()
|
/openbmc/linux/drivers/net/wireless/ath/carl9170/ |
H A D | main.c | 676 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() 1784 ar->vifs = 0; in carl9170_alloc()
|
H A D | carl9170.h | 308 unsigned int vifs; member
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | mac.c | 5961 struct ieee80211_vif_chanctx_switch *vifs; member 5992 arg->vifs[arg->next_vif].vif = vif; in ath12k_mac_change_chanctx_fill_iter() 5993 arg->vifs[arg->next_vif].old_ctx = ctx; in ath12k_mac_change_chanctx_fill_iter() 5994 arg->vifs[arg->next_vif].new_ctx = ctx; in ath12k_mac_change_chanctx_fill_iter() 6000 struct ieee80211_vif_chanctx_switch *vifs, in ath12k_mac_update_vif_chan() argument 6012 arvif = (void *)vifs[i].vif->drv_priv; in ath12k_mac_update_vif_chan() 6014 if (vifs[i].vif->type == NL80211_IFTYPE_MONITOR) in ath12k_mac_update_vif_chan() 6020 vifs[i].old_ctx->def.chan->center_freq, in ath12k_mac_update_vif_chan() 6021 vifs[i].new_ctx->def.chan->center_freq, in ath12k_mac_update_vif_chan() 6022 vifs[i].old_ctx->def.width, in ath12k_mac_update_vif_chan() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | mac.c | 8655 struct ieee80211_vif_chanctx_switch *vifs, in ath10k_mac_update_rx_channel() argument 8666 WARN_ON(ctx && vifs); in ath10k_mac_update_rx_channel() 8667 WARN_ON(vifs && !n_vifs); in ath10k_mac_update_rx_channel() 8685 if (vifs) in ath10k_mac_update_rx_channel() 8686 def = &vifs[0].new_ctx->def; in ath10k_mac_update_rx_channel() 8705 struct ieee80211_vif_chanctx_switch *vifs, in ath10k_mac_update_vif_chan() argument 8721 arvif = (void *)vifs[i].vif->drv_priv; in ath10k_mac_update_vif_chan() 8726 vifs[i].old_ctx->def.chan->center_freq, in ath10k_mac_update_vif_chan() 8727 vifs[i].new_ctx->def.chan->center_freq, in ath10k_mac_update_vif_chan() 8728 vifs[i].old_ctx->def.width, in ath10k_mac_update_vif_chan() [all …]
|
/openbmc/linux/net/ipv4/ |
H A D | ipmr.c | 2862 struct nlattr *vifs, *af; in ipmr_rtm_dumplink() local 2889 vifs = nla_nest_start_noflag(skb, IPMRA_TABLE_VIFS); in ipmr_rtm_dumplink() 2890 if (!vifs) { in ipmr_rtm_dumplink() 2899 nla_nest_end(skb, vifs); in ipmr_rtm_dumplink() 2909 nla_nest_end(skb, vifs); in ipmr_rtm_dumplink()
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | mac.c | 7358 struct ieee80211_vif_chanctx_switch *vifs; member 7389 arg->vifs[arg->next_vif].vif = vif; in ath11k_mac_change_chanctx_fill_iter() 7390 arg->vifs[arg->next_vif].old_ctx = ctx; in ath11k_mac_change_chanctx_fill_iter() 7391 arg->vifs[arg->next_vif].new_ctx = ctx; in ath11k_mac_change_chanctx_fill_iter() 7397 struct ieee80211_vif_chanctx_switch *vifs, in ath11k_mac_update_vif_chan() argument 7416 arvif = ath11k_vif_to_arvif(vifs[i].vif); in ath11k_mac_update_vif_chan() 7429 ret = ath11k_mac_vdev_restart(arvif, vifs[i].new_ctx); in ath11k_mac_update_vif_chan() 7443 ret = ath11k_mac_vdev_start(arvif, vifs[i].new_ctx); in ath11k_mac_update_vif_chan() 7506 arg.vifs = kcalloc(arg.n_vifs, sizeof(arg.vifs[0]), GFP_KERNEL); in ath11k_mac_update_active_vif_chan() 7507 if (!arg.vifs) in ath11k_mac_update_active_vif_chan() [all …]
|