qcacmn: Green AP framework
Add APIs for green AP convergence framework. Change-Id: Icd4e676af1296843b0f64957e1d55db9b32f3e55 CRs-Fixed: 2142183
This commit is contained in:
44
target_if/green_ap/inc/target_if_green_ap.h
Normal file
44
target_if/green_ap/inc/target_if_green_ap.h
Normal file
@@ -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
|
36
target_if/green_ap/src/target_if_green_ap.c
Normal file
36
target_if/green_ap/src/target_if_green_ap.c
Normal file
@@ -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)
|
||||
{
|
||||
|
||||
}
|
Reference in New Issue
Block a user