From owner-freebsd-wireless@freebsd.org Sun Jan 15 18:59:32 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 550FACB1E56 for ; Sun, 15 Jan 2017 18:59:32 +0000 (UTC) (envelope-from tj@enoti.me) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 28B8E1434 for ; Sun, 15 Jan 2017 18:59:31 +0000 (UTC) (envelope-from tj@enoti.me) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id D8C2020B49 for ; Sun, 15 Jan 2017 13:59:29 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Sun, 15 Jan 2017 13:59:29 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=smtpout; bh=1GTLVP3S8pV8lVtOs4SvO4FUAao=; b=kDlxJ zCvKQTqw61eLRtkaJl23QhAMfvvOEn0ufT9K5OsJvHyQkBnUJlYex5Q3tnG5GBza ZcSWFd1Sf2FCPcjHxly4cL0IwAewN6AdoKDqg6SCzwe+p3EWthENDWvR4OFHtlnK PYtGW7/z5cjkIBFiT4s2GmlwiDsagGWeXphTEc= X-ME-Sender: X-Sasl-enc: mypJWKV+ZTQHnuLRq0YbTqYyty+PmJxZrRUdMIbR/F18 1484506769 Received: from tom-desk.erg.abdn.ac.uk (tom-desk.erg.abdn.ac.uk [139.133.204.4]) by mail.messagingengine.com (Postfix) with ESMTPA id 6F28824768 for ; Sun, 15 Jan 2017 13:59:29 -0500 (EST) Date: Sun, 15 Jan 2017 18:59:27 +0000 From: tj To: "freebsd-wireless@freebsd.org" Subject: ATH Spectral Scan Message-ID: <20170115185926.GA30744@tom-desk.erg.abdn.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.7.2 (2016-11-26) 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: Sun, 15 Jan 2017 18:59:32 -0000 Hi wireless, I am trying to get spectral scan working on the AR9462 in my acer c720. As per: http://freebsd.1045724.x6.nabble.com/spectral-scan-now-works-on-ar93xx-and-later-chips-td6057123.html I built a kernel with: options ATH_ENABLE_RADIOTAP_VENDOR_EXT options ATH_DIAGAPI Based on: http://freebsd-wireless.freebsd.narkive.com/94wkUBBj/howto-tinkering-with-spectral-scan and discussions with Adrian on irc I built and ran: tools/tools/ath/athspectral and https://github.com/erikarn/ath_radar_stuff # sysctl dev.ath.0.monpass=0xff # athspectral -i wlan0 get # athspectral -i wlan0 start # fft_eval ar9280 if wlan0 Which gives ony gives me output like: http://adventurist.me/2ghzscan.png http://adventurist.me/5ghzscan.png I am expecting output similar to: https://people.freebsd.org/~adrian/ath/fft_snapshot_2ghz.jp.png - [tj]