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 7enum{ 8 UP_LINK, 9 DOWN_LINK, 10}; 11 12struct dm_priv { 13 u32 InitODMFlag; 14 15 /* Upper and Lower Signal threshold for Rate Adaptive*/ 16 int EntryMinUndecoratedSmoothedPWDB; 17 int EntryMaxUndecoratedSmoothedPWDB; 18 int MinUndecoratedPWDBForDM; 19}; 20 21void rtl8188e_init_dm_priv(struct adapter *adapt); 22void rtl8188e_InitHalDm(struct adapter *adapt); 23void rtl8188e_HalDmWatchDog(struct adapter *adapt); 24 25void AntDivCompare8188E(struct adapter *adapt, struct wlan_bssid_ex *dst, 26 struct wlan_bssid_ex *src); 27u8 AntDivBeforeLink8188E(struct adapter *adapt); 28 29#endif 30