Trivial changes from review of last PR
This commit is contained in:
parent
5c357702aa
commit
3a07455493
@ -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 */
|
||||
|
@ -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
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user