diff options
| author | Jeff Johnson <jjohnson@codeaurora.org> | 2012-08-13 16:56:18 -0700 |
|---|---|---|
| committer | Iliyan Malchev <malchev@google.com> | 2012-08-22 17:22:19 -0700 |
| commit | 5d03c02c2828db5e40f92774dc78903d69677b20 (patch) | |
| tree | a738ab51497b3d334b4c868c7f989a3ab531f214 | |
| parent | d68f133bb71bf1e9e59a75464a7d05831566ab32 (diff) | |
| download | android_external_wpa_supplicant_8-5d03c02c2828db5e40f92774dc78903d69677b20.tar.gz android_external_wpa_supplicant_8-5d03c02c2828db5e40f92774dc78903d69677b20.tar.bz2 android_external_wpa_supplicant_8-5d03c02c2828db5e40f92774dc78903d69677b20.zip | |
wpa_supplicant: Explicitly enable 802.11n and 802.11d for qcwcn
The Qualcomm qcwcn driver relies upon information from the supplicant
to enable 802.11n and 802.11d support. Unfortunately there currently
does not exist configuration file parameters to control these items,
therefore hard code these in the supplicant.
Change-Id: Iaa586c58d96bd8966b47f6e18b627648df89c03e
| -rw-r--r-- | src/ap/ap_config.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ap/ap_config.c b/src/ap/ap_config.c index 2c633d9f..2af2a8e5 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; } |
