xref: /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/hal_rx.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 
2 /******************************************************************************
3  *
4  * Copyright(c) 2019 Realtek Corporation.
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms of version 2 of the GNU General Public License as
8  * published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13  * more details.
14  *
15  *****************************************************************************/
16 #ifndef _HAL_RX_H_
17 #define _HAL_RX_H_
18 
19 void
20 hal_rx_ppdu_sts_normal_data(struct rtw_phl_com_t *phl_com,
21 			    void *hdr,
22 			    struct rtw_r_meta_data *meta);
23 
24 void
25 hal_rx_ppdu_sts(struct rtw_phl_com_t *phl_com,
26 		struct rtw_phl_rx_pkt *phl_rx,
27 		struct hal_ppdu_sts *ppdu_sts);
28 
29 #ifdef CONFIG_PCI_HCI
30 /**
31  * rtw_hal_query_rxch_num - query total hw rx dma channels number
32  *
33  * returns the number of  hw rx dma channel
34  */
35 u8 rtw_hal_query_rxch_num(void *hal);
36 #endif
37 
38 #endif /*_HAL_RX_H_*/
39