Date: Tue, 19 Nov 2013 19:17:42 -0800 From: Adrian Chadd <adrian@freebsd.org> To: Jonas Liepuonius <thinker.lp@gmail.com> Cc: "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org> Subject: Re: Atheros 9271 Message-ID: <CAJ-VmonHNU_y=5JBYqB3q8m3siRRQsb=dAHLJCLQv-b1c9-J8g@mail.gmail.com> In-Reply-To: <CAGQxf0M57kSkx1vSTuEJPPWC-Pp4ANZ=aeZjTudYQiZ57Gw7Cw@mail.gmail.com> References: <CAGQxf0M57kSkx1vSTuEJPPWC-Pp4ANZ=aeZjTudYQiZ57Gw7Cw@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
Hi! Ok, so the rundown on the USB stuff. The athn (openbsd/netbsd) and ath9k_htc (linux) NICs are little USB things that have a normal (yes, normal) atheros chip in them. There's three main flavours: * AR7010 + AR9280 * AR7010 + AR9287 * AR9271 Now, the AR7010 is a little CPU with memory, flash, USB and PCIe. A normal wireless chip plugs into the side. THe AR9271 is effectively an AR7010 (with different memory/flash layout) with an AR9285 glued directly to it inside. No PCIe. So, the other drivers implement this by adding USB stuff to the PCI driver (ie, "ath" would grow USB methods), add HAL support for the AR9271 (as it's a new wifi chip, but there's not much code to do it!) and a handful of USB commands that the driver would call to do things (like add/delete a wireless node, transmit a frame, blink LEDs, etc.) I have all the hardware, I just don't have the time. I started hacking on an AR9170 driver but I quickly got stuck dealing with writing "correct" basic USB handling for command transmit and reception. So, if you'd like to bring up FreeBSD on the AR9271, I really suggest you first get an AR7010 + (something) NIC, as the existing driver/HAL already supports the AR9280 and the AR9287. Once that's done, bringing up AR9271 is easy (read: adrian merges in the HAL changes and bats at it with a big stick until it works.) -adrian On 19 November 2013 12:29, Jonas Liepuonius <thinker.lp@gmail.com> wrote: > Hello, > > So I have been thinking about starting driver development in FreeBSD. So I > thought about porting some drivers from linux as a starting point. It will > mainly be for the Atheros 9271 USB chip. So any comments or ideas or tips > are welcome :) > > -- > Pagarbiai, > Jonas > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmonHNU_y=5JBYqB3q8m3siRRQsb=dAHLJCLQv-b1c9-J8g>
