qcacmn: Greenap componentization follow up patch

Greenap APIs and calls

Change-Id: I1242db788155f68dd91b72b94a48f78869eb835f
CRs-Fixed: 2142183
This commit is contained in:
Soumya Bhat
2017-12-28 21:33:17 +05:30
committed by snandini
szülő a00b71b980
commit 108f090a00
14 fájl változott, egészen pontosan 455 új sor hozzáadva és 11 régi sor törölve

Fájl megtekintése

@@ -58,4 +58,30 @@ QDF_STATUS target_if_green_ap_enable_egap(
*/
QDF_STATUS target_if_green_ap_set_ps_on_off(struct wlan_objmgr_pdev *pdev,
bool value, uint8_t pdev_id);
/**
* target_if_green_ap_get_current_channel() - Get current channel
* @pdev: pdev pointer
*
* @Return: current channel freq
*/
uint16_t target_if_green_ap_get_current_channel(struct wlan_objmgr_pdev *pdev);
/**
* target_if_green_ap_get_current_channel_flags() - Get current channel flags
* @pdev: pdev pointer
*
* @Return: current channel flags
*/
uint64_t target_if_green_ap_get_current_channel_flags(
struct wlan_objmgr_pdev *pdev);
/**
* target_if_green_ap_reset_dev() - Reset dev
* @pdev: pdev pointer
*
* @Return: QDF_STATUS_SUCCESS if device resetted
*/
QDF_STATUS target_if_green_ap_reset_dev(struct wlan_objmgr_pdev *pdev);
#endif

Fájl megtekintése

@@ -40,6 +40,10 @@ QDF_STATUS target_if_register_green_ap_tx_ops(
green_ap_tx_ops->enable_egap = target_if_green_ap_enable_egap;
green_ap_tx_ops->ps_on_off_send = target_if_green_ap_set_ps_on_off;
green_ap_tx_ops->reset_dev = NULL;
green_ap_tx_ops->get_current_channel = NULL;
green_ap_tx_ops->get_current_channel_flags = NULL;
green_ap_tx_ops->get_capab = NULL;
return QDF_STATUS_SUCCESS;
}