| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_custom_cis.c | 1026 char random_mac[3]; in dhd_create_random_mac() local 1028 memset(random_mac, 0, sizeof(random_mac)); in dhd_create_random_mac() 1029 get_random_bytes(random_mac, 3); in dhd_create_random_mac() 1032 (uint32)random_mac[0], (uint32)random_mac[1], (uint32)random_mac[2]); in dhd_create_random_mac() 1035 __FUNCTION__, random_mac)); in dhd_create_random_mac()
|
| H A D | wl_cfgscan.c | 3441 u8 random_mac[ETH_ALEN] = {0, }; in wl_cfg80211_random_mac_enable() local 3459 (void)memcpy_s(random_mac, ETH_ALEN, bcmcfg_to_prmry_ndev(cfg)->dev_addr, ETH_ALEN); in wl_cfg80211_random_mac_enable() 3470 (void)memcpy_s(&random_mac[3], (sizeof(u8) * 3), rand_bytes, sizeof(rand_bytes)); in wl_cfg80211_random_mac_enable() 3473 random_mac, ETH_ALEN, cfg->ioctl_buf, WLC_IOCTL_SMLEN, 0, &cfg->ioctl_buf_sync); in wl_cfg80211_random_mac_enable() 3480 MAC2STRDBG((const u8 *)&random_mac))); in wl_cfg80211_random_mac_enable() 3506 (void)memcpy_s(&random_mac[3], (sizeof(u8) * 3), rand_bytes, sizeof(rand_bytes)); in wl_cfg80211_random_mac_enable() 3508 random_mac, ETH_ALEN, cfg->ioctl_buf, in wl_cfg80211_random_mac_enable() 3515 MAC2STRDBG((const u8 *)&random_mac))); in wl_cfg80211_random_mac_enable() 3527 (void)memcpy_s(&sm_config->mac.octet, ETH_ALEN, random_mac, ETH_ALEN); in wl_cfg80211_random_mac_enable()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_custom_cis.c | 1026 char random_mac[3]; in dhd_create_random_mac() local 1028 memset(random_mac, 0, sizeof(random_mac)); in dhd_create_random_mac() 1029 get_random_bytes(random_mac, 3); in dhd_create_random_mac() 1032 (uint32)random_mac[0], (uint32)random_mac[1], (uint32)random_mac[2]); in dhd_create_random_mac() 1035 __FUNCTION__, random_mac)); in dhd_create_random_mac()
|
| H A D | wl_cfgscan.c | 3447 u8 random_mac[ETH_ALEN] = {0, }; in wl_cfg80211_random_mac_enable() local 3465 (void)memcpy_s(random_mac, ETH_ALEN, bcmcfg_to_prmry_ndev(cfg)->dev_addr, ETH_ALEN); in wl_cfg80211_random_mac_enable() 3476 (void)memcpy_s(&random_mac[3], (sizeof(u8) * 3), rand_bytes, sizeof(rand_bytes)); in wl_cfg80211_random_mac_enable() 3479 random_mac, ETH_ALEN, cfg->ioctl_buf, WLC_IOCTL_SMLEN, 0, &cfg->ioctl_buf_sync); in wl_cfg80211_random_mac_enable() 3486 MAC2STRDBG((const u8 *)&random_mac))); in wl_cfg80211_random_mac_enable() 3512 (void)memcpy_s(&random_mac[3], (sizeof(u8) * 3), rand_bytes, sizeof(rand_bytes)); in wl_cfg80211_random_mac_enable() 3514 random_mac, ETH_ALEN, cfg->ioctl_buf, in wl_cfg80211_random_mac_enable() 3521 MAC2STRDBG((const u8 *)&random_mac))); in wl_cfg80211_random_mac_enable() 3533 (void)memcpy_s(&sm_config->mac.octet, ETH_ALEN, random_mac, ETH_ALEN); in wl_cfg80211_random_mac_enable()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/ |
| H A D | lantiq_etop.c | 551 bool random_mac = false; in ltq_etop_init() local 563 random_mac = true; in ltq_etop_init() 571 if (random_mac) in ltq_etop_init()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | wl_cfgscan.c | 2711 u8 random_mac[ETH_ALEN] = {0, }; in wl_cfg80211_random_mac_enable() local 2729 (void)memcpy_s(random_mac, ETH_ALEN, bcmcfg_to_prmry_ndev(cfg)->dev_addr, ETH_ALEN); in wl_cfg80211_random_mac_enable() 2740 (void)memcpy_s(&random_mac[3], (sizeof(u8) * 3), rand_bytes, sizeof(rand_bytes)); in wl_cfg80211_random_mac_enable() 2743 random_mac, ETH_ALEN, cfg->ioctl_buf, WLC_IOCTL_SMLEN, 0, &cfg->ioctl_buf_sync); in wl_cfg80211_random_mac_enable() 2750 MAC2STRDBG((const u8 *)&random_mac))); in wl_cfg80211_random_mac_enable() 2776 (void)memcpy_s(&random_mac[3], (sizeof(u8) * 3), rand_bytes, sizeof(rand_bytes)); in wl_cfg80211_random_mac_enable() 2778 random_mac, ETH_ALEN, cfg->ioctl_buf, in wl_cfg80211_random_mac_enable() 2785 MAC2STRDBG((const u8 *)&random_mac))); in wl_cfg80211_random_mac_enable() 2797 (void)memcpy_s(&sm_config->mac.octet, ETH_ALEN, random_mac, ETH_ALEN); in wl_cfg80211_random_mac_enable()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | wl_cfgscan.c | 2702 u8 random_mac[ETH_ALEN] = {0, }; in wl_cfg80211_random_mac_enable() local 2720 (void)memcpy_s(random_mac, ETH_ALEN, bcmcfg_to_prmry_ndev(cfg)->dev_addr, ETH_ALEN); in wl_cfg80211_random_mac_enable() 2731 (void)memcpy_s(&random_mac[3], (sizeof(u8) * 3), rand_bytes, sizeof(rand_bytes)); in wl_cfg80211_random_mac_enable() 2734 random_mac, ETH_ALEN, cfg->ioctl_buf, WLC_IOCTL_SMLEN, 0, &cfg->ioctl_buf_sync); in wl_cfg80211_random_mac_enable() 2741 MAC2STRDBG((const u8 *)&random_mac))); in wl_cfg80211_random_mac_enable() 2767 (void)memcpy_s(&random_mac[3], (sizeof(u8) * 3), rand_bytes, sizeof(rand_bytes)); in wl_cfg80211_random_mac_enable() 2769 random_mac, ETH_ALEN, cfg->ioctl_buf, in wl_cfg80211_random_mac_enable() 2776 MAC2STRDBG((const u8 *)&random_mac))); in wl_cfg80211_random_mac_enable() 2788 (void)memcpy_s(&sm_config->mac.octet, ETH_ALEN, random_mac, ETH_ALEN); in wl_cfg80211_random_mac_enable()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | wl_cfgscan.c | 2711 u8 random_mac[ETH_ALEN] = {0, }; in wl_cfg80211_random_mac_enable() local 2729 (void)memcpy_s(random_mac, ETH_ALEN, bcmcfg_to_prmry_ndev(cfg)->dev_addr, ETH_ALEN); in wl_cfg80211_random_mac_enable() 2740 (void)memcpy_s(&random_mac[3], (sizeof(u8) * 3), rand_bytes, sizeof(rand_bytes)); in wl_cfg80211_random_mac_enable() 2743 random_mac, ETH_ALEN, cfg->ioctl_buf, WLC_IOCTL_SMLEN, 0, &cfg->ioctl_buf_sync); in wl_cfg80211_random_mac_enable() 2750 MAC2STRDBG((const u8 *)&random_mac))); in wl_cfg80211_random_mac_enable() 2776 (void)memcpy_s(&random_mac[3], (sizeof(u8) * 3), rand_bytes, sizeof(rand_bytes)); in wl_cfg80211_random_mac_enable() 2778 random_mac, ETH_ALEN, cfg->ioctl_buf, in wl_cfg80211_random_mac_enable() 2785 MAC2STRDBG((const u8 *)&random_mac))); in wl_cfg80211_random_mac_enable() 2797 (void)memcpy_s(&sm_config->mac.octet, ETH_ALEN, random_mac, ETH_ALEN); in wl_cfg80211_random_mac_enable()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7615/ |
| H A D | mcu.h | 376 u8 random_mac[ETH_ALEN]; /* valid when BIT(1) in scan_func is set. */ member 425 u8 random_mac[ETH_ALEN]; /* valid when BIT(0) in scan_func is set */ member
|
| H A D | mcu.c | 3150 get_random_mask_addr(req->random_mac, sreq->mac_addr, in mt7615_mcu_hw_scan() 3218 get_random_mask_addr(req->random_mac, sreq->mac_addr, in mt7615_mcu_sched_scan_req()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlinux/ |
| H A D | moal_sta_cfg80211.c | 1885 moal_memcpy_ext(priv->phandle, scan_req->random_mac, priv->random_mac, in woal_cfg80211_connect_scan() 1886 ETH_ALEN, sizeof(scan_req->random_mac)); in woal_cfg80211_connect_scan() 2079 moal_memcpy_ext(priv->phandle, scan_req->random_mac, priv->random_mac, in woal_cfg80211_auth_scan() 2080 ETH_ALEN, sizeof(scan_req->random_mac)); in woal_cfg80211_auth_scan() 4667 moal_memcpy_ext(priv->phandle, scan_req->random_mac, buf, in woal_cfg80211_scan() 4668 ETH_ALEN, sizeof(scan_req->random_mac)); in woal_cfg80211_scan() 4671 moal_memcpy_ext(priv->phandle, scan_req->random_mac, in woal_cfg80211_scan() 4672 priv->random_mac, ETH_ALEN, in woal_cfg80211_scan() 4673 sizeof(scan_req->random_mac)); in woal_cfg80211_scan() 4676 MAC2STR(scan_req->random_mac)); in woal_cfg80211_scan() [all …]
|
| H A D | mlan_ieee.h | 1809 t_u8 random_mac[MLAN_MAC_ADDR_LENGTH]; 1938 t_u8 random_mac[MLAN_MAC_ADDR_LENGTH];
|
| H A D | moal_ioctl.c | 6140 moal_memcpy_ext(priv->phandle, priv->scan_cfg.random_mac, in woal_set_bg_scan() 6141 priv->random_mac, ETH_ALEN, in woal_set_bg_scan() 6142 sizeof(priv->scan_cfg.random_mac)); in woal_set_bg_scan() 6206 moal_memcpy_ext(priv->phandle, priv->scan_cfg.random_mac, in woal_config_bgscan_and_rssi() 6207 priv->random_mac, ETH_ALEN, in woal_config_bgscan_and_rssi() 6208 sizeof(priv->scan_cfg.random_mac)); in woal_config_bgscan_and_rssi()
|
| H A D | moal_cfg80211_util.c | 3794 moal_memcpy_ext(priv->phandle, priv->random_mac, priv->current_addr, in woal_cfg80211_subcmd_set_scan_mac_oui() 3796 moal_memcpy_ext(priv->phandle, priv->random_mac, mac_oui, 3, in woal_cfg80211_subcmd_set_scan_mac_oui() 3799 FULL_MAC2STR(priv->random_mac)); in woal_cfg80211_subcmd_set_scan_mac_oui()
|
| H A D | moal_main.h | 1737 t_u8 random_mac[MLAN_MAC_ADDR_LENGTH]; member
|
| H A D | moal_eth_ioctl.c | 3008 moal_memcpy_ext(priv->phandle, scan_cfg->random_mac, priv->random_mac, in woal_priv_setuserscan() 16637 if (memcmp(priv->random_mac, zero_mac, in woal_priv_config_random_mac() 16644 moal_memcpy_ext(priv->phandle, priv->random_mac, in woal_priv_config_random_mac() 16648 moal_memcpy_ext(priv->phandle, priv->random_mac + 3, in woal_priv_config_random_mac() 16653 memset(priv->random_mac, 0, ETH_ALEN); in woal_priv_config_random_mac()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/ |
| H A D | mlan_ieee.h | 1809 t_u8 random_mac[MLAN_MAC_ADDR_LENGTH]; 1938 t_u8 random_mac[MLAN_MAC_ADDR_LENGTH];
|
| H A D | mlan_scan.c | 1438 if (puser_scan_in && memcmp(pmadapter, puser_scan_in->random_mac, in wlan_scan_setup_scan_config() 1449 puser_scan_in->random_mac, MLAN_MAC_ADDR_LENGTH, in wlan_scan_setup_scan_config() 6636 if (memcmp(pmadapter, bg_scan_in->random_mac, zero_mac, in wlan_cmd_bgscan_config() 6647 bg_scan_in->random_mac, MLAN_MAC_ADDR_LENGTH, in wlan_cmd_bgscan_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/ |
| H A D | scan.c | 981 if (!ether_addr_equal(user_scan_in->random_mac, zero_mac)) { in mwifiex_config_scan() 988 user_scan_in->random_mac); in mwifiex_config_scan() 1974 ether_addr_copy(user_scan_cfg->random_mac, in mwifiex_active_scan_req_for_passive_chan()
|
| H A D | fw.h | 1542 u8 random_mac[ETH_ALEN]; member
|
| H A D | cfg80211.c | 2581 ether_addr_copy(user_scan_cfg->random_mac, mac_addr); in mwifiex_cfg80211_scan()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/r8168/ |
| H A D | r8168.h | 1598 u8 random_mac; member
|
| H A D | r8168_n.c | 1020 seq_printf(m, "random_mac\t0x%x\n", tp->random_mac); in proc_get_driver_variable() 1414 tp->random_mac, in proc_get_driver_variable() 24126 tp->random_mac = 1; in rtl8168_get_mac_address() 28517 if (s5_keep_curr_mac == 0 && tp->random_mac == 0)
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | wl_cfg80211.c | 22027 u8 random_mac[ETH_ALEN] = {0, }; in wl_cfg80211_random_mac_enable() local 22038 memcpy(random_mac, bcmcfg_to_prmry_ndev(cfg)->dev_addr, ETH_ALEN); in wl_cfg80211_random_mac_enable() 22045 memcpy(&random_mac[3], rand_bytes, sizeof(rand_bytes)); in wl_cfg80211_random_mac_enable() 22048 random_mac, ETH_ALEN, cfg->ioctl_buf, WLC_IOCTL_SMLEN, 0, &cfg->ioctl_buf_sync); in wl_cfg80211_random_mac_enable() 22055 MAC2STRDBG((const u8 *)&random_mac))); in wl_cfg80211_random_mac_enable()
|