llsec: Configuration option for defining a constant LoWPAN-wide security level
This commit is contained in:
parent
c396a85364
commit
bb74fc320f
3 changed files with 90 additions and 3 deletions
|
@ -96,9 +96,14 @@
|
|||
#define FRAME802154_IEEE802154_2003 (0x00)
|
||||
#define FRAME802154_IEEE802154_2006 (0x01)
|
||||
|
||||
#define FRAME802154_SECURITY_LEVEL_NONE (0)
|
||||
#define FRAME802154_SECURITY_LEVEL_128 (3)
|
||||
|
||||
#define FRAME802154_SECURITY_LEVEL_NONE (0)
|
||||
#define FRAME802154_SECURITY_LEVEL_MIC_32 (1)
|
||||
#define FRAME802154_SECURITY_LEVEL_MIC_64 (2)
|
||||
#define FRAME802154_SECURITY_LEVEL_MIC_128 (3)
|
||||
#define FRAME802154_SECURITY_LEVEL_ENC (4)
|
||||
#define FRAME802154_SECURITY_LEVEL_ENC_MIC_32 (5)
|
||||
#define FRAME802154_SECURITY_LEVEL_ENC_MIC_64 (6)
|
||||
#define FRAME802154_SECURITY_LEVEL_ENC_MIC_128 (7)
|
||||
|
||||
/**
|
||||
* @brief The IEEE 802.15.4 frame has a number of constant/fixed fields that
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue