mps_firmware_send
if (mps_firmware_send(fd, mem, st.st_size, bios) < 0) {
int mps_firmware_send(int fd, unsigned char *buf, uint32_t len, bool bios);