net: ieee802154: Add config to enable promiscous mode
Add config to the radio API to enable/disable promiscuous mode. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
parent
1b3410e197
commit
5f67e4d9df
1 changed files with 6 additions and 0 deletions
|
@ -73,6 +73,9 @@ enum ieee802154_config_type {
|
|||
* (NULL pointer) should disable it for all enabled addresses.
|
||||
*/
|
||||
IEEE802154_CONFIG_ACK_FPB,
|
||||
|
||||
/** Enable/disable promiscuous mode. */
|
||||
IEEE802154_CONFIG_PROMISCUOUS,
|
||||
};
|
||||
|
||||
/** IEEE802.15.4 driver configuration data. */
|
||||
|
@ -90,6 +93,9 @@ struct ieee802154_config {
|
|||
bool extended;
|
||||
bool enabled;
|
||||
} ack_fpb;
|
||||
|
||||
/** ``IEEE802154_CONFIG_PROMISCUOUS`` */
|
||||
bool promiscuous;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue