qcacmn: Refine the STA keepalive interface
The unified WMI struct used to support the STA keepalive feature has a few flaws: - It is poorly named. Struct sta_params is a very generic name for a struct that has a very specific purpose. - It is poorly designed. It utilizes pointers to the IPv4 and MAC addresses rather than support having those addresses within the struct itself. This prevents the struct from completely representing the payload, which is required if we want to utilize this struct in the converged UMAC. To resolve these issues rename and redesign the struct. This is co-dependent with I20cf9f54a7ec920a90575ffd73c51708414d46a0 ("qcacld-3.0: Use the redesigned STA keepalive interface"). Change-Id: I2a401fa6934f05555cb3c30088af62cfbc9a3c59 CRs-Fixed: 2404895
This commit is contained in:
@@ -47,15 +47,16 @@ QDF_STATUS wmi_unified_set_sta_sa_query_param_cmd(void *wmi_hdl,
|
||||
|
||||
/**
|
||||
* wmi_unified_set_sta_keep_alive_cmd() - set sta keep alive parameters
|
||||
* @wmi_hdl: wmi handle
|
||||
* @wmi_handle: wmi handle
|
||||
* @params: sta keep alive parameter
|
||||
*
|
||||
* This function sets keep alive related parameters in fw.
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_set_sta_keep_alive_cmd(void *wmi_hdl,
|
||||
struct sta_params *params);
|
||||
QDF_STATUS
|
||||
wmi_unified_set_sta_keep_alive_cmd(wmi_unified_t wmi_handle,
|
||||
struct sta_keep_alive_params *params);
|
||||
|
||||
/**
|
||||
* wmi_unified_vdev_set_gtx_cfg_cmd() - set GTX params
|
||||
|
Reference in New Issue
Block a user