From owner-freebsd-wireless@FreeBSD.ORG Sun Oct 13 23:57:21 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7B44BC4F for ; Sun, 13 Oct 2013 23:57:21 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qe0-x229.google.com (mail-qe0-x229.google.com [IPv6:2607:f8b0:400d:c02::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3D4C72DF3 for ; Sun, 13 Oct 2013 23:57:21 +0000 (UTC) Received: by mail-qe0-f41.google.com with SMTP id x7so3617030qeu.28 for ; Sun, 13 Oct 2013 16:57:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=rKeFVfMMv9FeL/6vqN8GNdqRc4fW7xAZCRS2GY1Qt2o=; b=B7a4mn1Z58xo8L3ohy7YlWmF4i7wv6S2ECRtmFCFaAhl4tLuAeK79bqCZLNDixV0V3 /5OMPdqOvkji50h93NtYKOhaNxNk5kGpU3p6Y0GkW77FbrAJVIr0v4Fg8DAHQ9Egpjf5 TsjjRLbNAEhUhjsieTdfoCiW6v7bZkAtVRnJ6NhE9wjMGOkefv16TSc7+4ToqVH3hrsQ Mv3YO4kGKJKAoUPgKp+7BLESJLIQckdiUC/ghG0YYuS8Kd2KOExTMtBfUScLTOow43OS gN/vVaXpRr0kP67qYEv9O8ECoctw5gJDU8Ku8e/jwM5bHLcVHtFTpZcsbY1I3WXfSdt2 mB3Q== MIME-Version: 1.0 X-Received: by 10.224.11.133 with SMTP id t5mr19014012qat.34.1381708639228; Sun, 13 Oct 2013 16:57:19 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.207.66 with HTTP; Sun, 13 Oct 2013 16:57:19 -0700 (PDT) In-Reply-To: <525B2802.5050904@gmail.com> References: <525B2802.5050904@gmail.com> Date: Sun, 13 Oct 2013 16:57:19 -0700 X-Google-Sender-Auth: 4hXKIKSOfe6v2jq9DkM4kMDp3WQ Message-ID: Subject: Re: Wireless API From: Adrian Chadd To: Eric Tugeon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 13 Oct 2013 23:57:21 -0000 What do you mean like "connection percentage" ? Do you mean like signal strength? If so, then yes. You can then make some basic heuristic guesses mapping signal level / RSSI to a connection percentage based on some assumptions. For example, you could look at the minimum RSSI required to guarantee some decent stability at each receive/transmit rate (from 1mbit->54mbit, then MCS1->MCS23) and then use that to map out connection percentage (where stable at MCS0 / 1mbit would be lowest, and stable at MCS7/54mbit would be 100%.) HTH, -adrian On 13 October 2013 16:08, Eric Tugeon wrote: > Hi, > I work on a Python GTK network manager for FreeBSD/GhostBSD, it will look > similar to https://projects.gnome.org/**NetworkManager/. > I want to know if we have wireless API like connection percentage? > ______________________________**_________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@** > freebsd.org " >