static int iwstat_payload(struct net_device *netdev, struct iwstat_options *opts __unused)
"iwstat" payload
static struct option_descriptor iwlist_opts[]
"iwlist" option list
int iwlist(struct net80211_device *dev)
Scan for wireless networks using 802.11 device.
static int iwstat_exec(int argc, char **argv)
The "iwstat" command.
An "if<xxx>" command descriptor.
#define __unused
Declare a variable or data structure as unused.
#define MAX_ARGUMENTS
No maximum number of arguments.
static struct net_device * netdev
Wireless network interface management.
static int iwlist_exec(int argc, char **argv)
The "iwlist" command.
static struct ifcommon_command_descriptor iwlist_cmd
"iwlist" command descriptor
The iPXE 802.11 MAC layer.
Structure encapsulating the complete state of an 802.11 device.
Command line option parsing.
static struct option_descriptor iwstat_opts[]
"iwstat" option list
struct net80211_device * net80211_get(struct net_device *netdev)
Get 802.11 device from wrapping network device.
const char * name
Name of the command.
Network device management.
void iwstat(struct net80211_device *dev)
Print status of 802.11 device.
FILE_LICENCE(GPL2_OR_LATER)
int ifcommon_exec(int argc, char **argv, struct ifcommon_command_descriptor *ifcmd)
Execute if<xxx> command.
static struct ifcommon_command_descriptor iwstat_cmd
"iwstat" command descriptor
A command-line option descriptor.
static int iwlist_payload(struct net_device *netdev, struct iwlist_options *opts __unused)
"iwlist" payload
static union @438 opts
"cert<xxx>" option list
#define IFCOMMON_COMMAND_DESC(_struct, _options, _min_args, _max_args, _usage, _payload, _stop_on_first_success)
Construct "if<xxx>" command descriptor.
struct command iwmgmt_commands [] __command
Wireless interface management commands.