|
@@ -842,7 +842,9 @@ QDF_STATUS wma_add_beacon_filter(WMA_HANDLE handle,
|
|
|
u_int8_t *buf;
|
|
|
A_UINT32 *ie_map;
|
|
|
int ret;
|
|
|
+ struct wma_txrx_node *iface;
|
|
|
tp_wma_handle wma = (tp_wma_handle) handle;
|
|
|
+
|
|
|
wmi_add_bcn_filter_cmd_fixed_param *cmd;
|
|
|
int len = sizeof(wmi_add_bcn_filter_cmd_fixed_param);
|
|
|
|
|
@@ -855,6 +857,11 @@ QDF_STATUS wma_add_beacon_filter(WMA_HANDLE handle,
|
|
|
return QDF_STATUS_E_INVAL;
|
|
|
}
|
|
|
|
|
|
+ iface = &wma->interfaces[filter_params->vdev_id];
|
|
|
+ qdf_mem_copy(&iface->beacon_filter, filter_params,
|
|
|
+ sizeof(struct beacon_filter_param));
|
|
|
+ iface->beacon_filter_enabled = true;
|
|
|
+
|
|
|
wmi_buf = wmi_buf_alloc(wma->wmi_handle, len);
|
|
|
if (!wmi_buf) {
|
|
|
WMA_LOGE("%s: wmi_buf_alloc failed", __func__);
|