1 /* 2 * Copyright (c) 2024 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 /** 8 * @brief Header containing virtual interface (VIF) specific declarations for 9 * the FMAC IF Layer of the Wi-Fi driver. 10 */ 11 12 #ifndef __FMAC_VIF_H__ 13 #define __FMAC_VIF_H__ 14 15 #include "system/fmac_structs.h" 16 17 int nrf_wifi_fmac_vif_check_if_limit(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 18 int if_type); 19 20 void nrf_wifi_fmac_vif_incr_if_type(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 21 int if_type); 22 23 void nrf_wifi_fmac_vif_decr_if_type(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, 24 int if_type); 25 26 void nrf_wifi_fmac_vif_clear_ctx(void *fmac_dev_ctx, 27 unsigned char if_idx); 28 29 void nrf_wifi_fmac_vif_update_if_type(void *fmac_dev_ctx, 30 unsigned char if_idx, 31 int if_type); 32 33 unsigned int nrf_wifi_fmac_get_num_vifs(void *fmac_dev_ctx); 34 35 #endif /* __FMAC_VIF_H__ */ 36