From owner-freebsd-wireless@freebsd.org Sat Jul 22 14:40:53 2017 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7144EDA023F for ; Sat, 22 Jul 2017 14:40:53 +0000 (UTC) (envelope-from georg@bege.email) Received: from mail.unix.io (mail.unix.io [IPv6:2001:470:1f0b:97d::2]) by mx1.freebsd.org (Postfix) with ESMTP id 25B60802FF for ; Sat, 22 Jul 2017 14:40:53 +0000 (UTC) (envelope-from georg@bege.email) Received: from mail.unix.io (localhost [127.0.0.1]) by mail.unix.io (Postfix) with ESMTP id BA91D2EF2D1 for ; Sat, 22 Jul 2017 16:40:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bege.email; h=subject :reply-to:references:to:from:message-id:date:mime-version :in-reply-to:content-type; s=mail141202; bh=mKeaL05ugFzKZyJTxPK9 vVJfoiA=; b=kFeg5F4A3uLac0uVRVRAZXFcy5c3+ZsuxA41ZfnJFyJHzthfKqMM KKGy0lzcI6ZiX6KTHSqgzGxLNFvKFrU5eCOREC6xxf4tGGXzq//3cEInY3sKqm05 WcUkYHg8MdcPtI5+GIpaKEtFVOb5ntbBzqWFZvVbTW2ZQmbb1K1mSHw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bege.email; h=subject :reply-to:references:to:from:message-id:date:mime-version :in-reply-to:content-type; q=dns; s=mail141202; b=oRnFcL4k2fwel5 0cIXf9vGxHqqznSStHBLrsEzKRlhtvSvPbV/Iaz8fWCBmL+3D+990fN5wmcCvgV3 UX4jUT5ASMgC1mRDcj7TyAgy8KqmxltMMXn/FsqweKT0Yi/6pzSwy/r83DOMi109 9G+Vf1Dvya/9yHxl0iv6IliR0Zli8= Received: from [IPv6:2001:470:1f0b:518:2ba5:98a2:18a2:c01c] (lazarus.int.ninth-art.de [IPv6:2001:470:1f0b:518:2ba5:98a2:18a2:c01c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.unix.io (Postfix) with ESMTPSA id 725892E96EA for ; Sat, 22 Jul 2017 16:40:44 +0200 (CEST) Subject: Fwd: Trying to get IEEE80211n (in hostap) running for ATH9280 Reply-To: georg@bege.email References: <00ef5cc2-0ba0-60f9-306e-5ae29eecac1e@bege.email> To: freebsd-wireless@freebsd.org From: Georg Bege X-Forwarded-Message-Id: <00ef5cc2-0ba0-60f9-306e-5ae29eecac1e@bege.email> Message-ID: <2b28746a-17c0-0f3a-ca39-c0c5ca0ce3c7@bege.email> Date: Sat, 22 Jul 2017 16:40:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <00ef5cc2-0ba0-60f9-306e-5ae29eecac1e@bege.email> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="EuG6wjjkWtdQWjTvWlCr6mmF0vbqK1icR" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jul 2017 14:40:53 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --EuG6wjjkWtdQWjTvWlCr6mmF0vbqK1icR Content-Type: multipart/mixed; boundary="06x88l7NDBjOxpqhxOW6uXSQK7SIr8bBF"; protected-headers="v1" From: Georg Bege 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 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: 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 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 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g 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--