Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jul 2017 16:40:56 +0200
From:      Georg Bege <georg@bege.email>
To:        freebsd-wireless@freebsd.org
Subject:   Fwd: Trying to get IEEE80211n (in hostap) running for ATH9280
Message-ID:  <2b28746a-17c0-0f3a-ca39-c0c5ca0ce3c7@bege.email>
In-Reply-To: <00ef5cc2-0ba0-60f9-306e-5ae29eecac1e@bege.email>
References:  <00ef5cc2-0ba0-60f9-306e-5ae29eecac1e@bege.email>

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

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

Hi guys,

just wanted to tell that I got it up and running.
Rather than trying some commands myself, I just chose an n-compatible
channel (channel 40) from the list and put it into hostapd.conf

hostapd.conf managed to configure the card into the correct mode :-)

However for informative purposes, I'd still like to know what the
difference is and why in this case hostapd.conf is mandatory?
(I mean I know it is for WPA, but why did the kernel refuse the manual
commands?).

regards,
Georg


-------- Weitergeleitete Nachricht --------
Betreff: Trying to get IEEE80211n (in hostap) running for ATH9280
Datum: Sat, 22 Jul 2017 15:21:15 +0200
Von: Georg Bege <georg@bege.email>
Antwort an: georg@bege.email
An: freebsd-wireless@freebsd.org

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




--06x88l7NDBjOxpqhxOW6uXSQK7SIr8bBF--

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

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

iQJFBAEBCAAvFiEEJdJ9breeFh2CnEOSXOBJMQYP8oMFAllzY/gRHGdlb3JnQGJl
Z2UuZW1haWwACgkQXOBJMQYP8oOR5RAAw9RxEXVDFGGs5jLI26ggCA7MHcTStbft
3HkgvPO95vMAYZhbYZIY++3+feWsKBJXBWhEbKuIiioZOv1aeKgSo0Rl4zvWKmzr
Zw9BaeH4FA7aYOCarun7wS46MZs4dQCLNy0z1r9p0uTznJ0hUktR2xjxCXLcGefZ
sAnh1drNGMiSeRNbfNMUWPzbInLngt1SYlttOXLJyEkDq7HCWsfkDOToNEwPWkkV
7+3HaeAwI1jafTgenWQcai0saq7WVWInfKOiIOWMsbr2m5PJTrMxc45T9nxO3YIi
Rw2rhc3JmjSYFrUNNaG792dQfYKr933+m8fGrDYpQI0ngrNBZm64d0YMyARJXxV8
2D26IfAAgaxEY30L3G11PN+P9e/E7EdqB6/emEjJlhk0teAn0rH2ybhBFhFyFjgy
6MejhbZwPIj9hpmWOdy5rB/QYp34e44at7BtUy6dOVfEiaHvP9IpgeoeiMGK8eiH
UBJ9R4ZOWj0+u4aq/62cqp5i9mZ2O2AjkEg93N3gjSwiC70K6AkjGCOHJMglb4Jg
1mn0iqweVYiY9/Xx4KYSDJtb93HMwEuPfUcYllkqod2s71Z7qlkgcSJmaU8+vhf1
v/5LLlSUr2a12xp3uyJeyROptlGjFFmqG+VgbhH+PWuhpHnEmVzApzWzYTywJBWB
ggRWks70MrI=
=Yo69
-----END PGP SIGNATURE-----

--EuG6wjjkWtdQWjTvWlCr6mmF0vbqK1icR--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2b28746a-17c0-0f3a-ca39-c0c5ca0ce3c7>