1 /* 2 * Copyright (c) 2024 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 /** 8 * @brief Header containing bounce buffer specific declarations for the FMAC IF Layer 9 * of the Wi-Fi driver. 10 */ 11 12 #ifndef __FMAC_BB_H__ 13 #define __FMAC_BB_H__ 14 15 #define HOST_PKTRAM_BB_START 0x02C00000 16 #define HOST_PKTRAM_BB_LEN (4 * 1024 * 1024) 17 18 #ifndef VIRT_TO_PHYS 19 #define VIRT_TO_PHYS(addr) (HOST_PKTRAM_BB_START + (addr - fmac_ctx->base_addr_host_pktram_bb)) 20 #endif 21 22 void bb_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx); 23 24 #endif /* __FMAC_BB_H__ */ 25