Home
last modified time | relevance | path

Searched refs:mac_addr (Results 1 – 3 of 3) sorted by relevance

/device/asus/flo/conn_init/
Dwfc_util_common.c110 void wfc_util_random_mac(unsigned char* mac_addr) in wfc_util_random_mac() argument
114 if(NULL == mac_addr) { in wfc_util_random_mac()
124 mac_addr[0] = (unsigned char)0x00; in wfc_util_random_mac()
125 mac_addr[1] = (unsigned char)0x11; in wfc_util_random_mac()
126 mac_addr[2] = (unsigned char)0x22; in wfc_util_random_mac()
128 wfc_util_atoh(WFC_UTIL_RANDOM_MAC_HEADER, 6, mac_addr, 3); in wfc_util_random_mac()
130 mac_addr[3] = (unsigned char)rand_mac; in wfc_util_random_mac()
131 mac_addr[4] = (unsigned char)(rand_mac >> 8); in wfc_util_random_mac()
132 mac_addr[5] = (unsigned char)(rand_mac >> 16); in wfc_util_random_mac()
Dwfc_util_qcom.c409 unsigned char mac_addr[WFC_UTIL_CFG_LENGHT_MAC]; in wfc_util_qcom_reset_mac_to_bin() local
420 mac_addr, in wfc_util_qcom_reset_mac_to_bin()
422 if(0x00 == mac_addr[0] && 0x00 == mac_addr[1] && 0x00 == mac_addr[2] && in wfc_util_qcom_reset_mac_to_bin()
423 0x00 == mac_addr[3] && 0x00 == mac_addr[4] && 0x00 == mac_addr[5]) in wfc_util_qcom_reset_mac_to_bin()
429 memset(mac_addr, 0, WFC_UTIL_CFG_LENGHT_MAC); in wfc_util_qcom_reset_mac_to_bin()
433 mac_addr, in wfc_util_qcom_reset_mac_to_bin()
Dwfc_util_common.h49 void wfc_util_random_mac(unsigned char* mac_addr);