xref: /OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/mlan_uap.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /** @file mlan_uap.h
2  *
3  *  @brief This file contains related macros, enum, and struct
4  *  of uap functionalities
5  *
6  *
7  *  Copyright 2009-2021 NXP
8  *
9  *  This software file (the File) is distributed by NXP
10  *  under the terms of the GNU General Public License Version 2, June 1991
11  *  (the License).  You may use, redistribute and/or modify the File in
12  *  accordance with the terms and conditions of the License, a copy of which
13  *  is available by writing to the Free Software Foundation, Inc.,
14  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
15  *  worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
16  *
17  *  THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
18  *  IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
19  *  ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
20  *  this warranty disclaimer.
21  *
22  */
23 
24 /********************************************************
25 Change log:
26     02/05/2009: initial version
27 ********************************************************/
28 
29 #ifndef _MLAN_UAP_H_
30 #define _MLAN_UAP_H_
31 
32 mlan_status wlan_uap_get_channel(pmlan_private pmpriv);
33 
34 mlan_status wlan_uap_set_channel(pmlan_private pmpriv,
35 				 Band_Config_t uap_band_cfg, t_u8 channel);
36 
37 mlan_status wlan_uap_get_beacon_dtim(pmlan_private pmpriv);
38 
39 mlan_status wlan_ops_uap_ioctl(t_void *adapter, pmlan_ioctl_req pioctl_req);
40 
41 mlan_status wlan_ops_uap_prepare_cmd(t_void *priv, t_u16 cmd_no,
42 				     t_u16 cmd_action, t_u32 cmd_oid,
43 				     t_void *pioctl_buf, t_void *pdata_buf,
44 				     t_void *pcmd_buf);
45 
46 mlan_status wlan_ops_uap_process_cmdresp(t_void *priv, t_u16 cmdresp_no,
47 					 t_void *pcmd_buf, t_void *pioctl);
48 
49 mlan_status wlan_ops_uap_process_rx_packet(t_void *adapter, pmlan_buffer pmbuf);
50 
51 mlan_status wlan_ops_uap_process_event(t_void *priv);
52 
53 t_void *wlan_ops_uap_process_txpd(t_void *priv, pmlan_buffer pmbuf);
54 
55 mlan_status wlan_ops_uap_init_cmd(t_void *priv, t_u8 first_bss);
56 
57 #endif /* _MLAN_UAP_H_ */
58