@@ -53,7 +53,7 @@ void nrf_wifi_bal_deinit(struct nrf_wifi_bal_priv *bpriv);
5353 * @return Pointer to the added device context.
5454 */
5555struct nrf_wifi_bal_dev_ctx * nrf_wifi_bal_dev_add (struct nrf_wifi_bal_priv * bpriv ,
56- void * hal_dev_ctx );
56+ void * hal_dev_ctx );
5757
5858/**
5959 * @brief Remove a device context from the BAL layer.
@@ -99,8 +99,8 @@ unsigned int nrf_wifi_bal_read_word(void *ctx, unsigned long addr_offset);
9999 * @param val Value to write.
100100 */
101101void nrf_wifi_bal_write_word (void * ctx ,
102- unsigned long addr_offset ,
103- unsigned int val );
102+ unsigned long addr_offset ,
103+ unsigned int val );
104104
105105/**
106106 * @brief Read a block of data from a specific address offset.
@@ -111,9 +111,9 @@ void nrf_wifi_bal_write_word(void *ctx,
111111 * @param len Length of the data to read.
112112 */
113113void nrf_wifi_bal_read_block (void * ctx ,
114- void * dest_addr ,
115- unsigned long src_addr_offset ,
116- size_t len );
114+ void * dest_addr ,
115+ unsigned long src_addr_offset ,
116+ size_t len );
117117
118118/**
119119 * @brief Write a block of data to a specific address offset.
@@ -124,9 +124,23 @@ void nrf_wifi_bal_read_block(void *ctx,
124124 * @param len Length of the data to write.
125125 */
126126void nrf_wifi_bal_write_block (void * ctx ,
127- unsigned long dest_addr_offset ,
128- const void * src_addr ,
129- size_t len );
127+ unsigned long dest_addr_offset ,
128+ const void * src_addr ,
129+ size_t len );
130+ #ifdef WIFI_NRF71
131+ #ifdef INLINE_RX
132+ unsigned long nrf_wifi_bal_dma_map_inline_rx (void * ctx ,
133+ unsigned long virt_addr ,
134+ size_t len ,
135+ enum nrf_wifi_osal_dma_dir dma_dir );
136+
137+ unsigned long nrf_wifi_bal_dma_unmap_inline_rx (void * ctx ,
138+ unsigned long phy_addr ,
139+ size_t len ,
140+ enum nrf_wifi_osal_dma_dir dma_dir );
141+ #endif /* INLINE_RX */
142+ #endif /* WIFI_NRF71 */
143+
130144/**
131145 * @brief Map a virtual address to a physical address for DMA transfer.
132146 *
@@ -138,9 +152,9 @@ void nrf_wifi_bal_write_block(void *ctx,
138152 * @return The mapped physical address.
139153 */
140154unsigned long nrf_wifi_bal_dma_map (void * ctx ,
141- unsigned long virt_addr ,
142- size_t len ,
143- enum nrf_wifi_osal_dma_dir dma_dir );
155+ unsigned long virt_addr ,
156+ size_t len ,
157+ enum nrf_wifi_osal_dma_dir dma_dir );
144158
145159/**
146160 * @brief Unmap a physical address for DMA transfer.
@@ -151,9 +165,9 @@ unsigned long nrf_wifi_bal_dma_map(void *ctx,
151165 * @param dma_dir DMA direction.
152166 */
153167unsigned long nrf_wifi_bal_dma_unmap (void * ctx ,
154- unsigned long phy_addr ,
155- size_t len ,
156- enum nrf_wifi_osal_dma_dir dma_dir );
168+ unsigned long phy_addr ,
169+ size_t len ,
170+ enum nrf_wifi_osal_dma_dir dma_dir );
157171
158172/**
159173 * @brief Enable bus access recording.
0 commit comments