Squashed commit of the following:

wireless/bluetooth:  This completes the basic logic path that gets frames from the Bluetooth stack and into the network layer.
    wireless/bluetooth:  Fleshes out some of the network packet receive logic.
    wireless/bluetooth:  Replace buffer allocated with primitive allocator from ieee 802.15.4.
    wireless/ieee802154:  Fix a few typos.
    wireless/bluetooth:  More renaming in preparation for some real work.
    wireless/bluetooth:  Some trivial renaming; update comments
This commit is contained in:
Gregory Nutt
2018-04-01 12:25:30 -06:00
parent f7bcad502a
commit 29a4a80f8c
23 changed files with 1220 additions and 428 deletions
+2 -2
View File
@@ -29,8 +29,8 @@ config IEEE802154_PRIMITIVE_IRQRESERVE
default 0
depends on EXPERIMENTAL
---help---
If primitves can be allocated from interrupt handlers, then this
specifies the number of pre-allocatd meta-data structures that are
If primitives can be allocated from interrupt handlers, then this
specifies the number of pre-allocated meta-data structures that are
reserved for for use only by interrupt handlers. This may be zero to
reserve no meta-data structures for interrupt handlers. In that case,
the allocation will fail if tasking logic has allocated them all.
+2 -2
View File
@@ -159,7 +159,7 @@ void ieee802154_primitivepool_initialize(void)
int remaining = CONFIG_IEEE802154_PRIMITIVE_PREALLOC;
#if CONFIG_IEEE802154_PRIMITIVE_PREALLOC > CONFIG_IEEE802154_PRIMITIVE_IRQRESERVE
/* Initialize g_primfree, thelist of primitive structures that are available
/* Initialize g_primfree, the list of primitive structures that are available
* for general use.
*/
@@ -324,7 +324,7 @@ FAR struct ieee802154_primitive_s *ieee802154_primitive_allocate(void)
}
/* We have successfully allocated memory from some source.
* Zero and tag the alloated primitive structure.
* Zero and tag the allocated primitive structure.
*/
prim->pool = pool;