/* SPDX-License-Identifier: GPL-2.0-only */ /*! ****************************************************************************** @file umac_hal.h @brief HAL API This file contains the interface description for the HAL (Hardware Abstraction Layer) API. @author Nordic Semiconductor ASA @date 2013 ******************************************************************************/ #ifndef _UMAC_HAL_H_g #define _UMAC_HAL_H_g typedef struct umac_hal_ops_tag { /*! Function used to initialise the HAL layer */ int (*init)(void); /*! Function used to de-initialise the HAL layer */ int (*deinit)(void); }umac_hal_ops_t; extern umac_hal_ops_t umac_hal_ops; typedef struct umac_hal_debug { unsigned int command_cnt; unsigned int fragment_cmd_alloc_fail; unsigned int send_rx_buffs_to_host; unsigned int events; unsigned int fragmented_events; unsigned int total_fragments; unsigned int event_node_alloc_fail; unsigned int hpqm_event_pop_fail; unsigned int events_tohost; unsigned long total_events_to_host; unsigned int event_timer; } umac_hal_debug_t; extern umac_hal_debug_t umac_hal_debug_gp; #endif /* _UMAC_HAL_H_g */