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>
42 lines
1.4 KiB
Diff
42 lines
1.4 KiB
Diff
From 326efed7953efa18f493f8cb4bb6b885aa37d5f5 Mon Sep 17 00:00:00 2001
|
|
From: Anilkumar Kolli <akolli@codeaurora.org>
|
|
Date: Tue, 24 Mar 2020 20:22:48 +0530
|
|
Subject: [PATCH 1176/1179] ath11k: fix wmi init cmd for single radio
|
|
|
|
Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org>
|
|
---
|
|
drivers/net/wireless/ath/ath11k/wmi.c | 3 ---
|
|
drivers/net/wireless/ath/ath11k/wmi.h | 9 +++++++++
|
|
2 files changed, 9 insertions(+), 3 deletions(-)
|
|
|
|
--- a/drivers/net/wireless/ath/ath11k/wmi.c
|
|
+++ b/drivers/net/wireless/ath/ath11k/wmi.c
|
|
@@ -3705,9 +3705,6 @@ int ath11k_wmi_cmd_init(struct ath11k_ba
|
|
init_param.hw_mode_id = wmi_sc->preferred_hw_mode;
|
|
init_param.mem_chunks = wmi_sc->mem_chunks;
|
|
|
|
- if (wmi_sc->preferred_hw_mode == WMI_HOST_HW_MODE_SINGLE)
|
|
- init_param.hw_mode_id = WMI_HOST_HW_MODE_MAX;
|
|
-
|
|
init_param.num_band_to_mac = ab->num_radios;
|
|
|
|
ath11k_fill_band_to_mac_param(ab, init_param.band_to_mac);
|
|
--- a/drivers/net/wireless/ath/ath11k/wmi.h
|
|
+++ b/drivers/net/wireless/ath/ath11k/wmi.h
|
|
@@ -2299,6 +2299,15 @@ struct wmi_resource_config {
|
|
u32 sched_params;
|
|
u32 twt_ap_pdev_count;
|
|
u32 twt_ap_sta_count;
|
|
+ u32 max_nlo_ssids;
|
|
+ u32 num_pkt_filters;
|
|
+ u32 num_max_sta_vdevs;
|
|
+ u32 max_bssid_indicator;
|
|
+ u32 ul_resp_config;
|
|
+ u32 msdu_flow_override_config0;
|
|
+ u32 msdu_flow_override_config1;
|
|
+ u32 flags2;
|
|
+ u32 host_service_flags;
|
|
} __packed;
|
|
|
|
struct wmi_service_ready_event {
|