Home
last modified time | relevance | path

Searched refs:mac_buf (Results 1 – 25 of 27) sorted by relevance

12

/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_custom_cis.c1042 char mac_buf[MAC_BUF_SIZE]; in dhd_set_macaddr_from_file() local
1060 memset(mac_buf, 0, sizeof(mac_buf)); in dhd_set_macaddr_from_file()
1063 ret = dhd_read_file(filepath_efs, mac_buf, sizeof(mac_buf) - 1); in dhd_set_macaddr_from_file()
1066 if (ret || (!ret && strstr(mac_buf, invalid_mac))) { in dhd_set_macaddr_from_file()
1068 dhd_create_random_mac(mac_buf, sizeof(mac_buf)); in dhd_set_macaddr_from_file()
1071 if (dhd_write_file(filepath_efs, mac_buf, strlen(mac_buf)) < 0) { in dhd_set_macaddr_from_file()
1073 " %s\n", __FUNCTION__, mac_buf, filepath_efs)); in dhd_set_macaddr_from_file()
1077 __FUNCTION__, mac_buf, filepath_efs)); in dhd_set_macaddr_from_file()
1082 if (dhd_write_file(filepath_mac, mac_buf, strlen(mac_buf)) < 0) { in dhd_set_macaddr_from_file()
1084 " %s\n", __FUNCTION__, mac_buf[0], mac_buf[1], in dhd_set_macaddr_from_file()
[all …]
H A Dwl_iapsta.c879 char mac_buf[MAX_NUM_OF_ASSOCLIST * in wl_ext_assoclist() local
881 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_ext_assoclist()
884 ret = wl_ext_ioctl(dev, WLC_GET_ASSOCLIST, assoc_maclist, sizeof(mac_buf), 0); in wl_ext_assoclist()
4365 char mac_buf[MAX_NUM_OF_ASSOCLIST * in wl_ext_assoclist_num() local
4367 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_ext_assoclist_num()
4370 ret = wl_ext_ioctl(dev, WLC_GET_ASSOCLIST, assoc_maclist, sizeof(mac_buf), 0); in wl_ext_assoclist_num()
4641 char mac_buf[MAX_NUM_OF_ASSOCLIST * in wl_cur_if_tput_dump() local
4643 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_cur_if_tput_dump()
4646 ret = wl_ext_ioctl(cur_if->dev, WLC_GET_ASSOCLIST, assoc_maclist, sizeof(mac_buf), 0); in wl_cur_if_tput_dump()
H A Dwl_android.c1471 char mac_buf[MAX_NUM_OF_ASSOCLIST * in wl_android_get_assoclist() local
1473 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_android_get_assoclist()
1479 error = wldev_ioctl_get(dev, WLC_GET_ASSOCLIST, assoc_maclist, sizeof(mac_buf)); in wl_android_get_assoclist()
3888 char mac_buf[MAX_NUM_OF_ASSOCLIST * in wl_cfg80211_get_sta_info() local
3890 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_cfg80211_get_sta_info()
4020 ret = wldev_ioctl_get(apdev, WLC_GET_ASSOCLIST, assoc_maclist, sizeof(mac_buf)); in wl_cfg80211_get_sta_info()
4676 char mac_buf[MAX_NUM_OF_ASSOCLIST * in wl_android_set_ap_mac_list() local
4678 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_android_set_ap_mac_list()
4695 sizeof(mac_buf))) != 0) { in wl_android_set_ap_mac_list()
H A Dwl_cfg80211.c9488 char mac_buf[MAX_NUM_OF_ASSOCIATED_DEV * in wl_cfg80211_mgmt_tx() local
9491 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_cfg80211_mgmt_tx()
9496 assoc_maclist, sizeof(mac_buf)); in wl_cfg80211_mgmt_tx()
9842 char mac_buf[MAX_NUM_OF_ASSOCIATED_DEV * in wl_cfg80211_del_station() local
9844 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_cfg80211_del_station()
9881 assoc_maclist, sizeof(mac_buf)); in wl_cfg80211_del_station()
11996 char mac_buf[MAX_NUM_OF_ASSOCIATED_DEV * in wl_cfg80211_del_all_sta() local
11998 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_cfg80211_del_all_sta()
12015 assoc_maclist, sizeof(mac_buf)); in wl_cfg80211_del_all_sta()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_custom_cis.c1042 char mac_buf[MAC_BUF_SIZE]; in dhd_set_macaddr_from_file() local
1060 memset(mac_buf, 0, sizeof(mac_buf)); in dhd_set_macaddr_from_file()
1063 ret = dhd_read_file(filepath_efs, mac_buf, sizeof(mac_buf) - 1); in dhd_set_macaddr_from_file()
1066 if (ret || (!ret && strstr(mac_buf, invalid_mac))) { in dhd_set_macaddr_from_file()
1068 dhd_create_random_mac(mac_buf, sizeof(mac_buf)); in dhd_set_macaddr_from_file()
1071 if (dhd_write_file(filepath_efs, mac_buf, strlen(mac_buf)) < 0) { in dhd_set_macaddr_from_file()
1073 " %s\n", __FUNCTION__, mac_buf, filepath_efs)); in dhd_set_macaddr_from_file()
1077 __FUNCTION__, mac_buf, filepath_efs)); in dhd_set_macaddr_from_file()
1082 if (dhd_write_file(filepath_mac, mac_buf, strlen(mac_buf)) < 0) { in dhd_set_macaddr_from_file()
1084 " %s\n", __FUNCTION__, mac_buf[0], mac_buf[1], in dhd_set_macaddr_from_file()
[all …]
H A Dwl_iapsta.c833 char mac_buf[MAX_NUM_OF_ASSOCLIST * in wl_ext_assoclist() local
835 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_ext_assoclist()
838 ret = wl_ext_ioctl(dev, WLC_GET_ASSOCLIST, assoc_maclist, sizeof(mac_buf), 0); in wl_ext_assoclist()
3877 char mac_buf[MAX_NUM_OF_ASSOCLIST * in wl_ext_assoclist_num() local
3879 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_ext_assoclist_num()
3882 ret = wl_ext_ioctl(dev, WLC_GET_ASSOCLIST, assoc_maclist, sizeof(mac_buf), 0); in wl_ext_assoclist_num()
4000 char mac_buf[MAX_NUM_OF_ASSOCLIST * in wl_cur_if_tput_dump() local
4002 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_cur_if_tput_dump()
4005 ret = wl_ext_ioctl(cur_if->dev, WLC_GET_ASSOCLIST, assoc_maclist, sizeof(mac_buf), 0); in wl_cur_if_tput_dump()
H A Dwl_android.c1455 char mac_buf[MAX_NUM_OF_ASSOCLIST * in wl_android_get_assoclist() local
1457 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_android_get_assoclist()
1463 error = wldev_ioctl_get(dev, WLC_GET_ASSOCLIST, assoc_maclist, sizeof(mac_buf)); in wl_android_get_assoclist()
3880 char mac_buf[MAX_NUM_OF_ASSOCLIST * in wl_cfg80211_get_sta_info() local
3882 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_cfg80211_get_sta_info()
4012 ret = wldev_ioctl_get(apdev, WLC_GET_ASSOCLIST, assoc_maclist, sizeof(mac_buf)); in wl_cfg80211_get_sta_info()
4660 char mac_buf[MAX_NUM_OF_ASSOCLIST * in wl_android_set_ap_mac_list() local
4662 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_android_set_ap_mac_list()
4679 sizeof(mac_buf))) != 0) { in wl_android_set_ap_mac_list()
H A Dwl_cfg80211.c9440 char mac_buf[MAX_NUM_OF_ASSOCIATED_DEV * in wl_cfg80211_mgmt_tx() local
9443 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_cfg80211_mgmt_tx()
9448 assoc_maclist, sizeof(mac_buf)); in wl_cfg80211_mgmt_tx()
9794 char mac_buf[MAX_NUM_OF_ASSOCIATED_DEV * in wl_cfg80211_del_station() local
9796 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_cfg80211_del_station()
9833 assoc_maclist, sizeof(mac_buf)); in wl_cfg80211_del_station()
11921 char mac_buf[MAX_NUM_OF_ASSOCIATED_DEV * in wl_cfg80211_del_all_sta() local
11923 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_cfg80211_del_all_sta()
11940 assoc_maclist, sizeof(mac_buf)); in wl_cfg80211_del_all_sta()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_bandsteer.c350 uint8 mac_buf[MAX_NUM_OF_ASSOCLIST * in dhd_bandsteer_add_to_black_list() local
360 if ((err = wldev_ioctl_get(if_info_2g->ndev, WLC_GET_MACLIST, mac_buf, in dhd_bandsteer_add_to_black_list()
361 sizeof(mac_buf))) != 0) { in dhd_bandsteer_add_to_black_list()
365 maclist = (struct maclist *)mac_buf; in dhd_bandsteer_add_to_black_list()
366 pmaclist_ea = (uint8*) mac_buf + in dhd_bandsteer_add_to_black_list()
H A Dwl_android.c1528 char mac_buf[MAX_NUM_OF_ASSOCLIST * in wl_android_get_assoclist() local
1530 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_android_get_assoclist()
1536 error = wldev_ioctl_get(dev, WLC_GET_ASSOCLIST, assoc_maclist, sizeof(mac_buf)); in wl_android_get_assoclist()
4038 char mac_buf[MAX_NUM_OF_ASSOCLIST * in wl_android_set_ap_mac_list() local
4040 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_android_set_ap_mac_list()
4057 sizeof(mac_buf))) != 0) { in wl_android_set_ap_mac_list()
H A Dwl_cfg80211.c10325 char mac_buf[MAX_NUM_OF_ASSOCIATED_DEV * local
10328 struct maclist *assoc_maclist = (struct maclist *)mac_buf;
10333 assoc_maclist, sizeof(mac_buf));
12416 char mac_buf[MAX_NUM_OF_ASSOCIATED_DEV * local
12418 struct maclist *assoc_maclist = (struct maclist *)mac_buf;
12447 assoc_maclist, sizeof(mac_buf));
15297 char mac_buf[MAX_NUM_OF_ASSOCIATED_DEV * local
15299 struct maclist *assoc_maclist = (struct maclist *)mac_buf;
15316 assoc_maclist, sizeof(mac_buf));
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_bandsteer.c350 uint8 mac_buf[MAX_NUM_OF_ASSOCLIST * in dhd_bandsteer_add_to_black_list() local
360 if ((err = wldev_ioctl_get(if_info_2g->ndev, WLC_GET_MACLIST, mac_buf, in dhd_bandsteer_add_to_black_list()
361 sizeof(mac_buf))) != 0) { in dhd_bandsteer_add_to_black_list()
365 maclist = (struct maclist *)mac_buf; in dhd_bandsteer_add_to_black_list()
366 pmaclist_ea = (uint8*) mac_buf + in dhd_bandsteer_add_to_black_list()
H A Dwl_cfg80211.c10327 char mac_buf[MAX_NUM_OF_ASSOCIATED_DEV * local
10330 struct maclist *assoc_maclist = (struct maclist *)mac_buf;
10335 assoc_maclist, sizeof(mac_buf));
12418 char mac_buf[MAX_NUM_OF_ASSOCIATED_DEV * local
12420 struct maclist *assoc_maclist = (struct maclist *)mac_buf;
12449 assoc_maclist, sizeof(mac_buf));
15299 char mac_buf[MAX_NUM_OF_ASSOCIATED_DEV * local
15301 struct maclist *assoc_maclist = (struct maclist *)mac_buf;
15318 assoc_maclist, sizeof(mac_buf));
H A Dwl_android.c3760 char mac_buf[MAX_NUM_OF_ASSOCLIST * in wl_android_set_ap_mac_list() local
3762 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_android_set_ap_mac_list()
3779 sizeof(mac_buf))) != 0) { in wl_android_set_ap_mac_list()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_bandsteer.c350 uint8 mac_buf[MAX_NUM_OF_ASSOCLIST * in dhd_bandsteer_add_to_black_list() local
360 if ((err = wldev_ioctl_get(if_info_2g->ndev, WLC_GET_MACLIST, mac_buf, in dhd_bandsteer_add_to_black_list()
361 sizeof(mac_buf))) != 0) { in dhd_bandsteer_add_to_black_list()
365 maclist = (struct maclist *)mac_buf; in dhd_bandsteer_add_to_black_list()
366 pmaclist_ea = (uint8*) mac_buf + in dhd_bandsteer_add_to_black_list()
H A Dwl_android.c1469 char mac_buf[MAX_NUM_OF_ASSOCLIST * in wl_android_get_assoclist() local
1471 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_android_get_assoclist()
1477 error = wldev_ioctl_get(dev, WLC_GET_ASSOCLIST, assoc_maclist, sizeof(mac_buf)); in wl_android_get_assoclist()
3952 char mac_buf[MAX_NUM_OF_ASSOCLIST * in wl_android_set_ap_mac_list() local
3954 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_android_set_ap_mac_list()
3971 sizeof(mac_buf))) != 0) { in wl_android_set_ap_mac_list()
H A Dwl_cfg80211.c10224 char mac_buf[MAX_NUM_OF_ASSOCIATED_DEV * local
10227 struct maclist *assoc_maclist = (struct maclist *)mac_buf;
10232 assoc_maclist, sizeof(mac_buf));
12311 char mac_buf[MAX_NUM_OF_ASSOCIATED_DEV * local
12313 struct maclist *assoc_maclist = (struct maclist *)mac_buf;
12342 assoc_maclist, sizeof(mac_buf));
15160 char mac_buf[MAX_NUM_OF_ASSOCIATED_DEV * local
15162 struct maclist *assoc_maclist = (struct maclist *)mac_buf;
15179 assoc_maclist, sizeof(mac_buf));
/OK3568_Linux_fs/kernel/drivers/crypto/ccree/
H A Dcc_aead.h51 u8 mac_buf[MAX_MAC_SIZE] ____cacheline_aligned; member
H A Dcc_buffer_mgr.c714 areq_ctx->icv_virt_addr = areq_ctx->mac_buf; in cc_prepare_aead_data_mlli()
783 areq_ctx->icv_virt_addr = areq_ctx->mac_buf; in cc_prepare_aead_data_mlli()
977 dma_addr = dma_map_single(dev, areq_ctx->mac_buf, MAX_MAC_SIZE, in cc_map_aead_request()
981 MAX_MAC_SIZE, areq_ctx->mac_buf); in cc_map_aead_request()
H A Dcc_aead.c228 if (memcmp(areq_ctx->mac_buf, areq_ctx->icv_virt_addr, in cc_aead_complete()
243 cc_copy_sg_portion(dev, areq_ctx->mac_buf, areq_ctx->dst_sgl, in cc_aead_complete()
1553 memset(req_ctx->mac_buf, 0, AES_BLOCK_SIZE); in config_ccm_adata()
1847 memset(req_ctx->mac_buf, 0, AES_BLOCK_SIZE); in config_gcm_context()
/OK3568_Linux_fs/kernel/net/rfkill/
H A Drfkill-wlan.c458 char mac_buf[20] = { 0 }; in rockchip_wifi_mac_addr() local
468 sprintf(mac_buf, "%02x:%02x:%02x:%02x:%02x:%02x", in rockchip_wifi_mac_addr()
472 LOG("falsh wifi_custom_mac_addr=[%s]\n", mac_buf); in rockchip_wifi_mac_addr()
/OK3568_Linux_fs/kernel/arch/mips/include/asm/octeon/
H A Dcvmx-sriox-defs.h580 uint64_t mac_buf:1; member
626 uint64_t mac_buf:1;
786 uint64_t mac_buf:1; member
832 uint64_t mac_buf:1;
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/
H A Dice_common.c845 void *mac_buf; in ice_init_hw() local
955 mac_buf = devm_kcalloc(ice_hw_to_dev(hw), 2, in ice_init_hw()
960 if (!mac_buf) { in ice_init_hw()
965 status = ice_aq_manage_mac_read(hw, mac_buf, mac_buf_len, NULL); in ice_init_hw()
966 devm_kfree(ice_hw_to_dev(hw), mac_buf); in ice_init_hw()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dwl_android.c806 char mac_buf[MAX_NUM_OF_ASSOCLIST * in wl_android_get_assoclist() local
808 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_android_get_assoclist()
814 error = wldev_ioctl_get(dev, WLC_GET_ASSOCLIST, assoc_maclist, sizeof(mac_buf)); in wl_android_get_assoclist()
1433 char mac_buf[MAX_NUM_OF_ASSOCLIST * in wl_android_set_ap_mac_list() local
1435 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_android_set_ap_mac_list()
1452 sizeof(mac_buf))) != 0) { in wl_android_set_ap_mac_list()
H A Dwl_android_ext.c2576 char mac_buf[MAX_NUM_OF_ASSOCLIST * in wl_ext_assoclist() local
2578 struct maclist *assoc_maclist = (struct maclist *)mac_buf; in wl_ext_assoclist()
2581 ret = wl_ext_ioctl(dev, WLC_GET_ASSOCLIST, assoc_maclist, sizeof(mac_buf), 0); in wl_ext_assoclist()

12