diff options
author | Bjørn Mork <bjorn@mork.no> | 2016-08-22 14:05:07 +0200 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2016-08-22 14:05:07 +0200 |
commit | 40fae1ddc3d847a5a2be28c0a67ea07ec77e16c7 (patch) | |
tree | 259a54d866037cd200a48d9089ceca21b5618b4a /hostcmd.h | |
parent | a602e201b4401fb722d5b3e53424f794d523290e (diff) | |
parent | d48847cc83954930fdcd98818bbf33e75707b8e1 (diff) |
Merge remote-tracking branch 'origin/master'10.3.0.18-20160804
Diffstat (limited to 'hostcmd.h')
-rw-r--r-- | hostcmd.h | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -60,6 +60,8 @@ #define HOSTCMD_CMD_FW_FLUSH_TIMER 0x1148 #define HOSTCMD_CMD_SET_CDD 0x1150 #define HOSTCMD_CMD_GET_TEMP 0x1159 +#define HOSTCMD_CMD_GET_FW_REGION_CODE 0x116A +#define HOSTCMD_CMD_GET_DEVICE_PWR_TBL 0x116B #define HOSTCMD_CMD_QUIET_MODE 0x1201 /* Define general result code for each command */ @@ -129,6 +131,8 @@ /* Misc */ #define WSC_IE_MAX_LENGTH 251 +#define WSC_IE_SET_BEACON 0 +#define WSC_IE_SET_PROBE_RESPONSE 1 enum { WL_DISABLE = 0, @@ -868,6 +872,34 @@ struct hostcmd_cmd_get_temp { __le32 raw_data; } __packed; +/* HOSTCMD_CMD_GET_FW_REGION_CODE */ +struct hostcmd_cmd_get_fw_region_code { + struct hostcmd_header cmd_hdr; + __le32 status; /* 0 = Found, 1 = Error */ + __le32 fw_region_code; +} __packed; + +/* HOSTCMD_CMD_GET_DEVICE_PWR_TBL */ +#define HAL_TRPC_ID_MAX 16 + +struct channel_power_tbl { + u8 channel; + u8 tx_pwr[HAL_TRPC_ID_MAX]; + u8 dfs_capable; + u8 ax_ant; + u8 cdd; +} __packed; + +struct hostcmd_cmd_get_device_pwr_tbl { + struct hostcmd_header cmd_hdr; + __le16 status; /* 0 = Found, 1 = Error */ + u8 region_code; + u8 number_of_channels; + __le32 current_channel_index; + /* Only for 1 channel, so, 1 channel at a time */ + struct channel_power_tbl channel_pwr_tbl; +} __packed; + /* HOSTCMD_CMD_QUIET_MODE */ struct hostcmd_cmd_quiet_mode { struct hostcmd_header cmd_hdr; |