diff --git a/wmi_unified_api.h b/wmi_unified_api.h index a3b63971bb..d8784e011b 100644 --- a/wmi_unified_api.h +++ b/wmi_unified_api.h @@ -1993,7 +1993,7 @@ QDF_STATUS wmi_extract_wds_entry(void *wmi_hdl, uint8_t *evt_buf, #ifdef WLAN_FEATURE_NAN_CONVERGENCE /** * wmi_unified_ndp_initiator_req_cmd_send - api to send initiator request to FW - * @wmi_hdl: wma handle + * @wmi_hdl: wmi handle * @req: pointer to request buffer * * Return: status of operation @@ -2003,7 +2003,7 @@ QDF_STATUS wmi_unified_ndp_initiator_req_cmd_send(void *wmi_hdl, /** * wmi_unified_ndp_responder_req_cmd_send - api to send responder request to FW - * @wmi_hdl: wma handle + * @wmi_hdl: wmi handle * @req: pointer to request buffer * * Return: status of operation @@ -2013,7 +2013,7 @@ QDF_STATUS wmi_unified_ndp_responder_req_cmd_send(void *wmi_hdl, /** * wmi_unified_ndp_end_req_cmd_send - api to send end request to FW - * @wmi_hdl: wma handle + * @wmi_hdl: wmi handle * @req: pointer to request buffer * * Return: status of operation @@ -2023,7 +2023,7 @@ QDF_STATUS wmi_unified_ndp_end_req_cmd_send(void *wmi_hdl, /** * wmi_extract_ndp_initiator_rsp - api to extract initiator rsp from even buffer - * @wmi_hdl: wma handle + * @wmi_hdl: wmi handle * @data: event buffer * @rsp: buffer to populate * @@ -2034,7 +2034,7 @@ QDF_STATUS wmi_extract_ndp_initiator_rsp(wmi_unified_t wmi_handle, /** * wmi_extract_ndp_ind - api to extract ndp indication struct from even buffer - * @wmi_hdl: wma handle + * @wmi_hdl: wmi handle * @data: event buffer * @ind: buffer to populate * @@ -2045,7 +2045,7 @@ QDF_STATUS wmi_extract_ndp_ind(wmi_unified_t wmi_handle, uint8_t *data, /** * wmi_extract_ndp_confirm - api to extract ndp confim struct from even buffer - * @wmi_hdl: wma handle + * @wmi_hdl: wmi handle * @data: event buffer * @ev: buffer to populate * @@ -2056,7 +2056,7 @@ QDF_STATUS wmi_extract_ndp_confirm(wmi_unified_t wmi_handle, uint8_t *data, /** * wmi_extract_ndp_responder_rsp - api to extract responder rsp from even buffer - * @wmi_hdl: wma handle + * @wmi_hdl: wmi handle * @data: event buffer * @rsp: buffer to populate * @@ -2067,7 +2067,7 @@ QDF_STATUS wmi_extract_ndp_responder_rsp(wmi_unified_t wmi_handle, /** * wmi_extract_ndp_end_rsp - api to extract ndp end rsp from even buffer - * @wmi_hdl: wma handle + * @wmi_hdl: wmi handle * @data: event buffer * @rsp: buffer to populate * @@ -2078,7 +2078,7 @@ QDF_STATUS wmi_extract_ndp_end_rsp(wmi_unified_t wmi_handle, uint8_t *data, /** * wmi_extract_ndp_end_ind - api to extract ndp end indication from even buffer - * @wmi_hdl: wma handle + * @wmi_hdl: wmi handle * @data: event buffer * @ind: buffer to populate * @@ -2086,6 +2086,17 @@ QDF_STATUS wmi_extract_ndp_end_rsp(wmi_unified_t wmi_handle, uint8_t *data, */ QDF_STATUS wmi_extract_ndp_end_ind(wmi_unified_t wmi_handle, uint8_t *data, struct nan_datapath_end_indication_event **ind); + +/** + * wmi_extract_ndp_sch_update - api to extract ndp sch update from event buffer + * @wmi_hdl: wmi handle + * @data: event buffer + * @ind: buffer to populate + * + * Return: status of operation + */ +QDF_STATUS wmi_extract_ndp_sch_update(wmi_unified_t wmi_handle, uint8_t *data, + struct nan_datapath_sch_update_event *ind); #endif /** diff --git a/wmi_unified_param.h b/wmi_unified_param.h index 2a3e1a67d7..5bd23e6d65 100644 --- a/wmi_unified_param.h +++ b/wmi_unified_param.h @@ -5496,6 +5496,7 @@ typedef enum { wmi_ndp_responder_rsp_event_id, wmi_ndp_end_indication_event_id, wmi_ndp_end_rsp_event_id, + wmi_ndl_schedule_update_event_id, wmi_oem_response_event_id, wmi_peer_stats_info_event_id, wmi_pdev_chip_power_stats_event_id, diff --git a/wmi_unified_priv.h b/wmi_unified_priv.h index d2c01942b9..80c7f164aa 100644 --- a/wmi_unified_priv.h +++ b/wmi_unified_priv.h @@ -1526,6 +1526,8 @@ QDF_STATUS (*extract_ndp_end_rsp)(wmi_unified_t wmi_handle, uint8_t *data, struct nan_datapath_end_rsp_event *rsp); QDF_STATUS (*extract_ndp_end_ind)(wmi_unified_t wmi_handle, uint8_t *data, struct nan_datapath_end_indication_event **ind); +QDF_STATUS (*extract_ndp_sch_update)(wmi_unified_t wmi_handle, + uint8_t *data, struct nan_datapath_sch_update_event *ind); #endif /* WLAN_FEATURE_NAN_CONVERGENCE */ QDF_STATUS (*send_btm_config)(wmi_unified_t wmi_handle,