qcacmn: CFR: Monitor/Data ring filter settings
Channel Frequency Response(CFR) captures FFT bins corresponding to a PPDU received and this is relayed to user space application. Since FFT bins alone will not be meaningful, additional information about the PPDU such as Peer addr, BW, NSS, etc are extracted from multiple PPDU status TLVs and passed on to userspace along with CFR data. Host RX monitor status ring is configured during CFR enable and the host subscribes to relevant PPDU TLVs that provides all necessary information for CFR data correlation. Change-Id: Ia8080fe96c330db42d371634ba4363eb36c05402 CRs-Fixed: 2593416
このコミットが含まれているのは:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2020 The Linux Foundation. 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
|
||||
@@ -723,6 +723,34 @@ cdp_get_pldev(ol_txrx_soc_handle soc,
|
||||
return soc->ops->ctrl_ops->txrx_get_pldev(pdev);
|
||||
}
|
||||
|
||||
#if defined(WLAN_CFR_ENABLE) && defined(WLAN_ENH_CFR_ENABLE)
|
||||
/**
|
||||
* cdp_cfr_filter() - Configure Host RX monitor status ring for CFR
|
||||
* @soc: SOC TXRX handle
|
||||
* @pdev_id: ID of the physical device object
|
||||
* @enable: Enable or disable CFR
|
||||
* @filter_val: Flag to select filter for monitor mode
|
||||
*/
|
||||
static inline void
|
||||
cdp_cfr_filter(ol_txrx_soc_handle soc,
|
||||
uint8_t pdev_id,
|
||||
bool enable,
|
||||
struct cdp_monitor_filter *filter_val)
|
||||
{
|
||||
if (!soc || !soc->ops) {
|
||||
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_FATAL,
|
||||
"%s invalid instance", __func__);
|
||||
QDF_BUG(0);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!soc->ops->cfr_ops || !soc->ops->cfr_ops->txrx_cfr_filter)
|
||||
return;
|
||||
|
||||
soc->ops->cfr_ops->txrx_cfr_filter(soc, pdev_id, enable, filter_val);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(WLAN_TX_PKT_CAPTURE_ENH) || defined(WLAN_RX_PKT_CAPTURE_ENH)
|
||||
/**
|
||||
* cdp_update_peer_pkt_capture_params() - Sets Rx & Tx Capture params for a peer
|
||||
|
新しいイシューから参照
ユーザーをブロックする