Home
last modified time | relevance | path

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

/libbtbb/lib/src/
H A Dbluetooth_piconet.c44 btbb_piconet *pn = (btbb_piconet *)calloc(1, sizeof(btbb_piconet)); in btbb_piconet_new() local
45 pn->refcount = 1; in btbb_piconet_new()
46 return pn; in btbb_piconet_new()
50 btbb_piconet_ref(btbb_piconet *pn) in btbb_piconet_ref() argument
52 pn->refcount++; in btbb_piconet_ref()
56 btbb_piconet_unref(btbb_piconet *pn) in btbb_piconet_unref() argument
58 pn->refcount--; in btbb_piconet_unref()
59 if (pn->refcount == 0) in btbb_piconet_unref()
60 free(pn); in btbb_piconet_unref()
70 void btbb_init_piconet(btbb_piconet *pn, uint32_t lap) in btbb_init_piconet() argument
[all …]
H A Dbtbb.h164 void btbb_piconet_ref(btbb_piconet *pn);
165 void btbb_piconet_unref(btbb_piconet *pn);
168 void btbb_init_piconet(btbb_piconet *pn, uint32_t lap);
170 void btbb_piconet_set_uap(btbb_piconet *pn, uint8_t uap);
171 uint8_t btbb_piconet_get_uap(const btbb_piconet *pn);
172 uint32_t btbb_piconet_get_lap(const btbb_piconet *pn);
173 uint16_t btbb_piconet_get_nap(const btbb_piconet *pn);
174 uint64_t btbb_piconet_get_bdaddr(const btbb_piconet *pn);
176 int btbb_piconet_get_clk_offset(const btbb_piconet *pn);
177 void btbb_piconet_set_clk_offset(btbb_piconet *pn, int clk_offset);
[all …]
H A Dbluetooth_piconet.h127 void try_hop(btbb_packet *pkt, btbb_piconet *pn);
129 void get_hop_pattern(btbb_piconet *pn);
H A Dbluetooth_packet.c115 static const uint64_t pn = 0x83848D96BBCC54FCULL; variable
393 codeword = syncword ^ pn; in promiscuous_packet_search()
/libbtbb/python/utils/
H A Dencode_sw.py7 pn = 0x83848D96BBCC54FC variable
59 data ^= (pn >> 34)
65 syncword = codeword ^ pn
/libbtbb/tests/
H A Dtest_syndromes.c78 syncword = decode_syncword(syncword_input[i] ^ pn); in test_syndromes()