|
|
Subscribe / Log in / New account

SFLC: OpenBSD Atheros driver is clean

From:  "John W. Linville" <linville-AT-tuxdriver.com>
To:  linux-kernel-AT-vger.kernel.org, netdev-AT-vger.kernel.org
Subject:  ANNOUNCE: SFLC helps developers assess ar5k (enabling free Atheros HAL)
Date:  Tue, 14 Nov 2006 22:10:26 -0500
Cc:  madwifi-devel-AT-lists.sourceforge.net, lwn-AT-lwn.net, mcgrof-AT-gmail.com, david.kimdon-AT-devicescape.com

It is my pleasure to announce that the SFLC [1] has assisted the ar5k
developers in evaluating the development history of Reyk Floeter's
OpenBSD reverse-engineered Atheros HAL, ar5k [2].  SFLC's assessment
leads to the conclusion that free software developers should not be
worried about using/extending ar5k or porting ar5k to other platforms.

In the past there were serious questions raised and even dire warnings
made about ar5k's copyright status.  The purpose of this statement
is to refute those claims and to publicly clarify ar5k's status
to developers.

SFLC has made independent inquiries with the OpenBSD team regarding the
development history of ar5k source.  The responses received provide
a reasonable basis for SFLC to believe that the OpenBSD developers
who worked on ar5k did not misappropriate code, and that the ar5k
implementation is OpenBSD's original copyrighted work.

This announcement should serve to remove the cloud which has prevented
progress towards an in-kernel driver for Atheros hardware.  This should
be of particular interest to those involved with the DadWifi project [3].

I'd like to take this opportunity to thank the folks at the SFLC for
their hard work, and I'd also like to personally thank Luis Rodriguez
for the role he played in coordinating contact between the SFLC and
the community at large.

Thanks!

John

[1] http://www.softwarefreedom.org/
[2] http://team.vantronix.net/ar5k/
[3] http://marc.theaimsgroup.com/?l=linux-netdev&m=116113...
-- 
John W. Linville
linville@tuxdriver.com



to post comments

SFLC: OpenBSD Atheros driver is clean

