mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 00:03:13 +00:00
[PSDK] Add structures and enumeration describing radio power state (#7596)
This piece of data is returned by WlanQueryInterface(). Used by `WlanQueryInterface` with the `wlan_intf_opcode_radio_state` opcode. CORE-6905
This commit is contained in:
parent
03ee0756b8
commit
3ff9c476a0
1 changed files with 21 additions and 0 deletions
|
@ -31,6 +31,16 @@ extern "C" {
|
|||
|
||||
/* Enumerations */
|
||||
|
||||
#if defined(__midl) || defined(__WIDL__)
|
||||
typedef [v1_enum] enum _DOT11_RADIO_STATE {
|
||||
#else
|
||||
typedef enum _DOT11_RADIO_STATE {
|
||||
#endif
|
||||
dot11_radio_state_unknown = 0,
|
||||
dot11_radio_state_on,
|
||||
dot11_radio_state_off
|
||||
} DOT11_RADIO_STATE; /* HACK: WIDL is broken, *PDOT11_RADIO_STATE; */
|
||||
|
||||
#if defined(__midl) || defined(__WIDL__)
|
||||
typedef [v1_enum] enum _WLAN_OPCODE_VALUE_TYPE {
|
||||
#else
|
||||
|
@ -175,6 +185,17 @@ typedef struct _WLAN_INTERFACE_CAPABILITY {
|
|||
/* enum32 */ long dot11PhyTypes[WLAN_MAX_PHY_INDEX];
|
||||
} WLAN_INTERFACE_CAPABILITY, *PWLAN_INTERFACE_CAPABILITY;
|
||||
|
||||
typedef struct _WLAN_PHY_RADIO_STATE {
|
||||
DWORD dwPhyIndex;
|
||||
DOT11_RADIO_STATE dot11SoftwareRadioState;
|
||||
DOT11_RADIO_STATE dot11HardwareRadioState;
|
||||
} WLAN_PHY_RADIO_STATE, *PWLAN_PHY_RADIO_STATE;
|
||||
|
||||
typedef struct _WLAN_RADIO_STATE {
|
||||
DWORD dwNumberOfPhys;
|
||||
WLAN_PHY_RADIO_STATE PhyRadioState[WLAN_MAX_PHY_INDEX];
|
||||
} WLAN_RADIO_STATE, *PWLAN_RADIO_STATE;
|
||||
|
||||
typedef struct _WLAN_RAW_DATA {
|
||||
DWORD dwDataSize;
|
||||
#if defined(__midl) || defined(__WIDL__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue