Searched refs:fw_packet (Results 1 – 1 of 1) sorted by relevance
477 struct xmodem_packet fw_packet; member4563 iface_ctx.fw_packet.id_complement = 0xFF - iface_ctx.fw_packet.id; in prepare_and_send_fw_packet()4572 read_res = fs_read(&iface_ctx.fw_update_file, iface_ctx.fw_packet.data, in prepare_and_send_fw_packet()4583 iface_ctx.fw_packet.data[i] = XMODEM_PAD_VALUE; in prepare_and_send_fw_packet()4587 iface_ctx.fw_packet.crc = in prepare_and_send_fw_packet()4588 calc_fw_update_crc(iface_ctx.fw_packet.data, XMODEM_DATA_SIZE); in prepare_and_send_fw_packet()4590 send_fw_update_packet(&iface_ctx.fw_packet); in prepare_and_send_fw_packet()4594 iface_ctx.fw_packet.id++; in prepare_and_send_fw_packet()4612 iface_ctx.fw_packet.id = 1; in process_fw_update_rx()4613 iface_ctx.fw_packet.preamble = XM_SOH_1K; in process_fw_update_rx()[all …]