qcacld-3.0: Use the redesigned STA keepalive interface
Change I2a401fa6934f05555cb3c30088af62cfbc9a3c59 ("qcacmn: Refine the STA keepalive interface") has updated the unified WMI interface for the STA keepalive feature, so align with the new design. Change-Id: I20cf9f54a7ec920a90575ffd73c51708414d46a0 CRs-Fixed: 2404896
This commit is contained in:
@@ -864,7 +864,7 @@ void wma_set_sta_keep_alive(tp_wma_handle wma, uint8_t vdev_id,
|
|||||||
uint8_t *hostv4addr, uint8_t *destv4addr,
|
uint8_t *hostv4addr, uint8_t *destv4addr,
|
||||||
uint8_t *destmac)
|
uint8_t *destmac)
|
||||||
{
|
{
|
||||||
struct sta_params params;
|
struct sta_keep_alive_params params;
|
||||||
|
|
||||||
WMA_LOGD("%s: Enter", __func__);
|
WMA_LOGD("%s: Enter", __func__);
|
||||||
|
|
||||||
@@ -882,12 +882,11 @@ void wma_set_sta_keep_alive(tp_wma_handle wma, uint8_t vdev_id,
|
|||||||
params.vdev_id = vdev_id;
|
params.vdev_id = vdev_id;
|
||||||
params.method = method;
|
params.method = method;
|
||||||
params.timeperiod = timeperiod;
|
params.timeperiod = timeperiod;
|
||||||
params.hostv4addr = hostv4addr;
|
qdf_mem_copy(params.hostv4addr, hostv4addr, QDF_IPV4_ADDR_SIZE);
|
||||||
params.destv4addr = destv4addr;
|
qdf_mem_copy(params.destv4addr, destv4addr, QDF_IPV4_ADDR_SIZE);
|
||||||
params.destmac = destmac;
|
qdf_mem_copy(params.destmac, destmac, QDF_MAC_ADDR_SIZE);
|
||||||
|
|
||||||
wmi_unified_set_sta_keep_alive_cmd(wma->wmi_handle,
|
wmi_unified_set_sta_keep_alive_cmd(wma->wmi_handle, ¶ms);
|
||||||
¶ms);
|
|
||||||
WMA_LOGD("%s: Exit", __func__);
|
WMA_LOGD("%s: Exit", __func__);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user