From owner-freebsd-net@FreeBSD.ORG Wed Jul 14 03:16:53 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E28EB1065675; Wed, 14 Jul 2010 03:16:52 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8C20E8FC17; Wed, 14 Jul 2010 03:16:52 +0000 (UTC) Received: by iwn35 with SMTP id 35so8104880iwn.13 for ; Tue, 13 Jul 2010 20:16:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=SqO+rFe5kFaar2D1a13FR0KUwGC4KMdftndQDlqtPgg=; b=wZv6Dl14sovwaBlBE3n/AK8hU+KXPlfm9W6lodIZVunqCb57xXnnZ8fdqOds5pmtbC eCTljy+uipOnAp7p/d6dWe1YaQGNIFhTnw7fZ/5Gab3dkImbiH5i3Ky2geOVcdRhYWMt OXGJf6tpCo2HzvHHCeSMOjxRi1q2RU+aQ93lY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=apSq1EQw6a50iNO0zttj3vjD4+iG2eqXKHQvR3UF99wRFKeawfdnvUI74nUUiohwgB NZ8urAAlTCXdpU5Q87bvfqcRovIezyGFfm6LP3LyAOeBoudZMVFVWemt/jyiSUxdtu35 4AvuaiI1e+kK7S2usr5hwv3nC9CIUCopl4HSs= MIME-Version: 1.0 Received: by 10.231.139.212 with SMTP id f20mr15515445ibu.166.1279077411764; Tue, 13 Jul 2010 20:16:51 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.231.152.79 with HTTP; Tue, 13 Jul 2010 20:16:50 -0700 (PDT) In-Reply-To: References: Date: Wed, 14 Jul 2010 11:16:50 +0800 X-Google-Sender-Auth: JELEGVVxpImsfBrQBE_78K1vWlI Message-ID: From: Adrian Chadd To: syrinx@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-net@FreeBSD.org" , freebsd-current@freebsd.org Subject: Re: Call for testers: wireless module for bsnmpd(1) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2010 03:16:53 -0000 On 10 July 2010 19:27, Shteryana Shopova wrote: > Hi all, > > As some of you may know, I've been awarded a grant by the FreeBSD > Foundation to make several improvements to FreeBSD's SNMP daemon. The > first part of the project - a module for monitoring wireless > networking under FreeBSD - is now completed and I'd really appreciate > if I could get some help in more extensive testing in a wider range of > wireless networking usage scenarios. A tarbal of the latest sources of > the module is available under I've already emailed you about the alignment warnings. The returned error value is an SNMPv2 error (SNMP_ERR_INCONS_VALUE) which causes v1 requests to error out. Is it at all possible to return something valid if a v1 request is made? snmpwalk'ing to inspect what -is- returned fails, even when querying in v2 mode: BEGEMOT-WIRELESS-MIB::wlanIfaceDot11nRIFS."wlan0" = INTEGER: false(2) BEGEMOT-WIRELESS-MIB::wlanIfaceDot11nShortGI."wlan0" = INTEGER: false(2) BEGEMOT-WIRELESS-MIB::wlanIfaceDot11nSMPSMode."wlan0" = INTEGER: disabled(1) Error in packet. Reason: (genError) A general failure occured Failed object: BEGEMOT-WIRELESS-MIB::wlanIfaceDot11nSMPSMode."wlan0" The daemon logs errors when features aren't supported by the underlying driver (eg querying TDMA stats on a non-TDMA interface.) This may hide any actual underlying issues. It isn't immediately clear which parameters are related to station and which are related to hostap. Eg, wlanIfaceBeaconMissedThreshold. Is that the station threshold or the AP threshold? Would it be worthwhile creating separate branches for different stat types (station, ap, TDMA AP, dot11n stuff, etc, etc?) rather than whacking it all together in one tree? I've not seen binary string indexing values on tables before. Eg: BEGEMOT-WIRELESS-MIB::wlanIfacePeerAddress."wlan0".'...$..'.61 = STRING: 0:11:24:c7:e4:3d BEGEMOT-WIRELESS-MIB::wlanIfacePeerAddress."wlan0".'..#2'.'.219 = STRING: 0:23:32:27:fc:db BEGEMOT-WIRELESS-MIB::wlanIfacePeerAssociationId."wlan0".'...$..'.61 = INTEGER: 2 BEGEMOT-WIRELESS-MIB::wlanIfacePeerAssociationId."wlan0".'..#2'.'.219 = INTEGER: 1 Is that going to be portable to different utilities? Some of the code I've seen (and written!) expect numeric table indexes rather than what I see above. Adrian