wrong placement for ir_proto.data_len++