XCORE SDK
XCORE Software Development Kit
Public Attributes | List of all members
sl_wfx_pta_settings_req_body_s Struct Reference

Request sent by the host to set the PTA mode, the active levels on signals, the Coex type, to define the timings, quotas, combined mode and default grant state. More...

#include <sl_wfx_general_api.h>

Public Attributes

uint8_t pta_mode
 The PTA mode, see enum sl_wfx_pta_mode_t.
 
uint8_t request_signal_active_level
 Active level on REQUEST signal (PTA_RF_ACT pin), provided by Coex to request the RF, see enum sl_wfx_signal_level_t.
 
uint8_t priority_signal_active_level
 Active level on PRIORITY signal (PTA_STATUS pin), provided by Coex to set the priority of the request, see enum sl_wfx_signal_level_t.
 
uint8_t freq_signal_active_level
 Active level on FREQ signal (PTA_FREQ pin), provided by Coex in 4-wire mode when Coex and WLAN share the same band, see enum sl_wfx_signal_level_t.
 
uint8_t grant_signal_active_level
 Active level on GRANT signal (PTA_TX_CONF pin), generated by PTA to grant the RF to Coex, see enum sl_wfx_signal_level_t.
 
uint8_t coex_type
 The Coex type, see enum sl_wfx_coex_type_t.
 
uint8_t default_grant_state
 The state of the GRANT signal before arbitration at grant_valid_time, see enum sl_wfx_grant_state_t.
 
uint8_t simultaneous_rx_access
 Boolean to allow both Coex and WLAN to receive concurrently, also named combined mode.
 
uint8_t priority_sampling_time
 The time (in microseconds) from the Coex request to the sampling of the priority on PRIORITY signal (1 to 31)
 
uint8_t tx_rx_sampling_time
 The time (in microseconds) from the Coex request to the sampling of the directionality on PRIORITY signal (priority_sampling_time to 63)
 
uint8_t freq_sampling_time
 The time (in microseconds) from the Coex request to the sampling of freq-match information on FREQ signal (1 to 127)
 
uint8_t grant_valid_time
 The time (in microseconds) from Coex request to the GRANT signal assertion (MAX(tx_rx_sampling_time, freq_sampling_time) to 255)
 
uint8_t fem_control_time
 The time (in microseconds) from Coex request to the control of FEM (grant_valid_time to 255)
 
uint8_t first_slot_time
 The time (in microseconds) from the Coex request to the beginning of reception or transmission (grant_valid_time to 255)
 
uint16_t periodic_tx_rx_sampling_time
 The period (in microseconds) from first_slot_time of following samplings of the directionality on PRIORITY signal (1 to 1023)
 
uint16_t coex_quota
 The duration (in microseconds) for which RF is granted to Coex before it is moved to WLAN.
 
uint16_t wlan_quota
 The duration (in microseconds) for which RF is granted to WLAN before it is moved to Coex.
 

Detailed Description

Request sent by the host to set the PTA mode, the active levels on signals, the Coex type, to define the timings, quotas, combined mode and default grant state.

Depending on specified PTA mode, every setting is not necessarily used and can then be set to '0'.
The following table indicates the PTA mode for which the setting is significant.
Combined mode is activated during concurrent RX (WLAN and Coex) requests and if SimultaneousRxAccesses is set to '1'.

Settings 1-wire WLAN Master 1-wire Coex Master 2-wire 3-wire 3-wire (combined) 4-wire 4-wire (combined)
PrioritySamplingTime x x x x
TxRxSamplingTime x x
FreqSamplingTime x x
GrantValidTime x x x x
FemControlTime x x x x
FirstSlotTime x x
PeriodicTxRxSamplingTime x x
CoexQuota x x
WlanQuota x x


Sequence diagram with 3-wire PTA mode


Sequence diagram with 4-wire PTA mode
Note
Request will fail if PTA is started.
Warning
The following assertions must be respected:
  • priority_sampling_time < tx_rx_sampling_time < grant_valid_time <= first_slot_time
  • freq_sampling_time < grant_valid_time < fem_control_time

The documentation for this struct was generated from the following file: