qcacmn: Greenap componentization follow up patch
Greenap APIs and calls Change-Id: I1242db788155f68dd91b72b94a48f78869eb835f CRs-Fixed: 2142183
此提交包含在:
@@ -96,4 +96,30 @@ QDF_STATUS wlan_green_ap_add_sta(struct wlan_objmgr_pdev *pdev);
|
||||
* Return: Success or Failure
|
||||
*/
|
||||
QDF_STATUS wlan_green_ap_del_sta(struct wlan_objmgr_pdev *pdev);
|
||||
|
||||
/**
|
||||
* wlan_green_ap_is_ps_enabled() - is power save enabled
|
||||
* @pdev: pdev pointer
|
||||
*
|
||||
* Check if power save is enabled in FW
|
||||
*
|
||||
* Return: Success or Failure
|
||||
*/
|
||||
bool wlan_green_ap_is_ps_enabled(struct wlan_objmgr_pdev *pdev);
|
||||
|
||||
/**
|
||||
* wlan_green_ap_suspend_handle() - handle driver suspend
|
||||
* @pdev: pdev pointer
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void wlan_green_ap_suspend_handle(struct wlan_objmgr_pdev *pdev);
|
||||
|
||||
/**
|
||||
* wlan_green_ap_get_capab() - get lmac capability
|
||||
* @pdev: pdev pointer
|
||||
*
|
||||
* Return: Appropriate status
|
||||
*/
|
||||
QDF_STATUS wlan_green_ap_get_capab(struct wlan_objmgr_pdev *pdev);
|
||||
#endif /* _WLAN_GREEN_AP_API_H_ */
|
||||
|
@@ -26,6 +26,7 @@
|
||||
#include <wlan_objmgr_cmn.h>
|
||||
#include <wlan_objmgr_pdev_obj.h>
|
||||
#include <qdf_status.h>
|
||||
#include "wlan_utility.h"
|
||||
|
||||
/**
|
||||
* struct green_ap_user_cfg - green ap user cfg
|
||||
@@ -116,4 +117,28 @@ QDF_STATUS ucfg_green_ap_set_transition_time(struct wlan_objmgr_pdev *pdev,
|
||||
QDF_STATUS ucfg_green_ap_get_transition_time(struct wlan_objmgr_pdev *pdev,
|
||||
uint32_t *ps_trans_time);
|
||||
|
||||
/**
|
||||
* ucfg_green_ap_config() - Config green AP
|
||||
* @pdev: pdev pointer
|
||||
*
|
||||
* Return: Success or Failure
|
||||
*/
|
||||
QDF_STATUS ucfg_green_ap_config(struct wlan_objmgr_pdev *pdev, uint8_t val);
|
||||
|
||||
/**
|
||||
* ucfg_green_ap_enable_debug_prints() - Enable debugs
|
||||
* @pdev: pdev pointer
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void ucfg_green_ap_enable_debug_prints(struct wlan_objmgr_pdev *pdev,
|
||||
uint32_t val);
|
||||
|
||||
/**
|
||||
* ucfg_green_ap_get_debug_prints() - Check if debug enabled
|
||||
* @pdev: pdev pointer
|
||||
*
|
||||
* Return: Debug value
|
||||
*/
|
||||
bool ucfg_green_ap_get_debug_prints(struct wlan_objmgr_pdev *pdev);
|
||||
#endif /* _WLAN_GREEN_AP_UCFG_API_H_ */
|
||||
|
新增問題並參考
封鎖使用者