OSDN Git Service

Enable 802.11g hardware mode in hostapd.conf
authorJeff Johnson <jjohnson@codeaurora.org>
Thu, 11 Apr 2013 22:11:27 +0000 (15:11 -0700)
committerIliyan Malchev <malchev@google.com>
Sun, 14 Apr 2013 19:07:58 +0000 (12:07 -0700)
commitd5b19ca2060d66027dd97610c1d0934e90081c64
tree9d8fb5ad165f2ed42c6853829631ab39d214a84e
parent37f2e371c43588ca3661584a79b6544de345189a
Enable 802.11g hardware mode in hostapd.conf

The current hostapd.conf generated by SoftapController does not
contain a hw_mode setting.  As a result hostapd defaults to 802.11b
mode.  This mode is inconsistent with the setting "ieee80211n=1" and
prevents hostapd from using 802.11g/n rates.  Add "hw_mode=g" to the
generated hostapd.conf to allow 802.11g/n rates to be advertised and
used.

Change-Id: Ifd66da3f3ffdfffb7c28e751d20bc432e070b2c3
SoftapController.cpp