Searched refs:pn (Results 1 – 6 of 6) sorted by relevance
44 btbb_piconet *pn = (btbb_piconet *)calloc(1, sizeof(btbb_piconet)); in btbb_piconet_new() local45 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() argument52 pn->refcount++; in btbb_piconet_ref()56 btbb_piconet_unref(btbb_piconet *pn) in btbb_piconet_unref() argument58 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 …]
164 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 …]
127 void try_hop(btbb_packet *pkt, btbb_piconet *pn);129 void get_hop_pattern(btbb_piconet *pn);
115 static const uint64_t pn = 0x83848D96BBCC54FCULL; variable393 codeword = syncword ^ pn; in promiscuous_packet_search()
7 pn = 0x83848D96BBCC54FC variable59 data ^= (pn >> 34)65 syncword = codeword ^ pn
78 syncword = decode_syncword(syncword_input[i] ^ pn); in test_syndromes()