diff options
| author | Arik Nemtsov <arik@wizery.com> | 2011-07-28 12:03:04 +0300 |
|---|---|---|
| committer | Keith Deacon <kdeacon@ti.com> | 2011-11-15 20:45:51 -0600 |
| commit | a85b77f9e2abe263f05c3c882f21f0d5c252b03b (patch) | |
| tree | 938d6ecd52817ebc91e200d2bdc78d3f93a9e28f | |
| parent | e9a6a92de3ba606dbce1734bb350da2a67d28b2f (diff) | |
| download | android_external_wpa_supplicant_8-a85b77f9e2abe263f05c3c882f21f0d5c252b03b.tar.gz android_external_wpa_supplicant_8-a85b77f9e2abe263f05c3c882f21f0d5c252b03b.tar.bz2 android_external_wpa_supplicant_8-a85b77f9e2abe263f05c3c882f21f0d5c252b03b.zip | |
wpa_supplicant: add hard-coded HT capabilities for P2P GO
Temporarily add hard-coded HT capabilities to wpa_supplicant to allow
operating as a 11n GO. These will be determined automatically from the
wiphy (the driver) in a future version.
Change-Id: I83516abc24ecea08b7bda85a1ddf2735fe2cfb0b
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Vishal Mahaveer <a0271468@ti.com>
| -rw-r--r-- | src/ap/ap_config.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ap/ap_config.c b/src/ap/ap_config.c index e77716bd..0c299e07 100644 --- a/src/ap/ap_config.c +++ b/src/ap/ap_config.c @@ -160,7 +160,9 @@ struct hostapd_config * hostapd_config_defaults(void) conf->tx_queue[2] = txq_be; conf->tx_queue[3] = txq_bk; - conf->ht_capab = HT_CAP_INFO_SMPS_DISABLED; + /* TEMP: hard-coded HT capabilities. We should get these from wiphy */ + conf->ht_capab = HT_CAP_INFO_SHORT_GI20MHZ | HT_CAP_INFO_GREEN_FIELD | + HT_CAP_INFO_RX_STBC_1 | HT_CAP_INFO_SMPS_DISABLED; return conf; } |
