linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: Sven Eckelmann <sven@open-mesh.com>
Cc: ath10k <ath10k@lists.infradead.org>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	"hostap@lists.shmoo.com" <hostap@lists.shmoo.com>,
	simon@open-mesh.com, Marek Lindner <marek@open-mesh.com>
Subject: Re: CT ath10k firmware now supports IBSS + RSN
Date: Mon, 17 Aug 2015 08:33:06 -0700	[thread overview]
Message-ID: <55D1FEB2.4060205@candelatech.com> (raw)
In-Reply-To: <1701816.PemaYpqoq5@bentobox>

On 08/17/2015 06:11 AM, Sven Eckelmann wrote:
> Hi,
> 
> On Friday 10 April 2015 16:32:29 Ben Greear wrote:
>> First, thanks to everyone that helped me with questions,
>> QCA/Tieto's upstream patches, etc.
>>
>> This needs more testing, but it appears to at least mostly work.
>>
>> I am using this 4.0 related kernel.  I think only the last 3 patches
>> are IBSS specific, but possibly there are others that matter as well.
>>
>> http://dmz2.candelatech.com/git/gitweb.cgi?p=linux-4.0.dev.y/.git;a=summary
>>
>> Firmware binaries and release notes are here:
>> http://www.candelatech.com/downloads/ath10k-fw-beta/
>>
>> I'm using a very recent wpa_supplicant..upstream should work I think,
>> but I am using this one:
>>
>> https://github.com/greearb/hostap-ct/tree/master/hostapd
>>
>> supplicant needs to have this enabled, among other things:
>>
>> CONFIG_IBSS_RSN=y
> 
> thanks for your work on the QCA firmware fork. I have testing your
> firmware v14 (firmware-2-ct-full-community.bin;
> md5sum 800799459c20c1683138c74b3ba58f25) a little bit on OpenWrt r46413
> (+ your patches [1]) with a QCA9880 device and focus on IBSS.
> 
> The performance over IBSS looks a lot better than before. So your
> aggregation/BlockAck fix seems to work quite well.

Thanks for giving it a try!

> 
> But there are also some problems which I've noticed.
> 
>  * setting the mcast rate during `iw dev "$ifname" ibss join`
>    doesn't seem to work for IBSS mode. The bcast frames are still
>    transmitted with 6Mbit/s
>    - I've also tried to use the hack
>      + echo mcast > /sys/kernel/debug/ieee80211/phy0/ath10k/set_rates
>      + iw dev adhoc0 set bitrates legacy-5 18

This is likely fixable, but I have higher priority things to work on
first.  It seems one could spend a good deal of effort in the
rate-ctrl logic.

I am also interested in pursuing host-based rate-ctrl, but I would need
the help of some driver writers as I don't have time to do it all myself.

>  * IBSS/RSN isn't working between ath10k<->ath10k, ath9k<->ath10k
>    (works well between ath9k<->ath9k)
>    - the ath10k device doesn't seem to send its broadcast frames
>      after the handshake finished (ath9k already tries to transmit
>      bcast frames)
>    - also doesn't work with firmware-2-ct-non-commercial-full-14.bin
>      and nohwcrypt=1

I believe I had ath10k to ath9k + RSN work, but I did see problems with ath10k-ath10k + RSN.

I think sometimes it worked a bit, and then stopped.  Truth is, my customers
interested in IBSS are not doing encryption on the IBSS interface, so I have no plans to work on this
soon.  And, even if offered the opportunity, I'm not sure what I could do to
improve the problem.  Possibly someone at QCA would have ideas and might share
them with me...


>  * IBSS stops working everytime an AP interface is added to the same
>    PHY (it isn't importing whether it is using WPA/WPA2 or configured
>    as open AP)
>    - tested again with ath9k on the same OpenWrt version and it
>      working quite well with 1x IBSS + 2x AP

One of my customers is using AP + IBSS interface with no obvious problems
related to concurrency.  But, maybe they are doing things in a different
order.  Does it work for you if you bring up AP first and then add IBSS?

This is likely fixable.

> Were you able to get anything from the above setups working for you?
> Maybe there are some workarounds I've missed and that you've
> mentioned in other mails. It would be really nice if you could
> mention those again :)
> 
> Especially interesting would be to know if some of the problems are
> already known and just not implemented. Are the not implemented
> features planned or currently not the development goal for this
> firmware?

In general, I have about as much work as I can handle.  General development
goals are rate-ctrl improvements, more stability improvements, maybe IBSS + AMSDU
support (that is what I disabled to make it run at least moderately fast).

Part of my rate-ctrl effort is allowing radio-tap transmit to work, and especially
to allow some per-pkt settings w/regard to rate-ctrl.  I am not sure how possible
this will be, but so far, it seems like something I have a chance at making work.

We also see bugs with ANQP and 802.11r roaming....I am thinking this may be
at least partially a driver bug...might have to add a peer for whoever we
are doing ANQP with, for instance.  I'm not sure how multiple peers on a station
vdev will work or not.

Thanks,
Ben

> 
> Kind regards,
> 	Sven
> 
> [1] https://dev.cloudtrax.com/git/ath10k-ibss-test.git/shortlog/refs/heads/master-20150824
> 


-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


  reply	other threads:[~2015-08-17 15:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-10 23:32 CT ath10k firmware now supports IBSS + RSN Ben Greear
2015-04-13 17:41 ` Ben Greear
2015-04-14  0:10   ` Ben Greear
2015-04-14  5:34     ` Michal Kazior
2015-04-14 15:01       ` Ben Greear
2015-04-15 21:51         ` Ben Greear
2015-08-17 13:11 ` Sven Eckelmann
2015-08-17 15:33   ` Ben Greear [this message]
2015-08-18  9:38     ` Sven Eckelmann
2015-08-18 16:11       ` Ben Greear

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=55D1FEB2.4060205@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=ath10k@lists.infradead.org \
    --cc=hostap@lists.shmoo.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=marek@open-mesh.com \
    --cc=simon@open-mesh.com \
    --cc=sven@open-mesh.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).