nRF WiFi
Loading...
Searching...
No Matches
FMAC radio test API

Header containing API declarations for the FMAC IF Layer of the Wi-Fi driver. More...

Data Structures

struct  nrf_wifi_rt_fmac_dev_ctx
 Structure to hold per device context information for the UMAC IF layer. More...
 
struct  rpu_rt_op_stats
 
  • Structure to hold per device host and firmware statistics.
More...
 

Functions

struct nrf_wifi_fmac_privnrf_wifi_rt_fmac_init (void)
 Initialize the UMAC IF layer.
 
enum nrf_wifi_status nrf_wifi_rt_fmac_radio_test_init (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, struct rpu_conf_params *params)
 Initialize the RPU for radio tests.
 
enum nrf_wifi_status nrf_wifi_rt_fmac_prog_tx (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, struct rpu_conf_params *params)
 Start TX tests in radio test mode.
 
enum nrf_wifi_status nrf_wifi_rt_fmac_prog_rx (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, struct rpu_conf_params *params)
 Start RX tests in radio test mode.
 
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.
 
enum nrf_wifi_status nrf_wifi_rt_fmac_rf_test_tx_tone (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, unsigned char enable, signed char tone_freq, signed char tx_power)
 Start/Stop RF TX tone test in radio test mode.
 
enum nrf_wifi_status nrf_wifi_rt_fmac_rf_test_dpd (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, unsigned char enable)
 Start/Stop RF DPD test in radio test mode.
 
enum nrf_wifi_status nrf_wifi_rt_fmac_rf_get_temp (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx)
 Get temperature in Fahrenheit using temperature sensor.
 
enum nrf_wifi_status nrf_wifi_rt_fmac_rf_get_bat_volt (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx)
 Logs the battery voltage in milliVolts.
 
enum nrf_wifi_status nrf_wifi_rt_fmac_rf_get_rf_rssi (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx)
 Get RF RSSI status.
 
enum nrf_wifi_status nrf_wifi_rt_fmac_set_xo_val (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, unsigned char value)
 Set XO adjustment value.
 
enum nrf_wifi_status nrf_wifi_rt_fmac_rf_test_compute_xo (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx)
 Get XO calibrated value.
 
struct nrf_wifi_fmac_dev_ctxnrf_wifi_rt_fmac_dev_add (struct nrf_wifi_fmac_priv *fpriv, void *os_dev_ctx)
 Adds a RPU instance.
 
enum nrf_wifi_status nrf_wifi_rt_fmac_dev_init (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, int sleep_type, unsigned int phy_calib, enum op_band op_band, bool beamforming, struct nrf_wifi_tx_pwr_ctrl_params *tx_pwr_ctrl, struct nrf_wifi_tx_pwr_ceil_params *tx_pwr_ceil_params, struct nrf_wifi_board_params *board_params, unsigned char *country_code)
 Initialize a RPU instance.
 
void nrf_wifi_rt_fmac_dev_deinit (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx)
 De-initialize a RPU instance.
 
enum nrf_wifi_status nrf_wifi_rt_fmac_rf_params_get (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, struct nrf_wifi_phy_rf_params *rf_params)
 Get the RF parameters to be programmed to the RPU.
 
enum nrf_wifi_status nrf_wifi_rt_fmac_stats_get (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, enum rpu_op_mode op_mode, struct rpu_rt_op_stats *stats)
 Issue a request to get stats from the RPU.
 

Detailed Description

Header containing API declarations for the FMAC IF Layer of the Wi-Fi driver.

Header containing declarations for utility functions for FMAC IF Layer of the Wi-Fi driver.

TODO: This file is not added doxygen to avoid duplicate warnings.