linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Atheros 6K WiFi USB adaptors
       [not found] <1339452813.67695.YahooMailNeo@web81603.mail.mud.yahoo.com>
@ 2012-06-11 22:34 ` Peter Tam
  2012-06-14 10:50   ` Kalle Valo
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Tam @ 2012-06-11 22:34 UTC (permalink / raw)
  To: linux-wireless@vger.kernel.org


I thought I saw support code usb.c for that AR6000 wifi chip set. I know there is extensive support for the SDIO interface version. But on detail examination, the usb.c code is missing a lot of hif_ops interfce routines.

The equivalents of 
.read_write_sync = ath6kl_sdio_read_write_sync,
.write_async = ath6kl_sdio_write_async,
.irq_enable = ath6kl_sdio_irq_enable,
.irq_disable = ath6kl_sdio_irq_disable,
.scatter_req_get = ath6kl_sdio_scatter_req_get,
.scatter_req_add = ath6kl_sdio_scatter_req_add,
.enable_scatter = ath6kl_sdio_enable_scatter,
.scat_req_rw = ath6kl_sdio_async_rw_scatter,
.cleanup_scatter = ath6kl_sdio_cleanup_scatter,

are missing in usb.c vs sdio.c for examples.

Can some decent soul tell me where
.read_write_sync = ath6kl_usb_read_write_sync,
.write_async = ath6kl_usb_write_async,
.irq_enable = ath6kl_usb_irq_enable,
.irq_disable = ath6kl_usb_irq_disable,
.scatter_req_get = ath6kl_usb_scatter_req_get,
.scatter_req_add = ath6kl_usb_scatter_req_add,
.enable_scatter = ath6kl_usb_enable_scatter,
.scat_req_rw = ath6kl_usb_async_rw_scatter,
.cleanup_scatter = ath6kl_usb_cleanup_scatter,

are sourced from?



Peter

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Atheros 6K WiFi USB adaptors
  2012-06-11 22:34 ` Atheros 6K WiFi USB adaptors Peter Tam
@ 2012-06-14 10:50   ` Kalle Valo
       [not found]     ` <1339687255.51353.YahooMailNeo@web81602.mail.mud.yahoo.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Kalle Valo @ 2012-06-14 10:50 UTC (permalink / raw)
  To: Peter Tam; +Cc: linux-wireless@vger.kernel.org, ath6kl-devel

Hi Peter,

On 06/12/2012 01:34 AM, Peter Tam wrote:
> 
> I thought I saw support code usb.c for that AR6000 wifi chip set. I 
> know there is extensive support for the SDIO interface version.

The USB version should work equally well. Are you having problems with
USB version?

> But on detail examination, the usb.c code is missing a lot of
> hif_ops interfce routines.

That's because of different HTC implementations. SDIO uses htc_mbox.c
and USB use htc_pipe.c and due to this there are differences in HIF
interface as well. I should document that better in the code.

Kalle

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Atheros 6K WiFi USB adaptors
       [not found]     ` <1339687255.51353.YahooMailNeo@web81602.mail.mud.yahoo.com>
@ 2012-06-15  7:06       ` Kalle Valo
  0 siblings, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2012-06-15  7:06 UTC (permalink / raw)
  To: Peter Tam; +Cc: linux-wireless, ath6kl-devel

Hi Peter,

please always CC linux-wireless and ath6kl-devel. I do not have the time
to give private support.

On 06/14/2012 06:20 PM, Peter Tam wrote:
>     Where is the htc_mbox.c & htc_pipe.c? Attached is my copy of Atheros code from the wireless community (dir.txt).

Like you mentioned in your other email you need to look at latest Linux
releases. The latest and greatest ath6kl is always available from
ath6kl.git:

http://wireless.kernel.org/en/users/Drivers/ath6kl

>     Is HTC means the smartphone making company HTC?

Heh, I have never realised that. A funny conflict :)

I was talking about Host/Target Communication, which is a protocol used
in our firmware. You can have different channels (or endpoints) and
encapsulate various payload, both control and data packets.

http://wireless.kernel.org/en/users/Drivers/ath6kl/architecture

Kalle

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-15  7:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1339452813.67695.YahooMailNeo@web81603.mail.mud.yahoo.com>
2012-06-11 22:34 ` Atheros 6K WiFi USB adaptors Peter Tam
2012-06-14 10:50   ` Kalle Valo
     [not found]     ` <1339687255.51353.YahooMailNeo@web81602.mail.mud.yahoo.com>
2012-06-15  7:06       ` Kalle Valo

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).