|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2013-2020 The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2013-2021 The Linux Foundation. All rights reserved.
|
|
|
*
|
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -430,7 +430,14 @@ void hdd_reset_tcp_delack(struct hdd_context *hdd_ctx);
|
|
|
* Return: None
|
|
|
*/
|
|
|
void hdd_reset_tcp_adv_win_scale(struct hdd_context *hdd_ctx);
|
|
|
+#ifdef RX_PERFORMANCE
|
|
|
bool hdd_is_current_high_throughput(struct hdd_context *hdd_ctx);
|
|
|
+#else
|
|
|
+static inline bool hdd_is_current_high_throughput(struct hdd_context *hdd_ctx)
|
|
|
+{
|
|
|
+ return false;
|
|
|
+}
|
|
|
+#endif
|
|
|
#define HDD_MSM_CFG(msm_cfg) msm_cfg
|
|
|
#else
|
|
|
static inline void hdd_reset_tcp_delack(struct hdd_context *hdd_ctx) {}
|