nrfxlib API 0.1.0
Loading...
Searching...
No Matches
fmac_api.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
16#ifndef __FMAC_API_H__
17#define __FMAC_API_H__
18
19#include "osal_api.h"
20#include "host_rpu_umac_if.h"
21#include "host_rpu_data_if.h"
22#include "host_rpu_sys_if.h"
23
24#include "fmac_structs.h"
25#include "fmac_cmd.h"
26#include "fmac_event.h"
27#include "fmac_vif.h"
28#include "fmac_bb.h"
29#include "fmac_api_common.h"
30
31
46
47
60 struct rpu_conf_params *params);
61
74 struct rpu_conf_params *params);
75
88 struct rpu_conf_params *params);
89
90
107 enum nrf_wifi_rf_test rf_test_type,
108 void *cap_data,
109 unsigned short int num_samples,
110 unsigned short int capture_timeout,
111 unsigned char lna_gain,
112 unsigned char bb_gain,
113 unsigned char *timeout_status);
114
115
130 unsigned char enable,
131 signed char tone_freq,
132 signed char tx_power);
133
134
135
148 unsigned char enable);
149
150
151
163
164
165
177
178
191 unsigned char value);
192
205
206
220
221
231
232
250#if defined(CONFIG_NRF_WIFI_LOW_POWER) || defined(__DOXYGEN__)
251 int sleep_type,
252#endif /* CONFIG_NRF_WIFI_LOW_POWER */
253 unsigned int phy_calib,
254 enum op_band op_band,
255 bool beamforming,
256 struct nrf_wifi_tx_pwr_ctrl_params *tx_pwr_ctrl,
257 struct nrf_wifi_tx_pwr_ceil_params *tx_pwr_ceil_params,
258 struct nrf_wifi_board_params *board_params);
259
260
270
274#endif /* __FMAC_API_H__ */
Header containing event specific declarations for the FMAC IF Layer of the Wi-Fi driver.
enum nrf_wifi_status nrf_wifi_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_fmac_radio_test_prog_tx(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, struct rpu_conf_params *params)
Start TX tests in radio test mode.
void nrf_wifi_fmac_dev_deinit_rt(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx)
De-initialize a RPU instance.
enum nrf_wifi_status nrf_wifi_fmac_rf_get_rf_rssi(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx)
Get RF RSSI status.
enum nrf_wifi_status nrf_wifi_fmac_set_xo_val(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, unsigned char value)
Set XO adjustment value.
void nrf_wifi_fmac_deinit_rt(struct nrf_wifi_fmac_priv *fpriv)
De-initialize the UMAC IF layer.
enum nrf_wifi_status nrf_wifi_fmac_rf_test_compute_xo(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx)
Get XO calibrated value.
void nrf_wifi_fmac_dev_rem_rt(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx)
Removes a RPU instance.
enum nrf_wifi_status nrf_wifi_fmac_dev_init_rt(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 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)
Initialize a RPU instance.
enum nrf_wifi_status nrf_wifi_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_fmac_radio_test_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_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_fmac_rf_get_temp(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx)
Get temperature in Fahrenheit using temperature sensor.
struct nrf_wifi_fmac_priv * nrf_wifi_fmac_init_rt(void)
Initialize the UMAC IF layer.
enum nrf_wifi_status nrf_wifi_fmac_radio_test_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, struct rpu_conf_params *params)
Initialize the RPU for radio tests.
op_band
This enum defines different types of operating bands.
Definition: host_rpu_sys_if.h:843
nrf_wifi_status
The status of an operation performed by the RPU driver.
Definition: osal_structs.h:29
This structure defines board dependent parameters like PCB loss.
Definition: host_rpu_sys_if.h:828
Structure to hold common fmac dev context parameter data.
Definition: fmac_structs_common.h:146
Structure to hold common fmac priv parameter data.
Definition: fmac_structs_common.h:135
This structure defines the parameters used to control the max transmit (TX) power in both frequency b...
Definition: phy_rf_params.h:546
This structure defines the parameters used to control the transmit (TX) power.
Definition: host_rpu_sys_if.h:761
This structure describes different Physical Layer (PHY) configuration parameters used in RF test and ...
Definition: host_rpu_sys_if.h:980