1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 2 /* Copyright(c) 2007 - 2011 Realtek Corporation. */ 3 4 #ifndef __RTL8188E_DM_H__ 5 #define __RTL8188E_DM_H__ 6 7 enum{ 8 UP_LINK, 9 DOWN_LINK, 10 }; 11 12 struct dm_priv { 13 u32 InitODMFlag; 14 15 /* Lower Signal threshold for Rate Adaptive */ 16 int EntryMinUndecoratedSmoothedPWDB; 17 int MinUndecoratedPWDBForDM; 18 }; 19 20 void rtl8188e_init_dm_priv(struct adapter *adapt); 21 void rtl8188e_InitHalDm(struct adapter *adapt); 22 void rtl8188e_HalDmWatchDog(struct adapter *adapt); 23 24 void AntDivCompare8188E(struct adapter *adapt, struct wlan_bssid_ex *dst, 25 struct wlan_bssid_ex *src); 26 u8 AntDivBeforeLink8188E(struct adapter *adapt); 27 28 #endif 29