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;
155 int winnow(
int offset,
char channel);
190 uint8_t d_chan_list[38];
Definition: piconet_impl.h:36
boost::shared_ptr< classic_packet > sptr
Definition: packet.h:169
int init_hop_reversal(bool aliased)
basic_rate_piconet_impl(uint32_t LAP)
low_energy_piconet_impl(uint32_t aa)
void set_NAP(uint16_t nap)
bool UAP_from_header(classic_packet::sptr packet)
~basic_rate_piconet_impl()
void set_UAP(uint8_t uap)
Definition: multi_block.h:33
~low_energy_piconet_impl()
char aliased_channel(char channel)
int init_hop_reversal(bool aliased)
Definition: piconet.h:128
void set_offset(uint32_t offset)
Definition: piconet_impl.h:188
char aliased_channel(char channel)