43#include <zephyr/net/net_if.h>
44#include <zephyr/net/net_l2.h>
45#include <zephyr/net/net_ip.h>
46#include <zephyr/net/net_pkt.h>
128#define DECT_MAX_CHANNELS_IN_RSSI_SCAN 20
129#define DECT_MAX_CHANNELS_IN_NETWORK_SCAN_REQ 20
130#define DECT_MAX_ADDITIONAL_NW_BEACON_CHANNELS 3
245#define DECT_CLUSTER_CHANNEL_ANY 0
494#define DECT_L2_MAX_NEIGHBOR_LIST_ITEM_COUNT 50
498BUILD_ASSERT(CONFIG_NET_MGMT_EVENT_INFO_DEFAULT_DATA_SIZE >=
501 "CONFIG_NET_MGMT_EVENT_INFO_DEFAULT_DATA_SIZE too small");
729#define DECT_DEVICE_TYPE_FT 0x01U
730#define DECT_DEVICE_TYPE_PT 0x02U
770#define DECT_NW_BEACON_CHANNEL_NOT_USED UINT16_MAX
820#define DECT_SETT_NETWORK_JOIN_TARGET_FT_ANY 0
868#define DECT_INTEGRITY_KEY_LENGTH 16
869#define DECT_CIPHER_KEY_LENGTH 16
1113 int (*
send)(
const struct device *dev,
struct net_pkt *pkt);
1171#define DECT_L2_CTX_TYPE struct dect_net_l2_context
1220 bool neighbor_initiated);
dect_nw_beacon_period
Network beacon period.
Definition dect_net_l2.h:99
@ DECT_NW_BEACON_PERIOD_4000MS
Definition dect_net_l2.h:106
@ DECT_NW_BEACON_PERIOD_1500MS
Definition dect_net_l2.h:104
@ DECT_NW_BEACON_PERIOD_100MS
Definition dect_net_l2.h:101
@ DECT_NW_BEACON_PERIOD_500MS
Definition dect_net_l2.h:102
@ DECT_NW_BEACON_PERIOD_50MS
Definition dect_net_l2.h:100
@ DECT_NW_BEACON_PERIOD_1000MS
Definition dect_net_l2.h:103
@ DECT_NW_BEACON_PERIOD_2000MS
Definition dect_net_l2.h:105
void dect_net_l2_child_association_created(struct net_if *iface, uint32_t target_long_rd_id)
Inform L2 that association with a child has been created. FT device.
dect_status_values
DECT-2020 NR Part 4: MAC specification.
Definition dect_net_l2.h:58
@ DECT_STATUS_NOT_ALLOWED
Definition dect_net_l2.h:66
@ DECT_STATUS_FAIL
Definition dect_net_l2.h:62
@ DECT_STATUS_TX_TIMEOUT
Definition dect_net_l2.h:87
@ DECT_STATUS_INVALID_PARAM
Definition dect_net_l2.h:64
@ DECT_STATUS_TEMP_FAILURE
Definition dect_net_l2.h:72
@ DECT_STATUS_NO_RSSI_RESULTS
Definition dect_net_l2.h:85
@ DECT_STATUS_OK
Definition dect_net_l2.h:60
@ DECT_STATUS_NO_RESOURCES
Definition dect_net_l2.h:77
@ DECT_STATUS_RD_NOT_FOUND
Definition dect_net_l2.h:70
@ DECT_STATUS_NO_MEMORY
Definition dect_net_l2.h:83
@ DECT_STATUS_UNKNOWN
Definition dect_net_l2.h:93
@ DECT_STATUS_NO_CONFIG
Definition dect_net_l2.h:68
@ DECT_STATUS_NW_REJECT
Definition dect_net_l2.h:81
@ DECT_STATUS_NO_RESPONSE
Definition dect_net_l2.h:79
@ DECT_STATUS_OS_ERROR
Definition dect_net_l2.h:90
dect_rssi_scan_result_verdict
RSSI scan result verdict.
Definition dect_net_l2.h:325
@ DECT_RSSI_SCAN_VERDICT_BUSY
Definition dect_net_l2.h:329
@ DECT_RSSI_SCAN_VERDICT_POSSIBLE
Definition dect_net_l2.h:328
@ DECT_RSSI_SCAN_VERDICT_UNKNOWN
Definition dect_net_l2.h:326
@ DECT_RSSI_SCAN_VERDICT_FREE
Definition dect_net_l2.h:327
#define DECT_MAX_CHANNELS_IN_NETWORK_SCAN_REQ
Definition dect_net_l2.h:129
#define DECT_INTEGRITY_KEY_LENGTH
Definition dect_net_l2.h:868
dect_settings_region
Region setting.
Definition dect_net_l2.h:843
@ DECT_SETTINGS_REGION_GLOBAL
Definition dect_net_l2.h:846
@ DECT_SETTINGS_REGION_US
Definition dect_net_l2.h:845
@ DECT_SETTINGS_REGION_EU
Definition dect_net_l2.h:844
#define DECT_MAX_ADDITIONAL_NW_BEACON_CHANNELS
Definition dect_net_l2.h:130
void dect_net_l2_parent_association_created(struct net_if *iface, uint32_t parent_long_rd_id, struct dect_net_ipv6_prefix_config *ipv6_prefix_config)
Inform L2 that association with a parent has been created. PT device.
#define DECT_L2
Definition dect_net_l2.h:1167
dect_association_change_type
Association change type.
Definition dect_net_l2.h:402
@ DECT_ASSOCIATION_CREATED
Definition dect_net_l2.h:404
@ DECT_ASSOCIATION_REQ_REJECTED
Definition dect_net_l2.h:408
@ DECT_ASSOCIATION_REQ_FAILED_MDM
Definition dect_net_l2.h:410
@ DECT_ASSOCIATION_RELEASED
Definition dect_net_l2.h:406
void dect_net_l2_init(struct net_if *iface, struct dect_settings *driver_initial_settings)
Calls from driver to L2.
dect_security_mode
Security mode.
Definition dect_net_l2.h:872
@ DECT_SECURITY_MODE_NONE
Definition dect_net_l2.h:874
@ DECT_SECURITY_MODE_1
Definition dect_net_l2.h:876
dect_association_release_cause
Association release causes.
Definition dect_net_l2.h:357
@ DECT_RELEASE_CAUSE_OTHER_REASON
Definition dect_net_l2.h:377
@ DECT_RELEASE_CAUSE_CONNECTION_TERMINATION
Definition dect_net_l2.h:359
@ DECT_RELEASE_CAUSE_LONG_INACTIVITY
Definition dect_net_l2.h:363
@ DECT_RELEASE_CAUSE_OTHER_ERROR
Definition dect_net_l2.h:375
@ DECT_RELEASE_CAUSE_CUSTOM_RACH_RESOURCE_FAILURE
Definition dect_net_l2.h:381
@ DECT_RELEASE_CAUSE_SECURITY_ERROR
Definition dect_net_l2.h:373
@ DECT_RELEASE_CAUSE_INSUFFICIENT_RADIO_RESOURCES
Definition dect_net_l2.h:369
@ DECT_RELEASE_CAUSE_BAD_RADIO_QUALITY
Definition dect_net_l2.h:371
@ DECT_RELEASE_CAUSE_INSUFFICIENT_HW_RESOURCES
Definition dect_net_l2.h:367
@ DECT_RELEASE_CAUSE_INCOMPATIBLE_CONFIGURATION
Definition dect_net_l2.h:365
@ DECT_RELEASE_CAUSE_MOBILITY
Definition dect_net_l2.h:361
void dect_net_l2_association_removed(struct net_if *iface, uint32_t long_rd_id, enum dect_association_release_cause cause, bool neighbor_initiated)
Inform L2 that association has been released.
#define DECT_CIPHER_KEY_LENGTH
Definition dect_net_l2.h:869
void dect_net_l2_parent_ipv6_config_changed(struct net_if *iface, uint32_t parent_long_rd_id, struct dect_net_ipv6_prefix_config *ipv6_prefix_config)
PT device: Inform L2 that IPv6 address configuration of a parent has changed.
dect_settings_cmd_params_write_scope
Settings command parameters write scope bitmap.
Definition dect_net_l2.h:737
@ DECT_SETTINGS_WRITE_SCOPE_NETWORK_JOIN
Definition dect_net_l2.h:750
@ DECT_SETTINGS_WRITE_SCOPE_CLUSTER
Definition dect_net_l2.h:747
@ DECT_SETTINGS_WRITE_SCOPE_NW_BEACON
Definition dect_net_l2.h:748
@ DECT_SETTINGS_WRITE_SCOPE_ASSOCIATION
Definition dect_net_l2.h:749
@ DECT_SETTINGS_WRITE_SCOPE_BAND_NBR
Definition dect_net_l2.h:745
@ DECT_SETTINGS_WRITE_SCOPE_SECURITY_CONFIGURATION
Definition dect_net_l2.h:751
@ DECT_SETTINGS_WRITE_SCOPE_IDENTITIES
Definition dect_net_l2.h:742
@ DECT_SETTINGS_WRITE_SCOPE_DEVICE_TYPE
Definition dect_net_l2.h:741
@ DECT_SETTINGS_WRITE_SCOPE_RSSI_SCAN
Definition dect_net_l2.h:746
@ DECT_SETTINGS_WRITE_SCOPE_ALL
Definition dect_net_l2.h:738
@ DECT_SETTINGS_WRITE_SCOPE_REGION
Definition dect_net_l2.h:740
@ DECT_SETTINGS_WRITE_SCOPE_TX
Definition dect_net_l2.h:743
@ DECT_SETTINGS_WRITE_SCOPE_POWER_SAVE
Definition dect_net_l2.h:744
@ DECT_SETTINGS_WRITE_SCOPE_AUTO_START
Definition dect_net_l2.h:739
dect_association_reject_time
Association reject times.
Definition dect_net_l2.h:303
@ DECT_ASSOCIATION_REJECT_TIME_30S
Definition dect_net_l2.h:311
@ DECT_ASSOCIATION_REJECT_TIME_600S
Definition dect_net_l2.h:321
@ DECT_ASSOCIATION_REJECT_TIME_120S
Definition dect_net_l2.h:315
@ DECT_ASSOCIATION_REJECT_TIME_0S
Definition dect_net_l2.h:305
@ DECT_ASSOCIATION_REJECT_TIME_300S
Definition dect_net_l2.h:319
@ DECT_ASSOCIATION_REJECT_TIME_180S
Definition dect_net_l2.h:317
@ DECT_ASSOCIATION_REJECT_TIME_60S
Definition dect_net_l2.h:313
@ DECT_ASSOCIATION_REJECT_TIME_10S
Definition dect_net_l2.h:309
@ DECT_ASSOCIATION_REJECT_TIME_5S
Definition dect_net_l2.h:307
#define DECT_L2_MAX_NEIGHBOR_LIST_ITEM_COUNT
Definition dect_net_l2.h:494
dect_neighbor_role
Neighbor role.
Definition dect_net_l2.h:394
@ DECT_NEIGHBOR_ROLE_CHILD
Definition dect_net_l2.h:398
@ DECT_NEIGHBOR_ROLE_PARENT
Definition dect_net_l2.h:396
void dect_net_l2_settings_changed(struct net_if *iface, struct dect_settings *driver_current_settings)
Inform L2 that settings have been changed.
NET_L2_DECLARE_PUBLIC(DECT)
dect_cluster_beacon_period
Cluster beacon period.
Definition dect_net_l2.h:113
@ DECT_CLUSTER_BEACON_PERIOD_16000MS
Definition dect_net_l2.h:123
@ DECT_CLUSTER_BEACON_PERIOD_4000MS
Definition dect_net_l2.h:121
@ DECT_CLUSTER_BEACON_PERIOD_50MS
Definition dect_net_l2.h:115
@ DECT_CLUSTER_BEACON_PERIOD_2000MS
Definition dect_net_l2.h:120
@ DECT_CLUSTER_BEACON_PERIOD_1500MS
Definition dect_net_l2.h:119
@ DECT_CLUSTER_BEACON_PERIOD_8000MS
Definition dect_net_l2.h:122
@ DECT_CLUSTER_BEACON_PERIOD_500MS
Definition dect_net_l2.h:117
@ DECT_CLUSTER_BEACON_PERIOD_100MS
Definition dect_net_l2.h:116
@ DECT_CLUSTER_BEACON_PERIOD_1000MS
Definition dect_net_l2.h:118
@ DECT_CLUSTER_BEACON_PERIOD_32000MS
Definition dect_net_l2.h:124
@ DECT_CLUSTER_BEACON_PERIOD_10MS
Definition dect_net_l2.h:114
dect_scan_result_evt_type
Scan result event type.
Definition dect_net_l2.h:149
@ DECT_SCAN_RESULT_TYPE_CLUSTER_BEACON
Definition dect_net_l2.h:150
@ DECT_SCAN_RESULT_TYPE_NW_BEACON
Definition dect_net_l2.h:151
void(* dect_scan_result_cb_t)(struct net_if *iface, enum dect_status_values status, struct dect_scan_result_evt *entry)
Scan result callback.
Definition dect_net_l2.h:231
#define DECT_MAX_CHANNELS_IN_RSSI_SCAN
Definition dect_net_l2.h:128
uint32_t dect_device_type_t
Definition dect_net_l2.h:726
dect_association_reject_cause
Association reject causes.
Definition dect_net_l2.h:283
@ DECT_ASSOCIATION_REJECT_CAUSE_NO_RADIO_CAPACITY
Definition dect_net_l2.h:285
@ DECT_ASSOCIATION_NO_RESPONSE
Definition dect_net_l2.h:295
@ DECT_ASSOCIATION_REJECT_CAUSE_NO_HW_CAPACITY
Definition dect_net_l2.h:287
@ DECT_ASSOCIATION_REJECT_CAUSE_OTHER_REASON
Definition dect_net_l2.h:293
@ DECT_ASSOCIATION_REJECT_CAUSE_CONFLICTED_SHORT_ID
Definition dect_net_l2.h:289
@ DECT_ASSOCIATION_REJECT_CAUSE_SECURITY_NEEDED
Definition dect_net_l2.h:291
uint32_t target_long_rd_id
Definition dect_net_l2.h:241
Associate release parameters.
Definition dect_net_l2.h:240
uint32_t target_long_rd_id
Definition dect_net_l2.h:236
Associate request parameters.
Definition dect_net_l2.h:235
bool neighbor_initiated
Definition dect_net_l2.h:428
uint32_t long_rd_id
Definition dect_net_l2.h:416
enum dect_association_reject_time reject_time
Definition dect_net_l2.h:442
struct dect_association_changed_evt::@193::@197 association_req_failed_mdm
enum dect_status_values cause
Definition dect_net_l2.h:448
struct dect_association_changed_evt::@193::@195 association_released
struct dect_association_changed_evt::@193::@196 association_req_rejected
enum dect_association_reject_cause reject_cause
Definition dect_net_l2.h:437
enum dect_association_change_type association_change_type
Definition dect_net_l2.h:422
enum dect_association_release_cause release_cause
Definition dect_net_l2.h:431
enum dect_neighbor_role neighbor_role
Definition dect_net_l2.h:419
DECT association changed event.
Definition dect_net_l2.h:414
struct in6_addr local_ipv6_addr
Definition dect_net_l2.h:940
uint32_t long_rd_id
Definition dect_net_l2.h:937
struct in6_addr global_ipv6_addr
Definition dect_net_l2.h:946
bool global_ipv6_addr_set
Definition dect_net_l2.h:943
Association data.
Definition dect_net_l2.h:935
enum dect_association_release_cause release_cause
Definition dect_net_l2.h:390
uint32_t long_rd_id
Definition dect_net_l2.h:387
DECT association released event.
Definition dect_net_l2.h:385
uint16_t num_association_failures
Definition dect_net_l2.h:706
uint32_t num_rach_rx_pcc_crc_failures
Definition dect_net_l2.h:714
struct dect_rssi_scan_result_data rssi_result
Definition dect_net_l2.h:716
uint16_t num_association_requests
Definition dect_net_l2.h:704
uint16_t num_neighbors
Definition dect_net_l2.h:708
uint32_t num_rach_rx_pdc
Definition dect_net_l2.h:712
uint16_t num_ftpt_neighbors
Definition dect_net_l2.h:710
Definition dect_net_l2.h:702
enum dect_status_values status
Definition dect_net_l2.h:699
struct dect_cluster_info_evt::dect_cluster_status_info status_info
Cluster info event.
Definition dect_net_l2.h:698
int8_t max_beacon_tx_power_dbm
Definition dect_net_l2.h:255
uint16_t channel
Definition dect_net_l2.h:254
int8_t max_cluster_power_dbm
Definition dect_net_l2.h:256
enum dect_cluster_beacon_period period
Definition dect_net_l2.h:257
Cluster reconfiguration request parameters.
Definition dect_net_l2.h:253
uint16_t channel
Definition dect_net_l2.h:249
Cluster start request parameters.
Definition dect_net_l2.h:248
enum dect_status_values status
Definition dect_net_l2.h:455
uint16_t cluster_channel
Definition dect_net_l2.h:456
DECT cluster start resp event.
Definition dect_net_l2.h:454
Cluster stop request parameters.
Definition dect_net_l2.h:261
enum dect_status_values status
Definition dect_net_l2.h:722
Common response event.
Definition dect_net_l2.h:721
uint16_t num_rx_pdc
Definition dect_net_l2.h:651
uint8_t average_tx_mcs
Definition dect_net_l2.h:589
int16_t average_rx_rssi_2
Definition dect_net_l2.h:630
uint16_t num_rx_pdc_crc_failures
Definition dect_net_l2.h:658
uint16_t num_harq_ack
Definition dect_net_l2.h:672
int8_t average_rx_txpower
Definition dect_net_l2.h:612
uint16_t num_no_response
Definition dect_net_l2.h:665
uint16_t num_arq_retx
Definition dect_net_l2.h:686
uint8_t average_rx_mcs
Definition dect_net_l2.h:604
uint8_t total_missed_cluster_beacons
Definition dect_net_l2.h:570
uint16_t num_harq_nack
Definition dect_net_l2.h:679
uint16_t num_lbt_failures
Definition dect_net_l2.h:644
int8_t average_tx_txpower
Definition dect_net_l2.h:597
uint32_t inactive_time_ms
Definition dect_net_l2.h:693
uint8_t current_consecutive_missed_cluster_beacons
Definition dect_net_l2.h:576
uint16_t num_tx_attempts
Definition dect_net_l2.h:637
int8_t average_rx_snr
Definition dect_net_l2.h:621
uint8_t num_rx_paging
Definition dect_net_l2.h:582
Definition dect_net_l2.h:564
int8_t beacon_average_rx_snr
Definition dect_net_l2.h:562
uint16_t channel
Definition dect_net_l2.h:530
uint32_t long_rd_id
Definition dect_net_l2.h:517
uint32_t time_since_last_rx_ms
Definition dect_net_l2.h:536
int8_t beacon_average_rx_txpower
Definition dect_net_l2.h:546
uint32_t network_id
Definition dect_net_l2.h:533
bool ft_mode
Definition dect_net_l2.h:524
int16_t beacon_average_rx_rssi_2
Definition dect_net_l2.h:554
bool associated
Definition dect_net_l2.h:522
struct dect_rx_signal_info last_rx_signal_info
Definition dect_net_l2.h:539
struct dect_neighbor_info_evt::dect_neighbor_status_info status_info
enum dect_status_values status
Definition dect_net_l2.h:516
Neighbor info event.
Definition dect_net_l2.h:515
uint32_t long_rd_id
Definition dect_net_l2.h:266
Neighbor info request parameters.
Definition dect_net_l2.h:265
uint32_t neighbor_long_rd_ids[50]
Definition dect_net_l2.h:511
uint8_t neighbor_count
Definition dect_net_l2.h:510
enum dect_status_values status
Definition dect_net_l2.h:509
Neighbor list event.
Definition dect_net_l2.h:508
struct in6_addr prefix
Definition dect_net_l2.h:1143
int prefix_len
Definition dect_net_l2.h:1141
IPv6 Address configuration.
Definition dect_net_l2.h:1139
uint32_t transmitter_long_rd_id
Definition dect_net_l2.h:1158
bool global_ipv6_addr_set
Definition dect_net_l2.h:1163
struct in6_addr local_ipv6_addr
Definition dect_net_l2.h:1162
struct in6_addr global_ipv6_addr
Definition dect_net_l2.h:1164
struct dect_net_ipv6_prefix_config ipv6_prefix_cfg
Definition dect_net_l2.h:1161
uint32_t network_id
Definition dect_net_l2.h:1155
enum net_l2_flags flags
Definition dect_net_l2.h:1149
dect_device_type_t device_type
Definition dect_net_l2.h:1152
DECT NR+ L2 context.
Definition dect_net_l2.h:1147
uint16_t next_cluster_channel
Definition dect_net_l2.h:163
uint8_t num_network_beacon_channels
Definition dect_net_l2.h:166
uint16_t network_beacon_channels[3]
Definition dect_net_l2.h:169
uint16_t current_cluster_channel
Definition dect_net_l2.h:160
Network beacon data.
Definition dect_net_l2.h:155
enum dect_status_values dect_err_cause
Definition dect_net_l2.h:474
dect_network_status
Definition dect_net_l2.h:461
@ DECT_NETWORK_STATUS_JOINED
Definition dect_net_l2.h:469
@ DECT_NETWORK_STATUS_CREATED
Definition dect_net_l2.h:465
@ DECT_NETWORK_STATUS_REMOVED
Definition dect_net_l2.h:467
@ DECT_NETWORK_STATUS_UNJOINED
Definition dect_net_l2.h:471
@ DECT_NETWORK_STATUS_FAILURE
Definition dect_net_l2.h:463
int os_err_cause
Definition dect_net_l2.h:476
enum dect_network_status_evt::dect_network_status network_status
DECT network status event.
Definition dect_net_l2.h:460
int(* status_info_get)(const struct device *dev, struct dect_status_info *status_info_out)
Definition dect_net_l2.h:995
int(* associate_release)(const struct device *dev, struct dect_associate_rel_params *params)
Definition dect_net_l2.h:1064
int(* cluster_info_req)(const struct device *dev)
Definition dect_net_l2.h:1123
int(* cluster_start_req)(const struct device *dev, struct dect_cluster_start_req_params *params)
Definition dect_net_l2.h:1073
int(* neighbor_info_req)(const struct device *dev, struct dect_neighbor_info_req_params *params)
Definition dect_net_l2.h:1119
int(* nw_beacon_stop_req)(const struct device *dev, struct dect_nw_beacon_stop_req_params *params)
Definition dect_net_l2.h:1109
int(* settings_read)(const struct device *dev, struct dect_settings *settings_out)
Definition dect_net_l2.h:1003
int(* deactivate_req)(const struct device *dev)
Definition dect_net_l2.h:1027
int(* neighbor_list_req)(const struct device *dev)
Definition dect_net_l2.h:1116
int(* cluster_stop_req)(const struct device *dev, struct dect_cluster_stop_req_params *params)
Definition dect_net_l2.h:1091
int(* associate_req)(const struct device *dev, struct dect_associate_req_params *params)
Definition dect_net_l2.h:1056
int(* nw_beacon_start_req)(const struct device *dev, struct dect_nw_beacon_start_req_params *params)
Definition dect_net_l2.h:1100
int(* rssi_scan)(const struct device *dev, struct dect_rssi_scan_params *params)
Definition dect_net_l2.h:1036
int(* settings_write)(const struct device *dev, struct dect_settings *settings_in)
Definition dect_net_l2.h:1012
struct net_if_api iface_api
Definition dect_net_l2.h:987
int(* scan)(const struct device *dev, struct dect_scan_params *params, dect_scan_result_cb_t cb)
Definition dect_net_l2.h:1047
int(* network_join_req)(const struct device *dev)
Definition dect_net_l2.h:1132
int(* cluster_reconfig_req)(const struct device *dev, struct dect_cluster_reconfig_req_params *params)
Definition dect_net_l2.h:1082
int(* network_unjoin_req)(const struct device *dev)
Definition dect_net_l2.h:1135
int(* send)(const struct device *dev, struct net_pkt *pkt)
Definition dect_net_l2.h:1113
int(* network_create_req)(const struct device *dev)
Definition dect_net_l2.h:1126
int(* network_remove_req)(const struct device *dev)
Definition dect_net_l2.h:1129
int(* activate_req)(const struct device *dev)
Definition dect_net_l2.h:1019
DECT NR+ HAL API.
Definition dect_net_l2.h:982
uint8_t additional_ch_count
Definition dect_net_l2.h:271
uint16_t channel
Definition dect_net_l2.h:270
uint16_t additional_ch_list[3]
Definition dect_net_l2.h:272
Network beacon start request parameters.
Definition dect_net_l2.h:269
Network beacon stop request parameters.
Definition dect_net_l2.h:276
uint8_t route_cost
Definition dect_net_l2.h:190
uint32_t sink_address
Definition dect_net_l2.h:194
uint8_t application_sequence_number
Definition dect_net_l2.h:192
Route info.
Definition dect_net_l2.h:188
uint8_t mcs
Definition dect_net_l2.h:175
int8_t snr
Definition dect_net_l2.h:184
int8_t rssi_2
Definition dect_net_l2.h:182
uint8_t transmit_power
Definition dect_net_l2.h:180
Received signal information.
Definition dect_net_l2.h:173
uint8_t channel_count
Definition dect_net_l2.h:143
uint16_t channel_list[20]
Definition dect_net_l2.h:144
uint8_t band
Definition dect_net_l2.h:142
uint16_t channel_scan_time_ms
Definition dect_net_l2.h:145
Network scan parameters.
Definition dect_net_l2.h:141
struct dect_network_beacon_data network_beacon
Definition dect_net_l2.h:218
uint16_t transmitter_short_rd_id
Definition dect_net_l2.h:208
bool has_route_info
Definition dect_net_l2.h:221
enum dect_scan_result_evt_type beacon_type
Definition dect_net_l2.h:203
struct dect_route_info route_info
Definition dect_net_l2.h:222
uint16_t channel
Definition dect_net_l2.h:206
uint32_t transmitter_long_rd_id
Definition dect_net_l2.h:210
uint32_t network_id
Definition dect_net_l2.h:212
struct dect_rx_signal_info rx_signal_info
Definition dect_net_l2.h:215
DECT scan result event, each result is provided to the net_mgmt_event_callback via its info attribute...
Definition dect_net_l2.h:201
uint8_t max_beacon_rx_failures
Definition dect_net_l2.h:807
int8_t min_sensitivity_dbm
Definition dect_net_l2.h:812
Association settings.
Definition dect_net_l2.h:802
bool activate
Definition dect_net_l2.h:817
Auto-start settings.
Definition dect_net_l2.h:816
int8_t max_beacon_tx_power_dbm
Definition dect_net_l2.h:775
enum dect_cluster_beacon_period beacon_period
Definition dect_net_l2.h:779
uint8_t channel_loaded_percent
Definition dect_net_l2.h:792
int8_t max_cluster_power_dbm
Definition dect_net_l2.h:777
uint32_t neighbor_inactivity_disconnect_timer_ms
Definition dect_net_l2.h:785
uint16_t max_num_neighbors
Definition dect_net_l2.h:781
FT device: cluster settings.
Definition dect_net_l2.h:773
uint16_t failure_scope_bitmap_out
Definition dect_net_l2.h:767
uint16_t write_scope_bitmap
Definition dect_net_l2.h:763
bool reset_to_driver_defaults
Definition dect_net_l2.h:756
Settings command parameters.
Definition dect_net_l2.h:755
int8_t max_power_dbm
Definition dect_net_l2.h:861
uint8_t max_mcs
Definition dect_net_l2.h:864
Common TX settings.
Definition dect_net_l2.h:859
uint32_t transmitter_long_rd_id
Definition dect_net_l2.h:855
uint32_t network_id
Definition dect_net_l2.h:852
Identities settings.
Definition dect_net_l2.h:850
uint16_t channel
Definition dect_net_l2.h:797
enum dect_nw_beacon_period beacon_period
Definition dect_net_l2.h:798
Network beacon settings.
Definition dect_net_l2.h:796
uint32_t target_ft_long_rd_id
Definition dect_net_l2.h:825
Network join settings.
Definition dect_net_l2.h:823
uint8_t cipher_key[16]
Definition dect_net_l2.h:886
uint8_t integrity_key[16]
Definition dect_net_l2.h:885
enum dect_security_mode mode
Definition dect_net_l2.h:882
Security configuration.
Definition dect_net_l2.h:880
struct dect_settings_cmd_params cmd_params
Definition dect_net_l2.h:892
struct dect_settings_cluster cluster
Definition dect_net_l2.h:919
struct dect_settings_association association
Definition dect_net_l2.h:925
struct dect_settings_security_conf sec_conf
Definition dect_net_l2.h:931
struct dect_settings_network_join network_join
Definition dect_net_l2.h:928
struct dect_settings_auto_start auto_start
Definition dect_net_l2.h:895
struct dect_settings_common_tx tx
Definition dect_net_l2.h:907
dect_device_type_t device_type
Definition dect_net_l2.h:901
bool power_save
Definition dect_net_l2.h:910
struct dect_settings_rssi_scan rssi_scan
Definition dect_net_l2.h:916
struct dect_settings_identities identities
Definition dect_net_l2.h:904
enum dect_settings_region region
Definition dect_net_l2.h:898
uint8_t band_nbr
Definition dect_net_l2.h:913
struct dect_settings_network_beacon nw_beacon
Definition dect_net_l2.h:922
DECT NR+ Settings.
Definition dect_net_l2.h:890
enum dect_sink_status_evt::dect_sink_status sink_status
dect_sink_status
Definition dect_net_l2.h:481
@ DECT_SINK_STATUS_DISCONNECTED
Definition dect_net_l2.h:485
@ DECT_SINK_STATUS_CONNECTED
Definition dect_net_l2.h:483
struct net_if * br_iface
Definition dect_net_l2.h:488
DECT sink status event.
Definition dect_net_l2.h:480
bool cluster_running
Definition dect_net_l2.h:956
bool mdm_activated
Definition dect_net_l2.h:953
struct in6_addr br_global_ipv6_addr_prefix
Definition dect_net_l2.h:974
bool nw_beacon_running
Definition dect_net_l2.h:960
char fw_version_str[100]
Definition dect_net_l2.h:978
struct net_if * br_net_iface
Definition dect_net_l2.h:972
bool br_global_ipv6_addr_prefix_set
Definition dect_net_l2.h:973
uint8_t parent_count
Definition dect_net_l2.h:963
struct dect_association_data parent_associations[1]
Definition dect_net_l2.h:964
uint16_t cluster_channel
Definition dect_net_l2.h:957
int br_global_ipv6_addr_prefix_len
Definition dect_net_l2.h:975
uint8_t child_count
Definition dect_net_l2.h:967
struct dect_association_data child_associations[CONFIG_DECT_CLUSTER_MAX_CHILD_ASSOCIATION_COUNT]
Definition dect_net_l2.h:968
DECT NR+ status information.
Definition dect_net_l2.h:950