Searched refs:mac_addr (Results 1 – 3 of 3) sorted by relevance
110 void wfc_util_random_mac(unsigned char* mac_addr) in wfc_util_random_mac() argument114 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()
409 unsigned char mac_addr[WFC_UTIL_CFG_LENGHT_MAC]; in wfc_util_qcom_reset_mac_to_bin() local420 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()
49 void wfc_util_random_mac(unsigned char* mac_addr);