qcacld-3.0: Enable P2P component in CLD

P2P component related files moved from hostcmn to CLD, this change
adds initial functions, enables P2P in Kbuild.

Change-Id: I04102a5f3e59ded13ada15b1b417ae81c7a10e90
CRs-Fixed: 2361500
这个提交包含在:
Wu Gao
2018-12-08 10:37:34 +08:00
提交者 nshrivas
父节点 308cae5313
当前提交 637d58a4c1
修改 7 个文件,包含 50 行新增31 行删除

查看文件

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017 The Linux Foundation. All rights reserved.
* Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -30,24 +30,24 @@ struct wlan_objmgr_vdev;
struct ieee80211_channel;
/**
* wlan_p2p_start() - start p2p component
* p2p_psoc_enable() - psoc API to enable p2p component
* @psoc: soc object
*
* This function used to start P2P component and register events.
* This function used to enable P2P component and register events.
*
* Return: QDF_STATUS_SUCCESS - in case of success
*/
QDF_STATUS wlan_p2p_start(struct wlan_objmgr_psoc *psoc);
QDF_STATUS p2p_psoc_enable(struct wlan_objmgr_psoc *psoc);
/**
* wlan_p2p_stop() - stop p2p component
* p2p_psoc_disable() - psoc API to disable p2p component
* @psoc: soc object
*
* This function used to stop P2P component and unregister events.
* This function used to disable P2P component and unregister events.
*
* Return: QDF_STATUS_SUCCESS - in case of success
*/
QDF_STATUS wlan_p2p_stop(struct wlan_objmgr_psoc *psoc);
QDF_STATUS p2p_psoc_disable(struct wlan_objmgr_psoc *psoc);
/**
* wlan_cfg80211_roc() - API to process cfg80211 roc request