Hostapd and MCS rates

Mathieu Slabbinck matty.slabbinck
Thu Jun 18 07:56:21 PDT 2015


Can anyone maybe tell me step by step what must be done to be able to do this?

Maybe I'm just missing a small step to enable/configure it?

Kr

On Thu, Jun 18, 2015 at 9:25 AM, Mathieu Slabbinck
<matty.slabbinck at gmail.com> wrote:
> Hi,
>
> it's an atheros chipset. Unex DHXA-222.
>
> Kr
>
> On Thu, Jun 18, 2015 at 9:21 AM, Huang, ChengcaiX
> <chengcaix.huang at intel.com> wrote:
>> Hi,
>>
>> If you use brcm chip, you can set the 11n mode rate MCS index with brcm "wl" config tool.
>>
>>  root:/ # wlx nrate
>> mcs index 14 stf mode 3 auto
>> root:/ # wlx nrate -m 5
>> root:/ # wlx nrate
>> mcs index 5 stf mode 1 fixed
>>
>> Below is info. About the command:
>> wl nrate: you need to set a legacy or mcs rate
>> nrate   "auto" to clear a rate override, or:
>> -r legacy rate (CCK, OFDM)
>> -m HT MCS index
>> -s stf mode (0=SISO,1=CDD,2=STBC,3=SDM)
>> -w Override MCS only to support STA's with/without STBC capability
>>
>> Best,wishes
>> Cai
>> -----Original Message-----
>> From: hostap-bounces at lists.shmoo.com [mailto:hostap-bounces at lists.shmoo.com] On Behalf Of Mathieu Slabbinck
>> Sent: Thursday, June 18, 2015 3:02 PM
>> To: Eduardo Abinader
>> Cc: hostap at lists.shmoo.com
>> Subject: Re: Hostapd and MCS rates
>>
>> Recompiled wpa_supplicant with CONFIG_HT_OVERRIDES but nothing changes.
>>
>> using iw dev wlan0 set bitrates ht-mcs-5 2 sgi-5 or iw dev wlan0 set bitrates legacy-5 54 does not change the datarate of the packets.
>>
>> Can I force it somehow to test if mcs rates are in fact able to be set?
>>
>> Kr
>>
>> On Wed, Jun 17, 2015 at 2:09 PM, Eduardo Abinader <eduardo.abinader at openbossa.org> wrote:
>>> I checked more in detail and noticed what Jouni has said previously:
>>> it is meant at the moment for wpa_supplicant only and for that you
>>> need also CONFIG_HT_OVERRIDES=y in order wpa_set_htcap_mcs to be
>>> called.
>>>
>>>
>>> Cheers.
>>>
>>> On Wed, Jun 17, 2015 at 2:48 AM, Mathieu Slabbinck
>>> <matty.slabbinck at gmail.com> wrote:
>>>> Hi,
>>>>
>>>> Thanks for the info.
>>>> I'm using buildroot and checked the package. It states the following
>>>> config options:
>>>> HOSTAPD_CONFIG_ENABLE = \
>>>>     CONFIG_ACS \
>>>>     CONFIG_FULL_DYNAMIC_VLAN \
>>>>     CONFIG_HS20 \
>>>>     CONFIG_IEEE80211AC \
>>>>     CONFIG_IEEE80211N \
>>>>     CONFIG_IEEE80211R \
>>>>     CONFIG_INTERNAL_LIBTOMMATH \
>>>>     CONFIG_INTERWORKING \
>>>>     CONFIG_LIBNL32 \
>>>>     CONFIG_VLAN_NETLINK
>>>>
>>>> So that's checked.
>>>>
>>>> Also, in my config file of hostapd states ieee80211n=1 So that should
>>>> be fine to.
>>>>
>>>> iw dev wlan0 station dump does not report anything...
>>>>
>>>> On Tue, Jun 16, 2015 at 5:04 PM, Eduardo Abinader
>>>> <eduardo.abinader at openbossa.org> wrote:
>>>>> Hi,
>>>>>
>>>>> I think you should enable at least CONFIG_IEEE80211N=y and
>>>>> ieee80211n=1, so the HT rates are set as well as MCS rate info. Then
>>>>> station dump with iw to check the MCS.
>>>>>
>>>>>
>>>>> Cheers.
>>>>>
>>>>>
>>>>> On Tue, Jun 16, 2015 at 5:41 AM, Mathieu Slabbinck
>>>>> <matty.slabbinck at gmail.com> wrote:
>>>>>> That's something I already tried but if I capture any packets they
>>>>>> are not in any mcs rate.
>>>>>> Therefore I was wondering if hostapd provides any configuration to do this.
>>>>>>
>>>>>> On Tue, Jun 16, 2015 at 11:31 AM, Avinash Patil <avinashapatil at gmail.com> wrote:
>>>>>>> On Tue, Jun 16, 2015 at 2:53 PM, Mathieu Slabbinck
>>>>>>> <matty.slabbinck at gmail.com> wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I'm trying to force my AP into an mcs indexed bitrate but there's
>>>>>>>> not to much information I can find around this.
>>>>>>>>
>>>>>>>> Can anyone provide some information on how to force hostapd to
>>>>>>>> set up an AP with an MCS rate?
>>>>>>>
>>>>>>> I think hostapd configures basic and extended rates only. If you
>>>>>>> want to force using MCS rates your best bet is iw utility.
>>>>>>>
>>>>>>> "iw --help" yields this:
>>>>>>>
>>>>>>>     dev <devname> set bitrates [legacy-<2.4|5> <legacy rate in
>>>>>>> Mbps>*] [ht-mcs-<2.4|5> <MCS index>*] [vht-mcs-<2.4|5>
>>>>>>> <NSS:MCSx,MCSy... | NSS:MCSx-MCSy>*] [sgi-2.4|lgi-2.4] [sgi-5|lgi-5]
>>>>>>>         Sets up the specified rate masks.
>>>>>>>         Not passing any arguments would clear the existing mask (if any).
>>>>>>>
>>>>>>>> Kind regards
>>>>>>>>
>>>>>>>> Mathieu
>>>>>>>> _______________________________________________
>>>>>>>> HostAP mailing list
>>>>>>>> HostAP at lists.shmoo.com
>>>>>>>> http://lists.shmoo.com/mailman/listinfo/hostap
>>>>>>>
>>>>>>> -Avinash
>>>>>> _______________________________________________
>>>>>> HostAP mailing list
>>>>>> HostAP at lists.shmoo.com
>>>>>> http://lists.shmoo.com/mailman/listinfo/hostap
>> _______________________________________________
>> HostAP mailing list
>> HostAP at lists.shmoo.com
>> http://lists.shmoo.com/mailman/listinfo/hostap
>> ---------------------------------------------------------------------
>> Intel Corporation SAS (French simplified joint stock company)
>> Registered headquarters: "Les Montalets"- 2, rue de Paris,
>> 92196 Meudon Cedex, France
>> Registration Number:  302 456 199 R.C.S. NANTERRE
>> Capital: 4,572,000 Euros
>>
>> This e-mail and any attachments may contain confidential material for
>> the sole use of the intended recipient(s). Any review or distribution
>> by others is strictly prohibited. If you are not the intended
>> recipient, please contact the sender and delete all copies.
>>



More information about the Hostap mailing list