GNU Linux-libre 4.14.332-gnu1
[releases.git] / drivers / staging / rtl8723bs / include / rtw_wifi_regd.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
3  *
4  * Copyright(c) 2009-2010  Realtek Corporation.
5  *
6  *****************************************************************************/
7
8 #ifndef __RTW_WIFI_REGD_H__
9 #define __RTW_WIFI_REGD_H__
10
11 struct country_code_to_enum_rd {
12         u16 countrycode;
13         const char *iso_name;
14 };
15
16 enum country_code_type_t {
17         COUNTRY_CODE_USER = 0,
18
19         /*add new channel plan above this line */
20         COUNTRY_CODE_MAX
21 };
22
23 int rtw_regd_init(struct adapter *padapter,
24         void (*reg_notifier)(struct wiphy *wiphy,
25                 struct regulatory_request *request));
26 void rtw_reg_notifier(struct wiphy *wiphy, struct regulatory_request *request);
27
28
29 #endif