0001
0002
0003
0004 #ifndef __RTL_REGD_H__
0005 #define __RTL_REGD_H__
0006
0007
0008 #define IEEE80211_CHAN_NO_IBSS IEEE80211_CHAN_NO_IR
0009 #define IEEE80211_CHAN_PASSIVE_SCAN IEEE80211_CHAN_NO_IR
0010
0011 struct country_code_to_enum_rd {
0012 u16 countrycode;
0013 const char *iso_name;
0014 };
0015
0016 enum country_code_type_t {
0017 COUNTRY_CODE_FCC = 0,
0018 COUNTRY_CODE_IC = 1,
0019 COUNTRY_CODE_ETSI = 2,
0020 COUNTRY_CODE_SPAIN = 3,
0021 COUNTRY_CODE_FRANCE = 4,
0022 COUNTRY_CODE_MKK = 5,
0023 COUNTRY_CODE_MKK1 = 6,
0024 COUNTRY_CODE_ISRAEL = 7,
0025 COUNTRY_CODE_TELEC = 8,
0026 COUNTRY_CODE_MIC = 9,
0027 COUNTRY_CODE_GLOBAL_DOMAIN = 10,
0028 COUNTRY_CODE_WORLD_WIDE_13 = 11,
0029 COUNTRY_CODE_TELEC_NETGEAR = 12,
0030 COUNTRY_CODE_WORLD_WIDE_13_5G_ALL = 13,
0031
0032
0033 COUNTRY_CODE_MAX
0034 };
0035
0036 int rtl_regd_init(struct ieee80211_hw *hw,
0037 void (*reg_notifier) (struct wiphy *wiphy,
0038 struct regulatory_request *request));
0039 void rtl_reg_notifier(struct wiphy *wiphy, struct regulatory_request *request);
0040
0041 #endif