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>
28 lines
1.0 KiB
Diff
28 lines
1.0 KiB
Diff
--- a/drivers/net/wireless/ath/ath11k/mac.c
|
|
+++ b/drivers/net/wireless/ath/ath11k/mac.c
|
|
@@ -2274,7 +2274,8 @@ static int ath11k_install_key(struct ath
|
|
}
|
|
|
|
if (test_bit(ATH11K_FLAG_RAW_MODE, &ar->ab->dev_flags))
|
|
- key->flags |= IEEE80211_KEY_FLAG_GENERATE_IV;
|
|
+ key->flags |= IEEE80211_KEY_FLAG_GENERATE_IV |
|
|
+ IEEE80211_KEY_FLAG_RESERVE_TAILROOM;
|
|
|
|
install:
|
|
ret = ath11k_wmi_vdev_install_key(arvif->ar, &arg);
|
|
@@ -6190,7 +6191,13 @@ static int __ath11k_mac_register(struct
|
|
ieee80211_hw_set(ar->hw, HAS_RATE_CONTROL);
|
|
ieee80211_hw_set(ar->hw, AP_LINK_PS);
|
|
ieee80211_hw_set(ar->hw, SPECTRUM_MGMT);
|
|
- ieee80211_hw_set(ar->hw, SUPPORT_FAST_XMIT);
|
|
+
|
|
+ /* Use normal tx path for raw mode as fast-tx path does not
|
|
+ * ensure tailroom availability for including MIC length.
|
|
+ */
|
|
+ if (!test_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags))
|
|
+ ieee80211_hw_set(ar->hw, SUPPORT_FAST_XMIT);
|
|
+
|
|
ieee80211_hw_set(ar->hw, CONNECTION_MONITOR);
|
|
ieee80211_hw_set(ar->hw, SUPPORTS_PER_STA_GTK);
|
|
ieee80211_hw_set(ar->hw, WANT_MONITOR_VIF);
|