diff options
author | sam <sam@FreeBSD.org> | 2009-02-05 17:51:46 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-02-05 17:51:46 +0000 |
commit | c2ef74981e48ea6112d18468d2e885627fcc104f (patch) | |
tree | 0110ef34ad38453216827265023898b7d82a25ad /sbin/ifconfig/regdomain.c | |
parent | 62489ed61cdf1586309c9fb863f57466d79da298 (diff) | |
download | FreeBSD-src-c2ef74981e48ea6112d18468d2e885627fcc104f.zip FreeBSD-src-c2ef74981e48ea6112d18468d2e885627fcc104f.tar.gz |
add support for max antenna gain (not used at the moment)
Diffstat (limited to 'sbin/ifconfig/regdomain.c')
-rw-r--r-- | sbin/ifconfig/regdomain.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/ifconfig/regdomain.c b/sbin/ifconfig/regdomain.c index 5846469..e5d1734 100644 --- a/sbin/ifconfig/regdomain.c +++ b/sbin/ifconfig/regdomain.c @@ -289,6 +289,10 @@ end_element(void *data, const char *name) mt->netband->maxPowerDFS = strtoul(p, NULL, 0); goto done; } + if (iseq(name, "maxantgain") && mt->netband != NULL) { + mt->netband->maxAntGain = strtoul(p, NULL, 0); + goto done; + } /* <country>...</country> */ if (iseq(name, "isocc") && mt->country != NULL) { |