qcacmn: change to configure and handle undecoded metadata capture
Added change: 1. Set/reset RXDMA MON STATUS ring filter setting and send HTT message to capture undecoded frame 2. Handle undecoded frame to update cdp_rx_indication_ppdu structure from hal ppdu_info rx status and generate WDI event to deliver it to upper layer Change-Id: I14485f28333b113b5a2fab639611551c2b08af2b
This commit is contained in:

committed by
Madan Koyyalamudi

parent
8b712ebbaf
commit
e85fbce095
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -335,6 +336,28 @@ dp_rx_handle_ppdu_stats(struct dp_soc *soc, struct dp_pdev *pdev,
|
||||
}
|
||||
#endif /* QCA_ENHANCED_STATS_SUPPORT */
|
||||
|
||||
#ifdef QCA_UNDECODED_METADATA_SUPPORT
|
||||
/**
|
||||
* dp_rx_handle_ppdu_undecoded_metadata() - Allocate and deliver ppdu info
|
||||
* undecoded metadata to cdp layer
|
||||
* @soc: core txrx main context
|
||||
* @pdev: pdev strcuture
|
||||
* @ppdu_info: structure for rx ppdu ring
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void
|
||||
dp_rx_handle_ppdu_undecoded_metadata(struct dp_soc *soc, struct dp_pdev *pdev,
|
||||
struct hal_rx_ppdu_info *ppdu_info);
|
||||
|
||||
#else
|
||||
static inline void
|
||||
dp_rx_handle_ppdu_undecoded_metadata(struct dp_soc *soc, struct dp_pdev *pdev,
|
||||
struct hal_rx_ppdu_info *ppdu_info)
|
||||
{
|
||||
}
|
||||
#endif /* QCA_UNDECODED_METADATA_SUPPORT */
|
||||
|
||||
#ifdef QCA_MCOPY_SUPPORT
|
||||
/**
|
||||
* dp_rx_handle_mcopy_mode() - Allocate and deliver first MSDU payload
|
||||
|
Reference in New Issue
Block a user