mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
6LoWPAN/Radio: Rename radio property sp_pktlen to sp_framelen. Add 6LoWPAN utility to get the max frame length (not yet hooked in)
This commit is contained in:
@@ -1005,8 +1005,8 @@ static int lo_properties(FAR struct radio_driver_s *netdev,
|
||||
|
||||
/* General */
|
||||
|
||||
properties->sp_addrlen = LO_ADDRSIZE; /* Length of an address */
|
||||
properties->sp_pktlen = LO_FRAMELEN; /* Fixed frame length */
|
||||
properties->sp_addrlen = LO_ADDRSIZE; /* Length of an address */
|
||||
properties->sp_framelen = LO_FRAMELEN; /* Fixed frame length */
|
||||
|
||||
/* Multicast address (uses broadcast address)
|
||||
*
|
||||
|
||||
@@ -1159,8 +1159,8 @@ static int macnet_properties(FAR struct radio_driver_s *netdev,
|
||||
|
||||
/* General */
|
||||
|
||||
properties->sp_addrlen = MACNET_ADDRSIZE; /* Length of an address */
|
||||
properties->sp_pktlen = MACNET_FRAMELEN; /* Fixed frame length */
|
||||
properties->sp_addrlen = MACNET_ADDRSIZE; /* Length of an address */
|
||||
properties->sp_framelen = MACNET_FRAMELEN; /* Fixed frame length */
|
||||
|
||||
/* Multicast address (uses broadcast address)
|
||||
*
|
||||
|
||||
@@ -961,8 +961,8 @@ static int lo_properties(FAR struct radio_driver_s *netdev,
|
||||
|
||||
/* General */
|
||||
|
||||
properties->sp_addrlen = CONFIG_PKTRADIO_ADDRLEN; /* Length of an address */
|
||||
properties->sp_pktlen = CONFIG_NET_6LOWPAN_FRAMELEN; /* Fixed frame length */
|
||||
properties->sp_addrlen = CONFIG_PKTRADIO_ADDRLEN; /* Length of an address */
|
||||
properties->sp_framelen = CONFIG_NET_6LOWPAN_FRAMELEN; /* Fixed frame length */
|
||||
|
||||
/* Multicast address */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user