Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/staging/wfx/
Dwfx.h94 static inline struct wfx_vif *wdev_to_wvif(struct wfx_dev *wdev, int vif_id) in wdev_to_wvif() argument
96 if (vif_id >= ARRAY_SIZE(wdev->vif)) { in wdev_to_wvif()
97 dev_dbg(wdev->dev, "requesting non-existent vif: %d\n", vif_id); in wdev_to_wvif()
100 vif_id = array_index_nospec(vif_id, ARRAY_SIZE(wdev->vif)); in wdev_to_wvif()
101 if (!wdev->vif[vif_id]) { in wdev_to_wvif()
103 vif_id); in wdev_to_wvif()
106 return (struct wfx_vif *) wdev->vif[vif_id]->drv_priv; in wdev_to_wvif()
Dhif_tx.h38 int hif_read_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id,
40 int hif_write_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id,
Dhif_tx_mib.c67 int hif_get_counters_table(struct wfx_dev *wdev, int vif_id, in hif_get_counters_table() argument
73 return hif_read_mib(wdev, vif_id, HIF_MIB_ID_COUNTERS_TABLE, in hif_get_counters_table()
76 return hif_read_mib(wdev, vif_id, in hif_get_counters_table()
Dtraces.h446 __field(int, vif_id)
462 __entry->vif_id = -1;
474 __entry->vif_id = wvif->id;
481 __entry->vif_id, __entry->queue_id,
Dhif_tx.c174 int hif_read_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, in hif_read_mib() argument
188 wfx_fill_header(hif, vif_id, HIF_REQ_ID_READ_MIB, sizeof(*body)); in hif_read_mib()
210 int hif_write_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, in hif_write_mib() argument
223 wfx_fill_header(hif, vif_id, HIF_REQ_ID_WRITE_MIB, buf_len); in hif_write_mib()
Dhif_tx_mib.h21 int hif_get_counters_table(struct wfx_dev *wdev, int vif_id,
Dsta.h18 int vif_id; member
Dsta.c292 sta_priv->vif_id = wvif->id; in wfx_sta_add()
620 struct wfx_vif *wvif = wdev_to_wvif(wdev, sta_dev->vif_id); in wfx_set_tim()
/kernel/linux/linux-5.10/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.c604 int vif_id = -1, err = 0; in carl9170_op_add_interface() local
613 vif_id = vif_priv->id; in carl9170_op_add_interface()
664 vif_id = bitmap_find_free_region(&ar->vif_bitmap, ar->fw.vif_num, 0); in carl9170_op_add_interface()
666 if (vif_id < 0) { in carl9170_op_add_interface()
673 BUG_ON(ar->vif_priv[vif_id].id != vif_id); in carl9170_op_add_interface()
676 vif_priv->id = vif_id; in carl9170_op_add_interface()
691 rcu_assign_pointer(ar->vif_priv[vif_id].vif, vif); in carl9170_op_add_interface()
719 err = carl9170_mod_virtual_mac(ar, vif_id, vif->addr); in carl9170_op_add_interface()
726 err = carl9170_write_reg(ar, ar->fw.tx_seq_table + vif_id * 4, in carl9170_op_add_interface()
733 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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Drx.c587 u16 vif_id = mvmvif->id; in iwl_mvm_stat_iterator() local
594 le32_to_cpu(data->beacon_counter[vif_id]); in iwl_mvm_stat_iterator()
596 -data->beacon_average_energy[vif_id]; in iwl_mvm_stat_iterator()
Dmvm.h1242 iwl_mvm_rcu_dereference_vif_id(struct iwl_mvm *mvm, u8 vif_id, bool rcu) in iwl_mvm_rcu_dereference_vif_id() argument
1244 if (WARN_ON(vif_id >= ARRAY_SIZE(mvm->vif_id_to_mac))) in iwl_mvm_rcu_dereference_vif_id()
1248 return rcu_dereference(mvm->vif_id_to_mac[vif_id]); in iwl_mvm_rcu_dereference_vif_id()
1250 return rcu_dereference_protected(mvm->vif_id_to_mac[vif_id], in iwl_mvm_rcu_dereference_vif_id()
/kernel/linux/linux-5.10/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.c2754 f_update_params->vif_id = vifid; in bnx2x_afex_func_update()
2810 u16 vif_id; in bnx2x_handle_afex_cmd() local
2881 vif_id = in bnx2x_handle_afex_cmd()
2905 if (bnx2x_afex_func_update(bp, vif_id, vlan_val, in bnx2x_handle_afex_cmd()