Home
last modified time | relevance | path

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

/btstack/chipset/realtek/
H A Dbtstack_chipset_realtek.c107 uint16_t patch_length; member
784 uint16_t patch_length = 0; in update_firmware() local
866 patch_length = little_endian_read_16(fw_buf, 14 + 2 * fw_num_patches + 2 * i); in update_firmware()
868 log_info("patch_length %u, offset %u", patch_length, offset); in update_firmware()
872 if (patch_length == 0) { in update_firmware()
878 fw_total_len = patch_length + conf_size; in update_firmware()
913 memcpy(patch_buf, fw_buf + offset, patch_length); in update_firmware()
914 memcpy(patch_buf + patch_length - 4, &fw_version, 4); in update_firmware()
915 memcpy(patch_buf + patch_length, conf_buf, conf_size); in update_firmware()