From owner-freebsd-wireless@freebsd.org Mon Nov 13 16:40:25 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 6C8BCDBEBF7 for ; Mon, 13 Nov 2017 16:40:25 +0000 (UTC) (envelope-from khanzf@gmail.com) Received: from mail-qt0-x22a.google.com (mail-qt0-x22a.google.com [IPv6:2607:f8b0:400d:c0d::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 25177743E8 for ; Mon, 13 Nov 2017 16:40:25 +0000 (UTC) (envelope-from khanzf@gmail.com) Received: by mail-qt0-x22a.google.com with SMTP id d9so20271196qtd.7 for ; Mon, 13 Nov 2017 08:40:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=LbLaWcStj1x1ayQ6wOwC8s6rK7++exSPBFqWdgtVhAE=; b=OWT0hlQPAHcJexkv+oJX0mdG/JTsO+MrVFOSsSuCvrGcSsgr9L32TfIPrZON1Pf/uD Svsl/EufKBc1PhBClAnm9IaKgepekPU6dOBHniy+j2Fa9Btn9QG98tdRf6/CLlPN1tVh Z+RBw5nIcMI0H1YDYwWZJy0HyJzgIsO2eBDBUlNGsLorBH0vg3b0ew5W2Sn2Ta9L526z hKz7PJmn43dC3pHpLsqpt9BAZY2FXWIsXAMAtopD3ei5VEDtKtruc0Vzs+xmZwuwk5lV MP9XwCxh/tb+PDehkCIvJRx59JOSTmCQIb+pd/gAiqPosW7aqS5OV8vlmsEL9PzEu62r HgzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=LbLaWcStj1x1ayQ6wOwC8s6rK7++exSPBFqWdgtVhAE=; b=jC26UOAzEqoIuWiO3EO5RjfIfnij/iuqMsByn1qL3fm6njylgx1fn/9klyL3/Tc2EP SXlzkxorn5M32M4VKD34Ch4KD5xgpnM1yQKTrS5qcLYBabkJHs+krm85KcTlMCii75TO /GgPp9515ZmxOkQtnOF1zry8exeFbwOWeACtn8MUsvy3sBbwu+x8Ri/B7dA0GaaXi4M7 YNXra2yfERdjF4cf2mql/w8Ekwt+tRM0qGBgyfr5ObZIQR3DLVcK3SOTH+I3f0rOgkKa IQa5FXZGDh6nIr25FE4tuT4oH/rrvg04LOf/M8Vbk68Bpkl59Yj7WJcXmN4bLoQbQ8fd Otgw== X-Gm-Message-State: AJaThX4Y2zNlSZjiJum9TiulGW/J5/q2QKkQcIoQMYnrQ3Kc2w+wyAUK tvPt7hkPKMjE3IH94ffHpCPSqhsr X-Google-Smtp-Source: AGs4zMb8i3aebxBLgGNcm9k+52k5SYp0Z8sHof0F2KmTPQif6Pn7bo9u/Zr9POTihPDDzlnicNgKYA== X-Received: by 10.237.42.15 with SMTP id c15mr9876532qtd.19.1510591223946; Mon, 13 Nov 2017 08:40:23 -0800 (PST) Received: from pc.farhan.codes ([2001:470:8:209::dead:c0de]) by smtp.gmail.com with ESMTPSA id s1sm11242865qte.8.2017.11.13.08.40.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Nov 2017 08:40:23 -0800 (PST) From: Farhan Khan To: freebsd-wireless@freebsd.org Subject: ieee80211 scan function starting point Message-ID: Date: Mon, 13 Nov 2017 11:40:23 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.25 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: Mon, 13 Nov 2017 16:40:25 -0000 Hi all, I am trying to get the "ifconfig wlan0 list scan" command to display local access points. I am fairly certain I have the "up" part working (loading firmware, turning it on) but the scan portion does not yet. I am trying to identify what functions I might have missed with dtrace, but I do not know where to start off and the probes are too rapid to identify where it starts when I run the "ifconfig" command. I am fairly certain it originates in ieee80211 and kicks that off to the driver, but I cannot easily identify where. Does anyone know where? Thank you. Farhan