wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Enumerations | Functions | Variables
rfkill.c File Reference

Linux rfkill helper functions for driver wrappers. More...

#include "includes.h"
#include <fcntl.h>
#include "utils/common.h"
#include "utils/eloop.h"
#include "rfkill.h"

Data Structures

struct  rfkill_event
 
struct  rfkill_data
 

Macros

#define RFKILL_EVENT_SIZE_V1   8
 

Enumerations

enum  rfkill_operation { RFKILL_OP_ADD = 0, RFKILL_OP_DEL, RFKILL_OP_CHANGE, RFKILL_OP_CHANGE_ALL }
 
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
}
 

Functions

struct rfkill_datarfkill_init (struct rfkill_config *cfg)
 
void rfkill_deinit (struct rfkill_data *rfkill)
 
int rfkill_is_blocked (struct rfkill_data *rfkill)
 

Variables

struct rfkill_event STRUCT_PACKED
 

Detailed Description

Linux rfkill helper functions for driver wrappers.