1 /******************************************************************************
3 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19 ******************************************************************************/
20 #ifndef __COMMON_C2H_H__
21 #define __COMMON_C2H_H__
23 typedef enum _C2H_EVT {
27 C2H_CCX_TX_RPT = 0x03,
28 C2H_AP_REQ_TXRPT = 0x04,
29 C2H_FW_SCAN_COMPLETE = 0x7,
31 C2H_BT_MP_INFO = 0x0B,
34 C2H_RA_PARA_RPT = 0x0E,
35 C2H_FW_CHNL_SWITCH_COMPLETE = 0x10,
36 C2H_IQK_FINISH = 0x11,
37 C2H_MAILBOX_STATUS = 0x15,
39 #ifdef CONFIG_MCC_MODE
41 #endif /* CONFIG_MCC_MODE */
42 C2H_MAC_HIDDEN_RPT = 0x19,
43 C2H_BCN_EARLY_RPT = 0x1E,
44 C2H_BT_SCOREBOARD_STATUS = 0x20,
48 typedef enum _EXTEND_C2H_EVT {
49 EXTEND_C2H_DBG_PRINT = 0
52 #define MAC_HIDDEN_RPT_LEN 8
53 int c2h_mac_hidden_rpt_hdl(_adapter *adapter, u8 *data, u8 len);
54 int hal_read_mac_hidden_rpt(_adapter *adapter);
56 #endif /* __COMMON_C2H_H__ */