Home
last modified time | relevance | path

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

/hal_telink-3.6.0-3.5.0-3.4.0/tlsr9/ble/vendor/controller/
Db91_bt_init.c63 static void b91_bt_blc_mac_init(int flash_addr, u8 *mac_public, u8 *mac_random_static) in b91_bt_blc_mac_init() argument
77 memcpy(mac_public, mac_read, 6); /* copy public address from flash */ in b91_bt_blc_mac_init()
80 mac_public[0] = value_rand[0]; in b91_bt_blc_mac_init()
81 mac_public[1] = value_rand[1]; in b91_bt_blc_mac_init()
82 mac_public[2] = value_rand[2]; in b91_bt_blc_mac_init()
83 mac_public[3] = 0x38; /* company id: 0xA4C138 */ in b91_bt_blc_mac_init()
84 mac_public[4] = 0xC1; in b91_bt_blc_mac_init()
85 mac_public[5] = 0xA4; in b91_bt_blc_mac_init()
87 flash_write_page (flash_addr, 6, mac_public); in b91_bt_blc_mac_init()
90 mac_random_static[0] = mac_public[0]; in b91_bt_blc_mac_init()
[all …]