Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/quantenna/qtnfmac/
H A 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()
224 mac->macid, band, ret); in qtnf_mac_init_single_band()
372 pr_warn("MAC%d: scan timed out\n", mac->macid); in qtnf_mac_scan_timeout()
[all …]
H A 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 …]
H A 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 …]
H A 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()
H A Dqlink.h346 u8 macid; member
1012 u8 macid; member
1258 u8 macid; member
/linux/drivers/net/wireless/realtek/rtl8xxxu/
H A Drtl8xxxu.h151 u32 macid:5; member
230 u32 macid:5;
291 u32 macid:7; member
367 u32 macid:5;
1451 u8 macid; member
1456 u8 macid; member
1513 u8 macid; member
1646 u8 macid; member
1934 u8 macid; member
1987 u8 macid);
[all …]
H A Dcore.c3992 u8 macid; in rtl8xxxu_acquire_macid() local
3994 macid = find_first_zero_bit(priv->mac_id_map, RTL8XXXU_MAX_MAC_ID_NUM); in rtl8xxxu_acquire_macid()
3995 if (macid < RTL8XXXU_MAX_MAC_ID_NUM) in rtl8xxxu_acquire_macid()
3996 set_bit(macid, priv->mac_id_map); in rtl8xxxu_acquire_macid()
3998 return macid; in rtl8xxxu_acquire_macid()
4001 static void rtl8xxxu_release_macid(struct rtl8xxxu_priv *priv, u8 macid) in rtl8xxxu_release_macid() argument
4003 clear_bit(macid, priv->mac_id_map); in rtl8xxxu_release_macid()
4018 return sta_info->macid; in rtl8xxxu_get_macid()
4592 u8 macid) in rtl8xxxu_update_rate_mask() argument
4613 u8 macid) in rtl8xxxu_gen2_update_rate_mask() argument
[all …]
H A D8188e.c1676 u32 macid; in rtl8188e_handle_ra_tx_report2() local
1689 for (macid = 0; macid < items; macid++) { in rtl8188e_handle_ra_tx_report2()
1692 if (macid < 64) in rtl8188e_handle_ra_tx_report2()
1693 valid = macid_valid & BIT(macid); in rtl8188e_handle_ra_tx_report2()
1718 } else if (macid == 0) { in rtl8188e_handle_ra_tx_report2()
1782 u8 macid) in rtl8188e_update_rate_mask() argument
1793 static void rtl8188e_ra_set_rssi(struct rtl8xxxu_priv *priv, u8 macid, u8 rssi) in rtl8188e_ra_set_rssi() argument
/linux/drivers/net/wireless/realtek/rtw89/
H A Dps.c15 static int rtw89_fw_leave_lps_check(struct rtw89_dev *rtwdev, u8 macid) in rtw89_fw_leave_lps_check() argument
19 u32 chk_msk = pwr_en_bit << (4 * macid); in rtw89_fw_leave_lps_check()
92 .macid = rtwvif_link->mac_id, in __rtw89_enter_lps()
106 .macid = rtwvif_link->mac_id, in __rtw89_leave_lps()
H A Dmac80211.c238 u8 macid = rtw89_vif_get_main_macid(rtwvif); in rtw89_ops_remove_interface() local
264 rtw89_release_mac_id(rtwdev, macid); in rtw89_ops_remove_interface()
491 u8 macid; in __rtw89_ops_sta_add() local
497 macid = rtw89_vif_get_main_macid(rtwvif); in __rtw89_ops_sta_add()
499 macid = rtw89_acquire_mac_id(rtwdev); in __rtw89_ops_sta_add()
500 if (macid == RTW89_MAX_MAC_ID_NUM) in __rtw89_ops_sta_add()
506 rtw89_init_sta(rtwdev, rtwvif, rtwsta, macid); in __rtw89_ops_sta_add()
534 rtw89_release_mac_id(rtwdev, macid); in __rtw89_ops_sta_add()
625 u8 macid = rtw89_sta_get_main_macid(rtwsta); in __rtw89_ops_sta_remove() local
641 rtw89_release_mac_id(rtwdev, macid); in __rtw89_ops_sta_remove()
H A Dchan.c667 unsigned int macid; in rtw89_mcc_role_fw_macid_bitmap_to_u32() local
673 macid = i * 8 + j; in rtw89_mcc_role_fw_macid_bitmap_to_u32()
674 if (macid >= 32) in rtw89_mcc_role_fw_macid_bitmap_to_u32()
678 bitmap |= BIT(macid); in rtw89_mcc_role_fw_macid_bitmap_to_u32()
1589 req.macid = role->rtwvif_link->mac_id; in __mcc_fw_add_role()
1600 if (courtesy->enable && courtesy->macid_src == req.macid) { in __mcc_fw_add_role()
1651 slot_arg->roles[0].macid = role->rtwvif_link->mac_id; in __mrc_fw_add_role()
1762 req.macid = ref->rtwvif_link->mac_id; in __mcc_fw_start()
2299 arg.macid = upd->rtwvif_link->mac_id; in __mrc_fw_upd_macid_bitmap()
H A Dfw.c1987 u8 macid = rtwsta_link->mac_id; in rtw89_fw_h2c_ba_cam() local
2016 h2c->w0 = le32_encode_bits(macid, RTW89_H2C_BA_CAM_W0_MACID); in rtw89_fw_h2c_ba_cam()
2122 u8 macid = rtwsta_link->mac_id; in rtw89_fw_h2c_ba_cam_v1() local
2163 le32_encode_bits(macid, RTW89_H2C_BA_CAM_V1_W0_MACID_MASK) | in rtw89_fw_h2c_ba_cam_v1()
2501 struct rtw89_vif_link *rtwvif_link, u8 macid) in rtw89_fw_h2c_general_pkt() argument
2522 SET_GENERAL_PKT_MACID(skb->data, macid); in rtw89_fw_h2c_general_pkt()
2562 SET_LPS_PARM_MACID(skb->data, lps_param->macid); in rtw89_fw_h2c_lps_parm()
2725 u8 macid = rtwsta_link ? rtwsta_link->mac_id : rtwvif_link->mac_id; in rtw89_fw_h2c_default_cmac_tbl() local
2735 SET_CTRL_INFO_MACID(skb->data, macid); in rtw89_fw_h2c_default_cmac_tbl()
4090 le32_encode_bits(ra->macid, RTW89_H2C_RA_W0_MACID) | in rtw89_fw_h2c_ra()
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192d/
H A Dhw_common.c871 u8 macid = 0; in rtl92d_update_hal_rate_mask() local
886 macid = sta->aid + 1; in rtl92d_update_hal_rate_mask()
970 if (macid == 0) in rtl92d_update_hal_rate_mask()
972 else if (macid == 1) in rtl92d_update_hal_rate_mask()
988 u8p_replace_bits(&rate_mask.macid_and_short_gi, macid, MACID_MASK); in rtl92d_update_hal_rate_mask()
1008 if (macid != 0) in rtl92d_update_hal_rate_mask()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dutils.c690 u32 macid; member
699 if (mvmvif->id == data->macid) in iwl_mvm_bss_find_iface_iterator()
703 struct ieee80211_vif *iwl_mvm_get_vif_by_macid(struct iwl_mvm *mvm, u32 macid) in iwl_mvm_get_vif_by_macid() argument
706 .macid = macid, in iwl_mvm_get_vif_by_macid()
/linux/drivers/net/wireless/marvell/
H A Dmwl8k.c314 int macid; member
595 __u8 macid;
662 cmd->macid = 0; in mwl8k_load_fw_image()
2222 mwl8k_cmd_name(cmd->code, buf, sizeof(buf)), cmd->macid); in mwl8k_post_cmd()
2309 cmd->macid = MWL8K_VIF(vif)->macid; in mwl8k_post_pervif_cmd()
3705 if (mwl8k_vif->macid + 1 == ffs(priv->sta_macids_supported)) in mwl8k_cmd_update_mac_addr()
3713 if (mwl8k_vif->macid + 1 == ffs(priv->ap_macids_supported)) in mwl8k_cmd_update_mac_addr()
3885 if (enable && (priv->running_bsses & (1 << mwl8k_vif->macid))) in mwl8k_cmd_bss_start()
3888 if (!enable && !(priv->running_bsses & (1 << mwl8k_vif->macid))) in mwl8k_cmd_bss_start()
3904 priv->running_bsses |= (1 << mwl8k_vif->macid); in mwl8k_cmd_bss_start()
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Dtrx.h34 u32 macid:5; member
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Dmac.h82 u32 macid:5; /* word 1 */ member
H A Dhw.c1924 u8 macid = 0; in rtl92cu_update_hal_rate_mask() local
1934 macid = sta->aid + 1; in rtl92cu_update_hal_rate_mask()
2017 if (macid == 0) in rtl92cu_update_hal_rate_mask()
2019 else if (macid == 1) in rtl92cu_update_hal_rate_mask()
2038 rate_mask[4] = macid | (shortgi ? 0x20 : 0x00) | 0x80; in rtl92cu_update_hal_rate_mask()
2047 if (macid != 0) in rtl92cu_update_hal_rate_mask()
/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/
H A 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()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Dtrx.h364 u32 macid:5; member
469 u32 macid:5; member
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dtrx.h366 u32 macid:5; member
471 u32 macid:5; member
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Dtrx.h475 u32 macid:6; member
584 u32 macid:6; member
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dtrx.h481 u32 macid:6; member
590 u32 macid:6; member
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Dhw.c2121 u8 macid = 0; in rtl92se_update_hal_rate_mask() local
2130 macid = sta->aid + 1; in rtl92se_update_hal_rate_mask()
2210 if (macid == 0) in rtl92se_update_hal_rate_mask()
2212 else if (macid == 1) in rtl92se_update_hal_rate_mask()
2247 mask |= (bmulticast ? 1 : 0) << 9 | (macid & 0x1f) << 4 | (band & 0xf); in rtl92se_update_hal_rate_mask()
2254 if (macid != 0) in rtl92se_update_hal_rate_mask()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Dtrx.h566 u32 macid:6; member
675 u32 macid:6; member

12