No description
This patch adds basic HCI command processing into the HCI core. The commands are passed to the registered HCI driver with the help of a FIFO and an associated fiber which wakes up whenever there's data in the FIFO and the controller is ready to accept new commands. The controller readiness (i.e. the num_cmds value returned in cmd_status & cmd_complete events) is tracked with the help of a semaphore. We only track whether the value is > 0 or not and never send more than one command at a time. The reason for this is to keep the tracking of pending command parameters simple in the form of a single variable (dev.sent_cmd) rather than a list of pending buffers. This patch also adds a very basic HCI initialization routine which right now only consists of a single HCI_Reset command. Change-Id: Ic68b298e4ea41334e49c3fe6bd4012a069ef6fdc Co-authored-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> |
||
|---|---|---|
| arch | ||
| config | ||
| drivers | ||
| host | ||
| include | ||
| kernel | ||
| lib/libc/minimal | ||
| make | ||
| misc | ||
| net | ||
| samples | ||
| scripts | ||
| shared/include/nanokernel/x86 | ||
| .gitattributes | ||
| .gitignore | ||
| .mailmap | ||
| vxmicro-env.bash | ||