1 /* 2 * Copyright (c) 2024 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 /** @file 8 * 9 * @addtogroup nrf_wifi_fmac_off_raw_tx_api FMAC offloaded raw tx API 10 * @{ 11 * 12 * TODO: This file is not added doxygen to avoid duplicate warnings. 13 * 14 * @brief Header containing declarations for utility functions for 15 * FMAC IF Layer of the Wi-Fi driver. 16 */ 17 18 #ifndef __FMAC_STRUCTS_H__ 19 #define __FMAC_STRUCTS_H__ 20 21 #include "host_rpu_sys_if.h" 22 #include "common/fmac_structs_common.h" 23 24 #define NRF_WIFI_FMAC_PARAMS_RECV_TIMEOUT 100 /* ms */ 25 26 /** 27 * @brief Structure to hold per device context information for the UMAC IF layer. 28 * 29 * This structure maintains the context information necessary for 30 * a single instance of a FullMAC-based RPU. 31 */ 32 struct nrf_wifi_off_raw_tx_fmac_dev_ctx { 33 enum nrf_wifi_cmd_status off_raw_tx_cmd_status; 34 bool off_raw_tx_cmd_done; 35 unsigned char country_code[NRF_WIFI_COUNTRY_CODE_LEN]; 36 }; 37 38 39 /** 40 * @brief - Structure to hold per device host and firmware statistics. 41 * 42 */ 43 struct rpu_off_raw_tx_op_stats { 44 /** Host statistics. */ 45 struct rpu_host_stats host; 46 /** Firmware statistics. */ 47 struct rpu_off_raw_tx_fw_stats fw; 48 }; 49 50 51 /** 52 * @} 53 */ 54 #endif /* __FMAC_STRUCTS_H__ */ 55