[AWARE] Send message: error code handling

Send message operates by queueing messages to the firmware
and then reacting to the status of the queue and the actual
over-the-air transmission.

Added:
- Code to handle immediate queueing failure (need to be more
  concerned with transition to HIDL - likelihood of immediate
  errors increased, e.g. due to service failure).
- Code to differentiate QUEUE FULL error code from other firmware
  errors.
- More robust testing framework: including a model of the device
  and randomized responses.

Bug: 29061728
Bug: 29459286
Test: unit tests + integration (sl4a) tests
Change-Id: I218ec9b9107fae0efc7299341ad02e19034d2f09
3 files changed
tree: bfb5fffe333bd920409573d8bd25227ad015b2ab
  1. libwifi_hal/
  2. libwifi_system/
  3. service/
  4. tests/
  5. PREUPLOAD.cfg