Home
last modified time | relevance | path

Searched refs:modulation_type (Results 1 – 3 of 3) sorted by relevance

/btstack/chipset/cc256x/
H A Dbtstack_chipset_cc256x.c234 uint8_t modulation_type = hci_cmd_buffer[3]; in update_set_power_vector() local
235 btstack_assert(modulation_type <= 2); in update_set_power_vector()
238 if (init_power_vectors[modulation_type] != NULL){ in update_set_power_vector()
239 (void)memcpy(&hci_cmd_buffer[4], init_power_vectors[modulation_type], 16); in update_set_power_vector()
244 int power_db = get_max_power_for_modulation_type(modulation_type); in update_set_power_vector()
252 if (i == 1 && modulation_type == 0) { in update_set_power_vector()
253 hci_cmd_buffer[4+1] = 2 * get_max_power_for_modulation_type(modulation_type); in update_set_power_vector()
375 void btstack_chipset_cc256x_set_power_vector(uint8_t modulation_type, const uint8_t * power_vector){ in btstack_chipset_cc256x_set_power_vector() argument
376 btstack_assert(modulation_type <= 2); in btstack_chipset_cc256x_set_power_vector()
377 init_power_vectors[modulation_type] = power_vector; in btstack_chipset_cc256x_set_power_vector()
H A Dconvert_bts_init_scripts.py162 modulation_type = action_data[4]
163 if modulation_type == 0:
165 elif modulation_type == 1:
167 elif modulation_type == 2:
H A Dbtstack_chipset_cc256x.h66 void btstack_chipset_cc256x_set_power_vector(uint8_t modulation_type, const uint8_t * power_vector);