[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 <mdc@etherboot.org>
This commit is contained in:
Joshua Oreman
2009-08-07 20:17:50 -07:00
committed by Marty Connor
parent dd8a3e2e70
commit 1327a787eb
8 changed files with 490 additions and 0 deletions

View File

@@ -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 )
/** @} */

17
src/include/usr/iwmgmt.h Normal file
View File

@@ -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 */