ieee802_11.h

Go to the documentation of this file.
00001 
00017 #ifndef IEEE802_11_H
00018 #define IEEE802_11_H
00019 
00020 #include "ieee802_11_defs.h"
00021 #include "ieee802_11_common.h"
00022 
00023 struct hostapd_iface;
00024 struct hostapd_data;
00025 struct sta_info;
00026 struct hostapd_frame_info;
00027 
00028 void ieee802_11_send_deauth(struct hostapd_data *hapd, u8 *addr, u16 reason);
00029 void ieee802_11_mgmt(struct hostapd_data *hapd, u8 *buf, size_t len,
00030                      u16 stype, struct hostapd_frame_info *fi);
00031 void ieee802_11_mgmt_cb(struct hostapd_data *hapd, u8 *buf, size_t len,
00032                         u16 stype, int ok);
00033 void ieee802_11_print_ssid(char *buf, const u8 *ssid, u8 len);
00034 #ifdef NEED_AP_MLME
00035 int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen);
00036 int ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
00037                            char *buf, size_t buflen);
00038 #else /* NEED_AP_MLME */
00039 static inline int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf,
00040                                      size_t buflen)
00041 {
00042         return 0;
00043 }
00044 
00045 static inline int ieee802_11_get_mib_sta(struct hostapd_data *hapd,
00046                                          struct sta_info *sta,
00047                                          char *buf, size_t buflen)
00048 {
00049         return 0;
00050 }
00051 #endif /* NEED_AP_MLME */
00052 u16 hostapd_own_capab_info(struct hostapd_data *hapd, struct sta_info *sta,
00053                            int probe);
00054 u8 * hostapd_eid_supp_rates(struct hostapd_data *hapd, u8 *eid);
00055 u8 * hostapd_eid_ext_supp_rates(struct hostapd_data *hapd, u8 *eid);
00056 u8 * hostapd_eid_ht_capabilities_info(struct hostapd_data *hapd, u8 *eid);
00057 u8 * hostapd_eid_ht_operation(struct hostapd_data *hapd, u8 *eid);
00058 int hostapd_ht_operation_update(struct hostapd_iface *iface);
00059 void ieee802_11_send_sa_query_req(struct hostapd_data *hapd,
00060                                   const u8 *addr, const u8 *trans_id);
00061 
00062 #endif /* IEEE802_11_H */
00063 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 21 23:16:48 2009 for hostapd by  doxygen 1.6.1