1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

ieee802154: add MR-FSK SFD values for 2FSK

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
This commit is contained in:
Jean Pierre Dudey 2020-05-05 13:05:33 -05:00 committed by Jean Pierre Dudey
parent 9fe6b9ac99
commit 38ade8d2e9

View File

@ -121,6 +121,21 @@ extern "C" {
#define IEEE802154_RADIO_RSSI_OFFSET (-174)
#define IEEE802154_PHY_MR_FSK_PHR_LEN (2) /**< MR-FSK PHY header length */
#define IEEE802154_PHY_MR_FSK_2FSK_SFD_LEN (2) /**< MR-FSK SFD length on Filtered 2-FSK */
/**
* For the MR-FSK PHY, the SFD value when PHR + PSDU are coded/uncoded and with
* phyMRFSKSFD = 0 or 1 respectively
*
* 802.15.4g, Table 131 (p. 51)
*
* @{
*/
#define IEEE802154_PHY_MR_FSK_2FSK_CODED_SFD_0 (0x6F4E)
#define IEEE802154_PHY_MR_FSK_2FSK_CODED_SFD_1 (0x632D)
#define IEEE802154_PHY_MR_FSK_2FSK_UNCODED_SFD_0 (0x90E4)
#define IEEE802154_PHY_MR_FSK_2FSK_UNCODED_SFD_1 (0x7A0E)
/** @} */
/**
* For the SUN PHYs, the value is 1 ms expressed in symbol periods, rounded