mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2024-11-29 16:57:41 +00:00
1387cf623d
Version information: 20140812_rtl8192EU_linux_v4.3.1.1_11320 2014-08-12 version 4.3.1.1_11320 Source: ftp://files.dlink.com.au/products/DWA-131/REV_E/Drivers/DWA-131_Linux_driver_v4.3.1.1.zip This version does not currently work on newer kernels, but it does contain USB ID 2001:3319, which a lot of other repos in GitHub does not.
105 lines
3.1 KiB
C
105 lines
3.1 KiB
C
/******************************************************************************
|
|
*
|
|
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of version 2 of the GNU General Public License as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
* more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along with
|
|
* this program; if not, write to the Free Software Foundation, Inc.,
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
|
|
*
|
|
*
|
|
******************************************************************************/
|
|
#ifndef __RTL8192C_DM_H__
|
|
#define __RTL8192C_DM_H__
|
|
//============================================================
|
|
// Description:
|
|
//
|
|
// This file is for 92CE/92CU dynamic mechanism only
|
|
//
|
|
//
|
|
//============================================================
|
|
|
|
//============================================================
|
|
// function prototype
|
|
//============================================================
|
|
|
|
typedef enum _BT_CurState{
|
|
BT_OFF = 0,
|
|
BT_ON = 1,
|
|
} BT_CurState, *PBT_CurState;
|
|
|
|
typedef enum _BT_ServiceType{
|
|
BT_SCO = 0,
|
|
BT_A2DP = 1,
|
|
BT_HID = 2,
|
|
BT_HID_Idle = 3,
|
|
BT_Scan = 4,
|
|
BT_Idle = 5,
|
|
BT_OtherAction = 6,
|
|
BT_Busy = 7,
|
|
BT_OtherBusy = 8,
|
|
BT_PAN = 9,
|
|
} BT_ServiceType, *PBT_ServiceType;
|
|
|
|
struct btcoexist_priv {
|
|
u8 BT_Coexist;
|
|
u8 BT_Ant_Num;
|
|
u8 BT_CoexistType;
|
|
u8 BT_State;
|
|
u8 BT_CUR_State; //0:on, 1:off
|
|
u8 BT_Ant_isolation; //0:good, 1:bad
|
|
u8 BT_PapeCtrl; //0:SW, 1:SW/HW dynamic
|
|
u8 BT_Service;
|
|
u8 BT_Ampdu; // 0:Disable BT control A-MPDU, 1:Enable BT control A-MPDU.
|
|
u8 BT_RadioSharedType;
|
|
u32 Ratio_Tx;
|
|
u32 Ratio_PRI;
|
|
u8 BtRfRegOrigin1E;
|
|
u8 BtRfRegOrigin1F;
|
|
u8 BtRssiState;
|
|
u32 BtEdcaUL;
|
|
u32 BtEdcaDL;
|
|
u32 BT_EDCA[2];
|
|
u8 bCOBT;
|
|
|
|
u8 bInitSet;
|
|
u8 bBTBusyTraffic;
|
|
u8 bBTTrafficModeSet;
|
|
u8 bBTNonTrafficModeSet;
|
|
//BTTraffic BT21TrafficStatistics;
|
|
u32 CurrentState;
|
|
u32 PreviousState;
|
|
u8 BtPreRssiState;
|
|
u8 bFWCoexistAllOff;
|
|
u8 bSWCoexistAllOff;
|
|
};
|
|
|
|
//============================================================
|
|
// structure and define
|
|
//============================================================
|
|
|
|
//============================================================
|
|
// function prototype
|
|
//============================================================
|
|
#ifdef CONFIG_BT_COEXIST
|
|
void rtl8192c_set_dm_bt_coexist(_adapter *padapter, u8 bStart);
|
|
void rtl8192c_issue_delete_ba(_adapter *padapter, u8 dir);
|
|
#endif
|
|
|
|
void rtl8192c_init_dm_priv(IN PADAPTER Adapter);
|
|
void rtl8192c_deinit_dm_priv(IN PADAPTER Adapter);
|
|
|
|
void rtl8192c_InitHalDm( IN PADAPTER Adapter);
|
|
void rtl8192c_HalDmWatchDog(IN PADAPTER Adapter);
|
|
|
|
#endif //__HAL8190PCIDM_H__
|
|
|