Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  7 Apr 2013 14:24:21 +0400 (MSK)
From:      Lev Serebryakov <lev@freebsd.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/177688: WiFi regodmains information is inconsistent between "etc/regdomain.xml" and "sys/net80211/ieee80211_regdomain.h"
Message-ID:  <20130407102421.8CE0A4AC58@onlyone.friendlyhosting.spb.ru>
Resent-Message-ID: <201304071030.r37AU0cC037345@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177688
>Category:       misc
>Synopsis:       WiFi regodmains information is inconsistent between "etc/regdomain.xml" and "sys/net80211/ieee80211_regdomain.h"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 07 10:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Lev Serebryakov
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD fbsd-c-64.vm.home.serebryakov.spb.ru 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Sat Mar 30 20:25:42 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64

Sources r249225 have same problem

>Description:

etc/regdomain.xml contains such definition of "ROW" (Rest Of World) domain:

<rd id="row">
  <name>ROW</name>
  <sku>0x8a</sku>
....
</rd>

sys/net80211/ieee80211_regdomain.h contains other constant for this reg domain:

enum RegdomainCode {
...
        SKU_ROW                 = 0x81, /* China/Taiwan/Rest of World */
...
};

I don't know, which one is right and I didn't check, if other constants are consistent or not.
Now bsnmpd's plugin snmp_wlan complains about unknown regdomain if WiFi card has "ROW" domain set.

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130407102421.8CE0A4AC58>