Searched refs:afh_map (Results 1 – 3 of 3) sorted by relevance
126 void btbb_piconet_set_afh_map(btbb_piconet *pn, uint8_t *afh_map) { in btbb_piconet_set_afh_map() argument131 pn->afh_map[i] = afh_map[i]; in btbb_piconet_set_afh_map()132 pn->used_channels += count_bits(pn->afh_map[i]); in btbb_piconet_set_afh_map()139 return pn->afh_map; in btbb_piconet_get_afh_map()144 if(!(pn->afh_map[channel/8] & 0x1 << (channel % 8))) { in btbb_piconet_set_channel_seen()145 pn->afh_map[channel/8] |= 0x1 << (channel % 8); in btbb_piconet_set_channel_seen()154 if((pn->afh_map[channel/8] & 0x1 << (channel % 8))) { in btbb_piconet_clear_channel_seen()155 pn->afh_map[channel/8] &= ~(0x1 << (channel % 8)); in btbb_piconet_clear_channel_seen()165 return ( pn->afh_map[channel/8] & (1 << (channel % 8)) ) != 0; in btbb_piconet_get_channel_seen()793 uint8_t *afh_map; in btbb_print_afh_map() local[all …]
42 uint8_t afh_map[10]; member
185 void btbb_piconet_set_afh_map(btbb_piconet *pn, uint8_t *afh_map);