Subject: Re: device driver sysctls
To: None <tech-kern@NetBSD.org, tech-net@NetBSD.org>
From: David Young <dyoung@pobox.com>
List: tech-kern
Date: 02/29/2004 21:03:11
On Sun, Feb 29, 2004 at 08:08:04PM -0600, David Young wrote:
> I've added sysctls for ath(4) in ath.* (that's right, top-level). I
> don't intend for this to be permanent. Where do the sysctls belong?
> I believe it was Dan Carosone who suggested,

Incidentally, I am considering adding sysctl nodes for 802.11
peers/clients, and I seek input on where those nodes should go.
My intention is for these to be used to see scan results and
authenticated/associated nodes.  I tentatively propose this.

net.ieee80211.bss.00:05:5d:89:6a:33.beacon_interval = 100
net.ieee80211.bss.00:05:5d:89:6a:33.ssid = dyoungnet
net.ieee80211.bss.00:05:5d:89:6a:33.nodes.00:e0:98:ad:ba:0e
    .rates = 1,2,5.5,11
    .rssi = 13
    .powersaving = 0
    .txseq = 1703
    .rxseq = 1405
    .aid = 13
    .rate = 5.5
    .state = assoc

Some drivers will provide rssadapt sub-trees,

net.ieee80211.bss.00:05:5d:89:6a:33.rssadapt.update_interval = 100
net.ieee80211.bss.00:05:5d:89:6a:33.nodes.00:e0:98:ad:ba:0e.rssadapt
    .avg_rssi = 10
    .nfail = 0
    .nok = 3
    .pktrate = 7
    .last_raise = 741253000
    .raise_interval = 1000000
    .rssadapt
        .rate_threshold.128.10 = 1
        .rate_threshold.128.20 = 3
        .rate_threshold.128.55 = 5
        .rate_threshold.128.110 = 15
    
        .rate_threshold.1024.10 = 2
        .rate_threshold.1024.20 = 4
        .rate_threshold.1024.55 = 8
        .rate_threshold.1024.110 = 20

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933