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 typedef struct rxreport_8723b
\r
59 u32 rx_is_tcp_udp:1;
\r
74 u32 wlanhd_iv_len:6;
\r
94 u32 splcp:1; //Ofdm sgi or cck_splcp
\r
103 } RXREPORT, *PRXREPORT;
\r
105 typedef struct phystatus_8723b
\r
118 u32 noisepwrdb_h:8;
\r
129 u32 noisepwrdb_l:8;
\r
148 } PHYSTATUS, *PPHYSTATUS;
\r
150 #if defined(CONFIG_SDIO_HCI) || defined(CONFIG_GSPI_HCI)
\r
151 s32 rtl8723bs_init_recv_priv(PADAPTER padapter);
\r
152 void rtl8723bs_free_recv_priv(PADAPTER padapter);
\r
155 void rtl8723b_query_rx_phy_status(union recv_frame *prframe, struct phy_stat *pphy_stat);
\r
156 void rtl8723b_process_phy_info(PADAPTER padapter, void *prframe);
\r
157 #ifdef CONFIG_USB_HCI
\r
158 void update_recvframe_attrib(PADAPTER padapter, union recv_frame *precvframe, struct recv_stat *prxstat);
\r
159 void update_recvframe_phyinfo(union recv_frame *precvframe, struct phy_stat *pphy_info);
\r
160 int rtl8723bu_init_recv_priv(_adapter *padapter);
\r
161 void rtl8723bu_free_recv_priv (_adapter *padapter);
\r
162 void rtl8723bu_init_recvbuf(_adapter *padapter, struct recv_buf *precvbuf);
\r
165 #ifdef CONFIG_PCI_HCI
\r
166 s32 rtl8723be_init_recv_priv(PADAPTER padapter);
\r
167 void rtl8723be_free_recv_priv(PADAPTER padapter);
\r
170 void rtl8723b_query_rx_desc_status(union recv_frame *precvframe, u8 *pdesc);
\r