2022-06-08 23:46:35 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
|
|
|
|
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
|
|
|
|
2013-05-08 21:45:39 +00:00
|
|
|
#ifndef __RTL8188E_DM_H__
|
|
|
|
#define __RTL8188E_DM_H__
|
2022-06-08 23:46:35 +00:00
|
|
|
|
2013-05-08 21:45:39 +00:00
|
|
|
enum{
|
|
|
|
UP_LINK,
|
2013-05-19 04:28:07 +00:00
|
|
|
DOWN_LINK,
|
2013-05-08 21:45:39 +00:00
|
|
|
};
|
2022-06-08 23:46:35 +00:00
|
|
|
|
2013-08-15 03:03:17 +00:00
|
|
|
struct dm_priv {
|
2013-05-08 21:45:39 +00:00
|
|
|
u32 InitODMFlag;
|
|
|
|
|
2022-06-08 23:46:35 +00:00
|
|
|
/* Lower Signal threshold for Rate Adaptive */
|
2013-05-08 21:45:39 +00:00
|
|
|
int EntryMinUndecoratedSmoothedPWDB;
|
|
|
|
int MinUndecoratedPWDBForDM;
|
|
|
|
};
|
|
|
|
|
2013-08-15 03:03:17 +00:00
|
|
|
void rtl8188e_init_dm_priv(struct adapter *adapt);
|
|
|
|
void rtl8188e_InitHalDm(struct adapter *adapt);
|
|
|
|
void rtl8188e_HalDmWatchDog(struct adapter *adapt);
|
2013-05-08 21:45:39 +00:00
|
|
|
|
2013-08-15 03:03:17 +00:00
|
|
|
void AntDivCompare8188E(struct adapter *adapt, struct wlan_bssid_ex *dst,
|
|
|
|
struct wlan_bssid_ex *src);
|
|
|
|
u8 AntDivBeforeLink8188E(struct adapter *adapt);
|
2013-05-08 21:45:39 +00:00
|
|
|
|
2013-05-18 21:16:10 +00:00
|
|
|
#endif
|