Home
last modified time | relevance | path

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

123

/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()
150 pr_warn("VIF%u.%u: Tx timeout- %lu\n", mac->macid, vif->vifid, jiffies); in qtnf_netdev_tx_timeout()
239 mac->macid, band, ret); in qtnf_mac_init_single_band()
387 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()
249 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_start_ap()
376 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_stop_ap()
395 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.h99 u8 macid; member
137 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
/drivers/staging/wlan-ng/
Dprism2fw.c137 static struct hfa384x_caplevel macid; variable
253 memset(&macid, 0, sizeof(macid)); in prism2_fwapply()
613 memcpy(&macid, &pda->rec[pda->nrec]->data.cfisuprange, in mkpdrlist()
614 sizeof(macid)); in mkpdrlist()
615 le16_to_cpus(&macid.id); in mkpdrlist()
616 le16_to_cpus(&macid.variant); in mkpdrlist()
617 le16_to_cpus(&macid.bottom); in mkpdrlist()
618 le16_to_cpus(&macid.top); in mkpdrlist()
1130 macid.id, macid.variant, macid.bottom, macid.top); in validate_identity()
1155 macid.variant) { in validate_identity()
/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu.h149 u32 macid:5; member
228 u32 macid:5;
289 u32 macid:7; member
365 u32 macid:5;
1448 u8 macid; member
1453 u8 macid; member
1510 u8 macid; member
1643 u8 macid; member
1928 u8 macid; member
1974 u8 macid);
[all …]
Drtl8xxxu_8188e.c1692 u32 macid; in rtl8188e_handle_ra_tx_report2() local
1705 for (macid = 0; macid < items; macid++) { in rtl8188e_handle_ra_tx_report2()
1708 if (macid < 64) in rtl8188e_handle_ra_tx_report2()
1709 valid = macid_valid & BIT(macid); in rtl8188e_handle_ra_tx_report2()
1734 } else if (macid == 0) { in rtl8188e_handle_ra_tx_report2()
1798 u8 macid) in rtl8188e_update_rate_mask() argument
1809 static void rtl8188e_ra_set_rssi(struct rtl8xxxu_priv *priv, u8 macid, u8 rssi) in rtl8188e_ra_set_rssi() argument
Drtl8xxxu_core.c4004 u8 macid; in rtl8xxxu_acquire_macid() local
4006 macid = find_first_zero_bit(priv->mac_id_map, RTL8XXXU_MAX_MAC_ID_NUM); in rtl8xxxu_acquire_macid()
4007 if (macid < RTL8XXXU_MAX_MAC_ID_NUM) in rtl8xxxu_acquire_macid()
4008 set_bit(macid, priv->mac_id_map); in rtl8xxxu_acquire_macid()
4010 return macid; in rtl8xxxu_acquire_macid()
4013 static void rtl8xxxu_release_macid(struct rtl8xxxu_priv *priv, u8 macid) in rtl8xxxu_release_macid() argument
4015 clear_bit(macid, priv->mac_id_map); in rtl8xxxu_release_macid()
4027 return sta_info->macid; in rtl8xxxu_get_macid()
4601 u8 macid) in rtl8xxxu_update_rate_mask() argument
4622 u8 macid) in rtl8xxxu_gen2_update_rate_mask() argument
[all …]
/drivers/net/wireless/realtek/rtw89/
Dps.c15 static int rtw89_fw_leave_lps_check(struct rtw89_dev *rtwdev, u8 macid) in rtw89_fw_leave_lps_check() argument
18 u32 chk_msk = pwr_en_bit << (4 * macid); in rtw89_fw_leave_lps_check()
89 .macid = mac_id, in __rtw89_enter_lps()
101 .macid = mac_id, in __rtw89_leave_lps()
Dfw.c1251 u8 macid = rtwsta->mac_id; in rtw89_fw_h2c_ba_cam() local
1275 SET_BA_CAM_MACID(skb->data, macid); in rtw89_fw_h2c_ba_cam()
1484 struct rtw89_vif *rtwvif, u8 macid) in rtw89_fw_h2c_general_pkt() argument
1505 SET_GENERAL_PKT_MACID(skb->data, macid); in rtw89_fw_h2c_general_pkt()
1545 SET_LPS_PARM_MACID(skb->data, lps_param->macid); in rtw89_fw_h2c_lps_parm()
1656 u8 macid = rtwvif->mac_id; in rtw89_fw_h2c_default_cmac_tbl() local
1665 SET_CTRL_INFO_MACID(skb->data, macid); in rtw89_fw_h2c_default_cmac_tbl()
2403 le32_encode_bits(ra->macid, RTW89_H2C_RA_W0_MACID) | in rtw89_fw_h2c_ra()
4038 RTW89_SET_FWCMD_PKT_DROP_MACID(skb->data, params->macid); in rtw89_fw_h2c_pkt_drop()
4126 u8 macid = rtwvif->mac_id; in rtw89_fw_h2c_disconnect_detect() local
[all …]
/drivers/staging/rtl8723bs/hal/
Dhal_intf.c403 s32 rtw_hal_macid_sleep(struct adapter *padapter, u32 macid) in rtw_hal_macid_sleep() argument
412 rtw_hal_set_hwreg(padapter, HW_VAR_MACID_SLEEP, (u8 *)&macid); in rtw_hal_macid_sleep()
417 s32 rtw_hal_macid_wakeup(struct adapter *padapter, u32 macid) in rtw_hal_macid_wakeup() argument
426 rtw_hal_set_hwreg(padapter, HW_VAR_MACID_WAKEUP, (u8 *)&macid); in rtw_hal_macid_wakeup()
Dodm.c352 u32 macid, in ODM_Get_Rate_Bitmap() argument
361 pEntry = pDM_Odm->pODM_StaInfo[macid]; in ODM_Get_Rate_Bitmap()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dutils.c598 u32 macid; member
607 if (mvmvif->id == data->macid) in iwl_mvm_bss_find_iface_iterator()
611 struct ieee80211_vif *iwl_mvm_get_vif_by_macid(struct iwl_mvm *mvm, u32 macid) in iwl_mvm_get_vif_by_macid() argument
614 .macid = macid, in iwl_mvm_get_vif_by_macid()
/drivers/staging/rtl8723bs/include/
Drtl8723b_recv.h28 u32 macid:7; member
Dhal_intf.h356 s32 rtw_hal_macid_sleep(struct adapter *padapter, u32 macid);
357 s32 rtw_hal_macid_wakeup(struct adapter *padapter, u32 macid);
/drivers/net/wireless/marvell/
Dmwl8k.c314 int macid; member
593 __u8 macid; member
657 cmd->macid = 0; in mwl8k_load_fw_image()
2217 mwl8k_cmd_name(cmd->code, buf, sizeof(buf)), cmd->macid); in mwl8k_post_cmd()
2304 cmd->macid = MWL8K_VIF(vif)->macid; in mwl8k_post_pervif_cmd()
3700 if (mwl8k_vif->macid + 1 == ffs(priv->sta_macids_supported)) in mwl8k_cmd_update_mac_addr()
3708 if (mwl8k_vif->macid + 1 == ffs(priv->ap_macids_supported)) in mwl8k_cmd_update_mac_addr()
3880 if (enable && (priv->running_bsses & (1 << mwl8k_vif->macid))) in mwl8k_cmd_bss_start()
3883 if (!enable && !(priv->running_bsses & (1 << mwl8k_vif->macid))) in mwl8k_cmd_bss_start()
3899 priv->running_bsses |= (1 << mwl8k_vif->macid); in mwl8k_cmd_bss_start()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dmac.h82 u32 macid:5; /* word 1 */ member
/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()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dtrx.h364 u32 macid:5; member
469 u32 macid:5; member
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dtrx.h366 u32 macid:5; member
471 u32 macid:5; member
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c1885 u8 macid = 0; in rtl92de_update_hal_rate_mask() local
1895 macid = sta->aid + 1; in rtl92de_update_hal_rate_mask()
1977 if (macid == 0) in rtl92de_update_hal_rate_mask()
1979 else if (macid == 1) in rtl92de_update_hal_rate_mask()
1994 value[1] = macid | (shortgi ? 0x20 : 0x00) | 0x80; in rtl92de_update_hal_rate_mask()
1999 if (macid != 0) in rtl92de_update_hal_rate_mask()
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dtrx.h475 u32 macid:6; member
584 u32 macid:6; member

123