OSDN Git Service

Add rtl8821ce driver version 5.5.2
[android-x86/external-kernel-drivers.git] / rtl8821ce / include / rtw_wifi_regd.h
1 /******************************************************************************
2  *
3  * Copyright(c) 2009-2010 - 2017 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  *****************************************************************************/
15
16 #ifndef __RTW_WIFI_REGD_H__
17 #define __RTW_WIFI_REGD_H__
18
19 struct country_code_to_enum_rd {
20         u16 countrycode;
21         const char *iso_name;
22 };
23
24 enum country_code_type_t {
25         COUNTRY_CODE_USER = 0,
26
27         /*add new channel plan above this line */
28         COUNTRY_CODE_MAX
29 };
30
31 void rtw_regd_apply_flags(struct wiphy *wiphy);
32 int rtw_regd_init(struct wiphy *wiphy);
33
34 #endif /* __RTW_WIFI_REGD_H__ */