26#ifndef INCLUDED_BLUETOOTH_GR_BLUETOOTH_PICONET_IMPL_H
27#define INCLUDED_BLUETOOTH_GR_BLUETOOTH_PICONET_IMPL_H
39 static const int CHANNELS = 79;
42 static const int ALIASED_CHANNELS = 25;
45 static const int MAX_PATTERN_LENGTH = 1000;
54 bool d_looks_like_afh;
66 uint32_t *d_clock_candidates;
79 char d_perm_table[0x20][0x20][0x200];
88 bool d_got_first_packet;
91 int d_packets_observed;
94 int d_total_packets_observed;
100 int d_clock6_candidates[64];
103 int d_pattern_indices[MAX_PATTERN_LENGTH];
104 uint8_t d_pattern_channels[MAX_PATTERN_LENGTH];
106 bool d_hop_reversal_inited;
112 void address_precalc(
int address);
115 int fast_perm(
int z,
int p_high,
int p_low);
119 int perm5(
int z,
int p_high,
int p_low);
126 char single_hop(
int clock);
129 int init_candidates(
char channel,
int known_clock_bits);
138 uint32_t d_clk_offset;
141 uint32_t d_first_pkt_time;
190 uint8_t d_chan_list[38];
bool UAP_from_header(classic_packet::sptr packet)
void set_NAP(uint16_t nap)
void set_UAP(uint8_t uap)
void set_offset(uint32_t offset)
char aliased_channel(char channel)
int winnow(int offset, char channel)
~basic_rate_piconet_impl()
basic_rate_piconet_impl(uint32_t LAP)
int init_hop_reversal(bool aliased)
std::shared_ptr< classic_packet > sptr
Definition packet.h:169
char aliased_channel(char channel)
~low_energy_piconet_impl()
low_energy_piconet_impl(uint32_t aa)
int init_hop_reversal(bool aliased)
Definition multi_block.h:34
Definition multi_block.h:33