General questions about hostapd

Jouni Malinen j
Wed Apr 30 00:50:41 PDT 2008

On Tue, Apr 29, 2008 at 09:28:43AM +0200, ali asin wrote:

> Maybe you set your speed with iwpriv (perhaps in /etc/interfaces), but when
> you use encryption, you also use hostapd.conf file, so check you have the
> following parameter:
> *hw_mode=g (or the rate you want)
> *
> This parameter was added in recent version.
> Anyway, use iwpriv ath0 mode 11g instead of iwpriv ath0 mode 3, because some
> cards interpret this numbers in different way.

madwifi driver interface in hostapd does not use hw_mode parameter at
all, so this needs to be configured directly with the driver (i.e., with
that iwpriv command). Many of the channel/mode/rate etc. low-level
802.11 parameters in hostapd.conf are ignored when using madwifi driver.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list