Let's move low-level handling of endpoint queue refill from the
individual apps into common/shared code.
Now the main simply has to call usb_process() for every interface,
and inbound messages will be dispatched to call-back functions from
there.
Change-Id: Ic6f9c6c1ffdbb0c9c3b284371ecc83b17e3be746
the curent local copies of libosmocore headers + source is a temporary
hack anyway. We should instead rely on a system-wide install of
libosmocore cross-compiled for arm-none-eabi. But leave that as a
second (later) step beyond this patch.
Change-Id: Ia63fd842d45a2b404233b4326050e7eda0604cf0
We now generalize the USB communiction and abandon the 'req_ctx'
structure inherited from openpcd. Instead we use the libosmocore 'msgb'
structure to handle incoming and outgoing USB tranfers. We also use
linuxlist-based msgb-queues for each endpoint.