Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
event.h File Reference

Go to the source code of this file.

Data Structures

struct  event_mailbox
 

Macros

#define NUM_OF_RSSI_SNR_TRIGGERS   8
 

Enumerations

enum  {
  RSSI_SNR_TRIGGER_0_EVENT_ID = BIT(0), RSSI_SNR_TRIGGER_1_EVENT_ID = BIT(1), RSSI_SNR_TRIGGER_2_EVENT_ID = BIT(2), RSSI_SNR_TRIGGER_3_EVENT_ID = BIT(3),
  RSSI_SNR_TRIGGER_4_EVENT_ID = BIT(4), RSSI_SNR_TRIGGER_5_EVENT_ID = BIT(5), RSSI_SNR_TRIGGER_6_EVENT_ID = BIT(6), RSSI_SNR_TRIGGER_7_EVENT_ID = BIT(7),
  MEASUREMENT_START_EVENT_ID = BIT(8), MEASUREMENT_COMPLETE_EVENT_ID = BIT(9), SCAN_COMPLETE_EVENT_ID = BIT(10), WFD_DISCOVERY_COMPLETE_EVENT_ID = BIT(11),
  AP_DISCOVERY_COMPLETE_EVENT_ID = BIT(12), RESERVED1 = BIT(13), PSPOLL_DELIVERY_FAILURE_EVENT_ID = BIT(14), ROLE_STOP_COMPLETE_EVENT_ID = BIT(15),
  RADAR_DETECTED_EVENT_ID = BIT(16), CHANNEL_SWITCH_COMPLETE_EVENT_ID = BIT(17), BSS_LOSE_EVENT_ID = BIT(18), REGAINED_BSS_EVENT_ID = BIT(19),
  MAX_TX_RETRY_EVENT_ID = BIT(20), DUMMY_PACKET_EVENT_ID = BIT(21), SOFT_GEMINI_SENSE_EVENT_ID = BIT(22), CHANGE_AUTO_MODE_TIMEOUT_EVENT_ID = BIT(23),
  SOFT_GEMINI_AVALANCHE_EVENT_ID = BIT(24), PLT_RX_CALIBRATION_COMPLETE_EVENT_ID = BIT(25), INACTIVE_STA_EVENT_ID = BIT(26), PEER_REMOVE_COMPLETE_EVENT_ID = BIT(27),
  PERIODIC_SCAN_COMPLETE_EVENT_ID = BIT(28), PERIODIC_SCAN_REPORT_EVENT_ID = BIT(29), BA_SESSION_RX_CONSTRAINT_EVENT_ID = BIT(30), REMAIN_ON_CHANNEL_COMPLETE_EVENT_ID = BIT(31),
  EVENT_MBOX_ALL_EVENT_ID = 0x7fffffff
}
 
enum  { EVENT_ENTER_POWER_SAVE_FAIL = 0, EVENT_ENTER_POWER_SAVE_SUCCESS }
 

Functions

int wl1271_event_unmask (struct wl1271 *wl)
 
int wl1271_event_handle (struct wl1271 *wl, u8 mbox)
 

Variables

struct event_mailbox __packed
 

Macro Definition Documentation

#define NUM_OF_RSSI_SNR_TRIGGERS   8

Definition at line 81 of file event.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
RSSI_SNR_TRIGGER_0_EVENT_ID 
RSSI_SNR_TRIGGER_1_EVENT_ID 
RSSI_SNR_TRIGGER_2_EVENT_ID 
RSSI_SNR_TRIGGER_3_EVENT_ID 
RSSI_SNR_TRIGGER_4_EVENT_ID 
RSSI_SNR_TRIGGER_5_EVENT_ID 
RSSI_SNR_TRIGGER_6_EVENT_ID 
RSSI_SNR_TRIGGER_7_EVENT_ID 
MEASUREMENT_START_EVENT_ID 
MEASUREMENT_COMPLETE_EVENT_ID 
SCAN_COMPLETE_EVENT_ID 
WFD_DISCOVERY_COMPLETE_EVENT_ID 
AP_DISCOVERY_COMPLETE_EVENT_ID 
RESERVED1 
PSPOLL_DELIVERY_FAILURE_EVENT_ID 
ROLE_STOP_COMPLETE_EVENT_ID 
RADAR_DETECTED_EVENT_ID 
CHANNEL_SWITCH_COMPLETE_EVENT_ID 
BSS_LOSE_EVENT_ID 
REGAINED_BSS_EVENT_ID 
MAX_TX_RETRY_EVENT_ID 
DUMMY_PACKET_EVENT_ID 
SOFT_GEMINI_SENSE_EVENT_ID 
CHANGE_AUTO_MODE_TIMEOUT_EVENT_ID 
SOFT_GEMINI_AVALANCHE_EVENT_ID 
PLT_RX_CALIBRATION_COMPLETE_EVENT_ID 
INACTIVE_STA_EVENT_ID 
PEER_REMOVE_COMPLETE_EVENT_ID 
PERIODIC_SCAN_COMPLETE_EVENT_ID 
PERIODIC_SCAN_REPORT_EVENT_ID 
BA_SESSION_RX_CONSTRAINT_EVENT_ID 
REMAIN_ON_CHANNEL_COMPLETE_EVENT_ID 
EVENT_MBOX_ALL_EVENT_ID 

Definition at line 40 of file event.h.

anonymous enum
Enumerator:
EVENT_ENTER_POWER_SAVE_FAIL 
EVENT_ENTER_POWER_SAVE_SUCCESS 

Definition at line 76 of file event.h.

Function Documentation

int wl1271_event_handle ( struct wl1271 wl,
u8  mbox 
)

Definition at line 297 of file event.c.

int wl1271_event_unmask ( struct wl1271 wl)

Definition at line 286 of file event.c.

Variable Documentation