All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@qca.qualcomm.com>
To: Erik Stromdahl <erik.stromdahl@gmail.com>
Cc: Akesh M Chacko <akesh.chacko@vvdntech.in>,
	Ann Lo <annlo.tech@gmail.com>,
	"ath10k@lists.infradead.org" <ath10k@lists.infradead.org>
Subject: Re: Driver support for QCA6174 chip using SDIO interface
Date: Tue, 16 May 2017 07:14:06 +0000	[thread overview]
Message-ID: <878tlxuvcz.fsf@qca.qualcomm.com> (raw)
In-Reply-To: <d4b33a7a-1504-585a-312a-c3ba00d5bab9@gmail.com> (Erik Stromdahl's message of "Fri, 12 May 2017 16:51:25 +0200")

Erik Stromdahl <erik.stromdahl@gmail.com> writes:

> On 2017-05-12 02:20, Ann Lo wrote:
>> Hi Erik,
>>
>> We are hoping to use your new SDIO patches for QCA9377 on kernel
>> version 4.1.36. There appears to be version 7 patches according to the
>> following email:
>> http://lists.infradead.org/pipermail/ath10k/2017-April/009633.html
>>
>> Would you advise on the followings?
>>
>> 1) What is the status of ath10k SDIO for QCA9377? The above email has
>> the comment "With this patch we have the low level HTC protocol
>> working and it's possible to boot the firmware, but it's still not
>> possible to connect or anything like." Do you have an estimate of the
>> time for full functionality, that wpa_supplicant and hostapd will run
>> successfully? How much further work is needed?
>
> Well, first of all, the patches on the ath10k master only contain the
> HIF layer (which is not that useful by itself). You will need a bunch
> of generic HL (High Latency) patches as well. These patches are common
> for both USB and SDIO and has not yet been integrated into the ath
> mainline.
> These patches are available on my ath repo on github:
>
> https://github.com/erstrom/linux-ath
>
> They should be treated as very experimental though!
> There are a few known issues with the QCA9377 SDIO chip.
> I have as of today not been able to associate with an AP (which
> kind of limits the usefulness of the device, at least when operating
> in STA mode :).
> QCA9377 USB (Linksys WUSB6100M) works much better, but is unfortunately
> not fully stable either since I am only capable of transmit/receive
> ~3Mbytes before it goes deaf (but at least I can associate and authenticate
> to an AP with WPA2 PSK security).
>
> So what remains to be done then?
> Well, it seems as if the sdio chipset won't work that well with the
> generic parts of ath10k. The setup of a device is HIF layer independent
> (mostly implemented in mac.c) and has been tested thoroughly with the
> PCIe devices. When looking at qcacld (another driver that is not part
> of the Linux kernel), the setup is very different (different internal
> parameters are configured and commands are executed in a different order).
>
> From my point of view I think the following things needs to be done:
>
> 1. Make mac.c work with high latency devices (SDIO and USB). I suspect
>    that the setup of SDIO and USB is similar.
> 2. Add support for newer version of the WMI protocol. qcacld uses a
>    different ABI version for the WMI messages.
>
> Since I am doing this work as a spare time activity only, I can't make
> any commitments or estimates of when everything is fully implemented.

I think we should try to get rest of your patches into mainline as well,
even if they are experimental still. Hopefully we get more people
helping that way, Adrian already expressed his interest which is very
cool and others have been also asking especially SDIO support. And with
good luck there are just small fixes needed to SDIO and USB properly
working.

Let's just clearly document that SDIO and USB support is work in
progress, both during driver initialisation and Kconfig documentation.
Maybe we should even depend on BROKEN, dunno?

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

  parent reply	other threads:[~2017-05-16  7:14 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-21 14:22 Driver support for QCA6174 chip using SDIO interface Akesh M Chacko
2017-01-27 15:36 ` Valo, Kalle
2017-01-29 21:16   ` Erik Stromdahl
2017-01-31 11:34     ` Akesh M Chacko
2017-02-21 11:26       ` Akesh M Chacko
2017-02-22 20:58         ` Erik Stromdahl
2017-03-01  5:52           ` Akesh M Chacko
2017-03-01  6:25             ` Erik Stromdahl
2017-03-04  4:41               ` Akesh M Chacko
2017-03-09  7:39               ` Valo, Kalle
2017-05-12  0:20     ` Ann Lo
2017-05-12 14:51       ` Erik Stromdahl
2017-05-12 17:30         ` Ann Lo
2017-05-15 17:50         ` Adrian Chadd
2017-05-16 12:59           ` Erik Stromdahl
2017-05-16  7:14         ` Kalle Valo [this message]
2017-05-16 13:13           ` Erik Stromdahl
2017-05-17  9:32             ` Kalle Valo

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=878tlxuvcz.fsf@qca.qualcomm.com \
    --to=kvalo@qca.qualcomm.com \
    --cc=akesh.chacko@vvdntech.in \
    --cc=annlo.tech@gmail.com \
    --cc=ath10k@lists.infradead.org \
    --cc=erik.stromdahl@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.