misc/177688: WiFi regodmains information is inconsistent between "etc/regdomain.xml" and "sys/net80211/ieee80211_regdomain.h"

Lev Serebryakov lev at freebsd.org
Sun Apr 7 10:30:00 UTC 2013


>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 at 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:


More information about the freebsd-bugs mailing list