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

hostap.h

Go to the documentation of this file.
00001 #ifndef HOSTAP_H
00002 #define HOSTAP_H
00003 
00004 /* hostap.c */
00005 
00006 extern struct proc_dir_entry *hostap_proc;
00007 
00008 u16 hostap_tx_callback_register(local_info_t *local,
00009                                 void (*func)(struct sk_buff *, int ok, void *),
00010                                 void *data);
00011 int hostap_tx_callback_unregister(local_info_t *local, u16 idx);
00012 int hostap_set_word(struct net_device *dev, int rid, u16 val);
00013 int hostap_set_string(struct net_device *dev, int rid, const char *val);
00014 u16 hostap_get_porttype(local_info_t *local);
00015 int hostap_set_encryption(local_info_t *local);
00016 int hostap_set_antsel(local_info_t *local);
00017 int hostap_set_roaming(local_info_t *local);
00018 int hostap_set_auth_algs(local_info_t *local);
00019 void hostap_dump_rx_header(const char *name,
00020                            const struct hfa384x_rx_frame *rx);
00021 void hostap_dump_tx_header(const char *name,
00022                            const struct hfa384x_tx_frame *tx);
00023 void hostap_netif_wake_queues(struct net_device *dev);
00024 void hostap_netif_stop_queues(struct net_device *dev);
00025 int hostap_80211_header_parse(struct sk_buff *skb, unsigned char *haddr);
00026 int hostap_80211_prism_header_parse(struct sk_buff *skb, unsigned char *haddr);
00027 int hostap_80211_get_hdrlen(u16 fc);
00028 struct net_device_stats *hostap_get_stats(struct net_device *dev);
00029 void hostap_setup_dev(struct net_device *dev, local_info_t *local,
00030                       int main_dev);
00031 void hostap_set_multicast_list_queue(void *data);
00032 int hostap_set_hostapd(local_info_t *local, int val, int rtnl_locked);
00033 void hostap_cleanup(local_info_t *local);
00034 void hostap_cleanup_handler(void *data);
00035 struct net_device * hostap_add_interface(struct local_info *local,
00036                                          int type, int rtnl_locked,
00037                                          const char *name);
00038 void hostap_remove_interface(struct net_device *dev, int rtnl_locked,
00039                              int remove_from_list);
00040 
00041 
00042 /* hostap_proc.c */
00043 
00044 void hostap_init_proc(local_info_t *local);
00045 void hostap_remove_proc(local_info_t *local);
00046 
00047 
00048 /* hostap_info.c */
00049 
00050 void hostap_info_init(local_info_t *local);
00051 void hostap_info_process(local_info_t *local, struct sk_buff *skb);
00052 
00053 
00054 #endif /* HOSTAP_H */

Generated on Mon Nov 21 15:58:08 2005 for openwifi by  doxygen 1.4.1