debugfs.c (1aa77e716c6f2332f2d4664f747ff4eba731825b) | debugfs.c (67a9d399fcb03177152a8797a855cbd4c995c2de) |
---|---|
1// SPDX-License-Identifier: BSD-3-Clause-Clear 2/* 3 * Copyright (c) 2018-2020 The Linux Foundation. All rights reserved. 4 */ 5 6#include <linux/vmalloc.h> 7 8#include "debugfs.h" --- 652 unchanged lines hidden (view full) --- 661 goto exit; 662 } 663 664 if (enable == ar->debug.extd_rx_stats) { 665 ret = count; 666 goto exit; 667 } 668 | 1// SPDX-License-Identifier: BSD-3-Clause-Clear 2/* 3 * Copyright (c) 2018-2020 The Linux Foundation. All rights reserved. 4 */ 5 6#include <linux/vmalloc.h> 7 8#include "debugfs.h" --- 652 unchanged lines hidden (view full) --- 661 goto exit; 662 } 663 664 if (enable == ar->debug.extd_rx_stats) { 665 ret = count; 666 goto exit; 667 } 668 |
669 if (test_bit(ATH11K_FLAG_MONITOR_STARTED, &ar->monitor_flags)) { 670 ar->debug.extd_rx_stats = enable; 671 ret = count; 672 goto exit; 673 } 674 |
|
669 if (enable) { 670 rx_filter = HTT_RX_FILTER_TLV_FLAGS_MPDU_START; 671 rx_filter |= HTT_RX_FILTER_TLV_FLAGS_PPDU_START; 672 rx_filter |= HTT_RX_FILTER_TLV_FLAGS_PPDU_END; 673 rx_filter |= HTT_RX_FILTER_TLV_FLAGS_PPDU_END_USER_STATS; 674 rx_filter |= HTT_RX_FILTER_TLV_FLAGS_PPDU_END_USER_STATS_EXT; 675 rx_filter |= HTT_RX_FILTER_TLV_FLAGS_PPDU_END_STATUS_DONE; 676 --- 478 unchanged lines hidden --- | 675 if (enable) { 676 rx_filter = HTT_RX_FILTER_TLV_FLAGS_MPDU_START; 677 rx_filter |= HTT_RX_FILTER_TLV_FLAGS_PPDU_START; 678 rx_filter |= HTT_RX_FILTER_TLV_FLAGS_PPDU_END; 679 rx_filter |= HTT_RX_FILTER_TLV_FLAGS_PPDU_END_USER_STATS; 680 rx_filter |= HTT_RX_FILTER_TLV_FLAGS_PPDU_END_USER_STATS_EXT; 681 rx_filter |= HTT_RX_FILTER_TLV_FLAGS_PPDU_END_STATUS_DONE; 682 --- 478 unchanged lines hidden --- |