]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/staging/rtl8188eu/include/rtw_mlme_ext.h
staging: rtl8188eu: use table to get channel plan from country code
[karo-tx-linux.git] / drivers / staging / rtl8188eu / include / rtw_mlme_ext.h
index 2bebf46b053af68a34ed97952786cfe8512d6336..2bd11acb4c034fcc9db58a9d4feea7396564aa65 100644 (file)
@@ -191,6 +191,14 @@ struct rt_channel_plan_map {
        unsigned char   Index2G;
 };
 
+static const struct {
+       int channel_plan;
+       char *name;
+} channel_table[] = { { RT_CHANNEL_DOMAIN_FCC, "US" },
+       { RT_CHANNEL_DOMAIN_ETSI, "EU" },
+       { RT_CHANNEL_DOMAIN_MKK, "JP" },
+       { RT_CHANNEL_DOMAIN_CHINA, "CN"} };
+
 enum Associated_AP {
        atherosAP       = 0,
        broadcomAP      = 1,