Slashdot Mirror


Atheros Releases Free Linux Driver For Its 802.11n Devices

mcgrof writes "Atheros has released a shiny new Atheros driver for all their 11n devices aimed for inclusion in the Linux kernel. This new driver has no proprietary HAL and is licensed under the ISC license, so the BSD community should be able to benefit as well. Note: no firmware required!"

47 of 155 comments (clear)

  1. if only there were a similar driver by sensei+moreh · · Score: 4, Informative

    for my AR5212

    --
    Geology - it's not rocket science; it's rock science
    1. Re:if only there were a similar driver by Starcub · · Score: 2, Informative

      http://linuxwireless.org/en/users/Drivers/ath5k

      Supposedly you need 2.6.25 at least.

  2. Broadcomm next?? by LVSlushdat · · Score: 5, Insightful

    Now... if we can just get Broadcomm to do the same.....

    --
    THANK YOU, Edward Snowden!! Americans owe you a debt of gratitude (whether they know it or not..)
    1. Re:Broadcomm next?? by palegray.net · · Score: 5, Funny

      Listen, Broadcomm has repeatedly stated that they fully intend to release open source drivers for their wireless chipsets as soon as Duke Nukem Forever is released.

    2. Re:Broadcomm next?? by Skinkie · · Score: 4, Interesting

      I think the point is pretty clear. Atheros realises that it might be cheaper, in the long run, to add a memory chip to the chipset that contains a firmware, than actually uploading it everytime or using a wintel solution to control the hardware in a way that the FCC stays happy.

      --
      Support Eachother, Copy Dutch Property!
    3. Re:Broadcomm next?? by FamineMonk · · Score: 3, Funny

      They will most likely get pushed back to come out the same time as Duke Nukem Forever 2: Forever and a Day.

    4. Re:Broadcomm next?? by mrsteveman1 · · Score: 3, Interesting

      BCM supports linux for other chipsets directly, go look on their website they provide GPL'd drivers for a bunch of stuff, just not the BCM94311 cores for some reason, probably licensing.

    5. Re:Broadcomm next?? by John+Jamieson · · Score: 2, Funny

      Hey, Linux would have Broadcom support if only they had not been such geeks.
      All that they needed was a Linux grotto, full of Coke, E, and chicks... They would have had the full support of the president of the company!
      But no, the Linux dudes are all concerned about freedom (and not the freedom to slip drugs into the food and drinks of business associates)

    6. Re:Broadcomm next?? by Eric+Smith · · Score: 2, Interesting
      The reason Atheros wireless chipsets don't need a firmware download is because they use the host processor to run the 802.11 MAC protocol. This means that the host processor is also responsible for running all code necessary for regulatory compliance, and that code was in the HAL binary in their older driver.

      I haven't looked at the ath9k driver code, but based on the web pages, it appears that what's different is that they finally decided that publishing the driver source code doesn't violate FCC regulations. I don't see any indication that they've pushed any of it into the chip set; rather it appears that it will be in a new CRDA daemon.

      If anything, Atheros would care more about cost-reducing the chip set by moving more functionality to the host processor, even if that made it harder to support free software.

    7. Re:Broadcomm next?? by Sudheer_BV · · Score: 2, Informative

      BCM4310 also does not have any free drivers. You either have to ditch it or use ndiswrapper

      --
      Sudheer Satyanarayana
      www.techchorus.net
    8. Re:Broadcomm next?? by volxdragon · · Score: 3, Informative

      Ya, except if you go READ those drivers, you will find they violate GPL in several places (notably copying/stealing 2.6 kernel code, ripping off the copyright notice and then plastering (C) Broadcom all over it). Shrug.

  3. Seriously? by TheRaven64 · · Score: 5, Interesting

    No blob, ISC license, and supporting .11n? That only leaves one question: is there a miniPCI card available containing this chipset that I can plug into a little router board?

    --
    I am TheRaven on Soylent News
    1. Re:Seriously? by Wesley+Felter · · Score: 3, Informative
    2. Re:Seriously? by cpicon92 · · Score: 2, Funny

      Wow... you slashdotted the Atheros website.

  4. Hurray, that makes choosing the next laptop easier by victim · · Score: 5, Informative

    No more weighing the lesser of two evils, I can cross off all the laptops with Broadcom chips and narrow the playing field.

    I wasted untold hours with the b43 driver and routinely get bitten when I upgrade kernels and madwifi falls apart and I can't load the new source because it fell apart. Wireless hardware that just works will be a relief.

  5. Cool by rrohbeck · · Score: 5, Interesting

    Does anybody know the HW capabilities of the Atheros chipset?
    Thinking of Software Radio...

    1. Re:Cool by mrsteveman1 · · Score: 2, Informative

      So was I, the previous chips and drivers used that HAL to prevent out of spec tuning of the software radio i believe, so are they doing this in hardware now?

      No firmware, no HAL, open driver. Either they can't be tuned out of spec by software, or they are hard locked at manufacture time.

    2. Re:Cool by Creepy+Crawler · · Score: 2, Interesting

      As a part 97 FCC license holder, I am also interested.

      --
    3. Re:Cool by otaku42 · · Score: 2, Informative

      So was I, the previous chips and drivers used that HAL to prevent out of spec tuning of the software radio i believe, so are they doing this in hardware now?

      No firmware, no HAL, open driver. Either they can't be tuned out of spec by software, or they are hard locked at manufacture time.

      > Either they can't be tuned out of spec by software, or they are hard locked at manufacture time.

      Neither of both is correct. The hardware has the same capabilities as it had when just MadWifi (plus the binary-only HAL) was available as a Linux driver.

      Atheros obviously understood that a blob does not help to prevent people from tuning the radio to frequencies they are not allowed to use. Luis Rodriguez is working on a in-kernel framework called "Central Regulatory Domain Agent" (CRDA) which will take care of the regulatory issues involved in running a WLAN device. He has been hired by Atheros some weeks ago, so Atheros now is sponsoring his work.

  6. Re:As a new Linux desktop user by Anonymous Coward · · Score: 3, Informative

    That's why I bought the Dell Inspiron 1420n. I KNEW that everything would work under Linux.

    When I finally upgrade my home's network, you can bet I'll be going with Atheros.

  7. The not so long article - fyi by **loki969** · · Score: 5, Informative

    ath9k - Atheros unveils free Linux driver for its 802.11n devices Â

    We are pleased to announce Atheros has released ath9k to the community. This driver is aimed at inclusion to the Linux kernel and supports all Atheros IEEE 802.11n devices. This represents a major shift in terms of support from Atheros with respect to Linux. The ath9k driver comes shortly after Atheros hired two key Linux wireless developers -- Luis Rodriguez and Jouni Malinen.

    We have been informed Atheros does plan to add access point support to ath9k and to work with the community to enhance and complete access point support in the Linux kernel. It is understood there is plenty of work required on the wireless stack to complete full access point support. Jouni Malinen will help drive this process within the community while Luis helps enhance regulatory compliance in the Linux kernel.

    We are eager to work with Atheros with ath9k and applaud their efforts for properly supporting Linux.

    The ath9k driver includes supports for the following chipsets:

            * AR5418+AR5133
            * AR5416+AR5133
            * AR5416+AR2133
            * AR9160
            * AR9280
            * AR9281

  8. B and G by phiz187 · · Score: 5, Interesting

    How does this affect 802.11 B and G devices? Can I expect greater stability in those products, or does this only help out 802.11n hardware?

    --
    Pretend I said something meaningful or insightful here.
    1. Re:B and G by X0563511 · · Score: 2, Informative

      No relation. 802.11n is completely different hardware than a/b/g.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    2. Re:B and G by X0563511 · · Score: 4, Informative

      Yes but, due to the physical differences (MIMO, etc) the software->hardware interface is likely significantly different.

      The specifications for 802.11n are mostly compatible with a/b/g, but what you are saying is, to use a car analogy, putting a truck transmission into a coup. Sure, they do the same thing, but they are still completely different 'under the hood'.

      Another example: a CD and DVD do the same thing, a DVD is backwards compatible, and a DVD does more. But a DVD is not a CD, and you cannot interface with the DVD the same way as you do a CD. (this is usually abstracted away from you, by the chips in the actual drive, but it is still true)

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    3. Re:B and G by jdcope · · Score: 2, Informative

      I have an Airlink101 PCMCIA wireless "G" card with an Atheros chipset in my old Thinkpad T22, running Mandriva Spring 2008. Wireless worked even from the Live CD. My first Linux install, and wireless was up and running "out of the box".

  9. whatcouldpossiblygowrong? by sinserve · · Score: 2, Interesting

    No, really, this is GREAT news all around and I can't think of a catch. Kudos Atheros!

  10. There is one, silly... by Anonymous Coward · · Score: 3, Informative

    And it's been in the kernel for at least one major release. ath5k is the name

    I have a few of these devices and they work pretty well with the driver. They don't do access point mode yet, but that will come soon.

  11. Hired ath5k developer by symbolset · · Score: 5, Interesting

    Atheros hired Luis R. Rodriguez, the developer of the Linux kernel Atheros driver, back in April with the intention of doing just this. Congratulations!

    --
    Help stamp out iliturcy.
  12. Re:madwifi? by PCM2 · · Score: 3, Informative
    From the MadWifi homepage:

    The driver itself is open source but depends on the proprietary Hardware Abstraction Layer (HAL) that is available in binary form only.

    --
    Breakfast served all day!
  13. Have you ever dealt with Broadcom? by Anonymous Coward · · Score: 2, Interesting

    I have. Screw Broadcom. Anyone who buys their products deserves the hell they are helping to support.

    Broadcom is EXTREMELY anal retentive about anything that looks remotely proprietary. On their CPU's, they dropped Linux support for the Sibyte stuff that they bought up as soon as they could. I know some guys who are stuck having to support development efforts with such products, and my heart goes out to them.

    The one good bit of news is that they do have a suppposedly serious effort on the Wifi side. The bad news is that they have some very bad engineers doing it. Let me give you an example. The main guy in charge, who thinks he's God gift to Linux (and of course, no one's ever heard of him), decided to do a complete BSP *from scratch* for this effort.

    Needless to say, the work is behind schedule. Oh, and they don't have any real plans in place to support it. It's the toss-it-over-the-wall and move on to the next platform approach.

    This is crazy, expensive and of course a lot of work. I'm not a fan of Windriver, and far less so of Montavista. But honestly, for the $10-20 grand they cost, that's cheap in comparison to what Broadcom is trying (and failing) to pull off.

    Even if they do actually manage to get something out, expect a low quality half-assed effort. That is, expect lots of bugs.

    And that assumes that Broadcom WILL actually decide to release the source. That decision hasn't been made, last I heard.

    I haven't looked at the Atheros stuff yet. But the fact that they are out there, and will be for a long time at the way Broadcom is going, seems to speak of them being quite clueful.

  14. Great news! Vote with you wallet. by nikolajsheller · · Score: 5, Insightful

    This is great!
    I applaud Atheros for taking this step, and I will be buying Atheros hardware in the future due to this move.

    May other companies learn from this initiative.

    1. Re:Great news! Vote with you wallet. by sumdumass · · Score: 2, Informative

      Now if I can just find a list of OTC parts and retailers using the Atheros chips so I can make sure to purchase only them in the future.

      I build and upgrade a lot of systems. Most of which get made into Linux machines at one point in their life. I'm in the process of taking 2 old win98 workstations and turning them into internet kiosks for patrons to use and we already have wifi on site for them. This potentially means I can put more in without having to pull cable through the walls. and just in time too.

  15. Re:As a new Linux desktop user by repvik · · Score: 3, Informative

    After struggling with Zydas ZD1211, various Broadcrap cards and two TI ACX cards, I tried using atheros. After that, I ordered 10 minipci cards to use in my various devices (NAS, Laptop, routers etc.). And by the look of things, I'm never going back ;)

  16. Re:As a new Linux desktop user by FishWithAHammer · · Score: 4, Informative

    I just get Intel laptops with Centrino...works perfectly.

    --
    "You can either have software quality or you can have pointer arithmetic, but you cannot have both at the same time."
  17. Re:Boycott. by FishWithAHammer · · Score: 2, Informative

    I fundamentally believe proprietary software is both unfair and stupid.

    Fortunately for people who write code and don't want to work for a megacorp, others who respect other people's rights have an edge over you. :)

    --
    "You can either have software quality or you can have pointer arithmetic, but you cannot have both at the same time."
  18. My wonderful HP Pavilion laptop by Tatsh · · Score: 5, Interesting

    I have a dv5030us of the dv5000 series. But this applies to nearly all Pavilion models. If you take out the Broadcom card and replace it with something that is not Broadcom (or does not have its ID in the BIOS), then the BIOS will boot and say "Unsupported hardware detected. Remove and reboot." I wanted official support for wireless. I bought an Atheros card off eBay, installed it, got exactly what everyone was saying it would do. Then, I found this web site: http://www.richud.com/HP-Pavilion-104-Bios-Fix/ . And, I had to hex edit my BIOS and reflash as well. Quite something, HP, doing a hardware lock-in with a vendor who refuses to release specs on their hardware.

  19. Re:Hurray, that makes choosing the next laptop eas by cheater512 · · Score: 2, Informative

    Not entirely sure what you mean.
    If you Google the at risk bits in your computer (wifi, webcam) then you'll very easily be able to tell if it works or not.

    The number of things that dont work is very small these days.
    Its improving all the time.

  20. Access Point? by chill · · Score: 2, Interesting

    Anyone know of a good WAP that uses the Atheros chipset? I have a Linksys WRT600N (wifi-N, GbE and USB) and while their European models use Atheros, the U.S. models use Broadcom chipsets.

    Come to think of it, anyone interested in doing a little gray market exporting?

    --
    Learning HOW to think is more important than learning WHAT to think.
  21. Re:As a current madwifi user by Taxman415a · · Score: 2, Interesting

    How did you get an Atheros in your Santa Rosa? Lucky bastard. Most of them have the Broadcom 4328 which is wireless-n and apparently is far away from being reverse engineered. https://lists.berlios.de/pipermail/bcm43xx-dev/2008-May/007517.html The broadcom linux wireless driver project doesn't have enough people willing and able to reverse engineer that card and the wireless n layer it seems.

  22. Which laptops with Broadcom chips? by BayaWeaver · · Score: 2, Interesting

    So which are the laptops with Broadcom chips? I know my Presario V3000 has but I didn't know that when I bought it. I'll be looking more closely for my next laptop purchase. Is there is up-to-date somewhere that I can check?

  23. I second that! Here's the choices by Gazzonyx · · Score: 2, Informative
    Yeah, no doubt, I just decided whose chipset will be on my next wireless board. Just FYI, hardware supported by these drivers (shamelessly ripped from wireless.kernel.org):

    Belkin
    * N1 Wireless Notebook Card

    D-Link
    * DWA-642 RangeBooster N Notebook Adapter
    * DWA-645 RangeBooster N650 Notebook Adapter
    * DWA-542 RangeBooster N Desktop Adapter
    * DWA-547 RangeBooster N650 Desktop Adapter
    * DWA-652 XtremeN Notebook Adapter
    * DWA-552 XtremeN Desktop Adapter
    * DWA-643 Xtreme N ExpressCard Notebook Adapter
    * DWA-556 Xtreme N PCIe Desktop Adapter

    Linksys
    * WPC300Nv2
    * WMP300Nv2
    * WPC100N
    * WMP110N

    NEC
    * WL300NC

    Netgear
    * WNHDE111 Video Bridge
    * WN711, Wireless-N eXpresscard adapter

    --

    If I mod you up, it doesn't necessarily mean I agree with what you've said, sorry.

  24. Re:only one other problem by X0563511 · · Score: 2, Interesting

    Buy hardware, and if it doesn't contain the right chipset send it back to the manufacturer with the reason for the return ("Unlabeled change in chipset, product is no longer compatible").

    I've seen some hardware have the chipset printed on the box. My PCMCIA card from Netgear incidentally had the Atheros logo on the box.

    --
    For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
  25. Re:madwifi? by Luke_22 · · Score: 3, Informative

    From the MadWifi homepage:

    The driver itself is open source but depends on the proprietary Hardware Abstraction Layer (HAL) that is available in binary form only.

    That's for the madwifi driver.
    We're talking about the ath9k driver.
    There's also ath5k, that does not uses HAL.
    ...yes, they're all written by the madwifi group...

    --
    "I was gratified to be able to answer promptly, and I did. I said I didn't know." -- Mark Twain
  26. Re:As a new Linux desktop user by AmiMoJo · · Score: 2, Funny

    Unfortunately the Centrino driver (at least the one included with Backtrack 3) does not support injection, so isn't much good for wardriving.

    --
    const int one = 65536; (Silvermoon, Texture.cs)
    SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  27. Re:As a new Linux desktop user by GNUALMAFUERTE · · Score: 3, Insightful

    Please don't take this as an insult, I actually congratulate you for don't giving up and learning about your OS while solving an actual issue.

    Anyway, my point is: If you know Unix, and have at least some specific knowledge of GNU/Linux, the atheros cards work out of the box. There are two drivers, one proprietary, the other free, both of them work like a charm if you are connecting as a client (I Haven't tried them in other modes since I have an ath chipset in the built-in wlan of my Toshiba laptop, which being a laptop is allmost allways used as a station) I know there are limitations in other modes, specially access point mode, but that's beyond the normal use of a cheap wireless card.
    I think you can even try to load the windows driver with ndiswrapper to get certain functionality that might not be available in the GNU/Linux drivers ( I haven't tried ath with ndiswrapper, but most drivers work with it anyway ).

    So, this is the beauty of Unix: If you understand the paradigm behind the design of the system, you can use any Unix application. Even if you haven't used it before, all it takes is a quick man page read to get the specifics, the rest, you already know it all.

    If to this you add certain specific knowledge about the particular implementation you are going to use, add practice and if you have a general common sense and are a logical person, with at least a normal IQ, you will feel like a fish in the water and be able to do virtually anything with your system after a year or so of using it.

    If you don't have this two prerequisites, and try to start using it expecting to get things actually done the first time you try, you will be very dissapointed. If OTOH, you accept you are learning and try harder, again and again, until you get it right, you will learn A LOT, and become skilled on this stuff very quickly, like you did.

    If you pretend to use the system as an end-user without learning ANYTHING about it, You can do that too, and have a great user experience, if you follow the rules that would apply in this situation to any other system.

    This means:
      - An end user of windows or mac buys a computer with the OS preinstalled and configured or get some tech guy to do it for them.
      - An end user of windows or mac uses the functionality that is officially supported by the OS, doesn't download and install beta or experimental software, doesn't try to add complex hardware himself, and calls a tech guy to fix the computer once in a while.

    The problem with this kind of endusers that refuse to learn (which is ok) is that they don't apply this rules to GNU/Linux, and so they install themselves, add beta and experimental stuff, try to get not supported hardware working, and essentially do a lot of things they don't have the lesser idea how to do properly, and then complain that things doesn't work.

    I'm not saying this is your case, I'm just making a point about how something that starts with a user trying GNU/Linux and doing things beyond their current knowledge and beyond what's safe for a beginner can go the right way, proving the power of Unix and it's not so steppy learning curve (like your experience) or can end up with an asshole bitching arround in forums about things not working and then calling his son to get windows loaded on the machine again.

    --
    WTF am I doing replying to an AC at 5 A.M on a Friday night?
  28. Re:madwifi? by Vanders · · Score: 2, Informative

    You probably want this, or a variant of this for your distro: http://ubuntuforums.org/showthread.php?t=789824

    Also bear in mind that Network Manager can be a pain in the ass and might be the cause of your trouble. On my laptop it routinely forgets my AP name and WAP password, so I have to open it up an re-enter the password every time I reboot Ubuntu.

  29. Woot! by hackus · · Score: 2, Interesting

    Awesome, spectacular and I hope everyone buys atheros based chipsets.

    Hopefully with a concerted effort we can provide atheros enough cash to buy broadcom, fire its board, and can its management.

    Then, have a massive open source party wuv fest with opening the broadcom chipsets and publishing the specifications.

    I am pleased that at least, some manufacturers are beginning to see, that open hardware yields better drivers and better experience for the consumer.

    I hope it continues.

    VIA, Atheros look like they just "get it".

    Awesome.

    -Hackus

    --
    Got Geometrodynamics? Awe, too hard to figure out? Too bad.