1 /* 2 * Copyright (c) 2025 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 /** 8 * @file fmac_event.h 9 * 10 * @brief Header containing event specific declarations in the 11 * Offloaded raw TX mode for the FMAC IF Layer of the Wi-Fi driver. 12 */ 13 #ifndef __FMAC_EVENT_OFF_RAW_TX_H__ 14 #define __FMAC_EVENT_OFF_RAW_TX__H__ 15 16 /** 17 * @brief RPU event classifier and handler. 18 * 19 * This callback classifies and processes an event. This classification of the 20 * event is based on whether it contains data or control messages 21 * and invokes further handlers based on that. 22 * 23 * @param data Pointer to the device driver context. 24 * @param event_data Pointer to event data. 25 * @param len Length of event data pointed to by @p event_data. 26 * 27 * @return Status 28 * - Pass: NRF_WIFI_STATUS_SUCCESS 29 * - Fail: NRF_WIFI_STATUS_FAIL 30 */ 31 enum nrf_wifi_status nrf_wifi_off_raw_tx_fmac_event_callback(void *mac_dev_ctx, 32 void *rpu_event_data, 33 unsigned int rpu_event_len); 34 35 #endif /* __FMAC_EVENT_OFF_RAW_TX_H__ */