qcacmn: Add support to populate and send UMAC reset setup command
UMAC reset prerequisite setup command contains the following information. - Interrupt number to be used for raising the UMAC reset interrupt - Address of the shared memory This is an HTT command. Send this command as part of the UMAC reset initialization sequence. Change-Id: I7a08f48b420580b5e3dbb9b46f6605d986f8fd89 CRs-Fixed: 3244930
This commit is contained in:

committed by
Madan Koyyalamudi

orang tua
12964fb1de
melakukan
68c2b67520
@@ -939,6 +939,31 @@ struct htt_stats_context {
|
||||
uint32_t msg_len;
|
||||
};
|
||||
|
||||
#ifdef DP_UMAC_HW_RESET_SUPPORT
|
||||
/**
|
||||
* struct dp_htt_umac_reset_setup_cmd_params - Params for UMAC reset setup cmd
|
||||
* @msi_data: MSI data to be used for raising the UMAC reset interrupt
|
||||
* @shmem_addr_low: Lower 32-bits of shared memory
|
||||
* @shmem_addr_high: Higher 32-bits of shared memory
|
||||
*/
|
||||
struct dp_htt_umac_reset_setup_cmd_params {
|
||||
uint32_t msi_data;
|
||||
uint32_t shmem_addr_low;
|
||||
uint32_t shmem_addr_high;
|
||||
};
|
||||
|
||||
/**
|
||||
* dp_htt_umac_reset_send_setup_cmd(): Send the HTT UMAC reset setup command
|
||||
* @soc: dp soc object
|
||||
* @setup_params: parameters required by this command
|
||||
*
|
||||
* Return: Success when HTT message is sent, error on failure
|
||||
*/
|
||||
QDF_STATUS dp_htt_umac_reset_send_setup_cmd(
|
||||
struct dp_soc *soc,
|
||||
const struct dp_htt_umac_reset_setup_cmd_params *setup_params);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* dp_htt_rx_flow_fst_setup(): Send HTT Rx FST setup message to FW
|
||||
* @pdev: DP pdev handle
|
||||
|
Reference in New Issue
Block a user