Home
last modified time | relevance | path

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

/libbtbb/lib/src/
H A Dbluetooth_piconet.h30 #define BT_NUM_CHANNELS 79 macro
67 int bank[BT_NUM_CHANNELS];
H A Dbluetooth_piconet.c164 if(channel < BT_NUM_CHANNELS) in btbb_piconet_get_channel_seen()
178 for (i = 0; i < BT_NUM_CHANNELS; i++) { in precalc()
182 chan = (i * 2) % BT_NUM_CHANNELS; in precalc()
189 pn->bank[i] = ((i * 2) % BT_NUM_CHANNELS); in precalc()
344 pn->sequence[index] = pn->bank[(perm_out + pn->e + f) % BT_NUM_CHANNELS]; in gen_hops()
351 pn->sequence[index + 1] = pn->bank[(perm_out + pn->e + f + 32) % BT_NUM_CHANNELS]; in gen_hops()
356 f = base_f % BT_NUM_CHANNELS; in gen_hops()
427 f = base_f % BT_NUM_CHANNELS; in single_hop()
438 next_channel = pn->bank[(perm + pn->e + f + y2) % BT_NUM_CHANNELS]; in single_hop()
485 max_candidates = (SEQUENCE_LENGTH / BT_NUM_CHANNELS) / 32; in btbb_init_hop_reversal()