| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_mr.c | 33 * instance is used as one of the egress VIFs 69 struct mlxsw_sp_mr_vif vifs[MAXVIFS]; member 87 /* A list of route_vif_entry structs that point to the egress VIFs */ 322 &mr_table->vifs[i]); in mlxsw_sp_mr_route_create() 325 if (mr_table->vifs[i].dev && in mlxsw_sp_mr_route_create() 326 mr_table->vifs[i].dev->mtu < mr_route->min_mtu) in mlxsw_sp_mr_route_create() 327 mr_route->min_mtu = mr_table->vifs[i].dev->mtu; in mlxsw_sp_mr_route_create() 331 &mr_table->vifs[mfc->mfc_parent]); in mlxsw_sp_mr_route_create() 686 struct mlxsw_sp_mr_vif *mr_vif = &mr_table->vifs[vif_index]; in mlxsw_sp_mr_vif_add() 697 struct mlxsw_sp_mr_vif *mr_vif = &mr_table->vifs[vif_inde in mlxsw_sp_mr_vif_del() [all...] |
| /linux/drivers/net/wireless/morsemicro/mm81x/ |
| H A D | mac.h | 39 if (WARN_ON(vif_id >= ARRAY_SIZE(mors->vifs))) in mm81x_rcu_dereference_vif_id() 43 return rcu_dereference(mors->vifs[vif_id]); in mm81x_rcu_dereference_vif_id() 45 return rcu_dereference_protected(mors->vifs[vif_id], in mm81x_rcu_dereference_vif_id()
|
| H A D | core.h | 336 struct ieee80211_vif __rcu *vifs[MM81X_MAX_IF]; 331 struct ieee80211_vif __rcu *vifs[MM81X_MAX_IF]; global() member
|
| H A D | mac.c | 1404 RCU_INIT_POINTER(mors->vifs[mors_vif->id], NULL); in mm81x_mac_set_txpower() 2408 if (mors_vif->id >= ARRAY_SIZE(mors->vifs)) { in mm81x_mac_unregister() 2420 rcu_assign_pointer(mors->vifs[mors_vif->id], vif); in mm81x_mac_alloc()
|
| /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() 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() 542 /* for VIFs, ndev will be freed by destructor after RTNL is unlocked. in wil_vif_remove()
|
| H A D | cfg80211.c | 634 if (wil->vifs[i]) { in wil_cfg80211_validate_add_iface() 635 wdev = vif_to_wdev(wil->vifs[i]); in wil_cfg80211_validate_add_iface() 655 struct wil6210_vif *vif_pos = wil->vifs[i]; in wil_cfg80211_validate_change_iface() 844 /* do not reset FW when there are active VIFs, in wil_cfg80211_change_iface() 2037 struct wil6210_vif *vif = wil->vifs[i]; in wil_cfg80211_ap_recovery() 2784 wil_dbg_misc(wil, "multiple VIFs supported, n_mids %d\n", conc->n_mids); in wil_cfg80211_iface_combinations_from_fw() 2787 wil_info(wil, "limited number of VIFs supported(%d, FW %d)\n", in wil_cfg80211_iface_combinations_from_fw()
|
| H A D | txrx.c | 367 struct wil6210_vif *vif = wil->vifs[mid]; in wil_rx_get_cid_by_skb() 490 vif = wil->vifs[mid]; in wil_vring_reap_rx() 599 * Note: we have a single RX queue for servicing all VIFs, but we 601 * means it will not work with monitor interface together with other VIFs. 602 * Currently we only support monitor interface on its own without other VIFs,
|
| 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()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | mac80211.c | 2460 struct ieee80211_vif_chanctx_switch *vifs) in iwl_mld_switch_vif_chanctx_swap() 2465 iwl_mld_unassign_vif_chanctx(hw, vifs[0].vif, vifs[0].link_conf, in iwl_mld_switch_vif_chanctx_swap() 2466 vifs[0].old_ctx); in iwl_mld_switch_vif_chanctx_swap() 2467 iwl_mld_remove_chanctx(hw, vifs[0].old_ctx); in iwl_mld_switch_vif_chanctx_swap() 2469 ret = iwl_mld_add_chanctx(hw, vifs[0].new_ctx); in iwl_mld_switch_vif_chanctx_swap() 2475 ret = iwl_mld_assign_vif_chanctx(hw, vifs[0].vif, vifs[0].link_conf, in iwl_mld_switch_vif_chanctx_swap() 2476 vifs[0].new_ctx); in iwl_mld_switch_vif_chanctx_swap() 2486 iwl_mld_remove_chanctx(hw, vifs[ in iwl_mld_switch_vif_chanctx_swap() 2454 iwl_mld_switch_vif_chanctx_swap(struct ieee80211_hw * hw,struct ieee80211_vif_chanctx_switch * vifs) iwl_mld_switch_vif_chanctx_swap() argument 2496 iwl_mld_switch_vif_chanctx_reassign(struct ieee80211_hw * hw,struct ieee80211_vif_chanctx_switch * vifs) iwl_mld_switch_vif_chanctx_reassign() argument 2523 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/include/uapi/linux/ |
| H A D | mroute6.h | 34 #define MRT6_FLUSH (MRT6_BASE+12) /* Flush all mfc entries and/or vifs */ 44 #define MRT6_FLUSH_MIFS 4 /* Flushing multicast vifs */ 45 #define MRT6_FLUSH_MIFS_STATIC 8 /* Flush static multicast vifs */
|
| H A D | mroute.h | 31 #define MRT_FLUSH (MRT_BASE+12) /* Flush all mfc entries and/or vifs */ 41 #define MRT_FLUSH_VIFS 4 /* Flush multicast vifs */ 42 #define MRT_FLUSH_VIFS_STATIC 8 /* Flush static multicast vifs */
|
| /linux/drivers/net/wireless/rsi/ |
| H A D | rsi_91x_mac80211.c | 502 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 D | rsi_main.h | 357 struct ieee80211_vif *vifs[RSI_MAX_VIFS]; member
|
| /linux/drivers/net/wireless/mediatek/mt76/ |
| H A D | channel.c | 185 struct ieee80211_vif_chanctx_switch *vifs, in mt76_switch_vif_chanctx() argument 198 v = &vifs[i]; in mt76_switch_vif_chanctx() 223 v = &vifs[i]; in mt76_switch_vif_chanctx()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | mac80211.c | 5212 struct ieee80211_vif_chanctx_switch *vifs, in iwl_mvm_switch_vif_chanctx_swap() argument 5218 ops->__unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].link_conf, in iwl_mvm_switch_vif_chanctx_swap() 5219 vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_swap() 5220 __iwl_mvm_remove_chanctx(mvm, vifs[0].old_ctx); in iwl_mvm_switch_vif_chanctx_swap() 5222 ret = __iwl_mvm_add_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap() 5228 ret = ops->__assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].link_conf, in iwl_mvm_switch_vif_chanctx_swap() 5229 vifs[0].new_ctx, true); in iwl_mvm_switch_vif_chanctx_swap() 5243 __iwl_mvm_remove_chanctx(mvm, vifs[ in iwl_mvm_switch_vif_chanctx_swap() 5267 iwl_mvm_switch_vif_chanctx_reassign(struct iwl_mvm * mvm,struct ieee80211_vif_chanctx_switch * vifs,const struct iwl_mvm_switch_vif_chanctx_ops * ops) iwl_mvm_switch_vif_chanctx_reassign() argument 5304 iwl_mvm_switch_vif_chanctx_common(struct ieee80211_hw * hw,struct ieee80211_vif_chanctx_switch * vifs,int n_vifs,enum ieee80211_chanctx_switch_mode mode,const struct iwl_mvm_switch_vif_chanctx_ops * ops) iwl_mvm_switch_vif_chanctx_common() argument 5332 iwl_mvm_switch_vif_chanctx(struct ieee80211_hw * hw,struct ieee80211_vif_chanctx_switch * vifs,int n_vifs,enum ieee80211_chanctx_switch_mode mode) iwl_mvm_switch_vif_chanctx() argument [all...] |
| /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() 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()
|
| /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() 1793 ar->vifs = 0; in carl9170_alloc()
|
| H A D | debug.c | 439 ADD(buf, *len, bufsize, "registered VIFs:%d \\ %d\n", in carl9170_debugfs_vif_dump_read() 440 ar->vifs, ar->fw.vif_num); in carl9170_debugfs_vif_dump_read()
|
| /linux/drivers/net/wireless/realtek/rtl8xxxu/ |
| H A D | core.c | 3578 rtl8xxxu_write8(priv, reg + i, priv->vifs[port_num]->addr[i]); in rtl8xxxu_set_mac() 4816 for (i = 0; i < ARRAY_SIZE(priv->vifs); i++) { in rtl8xxxu_set_aifs() 4819 if (!priv->vifs[i]) in rtl8xxxu_set_aifs() 4823 sta = ieee80211_find_sta(priv->vifs[i], priv->vifs[i]->bss_conf.bssid); in rtl8xxxu_set_aifs() 5651 struct ieee80211_vif *vif = priv->vifs[0]; in rtl8xxxu_update_beacon_work_callback() 5673 return priv->vifs[port_num] && in rtl8xxxu_is_packet_match_bssid() 5674 priv->vifs[port_num]->type == NL80211_IFTYPE_STATION && in rtl8xxxu_is_packet_match_bssid() 5675 priv->vifs[port_num]->cfg.assoc && in rtl8xxxu_is_packet_match_bssid() 5676 ether_addr_equal(priv->vifs[port_nu in rtl8xxxu_is_packet_match_bssid() [all...] |
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | mac.c | 1077 * don't have any vifs? in ath10k_monitor_vdev_start() 8706 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() 8720 /* FIXME: Sort of an optimization and a workaround. Peers and vifs are 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() [all …]
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
| H A D | main.c | 1470 struct ieee80211_vif_chanctx_switch *vifs, in mt7921_csa_work() 1474 return mt792x_assign_vif_chanctx(hw, vifs->vif, vifs->link_conf, in mt7921_csa_work() 1475 vifs->new_ctx); in mt7921_csa_work() 1454 mt7921_switch_vif_chanctx(struct ieee80211_hw * hw,struct ieee80211_vif_chanctx_switch * vifs,int n_vifs,enum ieee80211_chanctx_switch_mode mode) mt7921_switch_vif_chanctx() argument
|
| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A D | tx.c | 336 /* TODO: need to change hw port and hw ssn sel for multiple vifs */ in rtw_tx_data_pkt_info_update() 502 /* TODO: need to change hw port and hw ssn sel for multiple vifs */
|
| /linux/drivers/net/wireless/virtual/ |
| H A D | mac80211_hwsim_main.c | 2552 /* TSF is the same for all VIFs, parameter is unused */ in mac80211_hwsim_beacon() 2770 wiphy_dbg(hw->wiphy, " beaconing vifs remaining: %u", in mac80211_hwsim_link_info_changed() 3456 struct ieee80211_vif_chanctx_switch *vifs, in mac80211_hwsim_switch_vif_chanctx() 3469 hwsim_check_chanctx_magic(vifs[i].old_ctx); in mac80211_hwsim_switch_vif_chanctx() 3472 vifs[i].old_ctx->def.chan->center_freq, in mac80211_hwsim_switch_vif_chanctx() 3473 vifs[i].old_ctx->def.width, in mac80211_hwsim_switch_vif_chanctx() 3474 vifs[i].old_ctx->def.center_freq1, in mac80211_hwsim_switch_vif_chanctx() 3475 vifs[i].old_ctx->def.center_freq2, in mac80211_hwsim_switch_vif_chanctx() 3476 vifs[i].new_ctx->def.chan->center_freq, in mac80211_hwsim_switch_vif_chanctx() 3477 vifs[ in mac80211_hwsim_switch_vif_chanctx() 3449 mac80211_hwsim_switch_vif_chanctx(struct ieee80211_hw * hw,struct ieee80211_vif_chanctx_switch * vifs,int n_vifs,enum ieee80211_chanctx_switch_mode mode) mac80211_hwsim_switch_vif_chanctx() argument [all...] |
| /linux/net/ipv4/ |
| H A D | ipmr.c | 2228 * As there are no vifs associated with loopback devices, in ip_mr_input() 3101 struct nlattr *vifs, *af; in ipmr_rtm_dumplink() 3128 vifs = nla_nest_start_noflag(skb, IPMRA_TABLE_VIFS); in ipmr_rtm_dumplink() 3129 if (!vifs) { in ipmr_rtm_dumplink() 3138 nla_nest_end(skb, vifs); in ipmr_vif_seq_start() 3148 nla_nest_end(skb, vifs); in ipmr_vif_seq_start() 3070 struct nlattr *vifs, *af; ipmr_rtm_dumplink() local
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | mac.c | 11530 struct ieee80211_vif_chanctx_switch *vifs; in ath12k_mac_change_chanctx_cnt_iter() 11605 arg->vifs[arg->next_vif].vif = vif; in ath12k_mac_nlwidth_to_wmiwidth() 11606 arg->vifs[arg->next_vif].old_ctx = ctx; in ath12k_mac_nlwidth_to_wmiwidth() 11607 arg->vifs[arg->next_vif].new_ctx = ctx; in ath12k_mac_nlwidth_to_wmiwidth() 11608 arg->vifs[arg->next_vif].link_conf = link_conf; in ath12k_mac_nlwidth_to_wmiwidth() 11666 struct ieee80211_vif_chanctx_switch *vifs, in ath12k_mac_update_vif_chan() 11685 vif = vifs[i].vif; in ath12k_mac_update_vif_chan() 11687 link_conf = vifs[i].link_conf; in ath12k_mac_update_vif_chan() 11703 vifs[i].old_ctx->def.chan->center_freq, in ath12k_mac_update_vif_chan() 11704 vifs[ in ath12k_mac_update_vif_chan() 11506 struct ieee80211_vif_chanctx_switch *vifs; global() member 11642 ath12k_mac_update_vif_chan(struct ath12k * ar,struct ieee80211_vif_chanctx_switch * vifs,int n_vifs) ath12k_mac_update_vif_chan() argument 12463 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...] |