All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Kazior <michal.kazior@tieto.com>
To: Yeoh Chun-Yeow <yeohchunyeow@gmail.com>
Cc: Janusz Dziedzic <janusz.dziedzic@tieto.com>,
	"ath10k@lists.infradead.org" <ath10k@lists.infradead.org>
Subject: Re: Only Lowest Legacy Rate 6Mbps used by Adhoc Mode
Date: Tue, 4 Mar 2014 10:31:14 +0100	[thread overview]
Message-ID: <CA+BoTQ=Q86r4E-CaHCmmxrkQJcHH_ZeaB2-e534KOQvSOgMcjA@mail.gmail.com> (raw)
In-Reply-To: <CAEFj984xXPrLQu+pjt6jSyuYT-hn3uM8fLj1UmhhJfF7K_=taA@mail.gmail.com>

On 4 March 2014 10:18, Yeoh Chun-Yeow <yeohchunyeow@gmail.com> wrote:
>> You can try to set/force tx rate using iw:
>>
>> Eg. setup legacy 18Mbps
>> iw wlanX set bitrates legacy-5 18 ht-mcs-5 vht-mcs-5
>>
>> Set nss=1
>> iw wlanX set bitrates legacy-5 ht-mcs-5 vht-mcs-5 1:0-9
>>
>> And check using sniffer if that will work - I didn't check adhoc.
>>
>
> Yes, this work. I can even force the HT rate.
> [ 559.410000] ath10k: rx skb 86feec00 len 116 ht rate_idx 7 vht_nss 0
> freq 5180 band 1 flag 0x200200 fcs-err 0
> [  560.410000] ath10k: rx skb 86884900 len 116 ht rate_idx 7 vht_nss 0
> freq 5180 band 1 flag 0x200200 fcs-err 0
>
> Hmm, it seems that rate control is not working for adhoc. Where to
> look for a fix?

Hmm.. if I assume ath10k_sta_state() isn't called for AUTH->ASSOC
(which probably isn't unreasonable to consider since IBSS doesn't have
an association sequence, does it?) then ath10k_station_assoc() isn't
called and neither is ath10k_wmi_peer_assoc() which I suspect setups
HW rate control.

Can you check if the ath10k_wmi_peer_assoc() is called or not and what
are the station state transitions (I think mac80211 traces provide the
transition debug)?


Michał

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

  reply	other threads:[~2014-03-04  9:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-04  6:33 Only Lowest Legacy Rate 6Mbps used by Adhoc Mode Yeoh Chun-Yeow
2014-03-04  7:23 ` Michal Kazior
2014-03-04  7:29   ` Yeoh Chun-Yeow
2014-03-04  8:46     ` Janusz Dziedzic
2014-03-04  9:18       ` Yeoh Chun-Yeow
2014-03-04  9:31         ` Michal Kazior [this message]
2014-03-04  9:51           ` Yeoh Chun-Yeow
2014-03-04  9:56             ` Michal Kazior
2014-03-04 10:36               ` Yeoh Chun-Yeow
2014-03-04 10:52                 ` Michal Kazior
2014-03-05  4:30                   ` Yeoh Chun-Yeow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+BoTQ=Q86r4E-CaHCmmxrkQJcHH_ZeaB2-e534KOQvSOgMcjA@mail.gmail.com' \
    --to=michal.kazior@tieto.com \
    --cc=ath10k@lists.infradead.org \
    --cc=janusz.dziedzic@tieto.com \
    --cc=yeohchunyeow@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.