Home
last modified time | relevance | path

Searched refs:vif_id (Results 1 – 21 of 21) sorted by relevance

/linux-6.1.9/drivers/net/wireless/silabs/wfx/
Dwfx.h99 static inline struct wfx_vif *wdev_to_wvif(struct wfx_dev *wdev, int vif_id) in wdev_to_wvif() argument
101 if (vif_id >= ARRAY_SIZE(wdev->vif)) { in wdev_to_wvif()
102 dev_dbg(wdev->dev, "requesting non-existent vif: %d\n", vif_id); in wdev_to_wvif()
105 vif_id = array_index_nospec(vif_id, ARRAY_SIZE(wdev->vif)); in wdev_to_wvif()
106 if (!wdev->vif[vif_id]) in wdev_to_wvif()
108 return (struct wfx_vif *)wdev->vif[vif_id]->drv_priv; in wdev_to_wvif()
Dhif_tx.h39 int wfx_hif_read_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, void *buf, size_t buf_size);
40 int wfx_hif_write_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, void *buf, size_t buf_size);
Dhif_tx_mib.c63 int wfx_hif_get_counters_table(struct wfx_dev *wdev, int vif_id, in wfx_hif_get_counters_table() argument
69 return wfx_hif_read_mib(wdev, vif_id, HIF_MIB_ID_COUNTERS_TABLE, in wfx_hif_get_counters_table()
72 return wfx_hif_read_mib(wdev, vif_id, HIF_MIB_ID_EXTENDED_COUNTERS_TABLE, in wfx_hif_get_counters_table()
Dhif_tx.c172 int wfx_hif_read_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, void *val, size_t val_len) in wfx_hif_read_mib() argument
185 wfx_fill_header(hif, vif_id, HIF_REQ_ID_READ_MIB, sizeof(*body)); in wfx_hif_read_mib()
205 int wfx_hif_write_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, void *val, size_t val_len) in wfx_hif_write_mib() argument
217 wfx_fill_header(hif, vif_id, HIF_REQ_ID_WRITE_MIB, buf_len); in wfx_hif_write_mib()
Dtraces.h441 __field(int, vif_id)
457 __entry->vif_id = -1;
469 __entry->vif_id = wvif->id;
476 __entry->vif_id, __entry->queue_id,
Dhif_tx_mib.h24 int wfx_hif_get_counters_table(struct wfx_dev *wdev, int vif_id,
Dsta.h18 int vif_id; member
Dsta.c307 sta_priv->vif_id = wvif->id; in wfx_sta_add()
625 struct wfx_vif *wvif = wdev_to_wvif(wdev, sta_dev->vif_id); in wfx_set_tim()
/linux-6.1.9/drivers/net/wireless/ath/carl9170/
Dcmd.h54 int carl9170_bcn_ctrl(struct ar9170 *ar, const unsigned int vif_id,
58 const unsigned int vif_id) in carl9170_flush_cab() argument
60 return carl9170_bcn_ctrl(ar, vif_id, CARL9170_BCN_CTRL_DRAIN, 0, 0); in carl9170_flush_cab()
Dcmd.c151 int carl9170_bcn_ctrl(struct ar9170 *ar, const unsigned int vif_id, in carl9170_bcn_ctrl() argument
161 cmd->bcn_ctrl.vif_id = cpu_to_le32(vif_id); in carl9170_bcn_ctrl()
Dmain.c603 int vif_id = -1, err = 0; in carl9170_op_add_interface() local
612 vif_id = vif_priv->id; in carl9170_op_add_interface()
662 vif_id = bitmap_find_free_region(&ar->vif_bitmap, ar->fw.vif_num, 0); in carl9170_op_add_interface()
664 if (vif_id < 0) { in carl9170_op_add_interface()
671 BUG_ON(ar->vif_priv[vif_id].id != vif_id); in carl9170_op_add_interface()
674 vif_priv->id = vif_id; in carl9170_op_add_interface()
689 rcu_assign_pointer(ar->vif_priv[vif_id].vif, vif); in carl9170_op_add_interface()
717 err = carl9170_mod_virtual_mac(ar, vif_id, vif->addr); in carl9170_op_add_interface()
724 err = carl9170_write_reg(ar, ar->fw.tx_seq_table + vif_id * 4, in carl9170_op_add_interface()
731 if (err && (vif_id >= 0)) { in carl9170_op_add_interface()
[all …]
Dfwcmd.h190 __le32 vif_id; member
Dwlan.h255 u8 vif_id:3; member
Dtx.c113 unsigned int vif_id; in __carl9170_get_tx_sta() local
115 vif_id = (super->s.misc & CARL9170_TX_SUPER_MISC_VIF_ID) >> in __carl9170_get_tx_sta()
118 if (WARN_ON_ONCE(vif_id >= AR9170_MAX_VIRTUAL_MAC)) in __carl9170_get_tx_sta()
121 vif = rcu_dereference(ar->vif_priv[vif_id].vif); in __carl9170_get_tx_sta()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Drx.c627 u16 vif_id = mvmvif->id; in iwl_mvm_stat_iterator() local
634 le32_to_cpu(data->beacon_counter[vif_id]); in iwl_mvm_stat_iterator()
636 -data->beacon_average_energy[vif_id]; in iwl_mvm_stat_iterator()
661 u16 vif_id = mvmvif->id; in iwl_mvm_stat_iterator_all_macs() local
663 if (WARN_ONCE(vif_id >= MAC_INDEX_AUX, "invalid vif id: %d", vif_id)) in iwl_mvm_stat_iterator_all_macs()
669 mac_stats = &data->per_mac_stats[vif_id]; in iwl_mvm_stat_iterator_all_macs()
Dmvm.h1213 iwl_mvm_rcu_dereference_vif_id(struct iwl_mvm *mvm, u8 vif_id, bool rcu) in iwl_mvm_rcu_dereference_vif_id() argument
1215 if (WARN_ON(vif_id >= ARRAY_SIZE(mvm->vif_id_to_mac))) in iwl_mvm_rcu_dereference_vif_id()
1219 return rcu_dereference(mvm->vif_id_to_mac[vif_id]); in iwl_mvm_rcu_dereference_vif_id()
1221 return rcu_dereference_protected(mvm->vif_id_to_mac[vif_id], in iwl_mvm_rcu_dereference_vif_id()
/linux-6.1.9/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.c22 u16 cmd_id, u8 mac_id, u8 vif_id, in qtnf_cmd_check_reply_header() argument
27 mac_id, vif_id, cmd_id, le16_to_cpu(resp->cmd_id)); in qtnf_cmd_check_reply_header()
33 mac_id, vif_id, cmd_id, resp->macid); in qtnf_cmd_check_reply_header()
37 if (unlikely(resp->vifid != vif_id)) { in qtnf_cmd_check_reply_header()
39 mac_id, vif_id, cmd_id, resp->vifid); in qtnf_cmd_check_reply_header()
45 mac_id, vif_id, cmd_id, in qtnf_cmd_check_reply_header()
89 u8 vif_id; in qtnf_cmd_send_with_reply() local
95 vif_id = cmd->vifid; in qtnf_cmd_send_with_reply()
98 pr_debug("VIF%u.%u cmd=0x%.4X\n", mac_id, vif_id, cmd_id); in qtnf_cmd_send_with_reply()
102 mac_id, vif_id, cmd_id, bus->fw_state); in qtnf_cmd_send_with_reply()
[all …]
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.h1243 u16 vif_id; member
Dbnx2x_hsi.h5402 __le16 vif_id; member
5434 __le16 vif_id; member
Dbnx2x_sp.c6292 rdata->vif_id = cpu_to_le16(afex_update_params->vif_id); in bnx2x_func_send_afex_update()
6308 rdata->vif_id, in bnx2x_func_send_afex_update()
Dbnx2x_main.c2756 f_update_params->vif_id = vifid; in bnx2x_afex_func_update()
2812 u16 vif_id; in bnx2x_handle_afex_cmd() local
2883 vif_id = in bnx2x_handle_afex_cmd()
2907 if (bnx2x_afex_func_update(bp, vif_id, vlan_val, in bnx2x_handle_afex_cmd()