Trivial changes from review of last PR

This commit is contained in:
Gregory Nutt 2017-03-24 10:16:18 -06:00
parent 5c357702aa
commit 3a07455493
3 changed files with 11 additions and 9 deletions

View File

@ -229,7 +229,6 @@ static int stm32_mrf24j40_devsetup(FAR struct stm32_priv_s *priv)
FAR struct ieee802154_mac_s *mac;
#endif
FAR struct spi_dev_s *spi;
int ret;
/* Configure the interrupt pin */

View File

@ -69,7 +69,8 @@ struct ieee802154_packet_s
* Extended address + PAN id : PPPP/LLLLLLLLLLLLLLLL
*/
enum ieee802154_addr_mode_e {
enum ieee802154_addr_mode_e
{
IEEE802154_ADDRMODE_NONE = 0,
IEEE802154_ADDRMODE_SHORT = 2,
IEEE802154_ADDRMODE_EXTENDED

View File

@ -55,16 +55,16 @@
/* Configuration ************************************************************/
/* None at the moment */
/* IEEE 802.15.4 MAC Character Driver IOCTL Commands ************************/
/* The IEEE 802.15.4 standard specifies a MLME Service Access Point (SAP)
* including a series of primitives that are used as an interface between
* the MLME and the next highest layer. There are 4 types of primitives:
* - Request
* - Indication
* - Response
* - Confirm
*
* - Request
* - Indication
* - Response
* - Confirm
*
* Of these, Request and Response primitives are sent from the next highest layer
* to the MLME. Indication and Confirm primitives are used to notify the next
@ -294,9 +294,11 @@ struct ieee802154_pan_desc_s
struct ieee802154_pend_addr_s
{
union {
union
{
uint8_t pa_spec;
struct {
struct
{
uint8_t num_short_addr : 3; /* Number of short addresses pending */
uint8_t reserved_3 : 1; /* Reserved bit */
uint8_t num_ext_addr : 3; /* Number of extended addresses pending */