nrfxlib API 0.1.0
Loading...
Searching...
No Matches
fmac_cmd.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
12#ifndef __FMAC_CMD_H__
13#define __FMAC_CMD_H__
14
15#define NRF_WIFI_FMAC_STATS_RECV_TIMEOUT 50 /* ms */
16#define NRF_WIFI_FMAC_PS_CONF_EVNT_RECV_TIMEOUT 50 /* ms */
17#ifdef CONFIG_NRF700X_RADIO_TEST
18#define NRF_WIFI_FMAC_RF_TEST_EVNT_TIMEOUT 50 /* 5s */
19#endif /* CONFIG_NRF_WIFI_LOW_POWER */
20#define NRF_WIFI_FMAC_REG_SET_TIMEOUT_MS 2000 /* 2s */
21
23 int type,
24 int size);
25
27 void *params,
28 int len);
29
31 struct nrf_wifi_phy_rf_params *rf_params,
32 bool rf_params_valid,
33#ifndef CONFIG_NRF700X_RADIO_TEST
34 struct nrf_wifi_data_config_params *config,
35#endif /* !CONFIG_NRF700X_RADIO_TEST */
36#ifdef CONFIG_NRF_WIFI_LOW_POWER
37 int sleep_type,
38#endif /* CONFIG_NRF_WIFI_LOW_POWER */
39 unsigned int phy_calib,
40 enum op_band op_band,
41 bool beamforming,
42 struct nrf_wifi_tx_pwr_ctrl_params *tx_pwr_ctrl_params,
43 struct nrf_wifi_board_params *board_params);
44
46
48 void *cmd, unsigned int cmd_len);
49
51 unsigned char he_ltf,
52 unsigned char he_gi,
53 unsigned char enabled);
54
55#ifdef CONFIG_NRF700X_RADIO_TEST
56enum nrf_wifi_status umac_cmd_prog_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx,
57 struct nrf_wifi_radio_test_init_info *init_params);
58
59enum nrf_wifi_status umac_cmd_prog_tx(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx,
60 struct rpu_conf_params *params);
61
62enum nrf_wifi_status umac_cmd_prog_rx(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx,
63 struct rpu_conf_rx_radio_test_params *rx_params);
64
65enum nrf_wifi_status umac_cmd_prog_rf_test(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx,
66 void *rf_test_params,
67 unsigned int rf_test_params_sz);
68#endif /* CONFIG_NRF700X_RADIO_TEST */
69
71#ifdef CONFIG_NRF700X_RADIO_TEST
72 int op_mode,
73#endif /* CONFIG_NRF700X_RADIO_TEST */
74 int stat_type);
75
77
78#endif /* __FMAC_CMD_H__ */
enum nrf_wifi_status umac_cmd_deinit(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx)
enum nrf_wifi_status umac_cmd_prog_stats_reset(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx)
enum nrf_wifi_status umac_cmd_he_ltf_gi(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, unsigned char he_ltf, unsigned char he_gi, unsigned char enabled)
enum nrf_wifi_status umac_cmd_cfg(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, void *params, int len)
enum nrf_wifi_status umac_cmd_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, struct nrf_wifi_phy_rf_params *rf_params, bool rf_params_valid, struct nrf_wifi_data_config_params *config, unsigned int phy_calib, enum op_band op_band, bool beamforming, struct nrf_wifi_tx_pwr_ctrl_params *tx_pwr_ctrl_params, struct nrf_wifi_board_params *board_params)
enum nrf_wifi_status umac_cmd_srcoex(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, void *cmd, unsigned int cmd_len)
enum nrf_wifi_status umac_cmd_prog_stats_get(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, int stat_type)
struct host_rpu_msg * umac_cmd_alloc(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, int type, int size)
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
signed int type
Definition: host_rpu_common_if.h:68
This structure defines the common message header used to encapsulate each message exchanged between t...
Definition: host_rpu_common_if.h:64
This structure defines board dependent parameters like PCB loss.
Definition: host_rpu_sys_if.h:828
This structure specifies the configuration parameters used for configuring data-related settings.
Definition: host_rpu_sys_if.h:702
Structure to hold common fmac dev context parameter data.
Definition: fmac_structs_common.h:146
Definition: phy_rf_params.h:299
This structure represents the parameters required to initialize a radio test.
Definition: host_rpu_sys_if.h:1094
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
This structure specifies the parameters required to start or stop the RX (receive) operation in radio...
Definition: host_rpu_sys_if.h:234