Main Page | Data Structures | File List | Data Fields | Globals

libmac_cmn.h File Reference

Descriptions of the data structures that are used to communicate from user-space with the driver. This file also includes all the structures (not shown here) in linux/wireless.h that are used by the library. More...

#include <asm/types.h>

Go to the source code of this file.

Data Structures

struct  mac_params_list
 Structure, used by the parameter-related functions, to communicate with the driver. More...

Defines

#define START_PARAMS_KEY   0
 Constant that stores the starting point for the parameter keys.
#define MAX_NO_PARAMS   256
 Constant that stores the maximum number of parameter keys allowed with this version.
#define SIOCGIWLINAPP   0x8BB0
 Dummy ioctl for uniformity.
#define SIOCSIWLINAPP   0x8BB1
 ioctl to append parameters for incoming packets
#define SIOCGIWLOUTAPP   0x8BB2
 Dummy ioctl for uniformity.
#define SIOCSIWLOUTAPP   0x8BB3
 ioctl to append parameters for outgoing packets
#define SIOCGIWLALLAPPOFF   0x8BB4
 Dummy ioctl for uniformity.
#define SIOCSIWLALLAPPOFF   0x8BB5
 ioctl to turn append mode off for all packets
#define SIOCGIWLPARAMS   0x8BB6
 ioctl to get all available params in the card
#define SIOCSIWLPARAMS   0x8BB7
 Dummy ioctl for uniformity.
#define SIOCGIWLTXPOWER   0x8BB8
 ioctl to get tx power
#define SIOCSIWLTXPOWER   0x8BB9
 ioctl to set tx power
#define SIOCGIWLRSSI   0x8BBA
 ioctl to get current rssi
#define SIOCSIWLRSSI   0x8BBB
 Dummy ioctl for uniformity.
#define SIOCGIWLNOISE   0x8BBC
 ioctl to get current noise.
#define SIOCSIWLNOISE   0x8BBD
 Dummy ioctl for uniformity.
#define SIOCGIWLTXRATE   0x8BBE
 ioctl to get tx rate
#define SIOCSIWLTXRATE   0x8BBF
 ioctl to set tx rate

Typedefs

typedef mac_params_list mac_params_list
 Structure, used by the parameter-related functions, to communicate with the driver.

Enumerations

enum  mac_parameter_keys { mac_txpower = START_PARAMS_KEY, mac_rssi, mac_noise, mac_currentXmitRate }
 Enum, to ease the use of parameter keys by associating strings with parameters rather than numbers. More...


Detailed Description


Typedef Documentation

typedef struct mac_params_list mac_params_list
 

Structure contains three members,

  1. len, which represents the number of keys stored in the struct.
  2. key_array that holds the keys themselves and
  3. flags, that is a "bytemap" used to convey information about the keys.


Enumeration Type Documentation

enum mac_parameter_keys
 

Enumeration values:
mac_txpower  Key that corresponds to the transmit power of the wireless interface.
mac_rssi  Key that corresponds to the received signal strength index of the wireless interface.
mac_noise  Key that corresponds to the noise, at the receiving end, of the wireless interface.
mac_currentXmitRate  Key that corresponds to the current transmit rate of the wireless interface.


Generated on Tue Aug 24 17:01:41 2004 for libmac by doxygen 1.3.8