123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- #ifndef __RTL8192C_DM_H__
- #define __RTL8192C_DM_H__
- #define DYNAMIC_FUNC_BT BIT(0)
- 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;
- u8 BT_Ant_isolation;
- u8 BT_PapeCtrl;
- u8 BT_Service;
- u8 BT_Ampdu;
- 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;
-
- u32 CurrentState;
- u32 PreviousState;
- u8 BtPreRssiState;
- u8 bFWCoexistAllOff;
- u8 bSWCoexistAllOff;
- };
- #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
|