1 /******************************************************************************
\r
3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
\r
5 * This program is free software; you can redistribute it and/or modify it
\r
6 * under the terms of version 2 of the GNU General Public License as
\r
7 * published by the Free Software Foundation.
\r
9 * This program is distributed in the hope that it will be useful, but WITHOUT
\r
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
\r
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
\r
14 * You should have received a copy of the GNU General Public License along with
\r
15 * this program; if not, write to the Free Software Foundation, Inc.,
\r
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
\r
19 ******************************************************************************/
\r
20 #ifndef __RTL8723B_RECV_H__
\r
21 #define __RTL8723B_RECV_H__
\r
23 #include <rtl8192c_recv.h>
\r
25 #ifdef CONFIG_SDIO_HCI
\r
26 #ifndef CONFIG_SDIO_RX_COPY
\r
27 #undef MAX_RECVBUF_SZ
\r
28 #define MAX_RECVBUF_SZ (RX_DMA_SIZE_8723B - RX_DMA_RESERVED_SIZE_8723B)
\r
29 #endif // !CONFIG_SDIO_RX_COPY
\r
30 #endif // CONFIG_SDIO_HCI
\r
32 #if defined(CONFIG_SDIO_HCI) || defined(CONFIG_GSPI_HCI)
\r
33 s32 rtl8723bs_init_recv_priv(PADAPTER padapter);
\r
34 void rtl8723bs_free_recv_priv(PADAPTER padapter);
\r
37 #ifdef CONFIG_USB_HCI
\r
38 int rtl8723bu_init_recv_priv(_adapter *padapter);
\r
39 void rtl8723bu_free_recv_priv (_adapter *padapter);
\r
40 void rtl8723bu_init_recvbuf(_adapter *padapter, struct recv_buf *precvbuf);
\r
43 #ifdef CONFIG_PCI_HCI
\r
44 s32 rtl8723be_init_recv_priv(PADAPTER padapter);
\r
45 void rtl8723be_free_recv_priv(PADAPTER padapter);
\r
48 void rtl8723b_query_rx_phy_status(union recv_frame *precvframe, struct phy_stat *pphy_status);
\r
49 void rtl8723b_query_rx_desc_status(union recv_frame *precvframe, u8 *pdesc);
\r