diff options
Diffstat (limited to 'drivers/net/wireless/mwifiex/fw.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/fw.h | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/drivers/net/wireless/mwifiex/fw.h b/drivers/net/wireless/mwifiex/fw.h index f23ec72ed4fe..71c61b7e74ee 100644 --- a/drivers/net/wireless/mwifiex/fw.h +++ b/drivers/net/wireless/mwifiex/fw.h | |||
@@ -84,7 +84,8 @@ enum KEY_TYPE_ID { | |||
84 | 84 | ||
85 | #define MAX_FIRMWARE_POLL_TRIES 100 | 85 | #define MAX_FIRMWARE_POLL_TRIES 100 |
86 | 86 | ||
87 | #define FIRMWARE_READY 0xfedc | 87 | #define FIRMWARE_READY_SDIO 0xfedc |
88 | #define FIRMWARE_READY_PCIE 0xfedcba00 | ||
88 | 89 | ||
89 | enum MWIFIEX_802_11_PRIVACY_FILTER { | 90 | enum MWIFIEX_802_11_PRIVACY_FILTER { |
90 | MWIFIEX_802_11_PRIV_FILTER_ACCEPT_ALL, | 91 | MWIFIEX_802_11_PRIV_FILTER_ACCEPT_ALL, |
@@ -221,7 +222,7 @@ enum MWIFIEX_802_11_WEP_STATUS { | |||
221 | #define HostCmd_CMD_802_11_HS_CFG_ENH 0x00e5 | 222 | #define HostCmd_CMD_802_11_HS_CFG_ENH 0x00e5 |
222 | #define HostCmd_CMD_CAU_REG_ACCESS 0x00ed | 223 | #define HostCmd_CMD_CAU_REG_ACCESS 0x00ed |
223 | #define HostCmd_CMD_SET_BSS_MODE 0x00f7 | 224 | #define HostCmd_CMD_SET_BSS_MODE 0x00f7 |
224 | 225 | #define HostCmd_CMD_PCIE_DESC_DETAILS 0x00fa | |
225 | 226 | ||
226 | enum ENH_PS_MODES { | 227 | enum ENH_PS_MODES { |
227 | EN_PS = 1, | 228 | EN_PS = 1, |
@@ -1137,6 +1138,30 @@ struct host_cmd_ds_set_bss_mode { | |||
1137 | u8 con_type; | 1138 | u8 con_type; |
1138 | } __packed; | 1139 | } __packed; |
1139 | 1140 | ||
1141 | struct host_cmd_ds_pcie_details { | ||
1142 | /* TX buffer descriptor ring address */ | ||
1143 | u32 txbd_addr_lo; | ||
1144 | u32 txbd_addr_hi; | ||
1145 | /* TX buffer descriptor ring count */ | ||
1146 | u32 txbd_count; | ||
1147 | |||
1148 | /* RX buffer descriptor ring address */ | ||
1149 | u32 rxbd_addr_lo; | ||
1150 | u32 rxbd_addr_hi; | ||
1151 | /* RX buffer descriptor ring count */ | ||
1152 | u32 rxbd_count; | ||
1153 | |||
1154 | /* Event buffer descriptor ring address */ | ||
1155 | u32 evtbd_addr_lo; | ||
1156 | u32 evtbd_addr_hi; | ||
1157 | /* Event buffer descriptor ring count */ | ||
1158 | u32 evtbd_count; | ||
1159 | |||
1160 | /* Sleep cookie buffer physical address */ | ||
1161 | u32 sleep_cookie_addr_lo; | ||
1162 | u32 sleep_cookie_addr_hi; | ||
1163 | } __packed; | ||
1164 | |||
1140 | struct host_cmd_ds_command { | 1165 | struct host_cmd_ds_command { |
1141 | __le16 command; | 1166 | __le16 command; |
1142 | __le16 size; | 1167 | __le16 size; |
@@ -1184,6 +1209,7 @@ struct host_cmd_ds_command { | |||
1184 | struct host_cmd_ds_rf_reg_access rf_reg; | 1209 | struct host_cmd_ds_rf_reg_access rf_reg; |
1185 | struct host_cmd_ds_pmic_reg_access pmic_reg; | 1210 | struct host_cmd_ds_pmic_reg_access pmic_reg; |
1186 | struct host_cmd_ds_set_bss_mode bss_mode; | 1211 | struct host_cmd_ds_set_bss_mode bss_mode; |
1212 | struct host_cmd_ds_pcie_details pcie_host_spec; | ||
1187 | struct host_cmd_ds_802_11_eeprom_access eeprom; | 1213 | struct host_cmd_ds_802_11_eeprom_access eeprom; |
1188 | } params; | 1214 | } params; |
1189 | } __packed; | 1215 | } __packed; |