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

hostap_compat.h File Reference

#include <linux/skbuff.h>
#include <linux/kcomp.h>
#include <asm/hardirq.h>

Include dependency graph for hostap_compat.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define NEW_MODULE_CODE
#define spin_lock_bh(lock)   spin_lock_irq(lock)
#define spin_unlock_bh(lock)   spin_unlock_irq(lock)
#define read_lock_bh(lock)   read_lock_irq(lock)
#define read_unlock_bh(lock)   read_unlock_irq(lock)
#define rwlock_init(l)
#define __constant_cpu_to_le16   __cpu_to_le16
#define dev_get_by_name(dev)   dev_get(dev)
#define PRISM2_NETDEV_EXTRA   IFNAMSIZ
#define prism2_set_dev_name(dev, pos)   (dev)->name = (char *) (pos)
#define HOSTAP_QUEUE   struct tq_struct
#define PRISM2_SCHEDULE_TASK(q)
#define HOSTAP_TASKLET   struct tq_struct
#define HOSTAP_TASKLET_INIT(q, f, d)
#define list_for_each_safe(pos, n, head)
#define yield()   schedule()
#define IRQ_HANDLED
#define IRQ_RETVAL(x)
#define MODULE_LICENSE(var)

Typedefs

typedef void(* tasklet_func )(void *)
typedef void irqreturn_t

Functions

static void flush_scheduled_work (void)
static void INIT_WORK (struct tq_struct *tq, void(*routine)(void *), void *data)
static void tasklet_schedule (struct tq_struct *q)
static void dev_kfree_skb_any (struct sk_buff *skb)
static __inline__ void list_del_init (struct list_head *entry)


Define Documentation

#define __constant_cpu_to_le16   __cpu_to_le16
 

Definition at line 27 of file hostap_compat.h.

Referenced by ap_handle_dropped_data(), handle_assoc(), hostap_deauth_all_stas(), hostap_handle_sta_tx(), and schedule_packet_send().

#define dev_get_by_name dev  )    dev_get(dev)
 

Definition at line 31 of file hostap_compat.h.

#define HOSTAP_QUEUE   struct tq_struct
 

Definition at line 37 of file hostap_compat.h.

#define HOSTAP_TASKLET   struct tq_struct
 

Definition at line 59 of file hostap_compat.h.

#define HOSTAP_TASKLET_INIT q,
f,
 ) 
 

Value:

do { memset((q), 0, sizeof(*(q))); \
(q)->routine = (tasklet_func) (f); \
(q)->data = (void *) (d); } \
while (0)

Definition at line 69 of file hostap_compat.h.

Referenced by prism2_init_local_data().

#define IRQ_HANDLED
 

Definition at line 159 of file hostap_compat.h.

Referenced by ath_intr(), and prism2_interrupt().

#define IRQ_RETVAL  ) 
 

Definition at line 160 of file hostap_compat.h.

Referenced by prism2_interrupt().

#define list_for_each_safe pos,
n,
head  ) 
 

Value:

for (pos = (head)->next, n = pos->next; pos != (head); \
                pos = n, n = pos->next)

Definition at line 91 of file hostap_compat.h.

Referenced by prism2_free_local_data().

#define MODULE_LICENSE var  ) 
 

Definition at line 165 of file hostap_compat.h.

#define NEW_MODULE_CODE
 

Definition at line 5 of file hostap_compat.h.

#define PRISM2_NETDEV_EXTRA   IFNAMSIZ
 

Definition at line 34 of file hostap_compat.h.

#define PRISM2_SCHEDULE_TASK  ) 
 

Value:

MOD_INC_USE_COUNT; \
queue_task((q), &tq_scheduler);

Definition at line 40 of file hostap_compat.h.

Referenced by ap_add_sta(), hostap_add_wds_links(), hostap_set_multicast_list(), hostap_set_tim(), hostap_tx_compl_read(), hostap_wds_link_oper(), prism2_check_magic(), prism2_info(), prism2_info_linkstatus(), prism2_info_scanresults(), prism2_rx(), prism2_schedule_reset(), prism2_tx(), and prism2_tx_80211().

#define prism2_set_dev_name dev,
pos  )    (dev)->name = (char *) (pos)
 

Definition at line 35 of file hostap_compat.h.

