mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2024-11-01 05:25:21 +00:00
26246bf60a
Corresponding firmware version: SDIO-UART W8987 Firmware version 16.92.21.p99.2 PCIE-UART W8997 Firmware version 16.92.21.p84.4 SDIO-UART W8997 Firmware version 16.92.21.p84.4 SDIO-UART IW416 Firmware version 16.92.21.p84.3 SDIO_UART IW612 Firmware version 18.99.2.p19.15 SDIO-UART W8801 Firmware version 14.92.36.p182 SDIO-UART W9098 Firmware version 17.92.1.p136.131 PCIE-UART W9098 Firmware version 17.92.1.p136.131 Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
90 lines
3.1 KiB
C
90 lines
3.1 KiB
C
/** @file moal_uap_priv.h
|
|
*
|
|
* @brief This file contains definition for extended private IOCTL call.
|
|
*
|
|
*
|
|
* Copyright 2010-2021 NXP
|
|
*
|
|
* This software file (the File) is distributed by NXP
|
|
* under the terms of the GNU General Public License Version 2, June 1991
|
|
* (the License). You may use, redistribute and/or modify the File in
|
|
* accordance with the terms and conditions of the License, a copy of which
|
|
* is available by writing to the Free Software Foundation, Inc.,
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
|
|
* worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
*
|
|
* THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
|
|
* ARE EXPRESSLY DISCLAIMED. The License provides additional details about
|
|
* this warranty disclaimer.
|
|
*
|
|
*/
|
|
|
|
/************************************************************************
|
|
Change log:
|
|
08/06/2010: initial version
|
|
************************************************************************/
|
|
|
|
#ifndef _MOAL_UAP_PRIV_H_
|
|
#define _MOAL_UAP_PRIV_H_
|
|
|
|
/** Private command ID */
|
|
#define WOAL_UAP_IOCTL 0x8BE0
|
|
|
|
/** Private command to get/set 256 chars */
|
|
#define WOAL_UAP_SET_GET_256_CHAR (WOAL_UAP_IOCTL + 1)
|
|
/** Private command ID to FW reload */
|
|
#define WOAL_WL_FW_RELOAD 1
|
|
/** Private command ID to set AP configuration */
|
|
#define WOAL_AP_SET_CFG 2
|
|
|
|
/** Private command ID to set/get none */
|
|
#define WOAL_UAP_SETNONE_GETNONE (WOAL_UAP_IOCTL + 2)
|
|
/** Private command ID to start UAP */
|
|
#define WOAL_UAP_START 1
|
|
/** Private command ID to stop UAP */
|
|
#define WOAL_UAP_STOP 2
|
|
/** Private command ID to start AP BSS */
|
|
#define WOAL_AP_BSS_START 3
|
|
/** Private command ID to stop AP BSS */
|
|
#define WOAL_AP_BSS_STOP 4
|
|
|
|
/** Private command ID to set one int/get word char */
|
|
#define WOAL_UAP_SETONEINT_GETWORDCHAR (WOAL_UAP_IOCTL + 3)
|
|
/** Private command ID to get version */
|
|
#define WOAL_UAP_VERSION 1
|
|
/** Private command ID to get extended version */
|
|
#define WOAL_UAP_VEREXT 2
|
|
|
|
/** Private command ID to set one int/get one int */
|
|
#define WOAL_UAP_SETONEINT_GETONEINT (WOAL_UAP_IOCTL + 5)
|
|
#ifdef WIFI_DIRECT_SUPPORT
|
|
#if defined(STA_SUPPORT) && defined(UAP_SUPPORT)
|
|
/** Private command ID for set/get BSS role */
|
|
#define WOAL_UAP_SET_GET_BSS_ROLE 1
|
|
#endif
|
|
#endif
|
|
|
|
#if defined(UAP_CFG80211)
|
|
/** Private command ID for set multi-AP BSS mode */
|
|
#define WOAL_UAP_SET_MODE 27
|
|
#endif
|
|
|
|
/** Private command ID for hostcmd */
|
|
#define WOAL_UAP_HOST_CMD (WOAL_UAP_IOCTL + 17)
|
|
|
|
/** The following command IDs are for Froyo app */
|
|
/** Private command ID to start AP BSS */
|
|
#define WOAL_UAP_FROYO_AP_BSS_START (WOAL_UAP_IOCTL + 24)
|
|
/** Private command ID to stop AP BSS */
|
|
#define WOAL_UAP_FROYO_AP_BSS_STOP (WOAL_UAP_IOCTL + 26)
|
|
/** Private command ID to set AP config */
|
|
#define WOAL_UAP_FROYO_AP_SET_CFG (WOAL_UAP_IOCTL + 27)
|
|
/** Private command ID to start driver */
|
|
#define WOAL_UAP_FROYO_START (WOAL_UAP_IOCTL + 28)
|
|
/** Private command ID to reload FW */
|
|
#define WOAL_UAP_FROYO_WL_FW_RELOAD (WOAL_UAP_IOCTL + 29)
|
|
/** Private command ID to stop driver */
|
|
#define WOAL_UAP_FROYO_STOP (WOAL_UAP_IOCTL + 30)
|
|
|
|
#endif /* _MOAL_UAP_PRIV_H_ */
|