mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-20 19:03:39 +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>
40 lines
1.3 KiB
Diff
40 lines
1.3 KiB
Diff
From e227e5896dc8fe69d63334819c5fbada9caddc50 Mon Sep 17 00:00:00 2001
|
|
From: Miles Hu <milehu@codeaurora.org>
|
|
Date: Tue, 14 Jan 2020 14:29:53 -0800
|
|
Subject: [PATCH] tid fix
|
|
|
|
---
|
|
drivers/net/wireless/ath/ath11k/hal_rx.c | 2 +-
|
|
drivers/net/wireless/ath/ath11k/hal_rx.h | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/drivers/net/wireless/ath/ath11k/hal_rx.c b/drivers/net/wireless/ath/ath11k/hal_rx.c
|
|
index 5bcfd01..0aaff7d 100644
|
|
--- a/drivers/net/wireless/ath/ath11k/hal_rx.c
|
|
+++ b/drivers/net/wireless/ath/ath11k/hal_rx.c
|
|
@@ -934,7 +934,7 @@ ath11k_hal_rx_parse_mon_status_tlv(struct ath11k_base *ab,
|
|
__le32_to_cpu(eu_stats->info1));
|
|
ppdu_info->tid =
|
|
ffs(FIELD_GET(HAL_RX_PPDU_END_USER_STATS_INFO6_TID_BITMAP,
|
|
- __le32_to_cpu(eu_stats->info6))) - 1;
|
|
+ __le32_to_cpu(eu_stats->rsvd2[0]))) - 1;
|
|
ppdu_info->tcp_msdu_count =
|
|
FIELD_GET(HAL_RX_PPDU_END_USER_STATS_INFO4_TCP_MSDU_CNT,
|
|
__le32_to_cpu(eu_stats->info4));
|
|
diff --git a/drivers/net/wireless/ath/ath11k/hal_rx.h b/drivers/net/wireless/ath/ath11k/hal_rx.h
|
|
index 934b390..afdb103 100644
|
|
--- a/drivers/net/wireless/ath/ath11k/hal_rx.h
|
|
+++ b/drivers/net/wireless/ath/ath11k/hal_rx.h
|
|
@@ -157,7 +157,7 @@ struct hal_rx_mon_ppdu_info {
|
|
u8 ldpc;
|
|
u8 beamformed;
|
|
u8 rssi_comb;
|
|
- u8 tid;
|
|
+ u16 tid;
|
|
u8 fc_valid;
|
|
u16 ht_flags;
|
|
u16 vht_flags;
|
|
--
|
|
2.7.4
|
|
|