Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
rfkill.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  rfkill_event
 

Macros

#define RFKILL_STATE_SOFT_BLOCKED   0
 
#define RFKILL_STATE_UNBLOCKED   1
 
#define RFKILL_STATE_HARD_BLOCKED   2
 
#define RFKILL_EVENT_SIZE_V1   8
 
#define RFKILL_IOC_MAGIC   'R'
 
#define RFKILL_IOC_NOINPUT   1
 
#define RFKILL_IOCTL_NOINPUT   _IO(RFKILL_IOC_MAGIC, RFKILL_IOC_NOINPUT)
 

Enumerations

enum  rfkill_type {
  RFKILL_TYPE_ALL = 0, RFKILL_TYPE_WLAN, RFKILL_TYPE_BLUETOOTH, RFKILL_TYPE_UWB,
  RFKILL_TYPE_WIMAX, RFKILL_TYPE_WWAN, RFKILL_TYPE_GPS, RFKILL_TYPE_FM,
  NUM_RFKILL_TYPES
}
 
enum  rfkill_operation { RFKILL_OP_ADD = 0, RFKILL_OP_DEL, RFKILL_OP_CHANGE, RFKILL_OP_CHANGE_ALL }
 

Functions

struct rfkill_event __attribute__ ((packed))
 

Variables

__u32 idx
 
__u8 type
 
__u8 op
 
__u8 soft
 
__u8 hard
 

Macro Definition Documentation

#define RFKILL_EVENT_SIZE_V1   8

Definition at line 98 of file rfkill.h.

#define RFKILL_IOC_MAGIC   'R'

Definition at line 101 of file rfkill.h.

#define RFKILL_IOC_NOINPUT   1

Definition at line 102 of file rfkill.h.

#define RFKILL_IOCTL_NOINPUT   _IO(RFKILL_IOC_MAGIC, RFKILL_IOC_NOINPUT)

Definition at line 103 of file rfkill.h.

#define RFKILL_STATE_HARD_BLOCKED   2

Definition at line 27 of file rfkill.h.

#define RFKILL_STATE_SOFT_BLOCKED   0

Definition at line 25 of file rfkill.h.

#define RFKILL_STATE_UNBLOCKED   1

Definition at line 26 of file rfkill.h.

Enumeration Type Documentation

enum rfkill_operation - operation types : a device was added : a device was removed : a device's state changed – userspace changes one device : userspace changes all devices (of a type, or all)

Enumerator:
RFKILL_OP_ADD 
RFKILL_OP_DEL 
RFKILL_OP_CHANGE 
RFKILL_OP_CHANGE_ALL 

Definition at line 61 of file rfkill.h.

enum rfkill_type - type of rfkill switch.

: toggles all switches (requests only - not a switch type) : switch is on a 802.11 wireless network device. : switch is on a bluetooth device. : switch is on a ultra wideband device. : switch is on a WiMAX device. : switch is on a wireless WAN device. : switch is on a GPS device. : switch is on a FM radio device. : number of defined rfkill types

Enumerator:
RFKILL_TYPE_ALL 
RFKILL_TYPE_WLAN 
RFKILL_TYPE_BLUETOOTH 
RFKILL_TYPE_UWB 
RFKILL_TYPE_WIMAX 
RFKILL_TYPE_WWAN 
RFKILL_TYPE_GPS 
RFKILL_TYPE_FM 
NUM_RFKILL_TYPES 

Definition at line 42 of file rfkill.h.

Function Documentation

struct rfkill_event __attribute__ ( (packed)  )
read

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

__u8 hard

Definition at line 88 of file rfkill.h.

__u32 idx

Definition at line 85 of file rfkill.h.

Definition at line 87 of file rfkill.h.

__u8 soft

Definition at line 88 of file rfkill.h.

Definition at line 86 of file rfkill.h.