Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2012 18:54:32 +0200
From:      Monthadar Al Jaberi <monthadar@gmail.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: wlan0 media setting resets after ifconfig wlan0 up
Message-ID:  <CA%2BsBSoKy%2BD7_mwR1zjjczK-bjJLLu8tbd%2BWSqmBEdNc39N2_-Q@mail.gmail.com>
In-Reply-To: <CA%2BsBSoJ6By9TbYSiLyRvtwmmYP5gRx4Mf-4SK1OvU3eVWpbaSg@mail.gmail.com>
References:  <CA%2BsBSoKTZqC819ZGR_2U_X_eJVpc=22LeRbkb8BTpx2B4AGXww@mail.gmail.com> <CAJ-Vmom-W-SZteHr4moba4X08wb5QyHU6kiKOgAQzeMee0k9vQ@mail.gmail.com> <CA%2BsBSoJ6By9TbYSiLyRvtwmmYP5gRx4Mf-4SK1OvU3eVWpbaSg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 14, 2012 at 6:52 PM, Monthadar Al Jaberi
<monthadar@gmail.com> wrote:
> On Mon, May 14, 2012 at 6:51 PM, Adrian Chadd <adrian@freebsd.org> wrote:
>> Hi,
>>
>> I've noticed this before. It seems the rate settings are reset
>> whenever the PHY mode is changed. This occurs at startup and during
>> things like bg/a -> n promotion.
>>
>> It's worth (further) investigation but i personally don't have the time =
atm. :(
>
> Is there a preffered work around?

I have noticed that if I fix ucastrate/mgmtrate/mcastrate then media
will be fixed too... but what made me worried was that athstats said:

"1M           current transmit rate"

but I fixed rate to 6M



>
>>
>>
>>
>> Adrian
>>
>>
>> On 14 May 2012 09:42, Monthadar Al Jaberi <monthadar@gmail.com> wrote:
>>> I am running current @ RSPRO with an XR2 wifi (AR5414). I am trying to
>>> fix the media to one specific setting, but the moment I bring wlan up
>>> it changes back to autoselect any idea why?
>>>
>>> This is how I do it:
>>>
>>> ifconfig wlan0 create wlandev ath0 wlanmode hostap
>>> ifconfig wlan0 media OFDM/12Mbps mode 11g mediaopt hostap channel 7 ssi=
d tnap100
>>> ifconfig wlan0 up
>>>
>>>
>>> before I bring wlan0 up, ifconfig shows:
>>> wlan0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
>>> =A0 =A0 =A0 =A0ether 00:15:6d:xx:xx:xx
>>> =A0 =A0 =A0 =A0media: IEEE 802.11 Wireless Ethernet OFDM/12Mbps mode 11=
g
>>> <hostap> (autoselect <hostap>)
>>> =A0 =A0 =A0 =A0status: no carrier
>>> =A0 =A0 =A0 =A0ssid tnap100 channel 7 (2442 MHz 11g)
>>> =A0 =A0 =A0 =A0country US ecm authmode OPEN privacy OFF txpower 21 scan=
valid 60
>>> =A0 =A0 =A0 =A0protmode CTS wme burst dtimperiod 1 bintval 0
>>>
>>> after wlan0 up:
>>> wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mt=
u 1500
>>> =A0 =A0 =A0 =A0ether 00:15:6d:xx:xx:xx
>>> =A0 =A0 =A0 =A0media: IEEE 802.11 Wireless Ethernet autoselect mode 11g=
 <hostap>
>>> =A0 =A0 =A0 =A0status: running
>>> =A0 =A0 =A0 =A0ssid tnap100 channel 7 (2442 MHz 11g) bssid 00:15:6d:67:=
21:73
>>> =A0 =A0 =A0 =A0country US ecm authmode OPEN privacy OFF txpower 21 scan=
valid 60
>>> =A0 =A0 =A0 =A0protmode CTS wme burst dtimperiod 1
>>>
>>>
>>> thnx!
>>>
>>> --
>>> Monthadar Al Jaberi
>>> _______________________________________________
>>> freebsd-wireless@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
>>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.=
org"
>
>
>
> --
> Monthadar Al Jaberi



--=20
Monthadar Al Jaberi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BsBSoKy%2BD7_mwR1zjjczK-bjJLLu8tbd%2BWSqmBEdNc39N2_-Q>