git: ifconfig(8): Update regdomain.[ch] to support new regdomain.xml

Aaron LI aly at crater.dragonflybsd.org
Thu Dec 31 07:50:13 PST 2020


commit f1699cf2fc932a411e565782d09c34554ceeaa40
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Dec 31 13:40:11 2020 +0800

    ifconfig(8): Update regdomain.[ch] to support new regdomain.xml
    
    The '/etc/regdomain.xml' has been updated in
    dbe4ac417a2b77e29fd0326277263c3bbccf7ebe.  However, ifconfig(8) has not
    been updated to support the new netbands (e.g., 11ac) and thus
    ifconfig(8) emits some warnings like:
    
    ```
    ifconfig: unknown netband mode "11ac" at line 114
    ifconfig: ignore "band" of unknown netband at line 115
    ifconfig: ignore "freqband" of unknown netband at line 116
    ifconfig: ignore "maxpower" of unknown netband at line 117
    ifconfig: unexpected XML token "maxpower" data "17" at line 117
    ifconfig: ignore "flags" of unknown netband at line 118
    ifconfig: flags without freqband or netband at line 118 ignored
    ```
    
    Update 'regdomain.[ch]' from FreeBSD to support the new regdomain.xml,
    together with minor fixes.
    
    Obtained-from: FreeBSD

Summary of changes:
 sbin/ifconfig/regdomain.c | 33 +++++++++++++++++++++++++++++++++
 sbin/ifconfig/regdomain.h |  2 ++
 2 files changed, 35 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f1699cf2fc932a411e565782d09c34554ceeaa40


-- 
DragonFly BSD source repository



More information about the Commits mailing list