aboutsummaryrefslogtreecommitdiff
path: root/sbin/ifconfig/regdomain.h
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/ifconfig/regdomain.h')
-rw-r--r--sbin/ifconfig/regdomain.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sbin/ifconfig/regdomain.h b/sbin/ifconfig/regdomain.h
index 05ddb620b172..cfc2be02f1fb 100644
--- a/sbin/ifconfig/regdomain.h
+++ b/sbin/ifconfig/regdomain.h
@@ -45,6 +45,13 @@ struct freqband {
LIST_ENTRY(freqband) next;
};
+/* private flags, don't pass to os */
+#define REQ_ECM 0x1 /* enable if ECM set */
+#define REQ_INDOOR 0x2 /* enable only for indoor operation */
+#define REQ_OUTDOOR 0x4 /* enable only for outdoor operation */
+
+#define REQ_FLAGS (REQ_ECM|REQ_INDOOR|REQ_OUTDOOR)
+
struct netband {
const struct freqband *band; /* channel list description */
uint8_t maxPower; /* regulatory cap on tx power (dBm) */