Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jul 2017 15:21:15 +0200
From:      Georg Bege <georg@bege.email>
To:        freebsd-wireless@freebsd.org
Subject:   Trying to get IEEE80211n (in hostap) running for ATH9280
Message-ID:  <00ef5cc2-0ba0-60f9-306e-5ae29eecac1e@bege.email>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--vjn1hFSW5BbTtjpJigVMMuPIVASEl4Mgu
Content-Type: multipart/mixed; boundary="1cgHd1RHacPcCfwF1CKtdnH4DlXinEkUU";
 protected-headers="v1"
From: Georg Bege <georg@bege.email>
Reply-To: georg@bege.email
To: freebsd-wireless@freebsd.org
Message-ID: <00ef5cc2-0ba0-60f9-306e-5ae29eecac1e@bege.email>
Subject: Trying to get IEEE80211n (in hostap) running for ATH9280

--1cgHd1RHacPcCfwF1CKtdnH4DlXinEkUU
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

Hello everyone,

Im one of the sad people not getting IEEE80211n to run (in hostap!).
Im having an (should be) supported AR9280 chip using an pcMachines APU2
device.

----
root@orion:~ # dmesg | grep ath
ath0: <Atheros 9280> mem 0xfe800000-0xfe80ffff at device 0.0 on pci4
[ath] enabling AN_TOP2_FIXUP
ath0: [HT] enabling HT modes
ath0: [HT] 1 stream STBC receive enabled
ath0: [HT] 1 stream STBC transmit enabled
ath0: [HT] 2 RX streams; 2 TX streams
ath0: AR9280 mac 128.2 RF5133 phy 13.0
ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0
---

At the moment, the machine is running an 11.0-RELEASE (pretty vanilla,
except a couple of installed pkg's)
I just got my hands on it a couple of days ago, right now Im using the
well-working 11g mode:

------------------------ snip ------------------------------
wlan0: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metri=
c
0 mtu 1500
	ether 04:f0:21:30:ee:3b
	inet6 fe80::6f0:21ff:fe30:ee3b%wlan0 prefixlen 64 scopeid 0x6
	nd6 options=3D23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
	media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
	status: running
	ssid int.ninth-art.de channel 10 (2457 MHz 11g) bssid 04:f0:21:30:ee:3b
	regdomain ETSI country DE ecm authmode WPA2/802.11i privacy MIXED
	deftxkey 2 AES-CCM 2:128-bit txpower 30 scanvalid 60 protmode CTS wme
	burst dtimperiod 1 -dfs
	groups: wlan
------------------------ snip ------------------------------

The wlan0 device is part of an bridge, because I need it working that
way (not sure if that matters).

I get proper supported channels with 'ifconfig wlan0 list channels':

------------------------ snip ------------------------------
root@orion:~ # ifconfig wlan0 list channels
Channel   1 : 2412  MHz 11g ht       Channel  48 : 5240  MHz 11a ht
Channel   2 : 2417  MHz 11g ht       Channel  52 : 5260* MHz 11a ht
Channel   3 : 2422  MHz 11g ht       Channel  56 : 5280* MHz 11a ht
Channel   4 : 2427  MHz 11g ht       Channel  60 : 5300* MHz 11a ht
Channel   5 : 2432  MHz 11g ht       Channel  64 : 5320* MHz 11a ht
Channel   6 : 2437  MHz 11g ht       Channel 100 : 5500* MHz 11a ht
Channel   7 : 2442  MHz 11g ht       Channel 104 : 5520* MHz 11a ht
Channel   8 : 2447  MHz 11g ht       Channel 108 : 5540* MHz 11a ht
Channel   9 : 2452  MHz 11g ht       Channel 112 : 5560* MHz 11a ht
Channel  10 : 2457  MHz 11g ht       Channel 116 : 5580* MHz 11a ht
Channel  11 : 2462  MHz 11g ht       Channel 120 : 5600* MHz 11a ht
Channel  12 : 2467  MHz 11g ht       Channel 124 : 5620* MHz 11a ht
Channel  13 : 2472  MHz 11g ht       Channel 128 : 5640* MHz 11a ht
Channel  36 : 5180  MHz 11a ht       Channel 132 : 5660* MHz 11a ht
Channel  40 : 5200  MHz 11a ht       Channel 136 : 5680* MHz 11a ht
Channel  44 : 5220  MHz 11a ht       Channel 140 : 5700* MHz 11a ht
------------------------ snip ------------------------------

I tried several commands such as 'ifconfig wlan0 mode 11n (or 11ng)
channel 6:ht/40 - or just channel 40 etc.

All my attempts result in: ifconfig: SIOCS80211: Invalid argument

Not sure what's the proper way to setup 11n(g) - there are multiple
entries on multiple forums, people basically tinkering around until they
may get it working (or not?).

Any hints where I can read up how this works or an page which tells the
definitive commands which are necessary is highly appreciated.
As far as I understood 11.0-RELEASE should be recent enough (?), however
I can of course upgrade the box to 11.0-STABLE as well.
Just not sure if its worth the buzz...

best regards,
Georg
--=20
Georg Bege
Mail: georg@bege.email
XMPP: therion@ninth-art.de
IRC: megaTherion @ Freenode


--1cgHd1RHacPcCfwF1CKtdnH4DlXinEkUU--

--vjn1hFSW5BbTtjpJigVMMuPIVASEl4Mgu
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCAAvFiEEJdJ9breeFh2CnEOSXOBJMQYP8oMFAllzUU4RHGdlb3JnQGJl
Z2UuZW1haWwACgkQXOBJMQYP8oNBKA/+LMm+peApEMTVV5pyM3G3h/oQrUOZqKCV
xLE/2mBrYNsCii4bcy+a2oLPwtKxn1QUQmUjzaO7vl9BlU7yOlZZ/TH0aE7AvoWY
dEdhvTGKnmI2P3lY++hxlxa6QVpKlhoPT7stWUGxis2RN7pOUDLeSo/d0BbXJVML
xB2rnUqFOOnLxFrT7aJxg+DAAs0hm43oLRMvlwxIGtax7VQ3eNc0AEAtiRuUxG8H
JzniaiwGWDd4XjoPeOQPw1GB48bLRefMe3G16iktuJ2TpeRLL5wxuNytRS4+moGN
SuRuWp70XjHACAuVgV0+dQr6e/eHvPprPkUpILUGxSF8BLFCwxBewMrOst1ZMeYC
lQkxQvjjPwB8RiKTwJWJ/++vg93hZC+eiJmZ5slV5einhU/3IBzkybSPNyMs2aD+
FZKViJJkS6FhAT9wofTN/vtBNtZc69ToqGYXpe+mz1R2jO/BA8Faml+amxabOcDY
B0I4xMiGT+IZRnrQ5v6bSUhRCosv27yhHFrrIWkaAfLHYdM4DGLcAHtVUm0ctxrm
mU89v01D2gs2tFTMJvl61h4i0WOR9KyWaSUGrDogBcJ8/GfBpIazKM+EN4IX5vF5
I+nc/aXnHx0XXmiI7fpKVHd0JrPMyt8X7b15sWn/zKkPCecWMq043T/9/V6hvW+d
3R00a9vLHu0=
=EhjY
-----END PGP SIGNATURE-----

--vjn1hFSW5BbTtjpJigVMMuPIVASEl4Mgu--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00ef5cc2-0ba0-60f9-306e-5ae29eecac1e>