WIP: Introduce support for asynchronous USB transmission

Change-Id: Ib8939bdb7f533cd20a34a30a97f12b782b9816c2
This commit is contained in:
Harald Welte committed 2020-03-03 21:09:50 +01:00
1 parent 823f453d83
commit 4e9beae46a
2 files changed
+69 -17

No files matched your search

@@ -12,6 +12,8 @@ struct osmo_st2_transport {
uint8_t out;
uint8_t irq_in;
} usb_ep;
/* use non-blocking / asynchronous libusb I/O */
bool usb_async;
/* UDP */
int udp_fd;
@@ -39,8 +41,6 @@ struct osmo_st2_cardem_inst {
void *priv;
};
int osmo_st2_transp_tx_msg(struct osmo_st2_transport *transp, struct msgb *msg);
int osmo_st2_slot_tx_msg(struct osmo_st2_slot *slot, struct msgb *msg,
uint8_t msg_class, uint8_t msg_type);