#define read_lock_bh lock  )    read_lock_irq(lock)
 

Definition at line 21 of file hostap_compat.h.

#define read_unlock_bh lock  )    read_unlock_irq(lock)
 

Definition at line 22 of file hostap_compat.h.

#define rwlock_init  ) 
 

Definition at line 23 of file hostap_compat.h.

Referenced by prism2_init_local_data().

#define spin_lock_bh lock  )    spin_lock_irq(lock)
 

Definition at line 16 of file hostap_compat.h.

Referenced by ap_add_sta(), ap_control_add_mac(), ap_control_del_mac(), ap_control_flush_macs(), ap_control_kick_mac(), ap_control_kickall(), ap_control_mac_deny(), ap_control_proc_read(), ap_crypt_get_ptrs(), ap_handle_dropped_data(), handle_add_proc_queue(), handle_assoc(), handle_authen(), handle_beacon(), handle_deauth(), handle_disassoc(), handle_pspoll(), handle_set_tim_queue(), handle_wds_oper_queue(), hfa384x_get_rid(), hfa384x_set_rid(), hostap_add_wds_links(), hostap_set_tim(), hostap_update_rates(), hostap_wds_link_oper(), prism2_ap_proc_read(), prism2_hostapd_add_sta(), prism2_hostapd_get_info_sta(), prism2_hostapd_remove_sta(), prism2_hostapd_set_flags_sta(), and prism2_scan_results_proc_read().

#define spin_unlock_bh lock  )    spin_unlock_irq(lock)
 

Definition at line 17 of file hostap_compat.h.

Referenced by ap_add_sta(), ap_control_add_mac(), ap_control_del_mac(), ap_control_flush_macs(), ap_control_kick_mac(), ap_control_kickall(), ap_control_mac_deny(), ap_control_proc_read(), ap_crypt_get_ptrs(), ap_handle_dropped_data(), handle_add_proc_queue(), handle_assoc(), handle_authen(), handle_beacon(), handle_deauth(), handle_disassoc(), handle_pspoll(), handle_set_tim_queue(), handle_wds_oper_queue(), hfa384x_get_rid(), hfa384x_set_rid(), hostap_add_wds_links(), hostap_set_tim(), hostap_update_rates(), hostap_wds_link_oper(), prism2_ap_proc_read(), prism2_hostapd_add_sta(), prism2_hostapd_get_info_sta(), prism2_hostapd_remove_sta(), prism2_hostapd_set_flags_sta(), and prism2_scan_results_proc_read().

 
#define yield  )    schedule()
 

Definition at line 152 of file hostap_compat.h.

Referenced by hfa384x_allocate_fid(), and prism2_hw_init().


Typedef Documentation

typedef void irqreturn_t
 

Definition at line 161 of file hostap_compat.h.

typedef void(* tasklet_func)(void *)
 

Definition at line 67 of file hostap_compat.h.


Function Documentation

static void dev_kfree_skb_any struct sk_buff * skb  ) [inline, static]
 

Definition at line 76 of file hostap_compat.h.

Referenced by ath_desc_free(), ath_hardstart(), ath_init(), ath_skbhdr_adjust(), ieee80211_decap(), ieee80211_encap(), prism2_rx_80211(), and push_wifi_extra_header().

static void flush_scheduled_work void  ) [inline, static]
 

Definition at line 44 of file hostap_compat.h.

Referenced by prism2_close(), and prism2_free_local_data().

static void INIT_WORK struct tq_struct * tq,
void(*)(void *) routine,
void * data
[inline, static]
 

Definition at line 50 of file hostap_compat.h.

Referenced by hostap_info_init(), hostap_init_data(), and prism2_init_local_data().

static __inline__ void list_del_init struct list_head * entry  ) [static]
 

Definition at line 84 of file hostap_compat.h.

Referenced by __hostap_cmd_queue_free(), hfa384x_cmd(), and prism2_cmd_ev().

static void tasklet_schedule struct tq_struct * q  ) [inline, static]
 

Definition at line 61 of file hostap_compat.h.

Referenced by prism2_info(), prism2_interrupt(), prism2_rx(), and prism2_txexc().


Generated on Mon Nov 21 15:59:57 2005 for openwifi by  doxygen 1.4.1