Searched refs:sending_len (Results 1 – 1 of 1) sorted by relevance
590 static void fw_upload_update_result(uint32_t payload_len, uint16_t *sending_len, in fw_upload_update_result() argument594 *sending_len = CMD_HDR_LEN; in fw_upload_update_result()597 *sending_len = payload_len; in fw_upload_update_result()599 if (*sending_len == CMD_HDR_LEN) { in fw_upload_update_result()610 uint16_t sending_len = CMD_HDR_LEN; in fw_upload_write_hdr_and_payload() local618 if (sending_len == len_to_send) { in fw_upload_write_hdr_and_payload()619 if ((sending_len == CMD_HDR_LEN) && (!fw_upload.is_hdr_data)) { in fw_upload_write_hdr_and_payload()622 LOG_DBG("Send first chunk: len %d", sending_len); in fw_upload_write_hdr_and_payload()623 fw_upload_write_data(buffer, sending_len); in fw_upload_write_hdr_and_payload()624 fw_upload_update_result(payload_len, &sending_len, in fw_upload_write_hdr_and_payload()[all …]