qcacmn: Green AP framework

Add APIs for green AP convergence framework.

Change-Id: Icd4e676af1296843b0f64957e1d55db9b32f3e55
CRs-Fixed: 2142183
This commit is contained in:
Soumya Bhat
2017-12-15 16:34:55 +05:30
committed by snandini
父節點 f832d98d72
當前提交 f4cb93c5e7
共有 8 個文件被更改,包括 438 次插入0 次删除

查看文件

@@ -0,0 +1,44 @@
/*
* Copyright (c) 2017 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
* above copyright notice and this permission notice appear in all
* copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
* AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
/**
* DOC: offload lmac interface APIs for green ap
*/
#ifndef __TARGET_IF_GREEN_AP_H__
#define __TARGET_IF_GREEN_AP_H__
#include <wlan_objmgr_pdev_obj.h>
/**
* target_if_green_ap_enable_egap() - Enable egap
* @pdev: pdev pointer
*
* @Return: None
*/
void target_if_green_ap_enable_egap(struct wlan_objmgr_pdev *pdev);
/**
* target_if_green_ap_set_ps_on_off() - PS toggle
* @pdev: pdev pointer
* @value: Value to send PS on/off to FW
*
* @Return: None
*/
void target_if_green_ap_set_ps_on_off(struct wlan_objmgr_pdev *pdev,
uint32_t value);
#endif

查看文件

@@ -0,0 +1,36 @@
/*
* Copyright (c) 2017 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
* above copyright notice and this permission notice appear in all
* copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
* AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
/**
* DOC: offload lmac interface APIs definitions for Green ap
*/
#include <target_if_green_ap.h>
#include <wlan_objmgr_pdev_obj.h>
#include <target_if.h>
void target_if_green_ap_enable_egap(struct wlan_objmgr_pdev *pdev)
{
}
void target_if_green_ap_set_ps_on_off(struct wlan_objmgr_pdev *pdev,
uint32_t value)
{
}