From owner-freebsd-wireless@freebsd.org Sat Jul 22 13:21:09 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 7D328D9A99D for ; Sat, 22 Jul 2017 13:21:09 +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 31FFF7E27E for ; Sat, 22 Jul 2017 13:21:07 +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 7EBA22EF2D1 for ; Sat, 22 Jul 2017 15:21:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bege.email; h=reply-to :from:to:subject:message-id:date:mime-version:content-type; s= mail141202; bh=DYe/ZwmoJ8yPwR5iBnMOI3F5FLg=; b=xouGf1k5rV1AwkxP6 vaE4jvGTKZBnBL1aeTGCa186mLQJad/4+5EmRgr2P+BxbqMHv2TZOLBRDKnI42oo snEMjreQDIuceN3xw2mqiWJHFt74wBfyt1taJTWnMrtdRcg1UKX20mJIe8Zpix/Y 1YmiNXjlmMJ6UD7lDNmkIkov4s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bege.email; h=reply-to:from :to:subject:message-id:date:mime-version:content-type; q=dns; s= mail141202; b=ku+F02oZA1IbIIELFF62kIYexBbX4uc16F0UYHZEI2PpZU9/h+ Z+lb2PW+jukE/04V77fIzrXVjtjfIDDHx8oWdmOSrHoT8Fs5vn6qY+ZWY7/ZqRsB B1e5uhGgOcLqqNX0SLC0jQ0/dhMDKa0lLEx6EZvEWape9GGkJkSTSM+j8= 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 87E822E96EA for ; Sat, 22 Jul 2017 15:21:04 +0200 (CEST) Reply-To: georg@bege.email From: Georg Bege To: freebsd-wireless@freebsd.org Subject: Trying to get IEEE80211n (in hostap) running for ATH9280 Message-ID: <00ef5cc2-0ba0-60f9-306e-5ae29eecac1e@bege.email> Date: Sat, 22 Jul 2017 15:21:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vjn1hFSW5BbTtjpJigVMMuPIVASEl4Mgu" 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 13:21:09 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --vjn1hFSW5BbTtjpJigVMMuPIVASEl4Mgu Content-Type: multipart/mixed; boundary="1cgHd1RHacPcCfwF1CKtdnH4DlXinEkUU"; protected-headers="v1" From: Georg Bege 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: 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 --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--