Re: atheros (ath) driver - media option

From: Sam Leffler <sam_at_errno.com>
Date: Tue, 11 Nov 2003 14:54:53 -0800
On Tuesday 11 November 2003 01:52 pm, Johann Hugo wrote:
> Hi
>
> I've just started playing with some D-link DWL-AG520 PCI adapters with the
> Atheros 5212 chipset.
>
> The one adapter is configured in hostap mode, and the other one as a
> client. When I set the media option to a lower speed that the maximum, then
> it only works for the adapter in client mode, but it does not seem to work
> for the adapter that is in hostap mode. I've tried it on 11a, 11b and 11g
> at all the supported rates, but the tx speed always defaults to the maximum
> for the selected mode.
>
> I'm using -current from September 07th.
>

Something more recent might be a good idea.

> e.g.
>
> > ifconfig ath0 media DS/1Mbps mode 11b mediaopt hostap ssid ath101 channel
> > 11
> >
> >wicontrol ath0
>
> NIC serial number:                      [  ]
> Station name:                           [ atheros.icomtek.csir.co.za ]
> SSID for IBSS creation:                 [ ath101 ]
> Current netname (SSID):                 [ ath101 ]
> Desired netname (SSID):                 [ ath101 ]
> Current BSSID:                          [ 00:05:5d:95:f0:04 ]
> Channel list:                           [ ffe ]
> IBSS channel:                           [ 11 ]
> Current channel:                        [ 11 ]
> Comms quality/signal/noise:             [ 0 8 0 ]
> Promiscuous mode:                       [ Off ]
> Intersil-Prism2 based card:             [ 1 ]
> Port type (1=BSS, 3=ad-hoc):            [ 6 ]
> MAC address:                            [ 00:05:5d:95:f0:04 ]
> TX rate (selection):                    [ 1 ]
> TX rate (actual speed):                 [ 11 ]		<----------------------
> RTS/CTS handshake threshold:            [ 2312 ]
> Create IBSS:                            [ Off ]
> Access point density:                   [ 1 ]
> Power Mgmt (1=on, 0=off):               [ 0 ]
> Max sleep time:                         [ 100 ]
> WEP encryption:                         [ Off ]
> TX encryption key:                      [ 1 ]
> Encryption keys:                        [  ][  ][  ][  ]
>
> Is this correct, or should the tx rate (actual speed) be the same as the
> media setting ?

Not sure what you're trying to accomplish by setting the media when operating 
in hostap mode.  It should be ignored, but I'm not sure exactly what will 
happen.  Locking the tx rate on the client side makes more sense and should 
be honored correctly.

	Sam
Received on Tue Nov 11 2003 - 13:52:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:28 UTC