qcacld-3.0: Add RPS indication APIs to DP component
Add APIS to configure RPS indication. Change-Id: I5d5a3d2a20989daae3c904afb25a028bd2e37956 CRs-Fixed: 3165005
This commit is contained in:

committad av
Madan Koyyalamudi

förälder
f4c0ad76f1
incheckning
178d7f7753
@@ -196,6 +196,7 @@ union wlan_tp_data {
|
||||
* @wlan_dp_get_ap_client_count: Callback to get client count connected to AP
|
||||
* @wlan_dp_sta_ndi_connected: Callback to get NDI connected status
|
||||
* @dp_any_adapter_connected: Callback to check if any adapter is connected
|
||||
* @dp_send_svc_nlink_msg: Callback API to send svc nlink message
|
||||
* @osif_dp_send_tcp_param_update_event: OS IF callback to send TCP param
|
||||
*/
|
||||
struct wlan_dp_psoc_callbacks {
|
||||
@@ -212,6 +213,7 @@ struct wlan_dp_psoc_callbacks {
|
||||
bool (*wlan_dp_sta_ndi_connected)(hdd_cb_handle context,
|
||||
uint8_t vdev_id);
|
||||
bool (*dp_any_adapter_connected)(hdd_cb_handle context);
|
||||
void (*dp_send_svc_nlink_msg)(int radio, int type, void *data, int len);
|
||||
|
||||
void
|
||||
(*osif_dp_send_tcp_param_update_event)(struct wlan_objmgr_psoc *psoc,
|
||||
|
@@ -159,6 +159,45 @@ void ucfg_dp_bbm_context_deinit(struct wlan_objmgr_psoc *psoc);
|
||||
void ucfg_dp_bbm_apply_independent_policy(struct wlan_objmgr_psoc *psoc,
|
||||
struct bbm_params *params);
|
||||
|
||||
/**
|
||||
* ucfg_dp_set_rx_mode_rps() - Enable/disable RPS in SAP mode
|
||||
* @enable: Set true to enable RPS in SAP mode
|
||||
*
|
||||
* Callback function registered with datapath
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void ucfg_dp_set_rx_mode_rps(bool enable);
|
||||
|
||||
/**
|
||||
* ucfg_dp_try_send_rps_ind() - send rps indication to daemon
|
||||
* @vdev: vdev handle
|
||||
*
|
||||
* If RPS feature enabled by INI, send RPS enable indication to daemon
|
||||
* Indication contents is the name of interface to find correct sysfs node
|
||||
* Should send all available interfaces
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void ucfg_dp_try_send_rps_ind(struct wlan_objmgr_vdev *vdev);
|
||||
|
||||
/**
|
||||
* ucfg_dp_reg_ipa_rsp_ind() - Resiter RSP IND cb with IPA component
|
||||
* @psoc: psoc handle
|
||||
* @cb_obj: Callback object
|
||||
*
|
||||
* Returns: None
|
||||
*/
|
||||
void ucfg_dp_reg_ipa_rsp_ind(struct wlan_objmgr_pdev *pdev);
|
||||
|
||||
/**
|
||||
* ucfg_dp_try_set_rps_cpu_mask - set RPS CPU mask for interfaces
|
||||
* @psoc: psoc handle
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void ucfg_dp_try_set_rps_cpu_mask(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* ucfg_dp_register_hdd_callbacks() - Resiter HDD callbacks with DP component
|
||||
* @psoc: psoc handle
|
||||
@@ -168,4 +207,5 @@ void ucfg_dp_bbm_apply_independent_policy(struct wlan_objmgr_psoc *psoc,
|
||||
*/
|
||||
void ucfg_dp_register_hdd_callbacks(struct wlan_objmgr_psoc *psoc,
|
||||
struct wlan_dp_psoc_callbacks *cb_obj);
|
||||
#endif
|
||||
|
||||
#endif /* _WLAN_DP_UCFG_API_H_ */
|
||||
|
Referens i nytt ärende
Block a user