qcacmn: Greenap componentization follow up patch
Greenap APIs and calls Change-Id: I1242db788155f68dd91b72b94a48f78869eb835f CRs-Fixed: 2142183
This commit is contained in:
@@ -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
|
||||
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user