#[repr(C)]pub struct nrf_modem_dect_phy_tx_params {
pub start_time: u64,
pub handle: u32,
pub network_id: u32,
pub phy_type: u8,
pub lbt_rssi_threshold_max: i8,
pub carrier: u16,
pub lbt_period: u32,
pub phy_header: *mut nrf_modem_dect_phy_hdr,
pub bs_cqi: u8,
pub data: *mut u8,
pub data_size: u32,
}Expand description
TX operation.
Fields§
§start_time: u64Operation start time as modem time.
If zero, the operation will be executed immediately.
This kind of scheduling can only be done when the modem is idle.
handle: u32Handle for the operation.
An application-defined handle for the operation.
network_id: u32Network ID for scrambling.
Must not be zero.
phy_type: u8Physical layer control field type.
Valid values are 0 and 1 corresponding Type 1 and Type 2.
See 6.2.1 of @ref DECT-SPEC “DECT-2020 NR Part 4”.
lbt_rssi_threshold_max: i8Listen before talk maximum RSSI threshold, in dBm.
The measured RSSI-1 needs to be smaller than this value for the channel to be considered available for TX.
@note RSSI measurements during LBT are quantized to implementation defined limits, so the value given here may not be exactly the applied LBT RSSI threshold.
See 5.1.2 of @ref DECT-SPEC “DECT-2020 NR Part 4”.
carrier: u16The absolute channel frequency number for the transmission.
See 5.4.2 of @ref DECT-SPEC “DECT-2020 NR Part 2”.
@warning You must ensure that you are complying with applicable regulations when transmitting. If you are operating your device in Europe, you must refer to table 4.3.2.3-2 of @ref DECT-SPEC “DECT Harmonised Standard”. If you are operating your device in the United States, you must refer to @ref DECT-SPEC “47 CFR Part 15.323”.
lbt_period: u32Listen before talk period in modem time units.
This is the required duration for the channel to be assessed as “free” or “available” before starting transmission. This duration is divided into as many as 64 separate integration periods, with each period being a multiple of the symbol duration. Each integration period is of equal length, up to a maximum of 7 symbols. The maximum number of integration periods is utilized. For instance, LBT durations of up to 64 symbols are divided into integration periods of one symbol each, and LBT durations of 65-128 symbols are divided into two-symbol integration periods. The LBT duration may be adjusted slightly to meet these requirements without exceeding the specified LBT length, for example, a duration of 71 symbols would be adjusted to 70 symbols (35 periods of 2 symbols each).
If the channel is initially found to be “busy,” the modem will cease further measurement of the channel and will report an error instead. It is then the responsibility of the higher layer to reschedule the transmission.
If set to zero, LBT is not used. Otherwise the acceptable value range is [@ref NRF_MODEM_DECT_LBT_PERIOD_MIN, @ref NRF_MODEM_DECT_LBT_PERIOD_MAX].
phy_header: *mut nrf_modem_dect_phy_hdrPhysical header corresponding to the physical layer control field type.
bs_cqi: u8Buffer status and channel quality indicator.
Only used for HARQ transmissions, with @ref nrf_modem_dect_phy_tx_harq.
Set to @ref NRF_MODEM_DECT_PHY_BS_CQI_NOT_USED otherwise.
See 6.2.2-3 and 6.2.2-4 of @ref DECT-SPEC “DECT-2020 NR Part 4”.
data: *mut u8The data to be sent.
data_size: u32Size of the data in bytes.
Trait Implementations§
Source§impl Clone for nrf_modem_dect_phy_tx_params
impl Clone for nrf_modem_dect_phy_tx_params
Source§fn clone(&self) -> nrf_modem_dect_phy_tx_params
fn clone(&self) -> nrf_modem_dect_phy_tx_params
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more