qcacmn: IOT SIM target interface

IOT SIM target interface updates

Change-Id: Ia9b048ecccd476df822e61f4ccb16e70352f630d
CRs-Fixed: 2665426
Цей коміт міститься в:
Jayachandran Sreekumaran
2020-04-14 17:34:35 +05:30
зафіксовано nshrivas
джерело d281143698
коміт 77c068dda2
16 змінених файлів з 387 додано та 98 видалено

Переглянути файл

@@ -1991,6 +1991,18 @@ QDF_STATUS wmi_unified_smart_ant_enable_tx_feedback_cmd_send(
wmi_unified_t wmi_handle,
struct smart_ant_enable_tx_feedback_params *param);
/**
* wmi_unified_simulation_test_cmd_send() -
* WMI simulation test command
* @wmi_handle: handle to WMI.
* @param: pointer to hold simulation test param
*
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
QDF_STATUS wmi_unified_simulation_test_cmd_send(wmi_unified_t wmi_handle,
struct simulation_test_params
*param);
/**
* wmi_unified_vdev_spectral_configure_cmd_send() -
* WMI set spectral config function

Переглянути файл

@@ -2903,6 +2903,37 @@ struct smart_ant_enable_tx_feedback_params {
int enable;
};
/**
* struct simulation_test_params
* pdev_id: pdev id
* vdev_id: vdev id
* peer_macaddr: peer MAC address
* test_cmd_type: test command type
* test_subcmd_type: test command sub type
* frame_type: frame type
* frame_subtype: frame subtype
* seq: sequence number
* offset: Frame content offset
* frame_length: Frame content length
* buf_len: Buffer length
* bufp: buffer
*/
struct simulation_test_params {
u32 pdev_id;
u32 vdev_id;
u8 peer_mac[QDF_MAC_ADDR_SIZE];
u32 test_cmd_type;
u32 test_subcmd_type;
u8 frame_type;
u8 frame_subtype;
u8 seq;
u8 reserved;
u16 offset;
u16 frame_length;
u32 buf_len;
u8 *bufp;
};
/**
* struct vdev_spectral_configure_params - SPectral config params
* @vdev_id: VDEV id

Переглянути файл

@@ -1201,6 +1201,9 @@ QDF_STATUS (*send_smart_ant_set_node_config_cmd)(wmi_unified_t wmi_handle,
struct smart_ant_node_config_params *param);
#endif
QDF_STATUS (*send_simulation_test_cmd)(wmi_unified_t wmi_handle,
struct simulation_test_params *param);
QDF_STATUS (*send_smart_ant_enable_tx_feedback_cmd)(wmi_unified_t wmi_handle,
struct smart_ant_enable_tx_feedback_params *param);