net: ieee802154: Add config to enable PAN coordinator mode
Add config to the radio API to enable/disable PAN coordinator mode. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
parent
832d752794
commit
ca5489d99f
1 changed files with 6 additions and 0 deletions
|
@ -74,6 +74,9 @@ enum ieee802154_config_type {
|
||||||
*/
|
*/
|
||||||
IEEE802154_CONFIG_ACK_FPB,
|
IEEE802154_CONFIG_ACK_FPB,
|
||||||
|
|
||||||
|
/** Indicates whether the device is a PAN coordinator. */
|
||||||
|
IEEE802154_CONFIG_PAN_COORDINATOR,
|
||||||
|
|
||||||
/** Enable/disable promiscuous mode. */
|
/** Enable/disable promiscuous mode. */
|
||||||
IEEE802154_CONFIG_PROMISCUOUS,
|
IEEE802154_CONFIG_PROMISCUOUS,
|
||||||
};
|
};
|
||||||
|
@ -94,6 +97,9 @@ struct ieee802154_config {
|
||||||
bool enabled;
|
bool enabled;
|
||||||
} ack_fpb;
|
} ack_fpb;
|
||||||
|
|
||||||
|
/** ``IEEE802154_CONFIG_PAN_COORDINATOR`` */
|
||||||
|
bool pan_coordinator;
|
||||||
|
|
||||||
/** ``IEEE802154_CONFIG_PROMISCUOUS`` */
|
/** ``IEEE802154_CONFIG_PROMISCUOUS`` */
|
||||||
bool promiscuous;
|
bool promiscuous;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue