aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ap_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ap/ap_config.c')
-rw-r--r--src/ap/ap_config.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ap/ap_config.c b/src/ap/ap_config.c
index 2c633d9..2af2a8e 100644
--- a/src/ap/ap_config.c
+++ b/src/ap/ap_config.c
@@ -158,6 +158,14 @@ struct hostapd_config * hostapd_config_defaults(void)
conf->ht_capab = HT_CAP_INFO_SMPS_DISABLED;
+#ifdef ANDROID_QCOM_WCN
+ conf->ieee80211n = 1;
+
+ /* Enable ieee80211d and set US as default country */
+ conf->ieee80211d = 1;
+ os_memcpy(conf->country, "US ", 3);
+#endif
+
return conf;
}