mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-18 09:51:26 +00:00
This series is based on * 2020-07-10 ipq6018-ilq-11-0_qca_oem-034672b0676c37b1f4519e5720e18e95fe6236ef Add support for * qsdk kernel/v4.4 * qsdk ethernet subsystem * v5.7 ath11k backport + QualComm staging patches (wlan_ap_1.0) * ath11k-firmware * hostapd/iw/... Feature support * full boot, system detection * sysupgrade to nand * HE support via latest hostapd * driver support for usb, crypto, hwmon, cpufreq, ... Missing * NSS/HW flow offloading - FW blob is not redistributable Using the qsdk v4.4 is an intermediate solution while the vanilla is being tested. Vanilla kernel is almost on feature par. Work has already started to upstream the ethernet and switch drivers. Once complete the target will be fully upstream. Signed-off-by: John Crispin <john@phrozen.org>
46 lines
1.3 KiB
Diff
46 lines
1.3 KiB
Diff
From 94b4d020a9edfe223671c5aa350753265c5dd431 Mon Sep 17 00:00:00 2001
|
|
From: Miles Hu <milehu@codeaurora.org>
|
|
Date: Fri, 30 Aug 2019 10:44:38 -0700
|
|
Subject: [PATCH] ath11k: fix htt stats module not handle multiple skbs
|
|
|
|
remove check to allow more skbs parsed.
|
|
|
|
Signed-off-by: Miles Hu <milehu@codeaurora.org>
|
|
---
|
|
drivers/net/wireless/ath/ath11k/debug_htt_stats.c | 10 +++++-----
|
|
1 file changed, 5 insertions(+), 5 deletions(-)
|
|
|
|
--- a/drivers/net/wireless/ath/ath11k/debug_htt_stats.c
|
|
+++ b/drivers/net/wireless/ath/ath11k/debug_htt_stats.c
|
|
@@ -4305,6 +4305,7 @@ void ath11k_dbg_htt_ext_stats_handler(st
|
|
u32 len;
|
|
u64 cookie;
|
|
int ret;
|
|
+ bool send_completion = false;
|
|
u8 pdev_id;
|
|
|
|
msg = (struct ath11k_htt_extd_stats_msg *)skb->data;
|
|
@@ -4329,10 +4330,8 @@ void ath11k_dbg_htt_ext_stats_handler(st
|
|
return;
|
|
|
|
spin_lock_bh(&ar->debug.htt_stats.lock);
|
|
- if (stats_req->done) {
|
|
- spin_unlock_bh(&ar->debug.htt_stats.lock);
|
|
- return;
|
|
- }
|
|
+ if (!stats_req->done)
|
|
+ send_completion = true;
|
|
stats_req->done = true;
|
|
spin_unlock_bh(&ar->debug.htt_stats.lock);
|
|
|
|
@@ -4343,7 +4342,8 @@ void ath11k_dbg_htt_ext_stats_handler(st
|
|
if (ret)
|
|
ath11k_warn(ab, "Failed to parse tlv %d\n", ret);
|
|
|
|
- complete(&stats_req->cmpln);
|
|
+ if (send_completion)
|
|
+ complete(&stats_req->cmpln);
|
|
}
|
|
|
|
static ssize_t ath11k_read_htt_stats_type(struct file *file,
|