OpenBSD Journal
Home : : Add Story : : Archives : : About : : Create Account : : Login :
WiFi: 11n hostap mode added to athn(4) driver, testers wanted
Contributed by pitrh on Mon Jan 9 13:33:21 2017 (GMT)
from the Puffy off the wire dept.

OpenBSD as WiFi access points look set to be making a comeback in the near future.

With this diff, Stefan Sperling added 802.11n hostap mode, with full support initially for the Atheros chips supported by the athn(4) driver.

This diff adds 11n support to the athn(4) driver.
Requires -current net80211 code from today.

Tested in hostap mode and client mode with:

athn0 at pci1 dev 0 function 0 "Atheros AR9281" rev 0x01: apic 2 int 16
athn0: AR9280 rev 2 (2T2R), ROM rev 22, adddress xx:xx:xx:xx:xx:xx

And in client mode with:

athn0 at uhub1 port 2 configuration 1 interface 0 "ATHEROS USB2.0 WLAN" rev 2.00/1.08 addr 2
athn0: AR9271 rev 1 (1T1R), ROM rev 13, address xx:xx:xx:xx:xx:xx

Hostap performance is not perfect yet but should be no worse than 11a/b/g modes in the same environment.

For Linux clients a fix for WME params is needed which I also posted to tech@.

This diff does not modify the known-broken and disabled ar9003 code, apart from making sure it still builds.

I'm looking for both tests and OKs.

You heard the man: Testers wanted. You know you want your APs to run OpenBSD, sooner rather than later.


<< Get your name in the relayd book | Reply | Flattened | Expanded | Errata SECURITY FIX: January 5, 2017 >>

Threshold: Help

Related Links
more by pitrh

  Re: WiFi: 11n hostap mode added to athn(4) driver, testers wanted (mod 9/127)
by Stefan Sperling (stsp) ( on Tue Jan 10 13:43:30 2017 (GMT)
  Please don't test the first diff I posted.
There is an updated diff which hasn't archived yet.
Here's an alternative link:

Also make sure to get all recent net80211 code commits from -current.
  [ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]

  Re: WiFi: 11n hostap mode added to athn(4) driver, testers wanted (mod 11/113)
by Stefan Sperling (stsp) ( on Thu Jan 19 23:19:12 2017 (GMT)
  Since this post is still being quoted by some other sites as news,
please note that by now, all the diff are part of -current snapshots.
So do not mess around with the diffs anymore at this point.
Just install the latest snapshot.

Also, the /etc/hostname.athn0 config file currently must specify
'mode 11n' and set a channel, else there might be known issues.
A config based on this example should work:

media autoselect mode 11n mediaopt hostap chan 1
nwid foo wpakey xxxxxxxx
  [ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]

[ Home | Add Story | Archives | Polls | About ]

Copyright © 2004-2008 Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to April 2nd 2004 as well as images and HTML templates were copied from the fabulous original with Jose's and Jim's kind permission. Some icons from used with permission from Kathleen. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. Search engine is ht://Dig. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]