1 /******************************************************************************
3 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 ******************************************************************************/
15 #ifndef _RTW_SRESET_C_
16 #define _RTW_SRESET_C_
18 #include <osdep_service.h>
19 #include <drv_types.h>
22 struct mutex silentreset_mutex;
23 u8 silent_reset_inprogress;
24 unsigned long last_tx_time;
25 unsigned long last_tx_complete_time;
28 #include <rtl8723a_hal.h>
30 void rtw_sreset_init(struct rtw_adapter *padapter);
31 void rtw_sreset_reset_value(struct rtw_adapter *padapter);
32 bool rtw_sreset_inprogress(struct rtw_adapter *padapter);
33 void sreset_set_trigger_point(struct rtw_adapter *padapter, s32 tgp);
34 void rtw_sreset_reset(struct rtw_adapter *active_adapter);