From 1327a787eb5c7e3563b23bf689455fa887f3e3ed Mon Sep 17 00:00:00 2001 From: Joshua Oreman Date: Fri, 7 Aug 2009 20:17:50 -0700 Subject: [iwmgmt] Add wireless management commands and text for common errors Add commands `iwstat' (to list 802.11-specific status information for 802.11 devices) and `iwlist' (to scan for available networks and print a list along with security information). Signed-off-by: Marty Connor --- src/include/gpxe/errfile.h | 1 + src/include/usr/iwmgmt.h | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 src/include/usr/iwmgmt.h (limited to 'src/include') diff --git a/src/include/gpxe/errfile.h b/src/include/gpxe/errfile.h index 8d4545eb4..55dbb6f64 100644 --- a/src/include/gpxe/errfile.h +++ b/src/include/gpxe/errfile.h @@ -192,6 +192,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); #define ERRFILE_x509 ( ERRFILE_OTHER | 0x00160000 ) #define ERRFILE_login_ui ( ERRFILE_OTHER | 0x00170000 ) #define ERRFILE_ib_srpboot ( ERRFILE_OTHER | 0x00180000 ) +#define ERRFILE_iwmgmt ( ERRFILE_OTHER | 0x00190000 ) /** @} */ diff --git a/src/include/usr/iwmgmt.h b/src/include/usr/iwmgmt.h new file mode 100644 index 000000000..c1bdc37a8 --- /dev/null +++ b/src/include/usr/iwmgmt.h @@ -0,0 +1,17 @@ +#ifndef _USR_IWMGMT_H +#define _USR_IWMGMT_H + +/** @file + * + * Wireless network interface management + * + */ + +FILE_LICENCE ( GPL2_OR_LATER ); + +struct net80211_device; + +extern void iwstat ( struct net80211_device *dev ); +extern int iwlist ( struct net80211_device *dev ); + +#endif /* _USR_IWMGMT_H */ -- cgit v1.2.3-55-g7522