GNU Linux-libre 4.14.328-gnu1
[releases.git] / drivers / staging / rtlwifi / phydm / phydm_edcaturbocheck.h
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2016  Realtek Corporation.
4  *
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.
8  *
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
12  * more details.
13  *
14  * The full GNU General Public License is included in this distribution in the
15  * file called LICENSE.
16  *
17  * Contact Information:
18  * wlanfae <wlanfae@realtek.com>
19  * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
20  * Hsinchu 300, Taiwan.
21  *
22  * Larry Finger <Larry.Finger@lwfinger.net>
23  *
24  *****************************************************************************/
25
26 #ifndef __PHYDMEDCATURBOCHECK_H__
27 #define __PHYDMEDCATURBOCHECK_H__
28
29 /*#define EDCATURBO_VERSION     "2.1"*/
30 #define EDCATURBO_VERSION "2.3" /*2015.07.29 by YuChen*/
31
32 struct edca_turbo {
33         bool is_current_turbo_edca;
34         bool is_cur_rdl_state;
35
36         u32 prv_traffic_idx; /* edca turbo */
37 };
38
39 void odm_edca_turbo_check(void *dm_void);
40 void odm_edca_turbo_init(void *dm_void);
41
42 void odm_edca_turbo_check_ce(void *dm_void);
43
44 #endif