qcacmn: Add modules to support new NDP command and event
Add modules and API's to issue command WMI_NDP_CMDID. This command, for now, can request Firmware to terminate all NDP's associated with the given vdev. Add module that extracts event information from event WMI_NDP_EVENTID. This event acts as a response to command WMI_NDP_CMDID, and carries NDP related status information for the host. Extract mac_id from the updated TLV of NDP confirm and schedule update events. Add modules and API's to support new NDP command and event. Change-Id: Ibf6312cb3669b5e62ada3f4ad852be87f14ae09f CRs-Fixed: 2384535
This commit is contained in:

committed by
nshrivas

parent
b5b21cac42
commit
ab9c7479e4
@@ -1,6 +1,6 @@
|
||||
|
||||
/*
|
||||
* Copyright (c) 2013-2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2013-2019 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -77,6 +77,17 @@ wmi_unified_ndp_responder_req_cmd_send(void *wmi_hdl,
|
||||
QDF_STATUS wmi_unified_ndp_end_req_cmd_send(void *wmi_hdl,
|
||||
struct nan_datapath_end_req *req);
|
||||
|
||||
/**
|
||||
* wmi_unified_terminate_all_ndps_req_cmd - api to request Firmware for
|
||||
* termination of all NDP's associated with the given vdev id.
|
||||
* @wmi_handle: wmi handle
|
||||
* @vdev_id: vdev id
|
||||
*
|
||||
* Return: status of operation
|
||||
*/
|
||||
QDF_STATUS wmi_unified_terminate_all_ndps_req_cmd(wmi_unified_t wmi_handle,
|
||||
uint32_t vdev_id);
|
||||
|
||||
/**
|
||||
* wmi_extract_ndp_initiator_rsp - api to extract initiator rsp from even buffer
|
||||
* @wmi_hdl: wmi handle
|
||||
@@ -170,4 +181,15 @@ wmi_extract_ndp_sch_update(wmi_unified_t wmi_handle, uint8_t *data,
|
||||
QDF_STATUS wmi_extract_nan_event_rsp(wmi_unified_t wmi_handle, void *evt_buf,
|
||||
struct nan_event_params *temp_evt_params,
|
||||
uint8_t **nan_msg_buf);
|
||||
|
||||
/**
|
||||
* wmi_extract_ndp_host_event - api to extract ndp event from event buffer
|
||||
* @wmi_hdl: wmi handle
|
||||
* @data: event buffer
|
||||
* @evt: event buffer to populate
|
||||
*
|
||||
* Return: status of operation
|
||||
*/
|
||||
QDF_STATUS wmi_extract_ndp_host_event(wmi_unified_t wmi_handle, uint8_t *data,
|
||||
struct nan_datapath_host_event *evt);
|
||||
#endif /* _WMI_UNIFIED_NAN_API_H_ */
|
||||
|
Reference in New Issue
Block a user