qcacmn: Add DFS Radar Event Notifications

Add event notifications to userspace
    1. Radar Detect
    2. CAC Start
    3. CAC Complete
    4. NOL Start
    5. NOL Complete

CRs-Fixed: 2448199
Change-Id: I5deaa53c922fe4e149e7198b287e31d3876d49d4
这个提交包含在:
phadiman
2018-11-22 16:35:55 +05:30
提交者 nshrivas
父节点 ec01bbcfbe
当前提交 b68fa39efd
修改 7 个文件,包含 54 行新增1 行删除

查看文件

@@ -252,4 +252,23 @@ struct wlan_dfs_phyerr_param {
bool pe_enmaxrssi;
};
/**
* enum WLAN_DFS_EVENTS - DFS Events that will be sent to userspace
* @WLAN_EV_RADAR_DETECTED: Radar is detected
* @WLAN_EV_CAC_STARTED: CAC timer has started
* @WLAN_EV_CAC_COMPLETED: CAC timer completed
* @WLAN_EV_NOL_STARTED: NOL started
* @WLAN_EV_NOL_FINISHED: NOL Completed
*
* DFS events such as radar detected, CAC started,
* CAC completed, NOL started, NOL finished
*/
enum WLAN_DFS_EVENTS {
WLAN_EV_RADAR_DETECTED,
WLAN_EV_CAC_STARTED,
WLAN_EV_CAC_COMPLETED,
WLAN_EV_NOL_STARTED,
WLAN_EV_NOL_FINISHED,
};
#endif /* _DFS_IOCTL_H_ */