Posted Nov 15, 2006 15:13 UTC (Wed) by xav (guest, #18536) [Link] (2 responses)

Intel, Broadcom and now Atheros, it looks like all major wireless chipsets
have now a free driver. Add to that mix a complete NVIDIA driver (it's
slowly on its way, see http://nouveau.sf.net) and suddenly linux's future
is brighter.

SFLC: OpenBSD Atheros driver is clean

Posted Nov 15, 2006 16:42 UTC (Wed) by ca9mbu (guest, #11098) [Link] (1 responses)

Don't forget Ralink. Their wireless chipsets appear to be quite popular in products I can easily source in the UK. It'd be really nice if their code (and the Atheros driver too, when it comes about) could be merged into the vanilla kernel tree. It'd save having to download another tarball and hope it works with whichever kernel version folks might want to test it out with!

SFLC: OpenBSD Atheros driver is clean

Posted Nov 15, 2006 23:45 UTC (Wed) by drag (guest, #31333) [Link]

The ralink rt2x00 driver won't be merged with the kernel until the devicescape stack is complete.

I've been waiting on this one for a while myself.

maybe they could do mplayer next

Posted Nov 15, 2006 16:02 UTC (Wed) by coriordan (guest, #7544) [Link] (1 responses)

I've never found a convincing, complete statement about the legal status of mplayer.

Some say the problems are just patent problems, others say they include binary blobs from MS, etc. etc.

maybe they could do mplayer next

Posted Nov 15, 2006 16:13 UTC (Wed) by svena (guest, #20177) [Link]

One of the problems MPlayer had was code without copyright notices. This was fixed some time ago.
http://people.debian.org/~mjr/legal/mplayer.html

As for binary blobs, I guess you're thinking of the binary code package which is not needed unless you want support for some Real codecs and some other formats.

Really free Atheros driver for Linux

Posted Nov 15, 2006 16:30 UTC (Wed) by rvfh (guest, #31018) [Link] (9 responses)

This brings two questions I suppose:
- can this lead to a really free Atheros driver for Linux?
- what is the status of the devicescape stack merge, which was meant to improve things?

Really free Atheros driver for Linux

Posted Nov 15, 2006 16:42 UTC (Wed) by corbet (editor, #1) [Link] (2 responses)

1) Yes, this should clear the way to the creation of a truly free Linux Atheros driver.

2) See this note for some current info on Devicescape. It remains a slow process.

Really free Atheros driver for Linux

Posted Nov 15, 2006 18:33 UTC (Wed) by proski (subscriber, #104) [Link] (1 responses)

I think the Devicescape note should be a separate story.

Basically, the job of a wireless driver should be to send and receive 802.11 packets. Presenting this to the userspace should be done by the 802.11 stack.

The networking in Linux is implemented through network devices. A single network device is typically one physical device connected to one subnet on one medium with one packet queue. Note the inherent overload of functions - the same interface represents hardware, a subnet, a medium and a network queue.

An advanced 802.11 device can act as one physical device on one medium (radio channel) with multiple subnets (virtual APs and WDS connections). The packet queue is common on the physical, but users may want to regulate it on the subnet level as well.

The question is basically how we want to map this to the traditional network device paradigm. I understand that d80211 associates the physical device and the network queue to the master interface and the medium to the "wiphy", whatever it is.

It's desirable to have one interface representing the common part of the wireless device. If we move everything to wiphy, we lose control over the queue because it's done on the network interface level. If we move everything to the master device, we won't lose anything. However, Johannes seems to dislike having a network interface without the ability to send or receive packets. Unfortunately, the alternative is a major surgery of the networking to decouple queue management from the network devices.

Devicescape

Posted Nov 15, 2006 18:41 UTC (Wed) by corbet (editor, #1) [Link]

It's on my list of topics to consider for that last kernel article I have to somehow crank out today. Don't know if I'll have the time to get a handle on it for this week or not, though.

Really free Atheros driver for Linux

Posted Nov 15, 2006 19:30 UTC (Wed) by N0NB (guest, #3407) [Link] (5 responses)

Certainly, I am not authoritative, but there may be some fallout from the
US FCC and other regulatory administrations. Typically, one of the tests
that the FCC requires of manufacturers is that enduser access to certain
operating parameters is not easily accessable. These parameters generally
amount to the unit in question remaining within a certain frequency range,
power output, and modulation parameters. Any end user who modifies an
accepted device to operate outside the approved parameters can be held
liable by the FCC for causing any harmful interference to other users.

What regulatory action that could be taken against the authors of a free
driver that allows adjustment of the radio outside of its approved
parameters is an interesting question. I'm guessing that to the FCC it
would be no different than the CB shop that modifies radios for operation
beyond the approved 40 channels and their power and modulation limits.
Or, the importers that sell "CB" radios at truckstops that can be
trivially "modified" to illegal operation.

Unlike the Amateur Radio Service where licensees are allowed and
encouraged to modify their equipment for operation on the amateur radio
bands, every other radio service is disallowed from similar modifications.
The FCC has held both providers and end users liable for violation of its
rules. I'd advise the OpenBSD Atheros authors to tread carefully.

Really free Atheros driver for Linux

Posted Nov 15, 2006 20:58 UTC (Wed) by leoc (guest, #39773) [Link] (1 responses)

Is the author Canadian, or is he based in the US? If he's Canadian, the FCC has no authority over what he can and cannot do. The Canadian Radio and Telecommunications Commission would be a more appropriate government agency to worry about.

Really free Atheros driver for Linux

Posted Nov 16, 2006 12:37 UTC (Thu) by N0NB (guest, #3407) [Link]

I did allude to this in my first sentence, but since I am a citizen of the USA, I wrote from the perspective of what I know. Administrations in other countries may care or may not and likely will handle things differently.

Like most everyone, I am cheering for fully free drivers. I just don't want someone finding themselves in court defending themselves out of ignorance for writing a driver that is considered to be in violation of federal and perhaps international radio regulations. Forewarned is forearmed.

Really free Atheros driver for Linux

Posted Nov 16, 2006 0:04 UTC (Thu) by drag (guest, #31333) [Link] (2 responses)

Whatever. I am now willing to beleive that the excuse for FCC compliance is around 70% bullshit.

OpenBSD folks reverse engineering the Linux binary drivers have said that the drivers do a hell of a lot more then just regulating what frequencies you can use. If it was true that they were forced to do it for FCC regulations then the binary-only modules wouldn't be doing those things.

In his efforts to understand how the ipw3945 driver controls the firmware, Damien found that the binary daemon was simple to bypass, offering no real control. "I was able to make the daemon think it was in another regulatory domain," he explained, "just by adding a few lines of code into the GPL'd part of the driver." The binary-only daemon is described as necessary due to FCC regulations, causing Damien to retort, "I think Intel (and Atheros) use FCC rules as a pretext to hide intellectual property in the binary-only portions of their drivers." He went on to explain that the Intel regulatory daemon, as well as the Atheros HAL, implement a number of complex algorithms, including automatic calibration of the radio power based on temperature variations, and dynamic tuning of the radio sensitivity based on received signal strength. "These algorithms go far beyond the simple enforcement of regulatory compliance," he added, "and can really make the difference by extending the operating range of the adapter, improving throughput in various environmental conditions, and reducing power consumption. That is why vendors want to keep these algorithms secret.



In Other words it's BS. I wouldn't mind it so much having a regulatory deamon or binary if only to work around government worthlessness, but I don't think that it's realy all that is going on.

Really free Atheros driver for Linux

Posted Nov 16, 2006 4:17 UTC (Thu) by proski (subscriber, #104) [Link]

What's going to stop a bad guy from lying to the driver what country he is in? How can the driver or even a userspace deamon know it's not running in Japan if the root says so? And then the bad guy runs an AP in the 4.9 GHz band to jam first responders.

Technical restrictions are no substitute to law, morale and common sense. They can protect honest people from honest mistakes, but closing the source goes far beyond common sense. It's a typical case of security through obscurity with an additional effect of hobbling free software.

Really free Atheros driver for Linux

Posted Nov 16, 2006 15:51 UTC (Thu) by pizza (subscriber, #46) [Link]

> Whatever. I am now willing to beleive that the excuse for FCC compliance is around 70% bullshit.

I've been saying this all along, and it's only been reinforced with my dealings with wireless chipset companies [1]. They're far more worried about their "Intellectual Property" being exposed (or rather, worried that someone else will claim they mis-appropriated IP, and get sued..)

The MadWiFi HAL does far, far more than restrict RF-level operation; if that's all it did it would be downright tiny. And as others have said, you can always lie about the country information and generally wreak havoc with your 15mW transmitter.

[1] My day job is writing 802.11 drivers.


Copyright © 2006, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds