diff options
Diffstat (limited to 'drivers/net/wireless/ath/wcn36xx/hal.h')
| -rw-r--r-- | drivers/net/wireless/ath/wcn36xx/hal.h | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/wcn36xx/hal.h b/drivers/net/wireless/ath/wcn36xx/hal.h index 182963522941..8abda2760e04 100644 --- a/drivers/net/wireless/ath/wcn36xx/hal.h +++ b/drivers/net/wireless/ath/wcn36xx/hal.h | |||
| @@ -88,6 +88,12 @@ | |||
| 88 | /* version string max length (including NULL) */ | 88 | /* version string max length (including NULL) */ |
| 89 | #define WCN36XX_HAL_VERSION_LENGTH 64 | 89 | #define WCN36XX_HAL_VERSION_LENGTH 64 |
| 90 | 90 | ||
| 91 | /* How many frames until we start a-mpdu TX session */ | ||
| 92 | #define WCN36XX_AMPDU_START_THRESH 20 | ||
| 93 | |||
| 94 | #define WCN36XX_MAX_SCAN_SSIDS 9 | ||
| 95 | #define WCN36XX_MAX_SCAN_IE_LEN 500 | ||
| 96 | |||
| 91 | /* message types for messages exchanged between WDI and HAL */ | 97 | /* message types for messages exchanged between WDI and HAL */ |
| 92 | enum wcn36xx_hal_host_msg_type { | 98 | enum wcn36xx_hal_host_msg_type { |
| 93 | /* Init/De-Init */ | 99 | /* Init/De-Init */ |
| @@ -1170,7 +1176,7 @@ struct wcn36xx_hal_start_scan_offload_req_msg { | |||
| 1170 | 1176 | ||
| 1171 | /* IE field */ | 1177 | /* IE field */ |
| 1172 | u16 ie_len; | 1178 | u16 ie_len; |
| 1173 | u8 ie[0]; | 1179 | u8 ie[WCN36XX_MAX_SCAN_IE_LEN]; |
| 1174 | } __packed; | 1180 | } __packed; |
| 1175 | 1181 | ||
| 1176 | struct wcn36xx_hal_start_scan_offload_rsp_msg { | 1182 | struct wcn36xx_hal_start_scan_offload_rsp_msg { |
| @@ -2230,6 +2236,22 @@ struct wcn36xx_hal_switch_channel_rsp_msg { | |||
| 2230 | 2236 | ||
| 2231 | } __packed; | 2237 | } __packed; |
| 2232 | 2238 | ||
| 2239 | struct wcn36xx_hal_process_ptt_msg_req_msg { | ||
| 2240 | struct wcn36xx_hal_msg_header header; | ||
| 2241 | |||
| 2242 | /* Actual FTM Command body */ | ||
| 2243 | u8 ptt_msg[0]; | ||
| 2244 | } __packed; | ||
| 2245 | |||
| 2246 | struct wcn36xx_hal_process_ptt_msg_rsp_msg { | ||
| 2247 | struct wcn36xx_hal_msg_header header; | ||
| 2248 | |||
| 2249 | /* FTM Command response status */ | ||
| 2250 | u32 ptt_msg_resp_status; | ||
| 2251 | /* Actual FTM Command body */ | ||
| 2252 | u8 ptt_msg[0]; | ||
| 2253 | } __packed; | ||
| 2254 | |||
| 2233 | struct update_edca_params_req_msg { | 2255 | struct update_edca_params_req_msg { |
| 2234 | struct wcn36xx_hal_msg_header header; | 2256 | struct wcn36xx_hal_msg_header header; |
| 2235 | 2257 | ||
