|
@@ -1824,7 +1824,7 @@ end:
|
|
|
defined(QCA_WIFI_QCA6490) || defined(QCA_WIFI_QCA6750) || \
|
|
|
defined(QCA_WIFI_WCN7850)
|
|
|
|
|
|
-#ifdef IPA_LAN_RX_NAPI_SUPPORT
|
|
|
+#ifdef QCA_CONFIG_RPS
|
|
|
void ipa_set_rps(struct wlan_ipa_priv *ipa_ctx, enum QDF_OPMODE mode,
|
|
|
bool enable)
|
|
|
{
|
|
@@ -1843,6 +1843,7 @@ void ipa_set_rps(struct wlan_ipa_priv *ipa_ctx, enum QDF_OPMODE mode,
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
+#ifdef QCA_CONFIG_RPS
|
|
|
/**
|
|
|
* wlan_ipa_uc_handle_first_con() - Handle first uC IPA connection
|
|
|
* @ipa_ctx: IPA context
|
|
@@ -1870,6 +1871,21 @@ static QDF_STATUS wlan_ipa_uc_handle_first_con(struct wlan_ipa_priv *ipa_ctx)
|
|
|
|
|
|
return QDF_STATUS_SUCCESS;
|
|
|
}
|
|
|
+#else
|
|
|
+static QDF_STATUS wlan_ipa_uc_handle_first_con(struct wlan_ipa_priv *ipa_ctx)
|
|
|
+{
|
|
|
+ ipa_debug("enter");
|
|
|
+
|
|
|
+ if (wlan_ipa_uc_enable_pipes(ipa_ctx) != QDF_STATUS_SUCCESS) {
|
|
|
+ ipa_err("IPA WDI Pipe activation failed");
|
|
|
+ return QDF_STATUS_E_BUSY;
|
|
|
+ }
|
|
|
+
|
|
|
+ ipa_debug("exit");
|
|
|
+
|
|
|
+ return QDF_STATUS_SUCCESS;
|
|
|
+}
|
|
|
+#endif
|
|
|
|
|
|
static
|
|
|
void wlan_ipa_uc_handle_last_discon(struct wlan_ipa_priv *ipa_ctx,
|
|
@@ -2218,7 +2234,7 @@ static QDF_STATUS wlan_ipa_send_msg(qdf_netdev_t net_dev,
|
|
|
return QDF_STATUS_SUCCESS;
|
|
|
}
|
|
|
|
|
|
-#ifdef IPA_LAN_RX_NAPI_SUPPORT
|
|
|
+#ifdef QCA_CONFIG_RPS
|
|
|
void wlan_ipa_handle_multiple_sap_evt(struct wlan_ipa_priv *ipa_ctx,
|
|
|
qdf_ipa_wlan_event type)
|
|
|
{
|