include: Move DOT11_PHY_TYPE to windot11.h.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2021-08-04 23:56:50 -06:00 committed by Alexandre Julliard
parent acb88df011
commit 946c128bc2
3 changed files with 41 additions and 16 deletions

View File

@ -759,6 +759,7 @@ SOURCES = \
wincrypt.h \
windef.h \
windns.h \
windot11.h \
windows.foundation.collections.idl \
windows.foundation.idl \
windows.gaming.input.forcefeedback.idl \

38
include/windot11.h Normal file
View File

@ -0,0 +1,38 @@
/*
* Copyright (C) 2021 Alex Henrie
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef _WINDOT11_H
#define _WINDOT11_H
typedef enum _DOT11_PHY_TYPE
{
dot11_phy_type_unknown = 0x00,
dot11_phy_type_any = 0x00,
dot11_phy_type_fhss = 0x01,
dot11_phy_type_dsss = 0x02,
dot11_phy_type_irbaseband = 0x03,
dot11_phy_type_ofdm = 0x04,
dot11_phy_type_hrdsss = 0x05,
dot11_phy_type_erp = 0x06,
dot11_phy_type_ht = 0x07,
dot11_phy_type_vht = 0x08,
dot11_phy_type_IHV_start = 0x80000000,
dot11_phy_type_IHV_end = 0xFFFFFFFF
} DOT11_PHY_TYPE, *PDOT11_PHY_TYPE;
#endif /* _WINDOT11_H */

View File

@ -19,6 +19,8 @@
#ifndef _WLAN_WLANAPI_H
#define _WLAN_WLANAPI_H
#include <windot11.h>
typedef enum _WLAN_INTERFACE_STATE
{
wlan_interface_state_not_ready,
@ -105,22 +107,6 @@ typedef enum _DOT11_CIPHER_ALGORITHM
DOT11_CIPHER_ALGO_IHV_END = 0xFFFFFFFF
} DOT11_CIPHER_ALGORITHM, *PDOT11_CIPHER_ALGORITHM;
typedef enum _DOT11_PHY_TYPE
{
dot11_phy_type_unknown = 0x00,
dot11_phy_type_any = 0x00,
dot11_phy_type_fhss = 0x01,
dot11_phy_type_dsss = 0x02,
dot11_phy_type_irbaseband = 0x03,
dot11_phy_type_ofdm = 0x04,
dot11_phy_type_hrdsss = 0x05,
dot11_phy_type_erp = 0x06,
dot11_phy_type_ht = 0x07,
dot11_phy_type_vht = 0x08,
dot11_phy_type_IHV_start = 0x80000000,
dot11_phy_type_IHV_end = 0xFFFFFFFF
} DOT11_PHY_TYPE, *PDOT11_PHY_TYPE;
#define WLAN_MAX_PHY_TYPE_NUMBER 8
typedef struct _WLAN_AVAILABLE_NETWORK