1 /******************************************************************************
3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 ******************************************************************************/
18 #include <osdep_service.h>
19 #include <wlan_bssdef.h>
22 Used to report a bss has been scanned
25 struct wlan_bssid_ex *bss;
29 Used to report that the requested site survey has been done.
30 bss_cnt indicates the number of bss that has been reported.
32 struct surveydone_event {
37 Used to report the link result of joinning the given bss
39 -1: authentication fail
43 struct joinbss_event {
44 struct wlan_network network;
48 Used to report a given STA has joinned the created BSS.
49 It is used in AP/Ad-HoC(M) mode.
51 struct stassoc_event {
52 unsigned char macaddr[6];
53 unsigned char rsvd[2];
58 unsigned char macaddr[6];
59 unsigned char rsvd[2]; /* for reason */
67 #define GEN_EVT_CODE(event) event ## _EVT_
71 void (*event_callback)(struct rtw_adapter *dev, const u8 *pbuf);
74 #endif /* _WLANEVENT_H_ */