1 /** @file moal_uap_priv.h 2 * 3 * @brief This file contains definition for extended private IOCTL call. 4 * 5 * 6 * Copyright 2010-2021 NXP 7 * 8 * This software file (the File) is distributed by NXP 9 * under the terms of the GNU General Public License Version 2, June 1991 10 * (the License). You may use, redistribute and/or modify the File in 11 * accordance with the terms and conditions of the License, a copy of which 12 * is available by writing to the Free Software Foundation, Inc., 13 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 14 * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 15 * 16 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 17 * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE 18 * ARE EXPRESSLY DISCLAIMED. The License provides additional details about 19 * this warranty disclaimer. 20 * 21 */ 22 23 /************************************************************************ 24 Change log: 25 08/06/2010: initial version 26 ************************************************************************/ 27 28 #ifndef _MOAL_UAP_PRIV_H_ 29 #define _MOAL_UAP_PRIV_H_ 30 31 /** Private command ID */ 32 #define WOAL_UAP_IOCTL 0x8BE0 33 34 /** Private command to get/set 256 chars */ 35 #define WOAL_UAP_SET_GET_256_CHAR (WOAL_UAP_IOCTL + 1) 36 /** Private command ID to FW reload */ 37 #define WOAL_WL_FW_RELOAD 1 38 /** Private command ID to set AP configuration */ 39 #define WOAL_AP_SET_CFG 2 40 41 /** Private command ID to set/get none */ 42 #define WOAL_UAP_SETNONE_GETNONE (WOAL_UAP_IOCTL + 2) 43 /** Private command ID to start UAP */ 44 #define WOAL_UAP_START 1 45 /** Private command ID to stop UAP */ 46 #define WOAL_UAP_STOP 2 47 /** Private command ID to start AP BSS */ 48 #define WOAL_AP_BSS_START 3 49 /** Private command ID to stop AP BSS */ 50 #define WOAL_AP_BSS_STOP 4 51 52 /** Private command ID to set one int/get word char */ 53 #define WOAL_UAP_SETONEINT_GETWORDCHAR (WOAL_UAP_IOCTL + 3) 54 /** Private command ID to get version */ 55 #define WOAL_UAP_VERSION 1 56 /** Private command ID to get extended version */ 57 #define WOAL_UAP_VEREXT 2 58 59 /** Private command ID to set one int/get one int */ 60 #define WOAL_UAP_SETONEINT_GETONEINT (WOAL_UAP_IOCTL + 5) 61 #ifdef WIFI_DIRECT_SUPPORT 62 #if defined(STA_SUPPORT) && defined(UAP_SUPPORT) 63 /** Private command ID for set/get BSS role */ 64 #define WOAL_UAP_SET_GET_BSS_ROLE 1 65 #endif 66 #endif 67 68 /** Private command ID for hostcmd */ 69 #define WOAL_UAP_HOST_CMD (WOAL_UAP_IOCTL + 17) 70 71 /** The following command IDs are for Froyo app */ 72 /** Private command ID to start AP BSS */ 73 #define WOAL_UAP_FROYO_AP_BSS_START (WOAL_UAP_IOCTL + 24) 74 /** Private command ID to stop AP BSS */ 75 #define WOAL_UAP_FROYO_AP_BSS_STOP (WOAL_UAP_IOCTL + 26) 76 /** Private command ID to set AP config */ 77 #define WOAL_UAP_FROYO_AP_SET_CFG (WOAL_UAP_IOCTL + 27) 78 /** Private command ID to start driver */ 79 #define WOAL_UAP_FROYO_START (WOAL_UAP_IOCTL + 28) 80 /** Private command ID to reload FW */ 81 #define WOAL_UAP_FROYO_WL_FW_RELOAD (WOAL_UAP_IOCTL + 29) 82 /** Private command ID to stop driver */ 83 #define WOAL_UAP_FROYO_STOP (WOAL_UAP_IOCTL + 30) 84 85 #endif /* _MOAL_UAP_PRIV_H_ */ 86