[PATCH ath-next] wifi: ath12k: preserve PPDU state across monitor status buffers
Kang Yang
kang.yang at oss.qualcomm.com
Tue Sep 8 19:01:24 PDT 2026
On 9/9/2026 6:07 AM, Jeff Johnson wrote:
> On 8/30/2026 10:53 PM, Tamizh Raja wrote:
>> On Fri, Aug 28, 2026 at 12:26 PM Kang Yang <kang.yang at oss.qualcomm.com> wrote:
>>> - if (ar->monitor_started &&
>>> - pmon->mon_ppdu_status == DP_PPDU_STATUS_START &&
>>> - hal_status == HAL_TLV_STATUS_PPDU_DONE) {
>>> - rx_mon_stats->status_ppdu_done++;
>>> - pmon->mon_ppdu_status = DP_PPDU_STATUS_DONE;
>>> - ath12k_wifi7_dp_rx_mon_dest_process(ar, mac_id, *budget, napi);
>>> - pmon->mon_ppdu_status = DP_PPDU_STATUS_START;
>>> + if (hal_status == HAL_TLV_STATUS_PPDU_DONE) {
>> Consider HAL_RX_MON_STATUS_PPDU_DONE instead of
>> HAL_TLV_STATUS_PPDU_DONE to match the declared return type of
>> ath12k_wifi7_dp_mon_parse_rx_dest().
>> This is a preexisting inconsistency, but it is good to clean it up
>
> Let's clean this up with a separate patch
Yeah, will raise a new patch for this.
More information about the ath12k
mailing list