mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-20 02:43:38 +00:00
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
|
|
@@ -3457,15 +3457,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
|
|
@@ -4880,7 +4880,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);
|
|
}
|
|
|
|
for (i = 0; i < ab->hw_params.num_rxmda_per_pdev; i++) {
|
|
@@ -6864,6 +6865,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
|