qcacld-3.0: IPA offload enable compilation issue fix
Currently there is compilation issue in case of IPA offload enable case due to code changes done as part of DP componentization. Fix compilation issue by adding calls to DP component APIs Change-Id: Id545f67bff75682ceccba5725f956a89c6b9b9f8 CRs-Fixed: 3259293
This commit is contained in:

gecommit door
Madan Koyyalamudi

bovenliggende
b536b7e2df
commit
5bda120bfa
@@ -1198,4 +1198,28 @@ uint32_t ucfg_dp_fw_data_stall_evt_enabled(void);
|
||||
*/
|
||||
uint32_t ucfg_dp_get_bus_bw_high_threshold(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* ucfg_dp_event_eapol_log() - send event to wlan diag
|
||||
* @nbuf: Network buffer ptr
|
||||
* @dir: direction
|
||||
* @eapol_key_info: eapol key info
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void ucfg_dp_event_eapol_log(qdf_nbuf_t nbuf, enum qdf_proto_dir dir);
|
||||
|
||||
/**
|
||||
* ucfg_dp_softap_inspect_dhcp_packet() - Inspect DHCP packet
|
||||
* @vdev: Vdev handle
|
||||
* @nbuf: pointer to network buffer
|
||||
* @dir: direction
|
||||
*
|
||||
* Inspect the Tx/Rx frame, and send DHCP START/STOP notification to the FW
|
||||
* through WMI message, during DHCP based IP address acquisition phase.
|
||||
*
|
||||
* Return: error number
|
||||
*/
|
||||
QDF_STATUS
|
||||
ucfg_dp_softap_inspect_dhcp_packet(struct wlan_objmgr_vdev *vdev,
|
||||
qdf_nbuf_t nbuf, enum qdf_proto_dir dir);
|
||||
#endif /* _WLAN_DP_UCFG_API_H_ */
|
||||
|
@@ -2132,3 +2132,22 @@ uint32_t ucfg_dp_fw_data_stall_evt_enabled(void)
|
||||
return cdp_cfg_get(cds_get_context(QDF_MODULE_ID_SOC),
|
||||
cfg_dp_enable_data_stall) & FW_DATA_STALL_EVT_MASK;
|
||||
}
|
||||
|
||||
void ucfg_dp_event_eapol_log(qdf_nbuf_t nbuf, enum qdf_proto_dir dir)
|
||||
{
|
||||
dp_event_eapol_log(nbuf, dir);
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
ucfg_dp_softap_inspect_dhcp_packet(struct wlan_objmgr_vdev *vdev,
|
||||
qdf_nbuf_t nbuf, enum qdf_proto_dir dir)
|
||||
{
|
||||
struct wlan_dp_intf *dp_intf = dp_get_vdev_priv_obj(vdev);
|
||||
|
||||
if (!dp_intf) {
|
||||
dp_err("Unable to get DP interface");
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
return dp_softap_inspect_dhcp_packet(dp_intf, nbuf, dir);
|
||||
}
|
||||
|
Verwijs in nieuw issue
Block a user