summaryrefslogtreecommitdiffstats
path: root/sbin/ifconfig/ifconfig.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2007-06-11 03:56:33 +0000
committersam <sam@FreeBSD.org>2007-06-11 03:56:33 +0000
commit3271b465acb86d1da777c15e67a67ea952a8ddb8 (patch)
tree3f4d188c2835a1c8b666ae901a5cbc04c97e52f9 /sbin/ifconfig/ifconfig.h
parent6a8b18f11591df29764d02a686661d87559bf7f6 (diff)
downloadFreeBSD-src-3271b465acb86d1da777c15e67a67ea952a8ddb8.zip
FreeBSD-src-3271b465acb86d1da777c15e67a67ea952a8ddb8.tar.gz
Update for revised 802.11 support:
o revised channel handling support; ifconfig now queries the kernel to find the list of available channels and handles channel promotion; channel attributes can be specified as part of the channel; e.g. 36:a for channel 36 in 11a (as opposed to turbo A or HT A) o use channel list to map between freq and IEEE channel #; this eliminates all knowledge of how the mapping is done and fixes handling of cases where channels overlap in the IEEE channel # space but are distinct in the frequency+attributes space (e.g. PSB) o add new knobs: bgscan, ff (Atheors fast frames), dturbo (Atheros Dynamic Turbo mode), bgscanidle, bgscanintvl, scanvalid, roam:rssi11a, roam:rssi11b, roam:rssi11g, roam:rate11a, roam:rate11b, roam:rate11g (roaming parameters), burst, doth (forthcoming 11h support) o print contents of WME, ATH, WPA, RSN, information elements with -v option o print signal strength in dBm o print noise floor in dBm o add list txpow to print tx power caps/channel o change default channel display in status to be more informative
Diffstat (limited to 'sbin/ifconfig/ifconfig.h')
-rw-r--r--sbin/ifconfig/ifconfig.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sbin/ifconfig/ifconfig.h b/sbin/ifconfig/ifconfig.h
index ef7cec5..d14d240 100644
--- a/sbin/ifconfig/ifconfig.h
+++ b/sbin/ifconfig/ifconfig.h
@@ -140,3 +140,9 @@ void ifmaybeload(const char *name);
typedef void clone_callback_func(int, struct ifreq *);
void clone_setcallback(clone_callback_func *);
+
+/*
+ * XXX expose this so modules that neeed to know of any pending
+ * operations on ifmedia can avoid cmd line ordering confusion.
+ */
+struct ifmediareq *ifmedia_getstate(int s);
OpenPOWER on IntegriCloud