/* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************** * * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved. * * Modifications for inclusion into the Linux staging tree are * Copyright(c) 2010 Larry Finger. All rights reserved. * * Contact information: * WLAN FAE <[email protected]> * Larry Finger <[email protected]> * ******************************************************************************/ #ifndef _RTL871x_EVENT_H_ #define _RTL871x_EVENT_H_ #include "osdep_service.h" #include "wlan_bssdef.h" #include <linux/semaphore.h> #include <linux/sem.h> /* * Used to report a bss has been scanned */ struct survey_event { … }; /* * Used to report that the requested site survey has been done. * bss_cnt indicates the number of bss that has been reported. */ struct surveydone_event { … }; /* * Used to report the link result of joining the given bss * join_res: * -1: authentication fail * -2: association fail * > 0: TID */ struct joinbss_event { … }; /* * Used to report a given STA has joinned the created BSS. * It is used in AP/Ad-HoC(M) mode. */ struct stassoc_event { … }; struct stadel_event { … }; struct addba_event { … }; #define GEN_EVT_CODE(event) … struct fwevent { … }; #define C2HEVENT_SZ … struct event_node { … }; struct c2hevent_queue { … }; #define NETWORK_QUEUE_SZ … struct network_queue { … }; struct ADDBA_Req_Report_parm { … }; #include "rtl8712_event.h" #endif /* _WLANEVENT_H_ */