nrfxlib API 3.3.99
Loading...
Searching...
No Matches
nrf_modem_dect_phy.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
28#ifndef NRF_MODEM_DECT_PHY_H__
29#define NRF_MODEM_DECT_PHY_H__
30
31#include <stdint.h>
32#include <nrf_modem_toolchain.h>
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
39#define NRF_MODEM_DECT_MODEM_TIME_TICK_RATE_KHZ 69120
41#define NRF_MODEM_DECT_SYMBOL_DURATION 2880
42
44#define NRF_MODEM_DECT_LBT_PERIOD_MAX (110 * NRF_MODEM_DECT_SYMBOL_DURATION)
46#define NRF_MODEM_DECT_LBT_PERIOD_MIN (2 * NRF_MODEM_DECT_SYMBOL_DURATION)
47
49#define NRF_MODEM_DECT_PHY_SNR_NOT_MEASURED -32768
51#define NRF_MODEM_DECT_PHY_RSSI_NOT_MEASURED 0
53#define NRF_MODEM_DECT_PHY_RSSI2_NOT_MEASURED -32768
55#define NRF_MODEM_DECT_PHY_TEMP_NOT_MEASURED 999
57#define NRF_MODEM_DECT_PHY_VOLTAGE_NOT_MEASURED 0
58
60#define NRF_MODEM_DECT_PHY_HANDLE_CANCEL_ALL UINT32_MAX
62#define NRF_MODEM_DECT_PHY_BS_CQI_NOT_USED 0
64#define NRF_MODEM_DECT_PHY_LINK_UNSPECIFIED ((struct nrf_modem_dect_phy_link_id){ 0 })
65
199};
200
251
284
310
330
340 uint8_t packet_length : 4;
348 uint8_t header_format : 3;
364 uint8_t df_mcs : 3;
368 uint8_t reserved : 1;
372 uint8_t transmit_power : 4;
373} __nrf_modem_attr_packed;
374
381 struct {
384 uint8_t format : 4;
385 uint8_t cqi : 4;
386 uint8_t buffer_status : 4;
388 struct {
389 uint8_t mimo_feedback : 1;
390 uint8_t codebook_index : 3;
391 uint8_t format : 4;
392 uint8_t cqi : 4;
393 uint8_t buffer_status : 4;
395 struct {
396 uint8_t transmission_feedback0 : 1;
397 uint8_t harq_process_number0 : 3;
398 uint8_t format : 4;
399 uint8_t cqi : 4;
403 struct {
408 uint8_t format : 4;
409 uint8_t cqi : 4;
415 struct {
418 uint8_t format : 4;
419 uint8_t codebook_index : 6;
420 uint8_t mimo_feedback : 2;
422 struct {
423 uint8_t reserved : 1;
424 uint8_t harq_process_number : 3;
425 uint8_t format : 4;
426 uint8_t cqi : 4;
427 uint8_t buffer_status : 4;
429} __nrf_modem_attr_packed;
430
504
528
546
567
606
680
790
807
846
884
907
1022
1048
1079
1127
1135 uint32_t handle;
1143 uint16_t carrier;
1147 uint16_t meas_len;
1156 int8_t *meas;
1157};
1158
1176
1230
1268
1276 uint32_t handle;
1284 int16_t rssi_2;
1292 int16_t snr;
1302 void *data;
1306 size_t len;
1307};
1308
1346
1370
1388
1402
1416
1434
1460
1468
1482
1490
1505
1520
1543
1558
1577
1591
1682
1722
1752
1757
1770
1783
1798
1814
1832
1847
1867
1884
1911
1933
1951
1974int nrf_modem_dect_phy_cancel(uint32_t handle);
1975
1992
2009
2025
2040
2055
2070
2098 uint16_t carrier, int8_t power);
2099
2121int nrf_modem_dect_phy_stf_cover_seq_control(bool rx_enable, bool tx_enable);
2122
2123#ifdef __cplusplus
2124}
2125#endif
2126
2127#endif /* NRF_MODEM_DECT_PHY_H__ */
int nrf_modem_dect_phy_radio_config(const struct nrf_modem_dect_phy_radio_config_params *params)
Configure radio mode.
int nrf_modem_dect_phy_rssi(const struct nrf_modem_dect_phy_rssi_params *params)
Schedule an RSSI measurement operation.
int nrf_modem_dect_phy_cancel(uint32_t handle)
Cancel an operation.
int nrf_modem_dect_phy_tx_harq(const struct nrf_modem_dect_phy_tx_params *params)
Schedule a HARQ response TX operation.
nrf_modem_dect_phy_radio_mode
Radio modes.
Definition nrf_modem_dect_phy.h:852
@ NRF_MODEM_DECT_PHY_RADIO_MODE_COUNT
Number of radio modes available.
Definition nrf_modem_dect_phy.h:882
@ NRF_MODEM_DECT_PHY_RADIO_MODE_LOW_LATENCY_WITH_STANDBY
Low latency with standby.
Definition nrf_modem_dect_phy.h:869
@ NRF_MODEM_DECT_PHY_RADIO_MODE_LOW_LATENCY
Low latency.
Definition nrf_modem_dect_phy.h:861
@ NRF_MODEM_DECT_PHY_RADIO_MODE_NON_LBT_WITH_STANDBY
Listen-before-talk disabled, with standby.
Definition nrf_modem_dect_phy.h:878
int nrf_modem_dect_phy_activate(enum nrf_modem_dect_phy_radio_mode mode)
Activate the DECT PHY software stack in given radio mode.
int nrf_modem_dect_phy_test_rf_tx_cw_control(enum nrf_modem_dect_phy_test_rf_tx_cw_oper operation, uint16_t carrier, int8_t power)
Control continuous wave transmission.
int nrf_modem_dect_phy_init(void)
Initialize the DECT PHY interface.
int nrf_modem_dect_phy_deinit(void)
Deinitialize the DECT PHY interface.
int nrf_modem_dect_phy_deactivate(void)
Deactivate the DECT PHY software stack.
int nrf_modem_dect_phy_event_handler_set(nrf_modem_dect_phy_event_handler_t handler)
Set the application event handler for PHY events.
nrf_modem_dect_phy_test_rf_tx_cw_oper
Test RF TX CW operation codes.
Definition nrf_modem_dect_phy.h:1464
@ NRF_MODEM_DECT_PHY_TEST_RF_TX_CW_OPER_OFF
Definition nrf_modem_dect_phy.h:1466
@ NRF_MODEM_DECT_PHY_TEST_RF_TX_CW_OPER_ON
Definition nrf_modem_dect_phy.h:1465
nrf_modem_dect_phy_rx_mode
Reception mode.
Definition nrf_modem_dect_phy.h:288
@ NRF_MODEM_DECT_PHY_RX_MODE_CONTINUOUS
Continuous reception.
Definition nrf_modem_dect_phy.h:296
@ NRF_MODEM_DECT_PHY_RX_MODE_SEMICONTINUOUS
Semi-continuous reception.
Definition nrf_modem_dect_phy.h:302
@ NRF_MODEM_DECT_PHY_RX_MODE_SINGLE_SHOT
Single-shot reception.
Definition nrf_modem_dect_phy.h:308
nrf_modem_dect_phy_err
DECT PHY errors.
Definition nrf_modem_dect_phy.h:69
@ NRF_MODEM_DECT_PHY_ERR_INVALID_NETWORK_ID
Invalid network ID.
Definition nrf_modem_dect_phy.h:166
@ NRF_MODEM_DECT_PHY_ERR_MODEM_ERROR
Modem error.
Definition nrf_modem_dect_phy.h:186
@ NRF_MODEM_DECT_PHY_ERR_INVALID_START_TIME
Another operation is executing; operation cannot start immediately.
Definition nrf_modem_dect_phy.h:115
@ NRF_MODEM_DECT_PHY_ERR_TX_POWER_OVER_MAX_LIMIT
TX power limit exceeded.
Definition nrf_modem_dect_phy.h:182
@ NRF_MODEM_DECT_PHY_ERR_NOT_ALLOWED
Request not possible in current state.
Definition nrf_modem_dect_phy.h:93
@ NRF_MODEM_DECT_PHY_ERR_OP_SCHEDULING_CONFLICT
Another operation is scheduled to be executed at the specified time.
Definition nrf_modem_dect_phy.h:119
@ NRF_MODEM_DECT_PHY_ERR_COMBINED_OP_FAILED
Operation not executed because combined operation failed.
Definition nrf_modem_dect_phy.h:143
@ NRF_MODEM_DECT_PHY_ERR_OP_START_TIME_LATE
Operation start time is in the past.
Definition nrf_modem_dect_phy.h:103
@ NRF_MODEM_DECT_PHY_ERR_PARAMETER_UNAVAILABLE
Could not copy parameters in time.
Definition nrf_modem_dect_phy.h:131
@ NRF_MODEM_DECT_PHY_ERR_RF_START_TIME_LATE
RF start time is in the past.
Definition nrf_modem_dect_phy.h:111
@ NRF_MODEM_DECT_PHY_ERR_RADIO_MODE_CONFLICT
Operation is not allowed in the current radio mode.
Definition nrf_modem_dect_phy.h:147
@ NRF_MODEM_DECT_PHY_ERR_INVALID_DURATION
Operation duration out of allowed range.
Definition nrf_modem_dect_phy.h:174
@ NRF_MODEM_DECT_PHY_ERR_OP_TIMEOUT
Operation start time missed and can't be executed.
Definition nrf_modem_dect_phy.h:123
@ NRF_MODEM_DECT_PHY_ERR_TEMP_HIGH
Modem temperature is equal or higher than the critical temperature limit.
Definition nrf_modem_dect_phy.h:194
@ NRF_MODEM_DECT_PHY_ERR_LBT_CHANNEL_BUSY
TX operation canceled because LBT channel was busy.
Definition nrf_modem_dect_phy.h:77
@ NRF_MODEM_DECT_PHY_ERR_UNSUPPORTED_DATA_SIZE
Unsupported TBS size.
Definition nrf_modem_dect_phy.h:162
@ NRF_MODEM_DECT_PHY_ERR_LBT_START_TIME_LATE
Listen-before-talk start time is in the past.
Definition nrf_modem_dect_phy.h:107
@ NRF_MODEM_DECT_PHY_ERR_INVALID_PHY_HEADER
Invalid physical header format or type.
Definition nrf_modem_dect_phy.h:170
@ NRF_MODEM_DECT_PHY_ERR_NO_MEMORY
Modem out of memory.
Definition nrf_modem_dect_phy.h:89
@ NRF_MODEM_DECT_PHY_SUCCESS
Success.
Definition nrf_modem_dect_phy.h:73
@ NRF_MODEM_DECT_PHY_ERR_NOT_FOUND
Operation not found.
Definition nrf_modem_dect_phy.h:85
@ NRF_MODEM_DECT_PHY_ERR_UNSUPPORTED_CARRIER
Unsupported carrier.
Definition nrf_modem_dect_phy.h:158
@ NRF_MODEM_DECT_PHY_ERR_UNSUPPORTED_OP
Operation is not an RX operation; only RX operations may be stopped.
Definition nrf_modem_dect_phy.h:81
@ NRF_MODEM_DECT_PHY_ERR_NO_ONGOING_HARQ_RX
No ongoing HARQ RX; unable to transmit a HARQ response.
Definition nrf_modem_dect_phy.h:127
@ NRF_MODEM_DECT_PHY_OK_WITH_HARQ_RESET
HARQ feedback transmission successful.
Definition nrf_modem_dect_phy.h:99
@ NRF_MODEM_DECT_PHY_ERR_MODEM_ERROR_RF_STATE
Modem error, invalid RF state.
Definition nrf_modem_dect_phy.h:190
@ NRF_MODEM_DECT_PHY_ERR_PAYLOAD_UNAVAILABLE
Could not copy payload in time.
Definition nrf_modem_dect_phy.h:135
@ NRF_MODEM_DECT_PHY_ERR_INVALID_PARAMETER
Invalid parameter.
Definition nrf_modem_dect_phy.h:178
@ NRF_MODEM_DECT_PHY_ERR_PROD_LOCK
Failed to lock device after production.
Definition nrf_modem_dect_phy.h:198
@ NRF_MODEM_DECT_PHY_ERR_OP_CANCELED
Operation canceled.
Definition nrf_modem_dect_phy.h:139
@ NRF_MODEM_DECT_PHY_ERR_HANDLE_IN_USE
Handle is already in use.
Definition nrf_modem_dect_phy.h:154
int nrf_modem_dect_phy_capability_get(void)
Retrieve DECT PHY capabilities.
nrf_modem_dect_phy_event_id
Definition nrf_modem_dect_phy.h:1592
@ NRF_MODEM_DECT_PHY_EVT_ACTIVATE
Event to indicate the completion of the DECT PHY stack activation.
Definition nrf_modem_dect_phy.h:1612
@ NRF_MODEM_DECT_PHY_EVT_COMPLETED
Event to indicate the completion of RX, TX and RSSI measurement operations.
Definition nrf_modem_dect_phy.h:1620
@ NRF_MODEM_DECT_PHY_EVT_PDC_ERROR
Event for CRC failures on the physical data channel.
Definition nrf_modem_dect_phy.h:1644
@ NRF_MODEM_DECT_PHY_EVT_DEACTIVATE
Event to indicate the completion of the DECT PHY stack deactivation.
Definition nrf_modem_dect_phy.h:1616
@ NRF_MODEM_DECT_PHY_EVT_PCC_ERROR
Event for CRC failures on the physical control channel.
Definition nrf_modem_dect_phy.h:1636
@ NRF_MODEM_DECT_PHY_EVT_INIT
Event to indicate the completion of the DECT PHY stack initialization.
Definition nrf_modem_dect_phy.h:1596
@ NRF_MODEM_DECT_PHY_EVT_RADIO_CONFIG
Event to indicate the completion of radio mode configuration.
Definition nrf_modem_dect_phy.h:1608
@ NRF_MODEM_DECT_PHY_EVT_LATENCY
Event carrying latency information.
Definition nrf_modem_dect_phy.h:1660
@ NRF_MODEM_DECT_PHY_EVT_CONFIGURE
Event to indicate the completion of the DECT PHY stack configuration.
Definition nrf_modem_dect_phy.h:1604
@ NRF_MODEM_DECT_PHY_EVT_PDC
Event for data channel reception.
Definition nrf_modem_dect_phy.h:1640
@ NRF_MODEM_DECT_PHY_EVT_DEINIT
Event to indicate the completion of the DECT PHY stack deinitialization.
Definition nrf_modem_dect_phy.h:1600
@ NRF_MODEM_DECT_PHY_EVT_BANDS
Event carrying band information.
Definition nrf_modem_dect_phy.h:1656
@ NRF_MODEM_DECT_PHY_EVT_TEST_RF_TX_CW_CONTROL_CONFIG
Event to indicate the completion of the test RF TX CW configuration.
Definition nrf_modem_dect_phy.h:1672
@ NRF_MODEM_DECT_PHY_EVT_CANCELED
Event to indicate the cancellation of an operation.
Definition nrf_modem_dect_phy.h:1624
@ NRF_MODEM_DECT_PHY_EVT_STF_CONFIG
Event to indicate the completion of STF configuration.
Definition nrf_modem_dect_phy.h:1668
@ NRF_MODEM_DECT_PHY_EVT_LINK_CONFIG
Event to indicate the completion of link configuration.
Definition nrf_modem_dect_phy.h:1664
@ NRF_MODEM_DECT_PHY_EVT_PCC
Event for control channel reception.
Definition nrf_modem_dect_phy.h:1632
@ NRF_MODEM_DECT_PHY_EVT_RSSI
Event carrying RSSI measurements.
Definition nrf_modem_dect_phy.h:1628
@ NRF_MODEM_DECT_PHY_EVT_TIME
Event carrying modem time.
Definition nrf_modem_dect_phy.h:1648
@ NRF_MODEM_DECT_PHY_EVT_CAPABILITY
Event carrying capabilities.
Definition nrf_modem_dect_phy.h:1652
@ NRF_MODEM_DECT_PHY_EVT_REJECT
Event to indicate an operation was rejected.
Definition nrf_modem_dect_phy.h:1680
int nrf_modem_dect_phy_rx(const struct nrf_modem_dect_phy_rx_params *params)
Schedule a reception.
nrf_modem_dect_phy_rssi_interval
RSSI reporting interval.
Definition nrf_modem_dect_phy.h:314
@ NRF_MODEM_DECT_PHY_RSSI_INTERVAL_OFF
Do not measure RSSI.
Definition nrf_modem_dect_phy.h:320
@ NRF_MODEM_DECT_PHY_RSSI_INTERVAL_12_SLOTS
RSSI reporting interval is 12 slots (5ms).
Definition nrf_modem_dect_phy.h:324
@ NRF_MODEM_DECT_PHY_RSSI_INTERVAL_24_SLOTS
RSSI reporting interval is 24 slots (10ms).
Definition nrf_modem_dect_phy.h:328
int nrf_modem_dect_phy_band_get(void)
Retrieve band information.
int nrf_modem_dect_phy_configure(const struct nrf_modem_dect_phy_config_params *params)
Configure the PHY stack.
int nrf_modem_dect_phy_time_get(void)
Retrieve modem time.
void(* nrf_modem_dect_phy_event_handler_t)(const struct nrf_modem_dect_phy_event *event)
Application handler prototype for PHY events.
Definition nrf_modem_dect_phy.h:1756
int nrf_modem_dect_phy_tx_rx(const struct nrf_modem_dect_phy_tx_rx_params *params)
Schedule one TX and one RX operation.
nrf_modem_dect_phy_test_rf_tx_cw_err
Test RF TX CW operation status codes.
Definition nrf_modem_dect_phy.h:1472
@ NRF_MODEM_DECT_PHY_TEST_RF_TX_CW_ERR_INVALID_OPERATION
Definition nrf_modem_dect_phy.h:1478
@ NRF_MODEM_DECT_PHY_TEST_RF_TX_CW_ERR_DSP_CONFIG_FAILURE
Definition nrf_modem_dect_phy.h:1479
@ NRF_MODEM_DECT_PHY_TEST_RF_TX_CW_ERR_MSG_SEND_FAILED
Definition nrf_modem_dect_phy.h:1480
@ NRF_MODEM_DECT_PHY_TEST_RF_TX_CW_ERR_TX_ALREADY_OFF
Definition nrf_modem_dect_phy.h:1476
@ NRF_MODEM_DECT_PHY_TEST_RF_TX_CW_ERR_NO_ERROR
Definition nrf_modem_dect_phy.h:1473
@ NRF_MODEM_DECT_PHY_TEST_RF_TX_CW_ERR_BUFFER_RESERVE_FAILED
Definition nrf_modem_dect_phy.h:1477
@ NRF_MODEM_DECT_PHY_TEST_RF_TX_CW_ERR_ERROR
Definition nrf_modem_dect_phy.h:1474
@ NRF_MODEM_DECT_PHY_TEST_RF_TX_CW_ERR_TX_ALREADY_ON
Definition nrf_modem_dect_phy.h:1475
nrf_modem_dect_phy_hdr_status
Physical header status.
Definition nrf_modem_dect_phy.h:532
@ NRF_MODEM_DECT_PHY_HDR_STATUS_INVALID
PHY header is invalid; PDC can't be received.
Definition nrf_modem_dect_phy.h:540
@ NRF_MODEM_DECT_PHY_HDR_STATUS_VALID
PHY header is valid; PDC can be received.
Definition nrf_modem_dect_phy.h:536
@ NRF_MODEM_DECT_PHY_HDR_STATUS_VALID_RX_END
PHY header is valid, but RX operation ends before PDC reception.
Definition nrf_modem_dect_phy.h:544
int nrf_modem_dect_phy_latency_get(void)
Retrieve latency information.
int nrf_modem_dect_phy_stf_cover_seq_control(bool rx_enable, bool tx_enable)
STF cover sequence control.
int nrf_modem_dect_phy_tx(const struct nrf_modem_dect_phy_tx_params *params)
Schedule a transmission.
int nrf_modem_dect_phy_link_config(const struct nrf_modem_dect_phy_link_config_params *params)
Configure links.
int16_t temp
Temperature in degrees Celsius.
Definition nrf_modem_dect_phy.h:1537
uint16_t voltage
Voltage in millivolts.
Definition nrf_modem_dect_phy.h:1541
enum nrf_modem_dect_phy_err err
Operation result.
Definition nrf_modem_dect_phy.h:1533
Activation event.
Definition nrf_modem_dect_phy.h:1524
struct nrf_modem_dect_phy_band * band
Band information.
Definition nrf_modem_dect_phy.h:1458
uint32_t band_count
Number of elements in band.
Definition nrf_modem_dect_phy.h:1454
enum nrf_modem_dect_phy_err err
Operation result.
Definition nrf_modem_dect_phy.h:1446
uint32_t supported_bands
Supported bands as a bitmap.
Definition nrf_modem_dect_phy.h:1450
Band information event.
Definition nrf_modem_dect_phy.h:1438
int8_t rx_gain
Receiver sensitivity capability in dB.
Definition nrf_modem_dect_phy.h:270
uint16_t max_carrier
Maximum carrier number.
Definition nrf_modem_dect_phy.h:282
uint8_t band_group_index
Band group index.
Definition nrf_modem_dect_phy.h:262
uint8_t power_class
Power class.
Definition nrf_modem_dect_phy.h:274
uint8_t band_number
Band number.
Definition nrf_modem_dect_phy.h:266
uint16_t min_carrier
Minimum carrier number.
Definition nrf_modem_dect_phy.h:278
Band information.
Definition nrf_modem_dect_phy.h:255
uint32_t handle
Handle of the operation.
Definition nrf_modem_dect_phy.h:1163
enum nrf_modem_dect_phy_err err
Operation result.
Definition nrf_modem_dect_phy.h:1174
Definition nrf_modem_dect_phy.h:1159
enum nrf_modem_dect_phy_err err
Operation result.
Definition nrf_modem_dect_phy.h:1428
struct nrf_modem_dect_phy_capability * capability
PHY capability.
Definition nrf_modem_dect_phy.h:1432
Capability get event.
Definition nrf_modem_dect_phy.h:1420
uint8_t harq_process_count_max
Maximum number of HARQ processes.
Definition nrf_modem_dect_phy.h:236
uint32_t harq_soft_buf_size
HARQ soft buffer size.
Definition nrf_modem_dect_phy.h:232
uint8_t variant_count
Number of elements in variant.
Definition nrf_modem_dect_phy.h:212
uint8_t beta
Fourier transform scaling factor.
Definition nrf_modem_dect_phy.h:248
uint8_t rx_tx_diversity
Reception capability of TX diversity transmission.
Definition nrf_modem_dect_phy.h:224
uint8_t mcs_max
Maximum supported modulation and coding scheme for reception.
Definition nrf_modem_dect_phy.h:228
uint8_t mu
Subcarrier scaling factor.
Definition nrf_modem_dect_phy.h:244
struct nrf_modem_dect_phy_capability::@69 variant[]
Capability variants.
uint8_t rx_spatial_streams
Supported reception capability of spatial stream transmissions.
Definition nrf_modem_dect_phy.h:220
uint8_t dect_version
DECT NR+ version.
Definition nrf_modem_dect_phy.h:208
uint8_t harq_feedback_delay
HARQ feedback delay, in subslots.
Definition nrf_modem_dect_phy.h:240
Modem PHY capabilities.
Definition nrf_modem_dect_phy.h:204
uint8_t band_group_index
Band group index.
Definition nrf_modem_dect_phy.h:1734
uint8_t harq_rx_process_count
Number of HARQ processes.
Definition nrf_modem_dect_phy.h:1741
uint32_t harq_rx_expiry_time_us
HARQ RX buffer expiry time, in microseconds.
Definition nrf_modem_dect_phy.h:1750
DECT PHY configuration parameters.
Definition nrf_modem_dect_phy.h:1726
enum nrf_modem_dect_phy_err err
Operation result.
Definition nrf_modem_dect_phy.h:1360
int16_t temp
Temperature in degrees Celsius.
Definition nrf_modem_dect_phy.h:1364
uint16_t voltage
Voltage in millivolts.
Definition nrf_modem_dect_phy.h:1368
DECT PHY stack configuration event.
Definition nrf_modem_dect_phy.h:1350
enum nrf_modem_dect_phy_err err
Operation result.
Definition nrf_modem_dect_phy.h:1556
Deactivation event.
Definition nrf_modem_dect_phy.h:1547
enum nrf_modem_dect_phy_err err
Operation result.
Definition nrf_modem_dect_phy.h:1518
Deinitialization event.
Definition nrf_modem_dect_phy.h:1509
struct nrf_modem_dect_phy_band_get_event band_get
Definition nrf_modem_dect_phy.h:1714
struct nrf_modem_dect_phy_pcc_event pcc
Definition nrf_modem_dect_phy.h:1708
uint64_t time
Modem time, in modem time units.
Definition nrf_modem_dect_phy.h:1694
struct nrf_modem_dect_phy_pdc_event pdc
Definition nrf_modem_dect_phy.h:1710
struct nrf_modem_dect_phy_activate_event activate
Definition nrf_modem_dect_phy.h:1701
struct nrf_modem_dect_phy_reject_event reject
Definition nrf_modem_dect_phy.h:1719
struct nrf_modem_dect_phy_op_complete_event op_complete
Definition nrf_modem_dect_phy.h:1705
struct nrf_modem_dect_phy_pdc_crc_failure_event pdc_crc_err
Definition nrf_modem_dect_phy.h:1711
enum nrf_modem_dect_phy_event_id id
Event ID.
Definition nrf_modem_dect_phy.h:1690
struct nrf_modem_dect_phy_stf_control_event stf_cover_seq_control
Definition nrf_modem_dect_phy.h:1717
struct nrf_modem_dect_phy_latency_info_event latency_get
Definition nrf_modem_dect_phy.h:1715
struct nrf_modem_dect_phy_init_event init
Definition nrf_modem_dect_phy.h:1699
struct nrf_modem_dect_phy_deactivate_event deactivate
Definition nrf_modem_dect_phy.h:1702
struct nrf_modem_dect_phy_test_rf_tx_cw_control_event test_rf_tx_cw_control
Definition nrf_modem_dect_phy.h:1716
struct nrf_modem_dect_phy_pcc_crc_failure_event pcc_crc_err
Definition nrf_modem_dect_phy.h:1709
struct nrf_modem_dect_phy_capability_get_event capability_get
Definition nrf_modem_dect_phy.h:1713
struct nrf_modem_dect_phy_link_config_event link_config
Definition nrf_modem_dect_phy.h:1718
struct nrf_modem_dect_phy_deinit_event deinit
Definition nrf_modem_dect_phy.h:1700
struct nrf_modem_dect_phy_rssi_event rssi
Definition nrf_modem_dect_phy.h:1706
struct nrf_modem_dect_phy_configure_event configure
Definition nrf_modem_dect_phy.h:1703
struct nrf_modem_dect_phy_time_get_event time_get
Definition nrf_modem_dect_phy.h:1712
struct nrf_modem_dect_phy_radio_config_event radio_config
Definition nrf_modem_dect_phy.h:1704
struct nrf_modem_dect_phy_cancel_event cancel
Definition nrf_modem_dect_phy.h:1707
DECT PHY event.
Definition nrf_modem_dect_phy.h:1686
uint8_t short_network_id
Short network ID.
Definition nrf_modem_dect_phy.h:352
uint8_t packet_length
Packet length in subslots or slots.
Definition nrf_modem_dect_phy.h:340
uint8_t transmit_power
Transmit power.
Definition nrf_modem_dect_phy.h:372
uint8_t transmitter_id_hi
Transmitter ID high byte.
Definition nrf_modem_dect_phy.h:356
uint8_t header_format
Format of the control header Type 1.
Definition nrf_modem_dect_phy.h:348
uint8_t packet_length_type
Indicates whether the packet_length is given in subslots (0) or slots (1).
Definition nrf_modem_dect_phy.h:344
uint8_t df_mcs
Defines the transmissions modulation and coding scheme.
Definition nrf_modem_dect_phy.h:364
uint8_t reserved
Reserved.
Definition nrf_modem_dect_phy.h:368
uint8_t transmitter_id_lo
Transmitter ID low byte.
Definition nrf_modem_dect_phy.h:360
Physical header type 1.
Definition nrf_modem_dect_phy.h:336
uint8_t transmit_power
Transmit power.
Definition nrf_modem_dect_phy.h:468
union nrf_modem_dect_phy_feedback feedback
Feedback info.
Definition nrf_modem_dect_phy.h:502
uint8_t transmitter_id_lo
Transmitter ID low byte.
Definition nrf_modem_dect_phy.h:460
uint8_t df_new_data_indication
New data indication.
Definition nrf_modem_dect_phy.h:488
uint8_t packet_length_type
Indicates whether the packet_length is given in subslots (0) or slots (1).
Definition nrf_modem_dect_phy.h:444
uint8_t packet_length
Packet length in subslots or slots.
Definition nrf_modem_dect_phy.h:440
uint8_t transmitter_id_hi
Transmitter ID high byte.
Definition nrf_modem_dect_phy.h:456
uint8_t short_network_id
Short network ID.
Definition nrf_modem_dect_phy.h:452
uint8_t receiver_id_lo
Receiver ID low byte.
Definition nrf_modem_dect_phy.h:476
uint8_t num_spatial_streams
Number of spatial streams.
Definition nrf_modem_dect_phy.h:498
uint8_t header_format
Format of the control header Type 2.
Definition nrf_modem_dect_phy.h:448
uint8_t df_redundancy_version
Redundancy version.
Definition nrf_modem_dect_phy.h:494
uint8_t df_harq_process_num
HARQ process number.
Definition nrf_modem_dect_phy.h:482
uint8_t receiver_id_hi
Receiver ID high byte.
Definition nrf_modem_dect_phy.h:472
uint8_t df_mcs
Defines the transmissions modulation and coding scheme.
Definition nrf_modem_dect_phy.h:464
Physical header type 2.
Definition nrf_modem_dect_phy.h:436
uint16_t temperature_limit
Operating temperature limit, in degrees Celsius.
Definition nrf_modem_dect_phy.h:1077
int16_t temp
Temperature in degrees Celsius.
Definition nrf_modem_dect_phy.h:1069
enum nrf_modem_dect_phy_err err
Operation result.
Definition nrf_modem_dect_phy.h:1065
uint16_t voltage
Voltage in millivolts.
Definition nrf_modem_dect_phy.h:1073
Initialization event.
Definition nrf_modem_dect_phy.h:1054
enum nrf_modem_dect_phy_err err
Operation result.
Definition nrf_modem_dect_phy.h:1571
struct nrf_modem_dect_phy_latency_info * latency_info
PHY latency info.
Definition nrf_modem_dect_phy.h:1575
Latency event.
Definition nrf_modem_dect_phy.h:1562
uint32_t activation
Duration of DECT PHY stack activation.
Definition nrf_modem_dect_phy.h:1013
uint32_t deactivation
Duration of DECT PHY stack deactivation.
Definition nrf_modem_dect_phy.h:1019
uint32_t radio_mode_transition[NRF_MODEM_DECT_PHY_RADIO_MODE_COUNT]
Delay in transitioning from one radio mode to another.
Definition nrf_modem_dect_phy.h:941
uint32_t scheduled_operation_transition
Scheduled operation transition delay.
Definition nrf_modem_dect_phy.h:930
uint32_t configuration
Duration of DECT PHY stack configuration.
Definition nrf_modem_dect_phy.h:1007
uint32_t active_to_idle_rx_rssi
RX with RSSI operation end latency (RF OFF to IDLE).
Definition nrf_modem_dect_phy.h:968
struct nrf_modem_dect_phy_latency_info::@77 operation
Duration of radio state transitions.
uint32_t active_to_idle_rssi
RSSI operation end latency (RF OFF to IDLE).
Definition nrf_modem_dect_phy.h:960
uint32_t idle_to_active
Receive operation start latency (IDLE to RF ON).
Definition nrf_modem_dect_phy.h:956
struct nrf_modem_dect_phy_latency_info::@76 radio_mode[NRF_MODEM_DECT_PHY_RADIO_MODE_COUNT]
Radio mode specific latencies.
uint32_t active_to_idle_rx
RX operation end latency (RF OFF to IDLE).
Definition nrf_modem_dect_phy.h:964
struct nrf_modem_dect_phy_latency_info::@77::@80 transmit
struct nrf_modem_dect_phy_latency_info::@78 stack
Duration of DECT PHY stack operations.
uint32_t deinitialization
Duration of DECT PHY stack deinitialization.
Definition nrf_modem_dect_phy.h:1001
uint32_t scheduled_operation_startup
Additional delay for scheduled operations.
Definition nrf_modem_dect_phy.h:937
uint32_t initialization
Duration of DECT PHY stack initialization.
Definition nrf_modem_dect_phy.h:995
uint32_t active_to_idle
Transmit operation end latency (RF OFF to IDLE).
Definition nrf_modem_dect_phy.h:982
uint32_t stop_to_rf_off
Operation stop latency (STOP_REQ to RF OFF).
Definition nrf_modem_dect_phy.h:972
struct nrf_modem_dect_phy_latency_info::@77::@79 receive
DECT PHY latency information.
Definition nrf_modem_dect_phy.h:913
uint16_t voltage
Voltage in millivolts.
Definition nrf_modem_dect_phy.h:1125
uint32_t handle
Handle of the operation.
Definition nrf_modem_dect_phy.h:1087
enum nrf_modem_dect_phy_err err
Operation result.
Definition nrf_modem_dect_phy.h:1117
int16_t temp
Temperature in degrees Celsius.
Definition nrf_modem_dect_phy.h:1121
Operation complete event.
Definition nrf_modem_dect_phy.h:1083
uint32_t handle
Handle for the operation.
Definition nrf_modem_dect_phy.h:1244
uint16_t transaction_id
Transaction ID.
Definition nrf_modem_dect_phy.h:1266
int16_t rssi_2
Received signal strength indicator (RSSI-2).
Definition nrf_modem_dect_phy.h:1252
uint64_t stf_start_time
Synchronization Training Field start time.
Definition nrf_modem_dect_phy.h:1240
int16_t snr
Received signal to noise indicator (SNR).
Definition nrf_modem_dect_phy.h:1260
PCC reception CRC failure event.
Definition nrf_modem_dect_phy.h:1234
union nrf_modem_dect_phy_hdr hdr
PHY header.
Definition nrf_modem_dect_phy.h:1206
uint16_t transaction_id
Transaction ID.
Definition nrf_modem_dect_phy.h:1228
uint8_t phy_type
Physical layer control field type.
Definition nrf_modem_dect_phy.h:1202
int16_t snr
Received signal to noise indicator (SNR).
Definition nrf_modem_dect_phy.h:1222
int16_t rssi_2
Received signal strength indicator (RSSI-2).
Definition nrf_modem_dect_phy.h:1214
enum nrf_modem_dect_phy_hdr_status header_status
Validity of the physical header.
Definition nrf_modem_dect_phy.h:1194
uint64_t stf_start_time
Synchronization Training Field start time.
Definition nrf_modem_dect_phy.h:1186
uint32_t handle
Handle for the operation.
Definition nrf_modem_dect_phy.h:1190
PCC reception event.
Definition nrf_modem_dect_phy.h:1180
int16_t rssi_2
Received signal strength indicator (RSSI-2).
Definition nrf_modem_dect_phy.h:1327
uint32_t handle
Handle for the operation.
Definition nrf_modem_dect_phy.h:1316
int16_t snr
Received signal to noise indicator (SNR).
Definition nrf_modem_dect_phy.h:1338
uint16_t transaction_id
Transaction ID.
Definition nrf_modem_dect_phy.h:1344
PDC CRC failure event.
Definition nrf_modem_dect_phy.h:1312
int16_t snr
Received signal to noise indicator (SNR).
Definition nrf_modem_dect_phy.h:1292
uint32_t handle
Handle for the operation.
Definition nrf_modem_dect_phy.h:1276
uint16_t transaction_id
Transaction ID.
Definition nrf_modem_dect_phy.h:1298
void * data
Received data payload.
Definition nrf_modem_dect_phy.h:1302
int16_t rssi_2
Received signal strength indicator (RSSI-2).
Definition nrf_modem_dect_phy.h:1284
size_t len
Data payload length, in bytes.
Definition nrf_modem_dect_phy.h:1306
PDC reception event.
Definition nrf_modem_dect_phy.h:1272
enum nrf_modem_dect_phy_err err
Operation result.
Definition nrf_modem_dect_phy.h:1386
uint32_t handle
Handle of the operation.
Definition nrf_modem_dect_phy.h:1378
Radio configuration event.
Definition nrf_modem_dect_phy.h:1374
uint64_t start_time
Operation start time as modem time.
Definition nrf_modem_dect_phy.h:895
enum nrf_modem_dect_phy_radio_mode radio_mode
Desired radio mode.
Definition nrf_modem_dect_phy.h:905
uint32_t handle
Handle for the operation.
Definition nrf_modem_dect_phy.h:901
Radio configuration operation.
Definition nrf_modem_dect_phy.h:888
enum nrf_modem_dect_phy_err err
Operation result.
Definition nrf_modem_dect_phy.h:1589
Reject event.
Definition nrf_modem_dect_phy.h:1581
uint16_t meas_len
Number of measurements in meas.
Definition nrf_modem_dect_phy.h:1147
uint64_t meas_start_time
Measurement start time, in modem time units.
Definition nrf_modem_dect_phy.h:1139
uint16_t carrier
The absolute channel frequency number on which the measurements were made.
Definition nrf_modem_dect_phy.h:1143
uint32_t handle
Handle of the operation.
Definition nrf_modem_dect_phy.h:1135
int8_t * meas
RSSI measurements, in dBm.
Definition nrf_modem_dect_phy.h:1156
RSSI measurement event.
Definition nrf_modem_dect_phy.h:1131
uint32_t duration
Duration of measurement in subslots.
Definition nrf_modem_dect_phy.h:840
uint16_t carrier
The absolute channel frequency number for the RSSI measurement operation.
Definition nrf_modem_dect_phy.h:833
uint64_t start_time
Operation start time as modem time.
Definition nrf_modem_dect_phy.h:821
uint32_t handle
Handle for the operation.
Definition nrf_modem_dect_phy.h:827
enum nrf_modem_dect_phy_rssi_interval reporting_interval
RSSI measurements reporting interval, in slots.
Definition nrf_modem_dect_phy.h:844
RSSI-1 measurement operation.
Definition nrf_modem_dect_phy.h:811
uint8_t short_network_id
Short Network ID.
Definition nrf_modem_dect_phy.h:586
uint8_t is_short_network_id_used
Short Network ID filter activation.
Definition nrf_modem_dect_phy.h:593
uint16_t receiver_identity
Receiver Identity.
Definition nrf_modem_dect_phy.h:604
Specification for reception filter.
Definition nrf_modem_dect_phy.h:577
uint32_t handle
Handle for the operation.
Definition nrf_modem_dect_phy.h:626
uint32_t network_id
Network ID for scrambling.
Definition nrf_modem_dect_phy.h:632
int8_t rssi_level
Expected antenna signal level of the reception.
Definition nrf_modem_dect_phy.h:664
uint16_t carrier
The absolute channel frequency number for the reception.
Definition nrf_modem_dect_phy.h:670
struct nrf_modem_dect_phy_link_id link_id
Radio link identifier.
Definition nrf_modem_dect_phy.h:649
uint64_t start_time
Operation start time as modem time.
Definition nrf_modem_dect_phy.h:620
struct nrf_modem_dect_phy_rx_filter filter
Reception filter for this operation.
Definition nrf_modem_dect_phy.h:678
uint32_t duration
Duration of reception in modem time units.
Definition nrf_modem_dect_phy.h:674
enum nrf_modem_dect_phy_rx_mode mode
Reception mode.
Definition nrf_modem_dect_phy.h:636
enum nrf_modem_dect_phy_rssi_interval rssi_interval
RSSI measurement reporting interval, in slots.
Definition nrf_modem_dect_phy.h:640
RX operation.
Definition nrf_modem_dect_phy.h:610
enum nrf_modem_dect_phy_err err
Operation result.
Definition nrf_modem_dect_phy.h:1503
STF cover sequence control event.
Definition nrf_modem_dect_phy.h:1494
enum nrf_modem_dect_phy_test_rf_tx_cw_err err
Operation result.
Definition nrf_modem_dect_phy.h:1488
Test RF TX CW control event.
Definition nrf_modem_dect_phy.h:1486
enum nrf_modem_dect_phy_err err
Operation result.
Definition nrf_modem_dect_phy.h:1414
Time get event.
Definition nrf_modem_dect_phy.h:1406
uint8_t * data
The data to be sent.
Definition nrf_modem_dect_phy.h:784
uint64_t start_time
Operation start time as modem time.
Definition nrf_modem_dect_phy.h:694
union nrf_modem_dect_phy_hdr * phy_header
Physical header corresponding to the physical layer control field type.
Definition nrf_modem_dect_phy.h:770
uint8_t bs_cqi
Buffer status and channel quality indicator.
Definition nrf_modem_dect_phy.h:780
uint32_t data_size
Size of the data in bytes.
Definition nrf_modem_dect_phy.h:788
uint8_t phy_type
Physical layer control field type.
Definition nrf_modem_dect_phy.h:714
uint32_t lbt_period
Listen before talk period in modem time units.
Definition nrf_modem_dect_phy.h:766
uint16_t carrier
The absolute channel frequency number for the transmission.
Definition nrf_modem_dect_phy.h:740
uint32_t handle
Handle for the operation.
Definition nrf_modem_dect_phy.h:700
uint32_t network_id
Network ID for scrambling.
Definition nrf_modem_dect_phy.h:706
int8_t lbt_rssi_threshold_max
Listen before talk maximum RSSI threshold, in dBm.
Definition nrf_modem_dect_phy.h:727
TX operation.
Definition nrf_modem_dect_phy.h:684
struct nrf_modem_dect_phy_tx_params tx
TX operation.
Definition nrf_modem_dect_phy.h:798
struct nrf_modem_dect_phy_rx_params rx
RX operation.
Definition nrf_modem_dect_phy.h:805
Combined TX and RX operation.
Definition nrf_modem_dect_phy.h:794
uint8_t harq_feedback_bitmap_proc1
Definition nrf_modem_dect_phy.h:406
uint8_t harq_feedback_bitmap_proc7
Definition nrf_modem_dect_phy.h:410
struct nrf_modem_dect_phy_feedback::@72 format3
struct nrf_modem_dect_phy_feedback::@73 format4
uint8_t cqi
Definition nrf_modem_dect_phy.h:385
uint8_t harq_feedback_bitmap_proc2
Definition nrf_modem_dect_phy.h:405
struct nrf_modem_dect_phy_feedback::@71 format2
uint8_t transmission_feedback
Definition nrf_modem_dect_phy.h:416
uint8_t mimo_feedback
Definition nrf_modem_dect_phy.h:389
uint8_t codebook_index
Definition nrf_modem_dect_phy.h:390
uint8_t harq_process_number1
Definition nrf_modem_dect_phy.h:401
uint8_t harq_feedback_bitmap_proc5
Definition nrf_modem_dect_phy.h:412
uint8_t transmission_feedback1
Definition nrf_modem_dect_phy.h:400
uint8_t buffer_status
Definition nrf_modem_dect_phy.h:386
uint8_t harq_process_number0
Definition nrf_modem_dect_phy.h:383
struct nrf_modem_dect_phy_feedback::@75 format6
uint8_t harq_feedback_bitmap_proc6
Definition nrf_modem_dect_phy.h:411
uint8_t transmission_feedback0
Definition nrf_modem_dect_phy.h:382
uint8_t harq_feedback_bitmap_proc4
Definition nrf_modem_dect_phy.h:413
struct nrf_modem_dect_phy_feedback::@70 format1
uint8_t reserved
Definition nrf_modem_dect_phy.h:423
struct nrf_modem_dect_phy_feedback::@74 format5
uint8_t format
Definition nrf_modem_dect_phy.h:384
uint8_t harq_feedback_bitmap_proc0
Definition nrf_modem_dect_phy.h:407
uint8_t harq_feedback_bitmap_proc3
Definition nrf_modem_dect_phy.h:404
uint8_t harq_process_number
Definition nrf_modem_dect_phy.h:417
Feedback format types.
Definition nrf_modem_dect_phy.h:380
struct nrf_modem_dect_phy_hdr_type_1 hdr_type_1
Header type 1, bitfield accessor.
Definition nrf_modem_dect_phy.h:522
uint8_t type_2[10]
Header type 2.
Definition nrf_modem_dect_phy.h:518
uint8_t type_1[5]
Header type 1.
Definition nrf_modem_dect_phy.h:514
struct nrf_modem_dect_phy_hdr_type_2 hdr_type_2
Header type 2, bitfield accessor.
Definition nrf_modem_dect_phy.h:526
Physical header.
Definition nrf_modem_dect_phy.h:510