mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 17:42:47 +03:00
[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:
committed by
Marty Connor
parent
dd8a3e2e70
commit
1327a787eb
@@ -204,6 +204,7 @@ REQUIRE_OBJECT ( config_cmd );
|
||||
#ifdef IFMGMT_CMD
|
||||
REQUIRE_OBJECT ( ifmgmt_cmd );
|
||||
#endif
|
||||
/* IWMGMT_CMD is brought in by net80211.c if requested */
|
||||
#ifdef ROUTE_CMD
|
||||
REQUIRE_OBJECT ( route_cmd );
|
||||
#endif
|
||||
|
||||
33
src/config/config_net80211.c
Normal file
33
src/config/config_net80211.c
Normal file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 2, or (at
|
||||
* your option) any later version.
|
||||
*/
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER );
|
||||
|
||||
#include <config/general.h>
|
||||
|
||||
/** @file
|
||||
*
|
||||
* 802.11 configuration options
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* Drag in 802.11-specific commands
|
||||
*
|
||||
*/
|
||||
#ifdef IWMGMT_CMD
|
||||
REQUIRE_OBJECT ( iwmgmt_cmd );
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Drag in 802.11 error message tables
|
||||
*
|
||||
*/
|
||||
#ifdef ERRMSG_80211
|
||||
REQUIRE_OBJECT ( wireless_errors );
|
||||
#endif
|
||||
|
||||
@@ -99,6 +99,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
#define NVO_CMD /* Non-volatile option storage commands */
|
||||
#define CONFIG_CMD /* Option configuration console */
|
||||
#define IFMGMT_CMD /* Interface management commands */
|
||||
#define IWMGMT_CMD /* Wireless interface management commands */
|
||||
#define ROUTE_CMD /* Routing table management commands */
|
||||
#define IMAGE_CMD /* Image management commands */
|
||||
#define DHCP_CMD /* DHCP management commands */
|
||||
@@ -108,6 +109,12 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
#undef DIGEST_CMD /* Image crypto digest commands */
|
||||
//#undef PXE_CMD /* PXE commands */
|
||||
|
||||
/*
|
||||
* Error message tables to include
|
||||
*
|
||||
*/
|
||||
#undef ERRMSG_80211 /* All 802.11 error descriptions (~3.3kb) */
|
||||
|
||||
/*
|
||||
* Obscure configuration options
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user