|
@@ -1666,7 +1666,8 @@ void hdd_ipa_uc_stat_query(struct hdd_context *hdd_ctx,
|
|
|
*
|
|
|
* Return: None
|
|
|
*/
|
|
|
-static void __hdd_ipa_uc_stat_request(struct hdd_adapter *adapter, uint8_t reason)
|
|
|
+static void __hdd_ipa_uc_stat_request(struct hdd_adapter *adapter,
|
|
|
+ uint8_t reason)
|
|
|
{
|
|
|
struct hdd_context *hdd_ctx;
|
|
|
struct hdd_ipa_priv *hdd_ipa;
|
|
@@ -3493,8 +3494,9 @@ static int hdd_ipa_rm_cons_request(void)
|
|
|
*
|
|
|
* Return: 0 on success, negative errno on error
|
|
|
*/
|
|
|
-static int __hdd_ipa_set_perf_level(struct hdd_context *hdd_ctx, uint64_t tx_packets,
|
|
|
- uint64_t rx_packets)
|
|
|
+static int __hdd_ipa_set_perf_level(struct hdd_context *hdd_ctx,
|
|
|
+ uint64_t tx_packets,
|
|
|
+ uint64_t rx_packets)
|
|
|
{
|
|
|
uint32_t next_cons_bw, next_prod_bw;
|
|
|
struct hdd_ipa_priv *hdd_ipa;
|
|
@@ -4762,11 +4764,13 @@ end:
|
|
|
#ifndef QCA_LL_TX_FLOW_CONTROL_V2
|
|
|
/**
|
|
|
* __hdd_ipa_send_mcc_scc_msg() - send IPA WLAN_SWITCH_TO_MCC/SCC message
|
|
|
+ * @hdd_ctx: HDD context
|
|
|
* @mcc_mode: 0=MCC/1=SCC
|
|
|
*
|
|
|
* Return: 0 on success, negative errno value on error
|
|
|
*/
|
|
|
-static int __hdd_ipa_send_mcc_scc_msg(struct hdd_context *hdd_ctx, bool mcc_mode)
|
|
|
+static int __hdd_ipa_send_mcc_scc_msg(struct hdd_context *hdd_ctx,
|
|
|
+ bool mcc_mode)
|
|
|
{
|
|
|
hdd_adapter_list_node_t *adapter_node = NULL, *next = NULL;
|
|
|
QDF_STATUS status;
|
|
@@ -5024,12 +5028,11 @@ static int __hdd_ipa_wlan_evt(struct hdd_adapter *adapter, uint8_t sta_id,
|
|
|
qdf_mutex_release(&hdd_ipa->ipa_lock);
|
|
|
}
|
|
|
return 0;
|
|
|
- } else {
|
|
|
- HDD_IPA_LOG(QDF_TRACE_LEVEL_ERROR,
|
|
|
- "IPA resource %s completed",
|
|
|
- hdd_ipa->resource_loading ?
|
|
|
- "load" : "unload");
|
|
|
}
|
|
|
+ HDD_IPA_LOG(QDF_TRACE_LEVEL_ERROR,
|
|
|
+ "IPA resource %s completed",
|
|
|
+ hdd_ipa->resource_loading ?
|
|
|
+ "load" : "unload");
|
|
|
}
|
|
|
|
|
|
hdd_ipa->stats.event[type]++;
|