Home
last modified time | relevance | path

Searched refs:u8 (Results 1 – 25 of 36) sorted by relevance

12

/hal_telink-3.7.0/tlsr9/ble/stack/ble/hci/
Dhci_event.h29 u8 type;
30 u8 eventCode;
31 u8 paraLen;
32 u8 parameters[1];
37 u8 numHciCmds;
38 u8 opCode_OCF;
39 u8 opCode_OGF;
40 u8 returnParas[1];
45 u8 status;
46 u8 numHciCmds;
[all …]
Dhci_cmd.h32 u8 reason;
41 u8 status;
42 u8 bd_addr[6];
52 u8 status;
54 u8 num_le_data_pkt; // Total_Num_LE_ACL_Data_Packets
65 u8 advType; // Advertising
66 u8 ownAddrType;
67 u8 peerAddrType;
68 u8 peerAddr[6];//BLE_ADDR_LEN];
69 u8 advChannelMap;
[all …]
Dhci.h60 u8 num;
61 u8 mask;
62 u8 wptr;
63 u8 rptr;
64 u8* p;
116 typedef int (*hci_event_handler_t) (u32 h, u8 *para, int n);
119 typedef int (*hci_data_handler_t) (u16 conn, u8 * p);
143 ble_sts_t blc_ll_initHciTxFifo(u8 *pTxbuf, int fifo_size, int fifo_number);
153 ble_sts_t blc_ll_initHciRxFifo(u8 *pRxbuf, int fifo_size, int fifo_number);
163 ble_sts_t blc_ll_initHciAclDataFifo(u8 *pAclbuf, int fifo_size, int fifo_number);
[all …]
/hal_telink-3.7.0/tlsr9/ble/stack/ble/
Dble_format.h26 u8 llid :2;
27 u8 nesn :1;
28 u8 sn :1;
29 u8 md :1;
30 u8 rfu1 :3;
31 u8 rf_len;
37 u8 llid :2;
38 u8 nesn :1;
39 u8 sn :1;
40 u8 cie :1;
[all …]
/hal_telink-3.7.0/tlsr9/ble/algorithm/aes_ccm/
Daes_ccm.h35 u8 dir;
36 u8 iv[8];
43 u8 sk[16]; //session key
45 u8 st;
46 u8 enable; //1: slave enable; 2: master enable
47 u8 mic_fail;
54 u8 L : 3;
55 u8 M : 3;
56 u8 aData :1;
57 u8 reserved :1;
[all …]
/hal_telink-3.7.0/tlsr9/ble/stack/ble/controller/whitelist/
Dresolvlist.h50 ble_sts_t ll_resolvingList_add(u8 peerIdAddrType, u8 *peerIdAddr, u8 *peer_irk, u8 *local_irk);
59 ble_sts_t ll_resolvingList_delete(u8 peerIdAddrType, u8 *peerIdAddr);
67 ble_sts_t ll_resolvingList_setAddrResolutionEnable (u8 resolutionEn);
75 ble_sts_t ll_resolvingList_getSize(u8 *Size);
86 ble_sts_t ll_resolvingList_getPeerResolvableAddr (u8 peerIdAddrType, u8* peerIdAddr, u8* peerRes…
97 ble_sts_t ll_resolvingList_getLocalResolvableAddr(u8 peerIdAddrType, u8* peerIdAddr, u8* LocalRe…
105 ble_sts_t ll_resolvingList_setAddrResolutionEnable (u8 resolutionEn);
125 ble_sts_t ll_resolvingList_setPrivcyMode(u8 peerIdAddrType, u8* peerIdAddr, u8 privMode);
Dwhitelist.h37 ble_sts_t ll_whiteList_add(u8 type, u8 *addr);
46 ble_sts_t ll_whiteList_delete(u8 type, u8 *addr);
54 ble_sts_t ll_whiteList_readSize(u8 *returnPublicAddrListSize) ;
/hal_telink-3.7.0/tlsr9/ble/stack/ble/controller/ll/adv/
Dext_adv.h83 ble_sts_t blc_ll_initExtendedAdvSetBuffer(u8 *pBuff_advSets, int num_advSets);
91 void blc_ll_initExtAdvDataBuffer(u8 *pExtAdvData, int max_len_advData);
101 ble_sts_t blc_ll_initExtAdvDataBuffer_by_advHandle( u8 adv_handle, u8 *pExtAdvData, int max_len_ad…
109 void blc_ll_initExtScanRspDataBuffer(u8 *pScanRspData, int max_len_scanRspData);
119 ble_sts_t blc_ll_initExtScanRspDataBuffer_by_advHandle(u8 adv_handle, u8 *pScanRspData, int max_le…
141 ble_sts_t blc_ll_setExtAdvParam( u8 adv_handle, advEvtProp_type_t adv_evt_prop, u32 pri_adv…
142 … adv_chn_map_t pri_advChnMap, own_addr_type_t ownAddrType, u8 peerAddrType, u8 *peerAddr,
143 …adv_fp_type_t advFilterPolicy, tx_power_t adv_tx_pow, le_phy_type_t pri_adv_phy, u8 sec_adv_ma…
144 le_phy_type_t sec_adv_phy, u8 adv_sid, u8 scan_req_noti_en);
156 ble_sts_t blc_ll_setExtAdvData (u8 adv_handle, int advData_len, u8 *advData);
[all …]
Dleg_adv.h47 ble_sts_t blc_ll_setAdvData(u8 *data, u8 len);
56 ble_sts_t blc_ll_setScanRspData(u8 *data, u8 len);
73u8 peerAddrType, u8 *peerAddr, adv_chn_map_t adv_channelMap, adv_fp_type_t advFilterP…
88 void blc_ll_continue_adv_after_scan_req(u8 enable);
98 void blc_ll_setAdvCustomedChannel (u8 chn0, u8 chn1, u8 chn2);
108 void blc_ll_ConfigLegacyAdvEnable_by_API_only (u8 advStrategy);
/hal_telink-3.7.0/tlsr9/ble/stack/ble/controller/ll/iso/
Dbis_sync.h38 ble_sts_t blc_ll_initBigSyncParameters(u8 *pBigSyncPara, u8 bigSyncNum);
54 ble_sts_t blc_hci_le_bigTerminateSync(u8 bigHandle, u8* pRetParam);
77 ble_sts_t blc_ll_bigCreateSync(u8 big_handle, u16 sync_handle, u8 enc, u8 broadcast_code[16],
78 u8 mse, u16 big_sync_timeout, u8 num_bis, u8 *bis);
85 ble_sts_t blc_ll_bigTerminateSync(u8 bigHandle);
Diso.h32 ble_sts_t blc_ll_initCisTxFifo(u8 *pTxbuf, int fifo_size, int fifo_number);
43 ble_sts_t blc_ll_initCisRxFifo(u8 *pRxbuf, int fifo_size, int fifo_number);
54 ble_sts_t blc_ll_initCisRxEvtFifo(u8 *pRxbuf, int fifo_size, int fifo_number);
65 ble_sts_t blc_ll_initBisTxFifo(u8 *pTxbuf, int fifo_size, int fifo_number);
77 ble_sts_t blc_ll_initBisRxFifo(u8 *pRxbuf, int full_size, int fifo_number, u8 bis_sync_num);
85 ble_sts_t blc_setHostFeatureISOChannel_en(u8 en);
Dbis.h27 u32 blc_ll_getAvailBisNum(u8 role);
28 u32 blt_ll_bis_getAccessCode(u32 seedAccessCode, u8 bisSeq);
31 ble_sts_t blc_ll_InitBisConnectionlessParameters(u8 *pBisPara, u8 bis_bcst_num, u8 bis_sync_num);
Diso_test.h39 u8 occupy;
40 u8 isoTestMode; // 0: test mode disable, 1: transmit 2: receive
41 u8 isoTest_payload_type;
42 u8 rsvd1;
Dcis_slave.h45 ble_sts_t blc_ll_initCisSlaveParameters( u8 *pCisSlavePara, int cis_slv_num);
63 ble_sts_t blc_hci_le_rejectCisReq(u16 cisHandle, u8 reason, u8* pRetParam);
/hal_telink-3.7.0/tlsr9/ble/stack/ble/controller/ll/prdadv/
Dpda_sync.h44 …ngCreateSync ( option_msk_t options, u8 adv_sid, u8 adv_adrType, u8 *adv_addr, u16 skip, sync_tm_t…
71 ble_sts_t blc_ll_addDeivceToPeriodicAdvertiserList (u8 adv_adrType, u8 *adv_addr, u8 adv_sid);
81 ble_sts_t blc_ll_removeDeivceFromPeriodicAdvertiserList (u8 adv_adrType, u8 *adv_addr, u8 adv_sid);
96 ble_sts_t blc_ll_readPeriodicAdvertiserListSize (u8 *perdAdvListSize);
Dprd_adv.h54 ble_sts_t blc_ll_initPeriodicAdvParamBuffer(u8 *pBuff, int num_periodic_adv);
72 void blc_ll_initPeriodicAdvDataBuffer(u8 *perdAdvData, int max_len_perdAdvData);
84 ble_sts_t blc_ll_initPeriodicAdvDataBuffer_by_advHandle(u8 adv_handle, u8 *perdAdvData, int max_le…
93 ble_sts_t blc_ll_setPeriodicAdvData(adv_handle_t adv_handle, u16 advData_len, u8 *advdata);
/hal_telink-3.7.0/tlsr9/ble/stack/ble/controller/ll/
Dll.h26 typedef void (*blt_event_callback_t)(u8 e, u8 *p, int n);
60 void blc_ll_registerTelinkControllerEventCallback (u8 e, blt_event_callback_t p);
92 void blc_ll_initStandby_module (u8 *public_adr);
101 ble_sts_t blc_ll_readBDAddr(u8 *addr);
110 ble_sts_t blc_ll_setRandomAddr(u8 *randomAddr);
118 bool blc_ll_isValidPublicAddr(u8* addr);
126 bool blc_ll_isValidRandomAddr(u8* addr);
135 bool blc_ll_isValidOwnAddrByAddrType(u8 ownAddrType, u8* randomAddr);
146 ble_sts_t blc_hci_le_setHostFeature(u8 bit_number, ll_feature_value_t bit_value);
167 ble_sts_t blc_ll_setHostChannel(u8 * chnMap);
[all …]
/hal_telink-3.7.0/tlsr9/ble/stack/ble/controller/ll/aoa_aod/
Daoa_aod.h50 u8 AOA_type;
51 u8 AOD_type_1us;
52 u8 AOD_type_2us;
53 u8 rsvd;
87 u8 cte_switch_pattern_len;
88 u8 cte_swtich_pattern[SWITCH_PATTERN_MAX_LEN];
91 u8 cte_len;
92 u8 cte_type; //for transmit. AOA/AOD_1US/AOD_2US
93 u8 cte_count;
94 u8 cte_transmit_en;
[all …]
/hal_telink-3.7.0/tlsr9/ble/common/
Dutility.c36 void swapX(const u8 *src, u8 *dst, int len) in swapX()
43 void swap24(u8 dst[3], const u8 src[3]) in swap24()
48 void swap32(u8 dst[4], const u8 src[4]) in swap32()
53 void swap48(u8 dst[7], const u8 src[7]) in swap48()
58 void swap56(u8 dst[7], const u8 src[7]) in swap56()
63 void swap64(u8 dst[8], const u8 src[8]) in swap64()
68 void swap128(u8 dst[16], const u8 src[16]) in swap128()
75 void flip_addr(u8 *dest, u8 *src){ in flip_addr()
86 void my_fifo_init (my_fifo_t *f, int s, u8 n, u8 *p) in my_fifo_init()
95 u8* my_fifo_wptr (my_fifo_t *f) in my_fifo_wptr()
[all …]
Dutility.h119 void swapX(const u8 *src, u8 *dst, int len);
121 void swap24(u8 dst[3], const u8 src[3]);
122 void swap32(u8 dst[4], const u8 src[4]);
123 void swap48(u8 dst[6], const u8 src[6]);
124 void swap56(u8 dst[7], const u8 src[7]);
126 void swap64(u8 dst[8], const u8 src[8]);
128 void swap128(u8 dst[16], const u8 src[16]);
130 void flip_addr(u8 *dest, u8 *src);
164 u8 wptr;
165 u8 rptr;
[all …]
/hal_telink-3.7.0/tlsr9/ble/vendor/controller/
Db91_bt_buffer.c22 u8 app_acl_rxfifo[ACL_RX_FIFO_SIZE * ACL_RX_FIFO_NUM] = {0};
24 u8 app_acl_mstTxfifo[ACL_MASTER_TX_FIFO_SIZE * ACL_MASTER_TX_FIFO_NUM *
28 u8 app_acl_slvTxfifo[ACL_SLAVE_TX_FIFO_SIZE * ACL_SLAVE_TX_FIFO_NUM *
32 u8 app_hci_rxfifo[HCI_RX_FIFO_SIZE * HCI_RX_FIFO_NUM] = {0};
33 u8 app_hci_txfifo[HCI_TX_FIFO_SIZE * HCI_TX_FIFO_NUM] = {0};
34 u8 app_hci_rxAclfifo[HCI_RX_ACL_FIFO_SIZE * HCI_RX_ACL_FIFO_NUM] = {0};
Db91_bt_init.c41 _attribute_ble_data_retention_ u8 app_advSet_buffer[ADV_SET_PARAM_LENGTH * APP_ADV_SETS_NUMBER];
42 _attribute_ble_data_retention_ u8 app_advData_buffer[APP_MAX_LENGTH_ADV_DATA * APP_ADV_SETS_NUMBER];
43 _attribute_ble_data_retention_ u8
56 _attribute_ble_data_retention_ u8
58 _attribute_ble_data_retention_ u8
70 _attribute_no_inline_ static void b91_bt_blc_mac_init(int flash_addr, u8 *mac_public, in b91_bt_blc_mac_init()
71 u8 *mac_random_static) in b91_bt_blc_mac_init()
77 u8 mac_read[8]; in b91_bt_blc_mac_init()
80 u8 value_rand[5]; in b91_bt_blc_mac_init()
83 u8 ff_six_byte[6] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; in b91_bt_blc_mac_init()
[all …]
/hal_telink-3.7.0/tlsr9/ble/stack/ble/controller/ll/acl_conn/
Dacl_conn.h69 u8 blc_ll_getTxFifoNumber (u16 connHandle);
79 ble_sts_t blc_ll_disconnect (u16 connHandle, u8 reason);
118 ble_sts_t blc_ll_initAclConnRxFifo(u8 *pRxbuf, int fifo_size, int fifo_number);
131 ble_sts_t blc_ll_initAclConnMasterTxFifo(u8 *pTxbuf, int fifo_size, int fifo_number, int conn_numb…
143 ble_sts_t blc_ll_initAclConnSlaveTxFifo(u8 *pTxbuf, int fifo_size, int fifo_number, int conn_numbe…
163 ble_sts_t blc_ll_setAclConnMaxOctetsNumber(u8 maxRxOct, u8 maxTxOct_master, u8 maxTxOct_slave);
231 ble_sts_t blc_hci_le_readBufferSize_cmd(u8 *pData);
232 ble_sts_t blc_hci_le_getLocalSupportedFeatures(u8 *features);
233 ble_sts_t blc_hci_readSuggestedDefaultTxDataLength (u8 *tx, u8 *txtime);
/hal_telink-3.7.0/tlsr9/ble/stack/ble/controller/ial/
Dial.h70 u8 data[1];
121 void blc_ial_initCisSduBuff(u8 *rx_fifo,u16 rx_fifo_size, u8 rx_fifo_num, u8 *tx_fifo,u16 tx_fifo…
132 void blc_ial_initBisSduBuff(u8 *rx_fifo,u16 rx_fifo_size, u8 rx_fifo_num, u8 *tx_fifo,u16 tx_fifo_…
140 ble_sts_t blc_hci_packIsoData(u16 cis_connHandle, u8 *pIsoData);
/hal_telink-3.7.0/tlsr9/ble/algorithm/ecc/
Decc_ll.h23 extern const u8 blt_ecc_dbg_priv_key192[24];
24 extern const u8 blt_ecc_dbg_pub_key192[48];
26 extern const u8 blt_ecc_dbg_priv_key256[32];
27 extern const u8 blt_ecc_dbg_pub_key256[64];

12