qcacmn: Add interface to write string of CFR stopping

Add a interface to write string of CFR stopping, and indicate to
userspace that CFR has stopped.

Change-Id: Ib1d63cb75cd311b367d5d8100c5c4eb92980392d
CRs-Fixed: 2659373
Этот коммит содержится в:
Wu Gao
2020-04-08 00:10:09 +08:00
коммит произвёл nshrivas
родитель b4cc9a28bb
Коммит 6ba047a381
4 изменённых файлов: 55 добавлений и 1 удалений

Просмотреть файл

@@ -96,6 +96,16 @@ int ucfg_cfr_set_timer(struct wlan_objmgr_pdev *pdev, uint32_t value);
*/
int ucfg_cfr_get_timer(struct wlan_objmgr_pdev *pdev);
/**
* ucfg_cfr_stop_indication() - User space API to write cfr stop string
* @vdev - pointer to vdev object
*
* Write stop string and indicate to up layer.
*
* Return: status of write CFR stop string
*/
QDF_STATUS ucfg_cfr_stop_indication(struct wlan_objmgr_vdev *vdev);
#ifdef WLAN_ENH_CFR_ENABLE
/* Channel capture recipe filters */
enum capture_type {

Просмотреть файл

@@ -311,6 +311,16 @@ int ucfg_cfr_list_peers(struct wlan_objmgr_pdev *pdev)
return 0;
}
QDF_STATUS ucfg_cfr_stop_indication(struct wlan_objmgr_vdev *vdev)
{
if (!vdev) {
cfr_err("null vdev");
return QDF_STATUS_E_INVAL;
}
return cfr_stop_indication(vdev);
}
#ifdef WLAN_ENH_CFR_ENABLE
static inline