From owner-freebsd-wireless@FreeBSD.ORG Mon Apr 25 15:58:33 2011 Return-Path: Delivered-To: wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B01A1065672 for ; Mon, 25 Apr 2011 15:58:33 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5BEC28FC1E for ; Mon, 25 Apr 2011 15:58:33 +0000 (UTC) Received: by vws18 with SMTP id 18so2560322vws.13 for ; Mon, 25 Apr 2011 08:58:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=ZOViDvTgkFqDwGZrX1wPZ9Uowo94MXVunNgEzWEnDks=; b=OPuO3eka8Y0Y6qGtQkELv6INzq5PvxDPW1OFOGR6iLDJbIn3ApyCO5b1PQHhCrr7rL jtwTMBufjP4ods+V+AIizdHpS5G2NQgd/jxMn2tgmN1u2t5bDKYYdEapZW5KDYBr1K28 twdtJmec1uNn4pTl63wuzkO8V5s4F9WEki7PE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=eitanadler.com; s=0xdeadbeef; h=mime-version:from:date:message-id:subject:to:content-type; b=GafRjQrxi81OX2/Hcu169lwmPTkbObdULdW+c95Vuh47/nGK4Hm0MGMex+r33Zhgkf B544Pjqr8rEo4MCeI6yNbt013XHBmRVzh5OcMG1d17BJ4ywAhKE3Vgo6GUOvAw+4/8yF G7ve5/9crIabMYHFbgFDEbM6GBT1u1qSguIB4= Received: by 10.52.95.46 with SMTP id dh14mr6082169vdb.60.1303747112071; Mon, 25 Apr 2011 08:58:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.181.202 with HTTP; Mon, 25 Apr 2011 08:58:02 -0700 (PDT) From: Eitan Adler Date: Mon, 25 Apr 2011 11:58:02 -0400 Message-ID: To: wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Subject: undocumented capabilities/flags in ifconfig(1) and in the handbookj X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Apr 2011 15:58:33 -0000 In ifconfig(1) under "list scan" and "list sta" a number of letters are documented. 1) The same letters are documented for both of them - even though there are a different set of flags (list sta) or capabilities (list scan) The letters 'I' 'c' 'C' 'B' 's' 'R' and 'D' are not documented as capabilities in the man page While 'Q' 'N' 'R' 'M' 'M+' 'I' 'S+' 's' 't' and 'r' are the flags which are not currently documented in the man page I have been trying to work my way through the code to understand what each of these mean: The following list is incomplete and probably inaccurate. c / C - I'm unsure exactly what this means. something here is pollable. Lowercase c means that it is capable while uppercase means it is required. It appears to only be used in usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c s - documented only in the handbook: Short slot time. Indicates that the 802.11g network is using a short slot time because there are no legacy (802.11b) stations present. I - documented only in the handbook: IBSS/ad-hoc network. Indicates that the station is part of an ad-hoc network (in contrast to an ESS network). B - ????? R - station is 801.11/i RSN capable D - ????? Q - station is using/capable of using QoS N - ????? M - ????? M+ - ????? S+ - station is using 20Mhz short preamble as well as 40Mhz t / r - station is transmitting / receiving 802.11 n A - MSDU I am hoping to get a better understanding of what these mean so I can submit a diff against the man page and handbook. -- Eitan Adler