drivers: ieee80154_nrf5: Add support for PAN coordinator mode

Implement `IEEE802154_CONFIG_PAN_COORDINATOR` handling.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
Robert Lubos 2020-03-19 14:47:22 +01:00 committed by Jukka Rissanen
commit cce9d19ca8

View file

@ -490,6 +490,10 @@ int nrf5_configure(struct device *dev, enum ieee802154_config_type type,
break;
case IEEE802154_CONFIG_PAN_COORDINATOR:
nrf_802154_pan_coord_set(config->pan_coordinator);
break;
case IEEE802154_CONFIG_PROMISCUOUS:
nrf_802154_promiscuous_set(config->promiscuous);
break;