Home
last modified time | relevance | path

Searched refs:macid (Results 1 – 25 of 57) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/
Dcore.c40 struct qtnf_wmac *qtnf_core_get_mac(const struct qtnf_bus *bus, u8 macid) in qtnf_core_get_mac() argument
44 if (macid >= QTNF_MAX_MAC) { in qtnf_core_get_mac()
45 pr_err("invalid MAC index %u\n", macid); in qtnf_core_get_mac()
49 macid = array_index_nospec(macid, QTNF_MAX_MAC); in qtnf_core_get_mac()
50 mac = bus->mac[macid]; in qtnf_core_get_mac()
53 pr_err("MAC%u: not initialized\n", macid); in qtnf_core_get_mac()
133 return qtnf_bus_data_tx(mac->bus, skb, mac->macid, vif->vifid); in qtnf_netdev_hard_start_xmit()
165 pr_warn("VIF%u.%u: Tx timeout- %lu\n", mac->macid, vif->vifid, jiffies); in qtnf_netdev_tx_timeout()
240 mac->macid, band, ret); in qtnf_mac_init_single_band()
388 pr_warn("MAC%d: scan timed out\n", mac->macid); in qtnf_mac_scan_timeout()
[all …]
Devent.c34 mac->macid, vif->vifid, len, sizeof(*sta_assoc)); in qtnf_event_handle_sta_assoc()
40 mac->macid, vif->vifid); in qtnf_event_handle_sta_assoc()
51 pr_debug("VIF%u.%u: MAC:%pM FC:%x\n", mac->macid, vif->vifid, sta_addr, in qtnf_event_handle_sta_assoc()
111 mac->macid, vif->vifid, len, in qtnf_event_handle_sta_deauth()
118 mac->macid, vif->vifid); in qtnf_event_handle_sta_deauth()
125 pr_debug("VIF%u.%u: MAC:%pM reason:%x\n", mac->macid, vif->vifid, in qtnf_event_handle_sta_deauth()
154 vif->mac->macid, vif->vifid, len, in qtnf_event_handle_bss_join()
161 vif->mac->macid, vif->vifid); in qtnf_event_handle_bss_join()
166 vif->mac->macid, vif->vifid, join_info->bssid, in qtnf_event_handle_bss_join()
175 vif->mac->macid, vif->vifid, in qtnf_event_handle_bss_join()
[all …]
Dcfg80211.c117 mac->macid); in qtnf_validate_iface_combinations()
137 vif->mac->macid, vif->vifid, type); in qtnf_change_virtual_intf()
151 vif->mac->macid, vif->vifid, type); in qtnf_change_virtual_intf()
186 pr_err("VIF%u.%u: failed to delete VIF\n", vif->mac->macid, in qtnf_del_virtual_intf()
216 mac->macid, type); in qtnf_add_virtual_intf()
225 pr_err("MAC%u: no free VIF available\n", mac->macid); in qtnf_add_virtual_intf()
237 pr_err("MAC%u: unsupported IF type %d\n", mac->macid, type); in qtnf_add_virtual_intf()
249 mac->macid, vif->vifid, mac_addr); in qtnf_add_virtual_intf()
255 mac->macid, vif->vifid, vif->mac_addr); in qtnf_add_virtual_intf()
262 pr_err("VIF%u.%u: failed to attach netdev\n", mac->macid, in qtnf_add_virtual_intf()
[all …]
Dcommands.c31 if (unlikely(resp->macid != mac_id)) { in qtnf_cmd_check_reply_header()
33 mac_id, vif_id, cmd_id, resp->macid); in qtnf_cmd_check_reply_header()
94 mac_id = cmd->macid; in qtnf_cmd_send_with_reply()
148 static struct sk_buff *qtnf_cmd_alloc_new_cmdskb(u8 macid, u8 vifid, u16 cmd_no, in qtnf_cmd_alloc_new_cmdskb() argument
157 pr_err("VIF%u.%u CMD %u: alloc failed\n", macid, vifid, cmd_no); in qtnf_cmd_alloc_new_cmdskb()
167 cmd->macid = macid; in qtnf_cmd_alloc_new_cmdskb()
215 vif->mac->macid, vif->vifid, len); in qtnf_cmd_start_ap_can_fit()
248 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_start_ap()
374 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_stop_ap()
397 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_register_mgmt()
[all …]
Dbus.h21 u8 macid; member
45 unsigned int macid, unsigned int vifid);
117 unsigned int macid, unsigned int vifid) in qtnf_bus_data_tx() argument
119 return bus->bus_ops->data_tx(bus, skb, macid, vifid); in qtnf_bus_data_tx()
Dcore.h101 u8 macid; member
139 struct qtnf_wmac *qtnf_core_get_mac(const struct qtnf_bus *bus, u8 macid);
Dqlink.h346 u8 macid; member
1012 u8 macid; member
1258 u8 macid; member
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/hal/
Dhal8188e_rate_adaptive.c534 int ODM_RAInfo_Init(struct odm_dm_struct *dm_odm, u8 macid) in ODM_RAInfo_Init() argument
536 struct odm_ra_info *pRaInfo = &dm_odm->RAInfo[macid]; in ODM_RAInfo_Init()
594 u8 macid = 0; in ODM_RAInfo_Init_all() local
599 for (macid = 0; macid < ODM_ASSOCIATE_ENTRY_NUM; macid++) in ODM_RAInfo_Init_all()
600 ODM_RAInfo_Init(dm_odm, macid); in ODM_RAInfo_Init_all()
605 u8 ODM_RA_GetShortGI_8188E(struct odm_dm_struct *dm_odm, u8 macid) in ODM_RA_GetShortGI_8188E() argument
607 if ((!dm_odm) || (macid >= ASSOCIATE_ENTRY_NUM)) in ODM_RA_GetShortGI_8188E()
610 ("macid =%d SGI =%d\n", macid, dm_odm->RAInfo[macid].RateSGI)); in ODM_RA_GetShortGI_8188E()
611 return dm_odm->RAInfo[macid].RateSGI; in ODM_RA_GetShortGI_8188E()
614 u8 ODM_RA_GetDecisionRate_8188E(struct odm_dm_struct *dm_odm, u8 macid) in ODM_RA_GetDecisionRate_8188E() argument
[all …]
Drtl8188e_cmd.c114 u8 macid, init_rate, raid, shortGIrate = false; in rtw_hal_add_ra_tid() local
116 macid = arg & 0x1f; in rtw_hal_add_ra_tid()
122 bitmap = ODM_Get_Rate_Bitmap(odmpriv, macid, bitmap, rssi_level); in rtw_hal_add_ra_tid()
138 __func__, macid, raid, bitmap, shortGIrate); in rtw_hal_add_ra_tid()
140 ODM_RA_UpdateRateInfo_8188E(odmpriv, macid, raid, bitmap, shortGIrate); in rtw_hal_add_ra_tid()
191 u8 opmode, macid; in rtl8188e_set_FwMediaStatus_cmd() local
195 macid = (u8)(mst_rpt >> 8); in rtl8188e_set_FwMediaStatus_cmd()
197 DBG_88E("### %s: MStatus=%x MACID=%d\n", __func__, opmode, macid); in rtl8188e_set_FwMediaStatus_cmd()
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
Dprism2fw.c158 static struct hfa384x_caplevel macid; variable
274 memset(&macid, 0, sizeof(macid)); in prism2_fwapply()
634 memcpy(&macid, &pda->rec[pda->nrec]->data.cfisuprange, in mkpdrlist()
635 sizeof(macid)); in mkpdrlist()
636 le16_to_cpus(&macid.id); in mkpdrlist()
637 le16_to_cpus(&macid.variant); in mkpdrlist()
638 le16_to_cpus(&macid.bottom); in mkpdrlist()
639 le16_to_cpus(&macid.top); in mkpdrlist()
1153 macid.id, macid.variant, macid.bottom, macid.top); in validate_identity()
1178 macid.variant) { in validate_identity()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/
Dhal_intf.c421 s32 rtw_hal_macid_sleep(struct adapter *padapter, u32 macid) in rtw_hal_macid_sleep() argument
431 rtw_hal_set_hwreg(padapter, HW_VAR_MACID_SLEEP, (u8 *)&macid); in rtw_hal_macid_sleep()
436 s32 rtw_hal_macid_wakeup(struct adapter *padapter, u32 macid) in rtw_hal_macid_wakeup() argument
446 rtw_hal_set_hwreg(padapter, HW_VAR_MACID_WAKEUP, (u8 *)&macid); in rtw_hal_macid_wakeup()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu.h119 u32 macid:5; member
197 u32 macid:5;
257 u32 macid:7; member
333 u32 macid:5;
1007 u8 macid; member
1012 u8 macid; member
1182 u8 macid; member
1431 u8 macid, bool connect);
1519 u8 macid, bool connect);
1521 u8 macid, bool connect);
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/
Dhal8188e_rate_adaptive.h65 void ODM_RA_SetRSSI_8188E(struct odm_dm_struct *dm_odm, u8 macid,
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Drtl8723b_recv.h28 u32 macid:7; member
Dhal_intf.h396 s32 rtw_hal_macid_sleep(struct adapter *padapter, u32 macid);
397 s32 rtw_hal_macid_wakeup(struct adapter *padapter, u32 macid);
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dmac.h82 u32 macid:5; /* word 1 */ member
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/
Dmwl8k.c314 int macid; member
593 __u8 macid; member
656 cmd->macid = 0; in mwl8k_load_fw_image()
2213 mwl8k_cmd_name(cmd->code, buf, sizeof(buf)), cmd->macid); in mwl8k_post_cmd()
2300 cmd->macid = MWL8K_VIF(vif)->macid; in mwl8k_post_pervif_cmd()
3696 if (mwl8k_vif->macid + 1 == ffs(priv->sta_macids_supported)) in mwl8k_cmd_update_mac_addr()
3704 if (mwl8k_vif->macid + 1 == ffs(priv->ap_macids_supported)) in mwl8k_cmd_update_mac_addr()
3876 if (enable && (priv->running_bsses & (1 << mwl8k_vif->macid))) in mwl8k_cmd_bss_start()
3879 if (!enable && !(priv->running_bsses & (1 << mwl8k_vif->macid))) in mwl8k_cmd_bss_start()
3895 priv->running_bsses |= (1 << mwl8k_vif->macid); in mwl8k_cmd_bss_start()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dtrx.h364 u32 macid:5; member
469 u32 macid:5; member
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/pcie/
Dpearl_pcie.c612 unsigned int macid, unsigned int vifid) in qtnf_pcie_data_tx() argument
618 unsigned int macid, unsigned int vifid) in qtnf_pcie_data_tx_meta() argument
633 meta->macid = macid; in qtnf_pcie_data_tx_meta()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dtrx.h366 u32 macid:5; member
471 u32 macid:5; member
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dtrx.h401 u32 macid:5; member
506 u32 macid:5; member
Dhw.c1891 u8 macid = 0; in rtl92de_update_hal_rate_mask() local
1901 macid = sta->aid + 1; in rtl92de_update_hal_rate_mask()
1983 if (macid == 0) in rtl92de_update_hal_rate_mask()
1985 else if (macid == 1) in rtl92de_update_hal_rate_mask()
2000 value[1] = macid | (shortgi ? 0x20 : 0x00) | 0x80; in rtl92de_update_hal_rate_mask()
2005 if (macid != 0) in rtl92de_update_hal_rate_mask()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dtrx.h475 u32 macid:6; member
584 u32 macid:6; member
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dtrx.h481 u32 macid:6; member
590 u32 macid:6; member
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dhw.c2130 u8 macid = 0; in rtl92se_update_hal_rate_mask() local
2139 macid = sta->aid + 1; in rtl92se_update_hal_rate_mask()
2219 if (macid == 0) in rtl92se_update_hal_rate_mask()
2221 else if (macid == 1) in rtl92se_update_hal_rate_mask()
2256 mask |= (bmulticast ? 1 : 0) << 9 | (macid & 0x1f) << 4 | (band & 0xf); in rtl92se_update_hal_rate_mask()
2263 if (macid != 0) in rtl92se_update_hal_rate_mask()

123