mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-19 18:31:33 +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.7 KiB
Diff
46 lines
1.7 KiB
Diff
--- a/drivers/net/wireless/ath/ath11k/dp_rx.c
|
|
+++ b/drivers/net/wireless/ath/ath11k/dp_rx.c
|
|
@@ -3361,15 +3361,13 @@ int ath11k_dp_rx_process_mon_status(stru
|
|
continue;
|
|
}
|
|
|
|
- if ((ppdu_info->fc_valid) &&
|
|
- (ppdu_info->ast_index != HAL_AST_IDX_INVALID)) {
|
|
- if (ppdu_info->reception_type == HAL_RX_RECEPTION_TYPE_SU) {
|
|
- arsta = (struct ath11k_sta *)peer->sta->drv_priv;
|
|
- ath11k_dp_rx_update_peer_su_stats(arsta, ppdu_info);
|
|
- } else {
|
|
- ath11k_dp_rx_mon_process_ulofdma(ppdu_info);
|
|
- ath11k_dp_rx_update_peer_mu_stats(ar, ppdu_info);
|
|
- }
|
|
+ if (ppdu_info->reception_type == HAL_RX_RECEPTION_TYPE_SU) {
|
|
+ arsta = (struct ath11k_sta *)peer->sta->drv_priv;
|
|
+ ath11k_dp_rx_update_peer_su_stats(arsta, ppdu_info);
|
|
+ } else if ((ppdu_info->fc_valid) &&
|
|
+ (ppdu_info->ast_index != HAL_AST_IDX_INVALID)) {
|
|
+ ath11k_dp_rx_mon_process_ulofdma(ppdu_info);
|
|
+ ath11k_dp_rx_update_peer_mu_stats(ar, ppdu_info);
|
|
}
|
|
|
|
if (ath11k_debug_is_pktlog_peer_valid(ar, peer->addr)) {
|
|
--- a/drivers/net/wireless/ath/ath11k/mac.c
|
|
+++ b/drivers/net/wireless/ath/ath11k/mac.c
|
|
@@ -4730,7 +4730,8 @@ static int ath11k_mac_config_mon_status_
|
|
|
|
if (enable) {
|
|
tlv_filter = ath11k_mac_mon_status_filter_default;
|
|
- tlv_filter.rx_filter = ath11k_debug_rx_filter(ar);
|
|
+ if (ath11k_debug_rx_filter(ar))
|
|
+ tlv_filter.rx_filter = ath11k_debug_rx_filter(ar);
|
|
}
|
|
|
|
ring_id = ar->dp.rx_mon_status_refill_ring.refill_buf_ring.ring_id;
|
|
@@ -6652,6 +6653,7 @@ static void ath11k_mac_op_sta_statistics
|
|
|
|
/* TODO: Use real NF instead of default one. */
|
|
sinfo->signal = arsta->rssi_comb + ATH11K_DEFAULT_NOISE_FLOOR;
|
|
+ sinfo->filled |= BIT_ULL(NL80211_STA_INFO_SIGNAL);
|
|
}
|
|
|
|
#define ATH11K_WLAN_PRIO_MAX 0x63
|