hostapd bit rate setting, Rate not more than 18Mb by a signal of -42dbm ...

Beat Meier bmeier
Tue Oct 18 14:43:06 PDT 2005

Jouni Malinen wrote:

>On Wed, Oct 12, 2005 at 10:53:25AM -0300, Beat Meier wrote:
>>How can I set bitrate at startup of hostapd?
>>If I set after running hostap with
>>  iwconfig ath0 bit 6M
>>iwlist ath0 bit tells me
>>  Current Bit Rate=6 Mb/s
>>iwconfig ath0 tells me
>>  Bit Rate=6 Mb/s
>>but client wpa_supplicant has rate 48Mb
>This has nothing to do with hostapd and a better target for this
>question would be madwifi-users mailing list.

Yes and no
The second one is a madwifi problem but the first one not.

If I set the bit rate with
  iwconfig ath0 bit XXX
the bitrate is set.
When hostapd or wpa_supplicant starts it set the bitrate back to auto.
Why this?

Why hostapd doesn't leave this as it is??
And last but least. If I set the bitrate in 802.11g mode
fix the client is connected but network not operational (ping fails etc.)

Output of wpa_client

Oct 18 18:21:09.671509: State: ASSOCIATED -> COMPLETED
Oct 18 18:21:09.671727: CTRL-EVENT-CONNECTED - Connection to 
00:0b:6b:36:eb:bb completed (auth)
Oct 18 18:21:09.672005: RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added

wpa_client and hostapd are version 0.4.3 madwifi is madwifi-bsd-20050702

BTW: If hostap is used without authentication the network interface is 
brought down and no more brought up.
You have to do an explicit ifconfig ath0 up that it works.


More information about the Hostap mailing list