From: Christian Lamparter <chunkeey@googlemail.com>
To: Stephen P <srpape@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: AR9170 documentation for a driver port?
Date: Wed, 25 Apr 2012 22:01:50 +0200 [thread overview]
Message-ID: <201204252201.50803.chunkeey@googlemail.com> (raw)
In-Reply-To: <CADdUxCwt35GQU2j-a4AvvJVS=h93sgBqg09CZNxTivRfbYsqzg@mail.gmail.com>
On Wednesday, April 25, 2012 09:29:52 PM Stephen P wrote:
> I've looked through carl9170 briefly, but is there anywhere I can find
> an explanation of the USB protocol and documentation about the chipset?
In the headers:
eeprom.h - eeprom layout (i.e.: calibration, gain, ...)
fwcmd.h - firmware commands (read/write register, set channel, set key, ...)
fwdesc.h - definitions about the firmware descriptor
(at first, that's probably not very important)
hw.h - hardware register file (mostly the MAC registers)
phy.h - hardware register file (PHY registers)
wlan.h - definition of the tx and rx headers (and tails)
other than that, there's still the original ar9170 (less complex,
but different firmware) and of course the original vendor driver:
otus.
So much for carl9170. If you want documents about the chip then
you have to ask a Qualcomm rep.
> Essentially I just want to put the device into monitor mode, be able
> to change channels, etc. Any information would be appreciated.
Actually, you could just capture what the driver does to setup the device
[the userspace usbmon tools can help there] and simply replay the commands.
But if you want, you can of course port the code from phy.c, mac.c into
java and start from there. Good luck!
Regards,
Chr
next prev parent reply other threads:[~2012-04-25 20:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-25 19:29 AR9170 documentation for a driver port? Stephen P
2012-04-25 20:01 ` Christian Lamparter [this message]
2012-06-17 2:53 ` CARL9170 driver/firmware questions David Lynch Jr.
2012-06-17 10:42 ` Christian Lamparter
[not found] ` <201206172048.59657.chunkeey@googlemail.com>
[not found] ` <1341734893.20243.15.camel@hp-dhlii>
[not found] ` <201207081443.03106.chunkeey@googlemail.com>
2012-07-08 16:54 ` David Lynch Jr.
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=201204252201.50803.chunkeey@googlemail.com \
--to=chunkeey@googlemail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=srpape@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 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).