Searched refs:fw_packet (Results 1 – 1 of 1) sorted by relevance
471 struct xmodem_packet fw_packet; member4410 iface_ctx.fw_packet.id_complement = 0xFF - iface_ctx.fw_packet.id; in prepare_and_send_fw_packet()4419 read_res = fs_read(&iface_ctx.fw_update_file, iface_ctx.fw_packet.data, in prepare_and_send_fw_packet()4430 iface_ctx.fw_packet.data[i] = XMODEM_PAD_VALUE; in prepare_and_send_fw_packet()4434 iface_ctx.fw_packet.crc = in prepare_and_send_fw_packet()4435 calc_fw_update_crc(iface_ctx.fw_packet.data, XMODEM_DATA_SIZE); in prepare_and_send_fw_packet()4437 send_fw_update_packet(&iface_ctx.fw_packet); in prepare_and_send_fw_packet()4441 iface_ctx.fw_packet.id++; in prepare_and_send_fw_packet()4459 iface_ctx.fw_packet.id = 1; in process_fw_update_rx()4460 iface_ctx.fw_packet.preamble = XM_SOH_1K; in process_fw_update_rx()[all …]