1 #if CONFIG_WLS_CSI_PROC
2 /** @file  wls_subspace_processing.h
3  *
4  * @brief This file contains header file for sub-space based fine timing calculation
5  *
6  * Copyright 2023-2024 NXP
7  *
8  * SPDX-License-Identifier: BSD-3-Clause
9  *
10  */
11 
12 /************************************************************************
13  * Header file for sub-space based fine timing calculation
14  ************************************************************************/
15 
16 #ifndef WLS_SUBSPACE_PROCESSING
17 #define WLS_SUBSPACE_PROCESSING
18 
19 #include "wls_structure_defs.h"
20 
21 int calcSubspaceFineTiming(hal_pktinfo_t *pktinfo,               // structure with CSI buffer parameters
22                            unsigned int *fftOutBuffer,           // buffer holding time-domain CSI
23                            unsigned int *totalpower,             // array holding power per rx/tx channel
24                            int firstPathDelay,                   // existing first path estimate
25                            int *fineTimingRes,                   // result of algorithm
26                            unsigned int *procBuffer,             // buffer for processing - needs about 2k bytes
27                            hal_wls_packet_params_t *packetparams // passing packetinfo to determin 2.4/5G
28 );
29 
30 #endif
31 
32 #endif /* CONFIG_WLS_CSI_PROC */
33