nRF WiFi
Loading...
Searching...
No Matches

◆ nrf_wifi_rt_fmac_rf_test_rx_cap()

enum nrf_wifi_status nrf_wifi_rt_fmac_rf_test_rx_cap ( struct nrf_wifi_fmac_dev_ctx * fmac_dev_ctx,
enum nrf_wifi_rf_test rf_test_type,
void * cap_data,
unsigned short int num_samples,
unsigned short int capture_timeout,
unsigned char lna_gain,
unsigned char bb_gain,
unsigned char * timeout_status )

Start RF test capture in radio test mode.

Parameters
fmac_dev_ctxPointer to the UMAC IF context for a RPU WLAN device.
rf_test_typeType of RF test to be performed.
cap_dataPointer to the memory where the RF test capture is to be stored.
num_samplesNumber of RF test samples to capture.
capture_timeoutCapture timeout.
lna_gainLNA gain value.
bb_gainBaseband gain value.
timeout_statusTimeout status.

This function is used to send a command to:

  • The RPU firmware to start the RF test capture in radio test mode.
Return values
NRF_WIFI_STATUS_SUCCESSOn Success
NRF_WIFI_STATUS_FAILOn failure to execute command