linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven@open-mesh.com>
To: Ben Greear <greearb@candelatech.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 15:11:42 +0200	[thread overview]
Message-ID: <1701816.PemaYpqoq5@bentobox> (raw)
In-Reply-To: <55285D8D.6070703@candelatech.com>

[-- Attachment #1: Type: text/plain, Size: 2682 bytes --]

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.

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
 * 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
 * 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

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?

Kind regards,
	Sven

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

[-- Attachment #2: failed_encryption_ath9k-37_ath10k-67.pcapng.gz --]
[-- Type: application/x-pcapng, Size: 7556 bytes --]

[-- Attachment #3: failed_encryption_ath10k-c7_ath10k-67.pcapng.gz --]
[-- Type: application/x-pcapng, Size: 2748 bytes --]

[-- Attachment #4: working_encryption_ath9k-0f.37_ath9k-9e.37.pcapng.gz --]
[-- Type: application/x-pcapng, Size: 31125 bytes --]

[-- Attachment #5: wpa_supplicant-adhoc0.conf --]
[-- Type: text/plain, Size: 301 bytes --]

ap_scan=2
network={
        scan_ssid=0
        ssid="mesh"
        key_mgmt=WPA-PSK
        mode=1
        fixed_freq=1
        frequency=5180
        mode=1
        psk="9f0a965af38f2d0a13b66d8b46ab962c"
        proto=RSN
        bssid=02:CA:FE:CA:CA:40
        mcast_rate=18
        htmode=HT40+
}

  parent reply	other threads:[~2015-08-17 13:11 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 [this message]
2015-08-17 15:33   ` Ben Greear
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=1701816.PemaYpqoq5@bentobox \
    --to=sven@open-mesh.com \
    --cc=ath10k@lists.infradead.org \
    --cc=greearb@candelatech.com \
    --cc=hostap@lists.shmoo.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=marek@open-mesh.com \
    --cc=simon@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).