Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Evrytania/LTE-Cell-Scanner
/ functions
Functions
128 in github.com/Evrytania/LTE-Cell-Scanner
⨍
Functions
128
◇
Types & classes
17
↓ 64 callers
Function
matlab_range
Implement the matlab range notation a:b:c. Ex, 1:2:6 is [1 3 5].
src/itpp_ext.cpp:97
↓ 28 callers
Function
db10
include/dsp.h:101
↓ 19 callers
Method
n_id_cell
Cell class member functions
src/common.cpp:29
↓ 18 callers
Function
matlab_mod
itpp has a mod function but it only operates like the Matlab mod function on integers. The matlab_mod function defined here should operate exactly lik
include/itpp_ext.h:40
↓ 14 callers
Function
sigpower
include/dsp.h:23
↓ 12 callers
Method
n_symb_dl
src/common.cpp:32
↓ 8 callers
Method
frame_timing
Read/write frame_timing (via mutex). Only one thread (tracker_thread) can update frame_timing. We only need to ensure that no thread reads a partial v
include/LTE-Tracker.h:129
↓ 8 callers
Function
print_center
ncurses center justified print of a string
src/display_thread.cpp:94
↓ 6 callers
Method
frequency_offset
Read/write frequency offset (via mutex). Mutex makes sure that no read or write is interrupted when only part of the data has been read.
include/LTE-Tracker.h:181
↓ 6 callers
Method
get_shift
Return the requested shift value.
src/lte_lib.cpp:396
↓ 6 callers
Function
interp1
include/dsp.h:152
↓ 5 callers
Function
extract_psss
Simple helper function to perform FOC and return only the subcarriers occupied by the PSS or SSS. Called by more than one function!
src/searcher.cpp:516
↓ 5 callers
Function
fshift
Shift a vector in frequency itpp::cvec fshift(const itpp::cvec & v,const double f,const double fs); itpp::cvec fshift(const itpp::cvec & v,const doubl
include/dsp.h:40
↓ 5 callers
Function
last
include/itpp_ext.h:99
↓ 5 callers
Function
udb10
include/dsp.h:111
↓ 4 callers
Function
chan_est
Examine the time/frequency grid and perform channel estimation and filtering to produce channel estimates for every RE. Each invocation of this funct
src/searcher.cpp:1369
↓ 4 callers
Function
decode_mib
Blindly try various frame alignments and numbers of antennas to try to find a valid MIB.
src/searcher.cpp:1526
↓ 4 callers
Function
del_oob
Helper function to remove entries that are out of bounds
src/searcher.cpp:1072
↓ 4 callers
Function
extract_tfg
Extract the time/ frequency grid. Note that this function is inefficient in that it returns the time/ frequency grid for nearly all samples in the ca
src/searcher.cpp:857
↓ 4 callers
Function
interpft
Perform FFT based interpolation. Assuming input signal is cyclically repeating signal sampled at M points, return a cyclically repeating signal that i
src/dsp.cpp:52
↓ 4 callers
Function
peak_search
Search through all the correlations and determine if any PSS were found.
src/searcher.cpp:422
↓ 4 callers
Function
plot_trace
Helper function to plot a transfer function on the screen.
src/display_thread.cpp:245
↓ 4 callers
Function
pss_sss_foe
Perform FOE using only the PSS and SSS. The PSS correlation peak gives us the frequency offset within 2.5kHz. The PSS/SSS can be used to estimate the
src/searcher.cpp:767
↓ 4 callers
Function
rs_dl_shift_calc
Calculate the shift a certain port will use for a certain ofdm symbol.
src/lte_lib.cpp:327
↓ 4 callers
Function
sss_detect
Detect the SSS, if present
src/searcher.cpp:696
↓ 4 callers
Function
sss_detect_ml_helper
Helper function that compares the received SSS against one of the known transmitted SSS sequences.
src/searcher.cpp:636
↓ 4 callers
Function
tfoec
Perform 'superfine' TOE/FOE/TOC/FOC. First, the residual frequency offset is measured using all the samples in the TFG. This frequency offset will be
src/searcher.cpp:952
↓ 4 callers
Function
xcorr_pss
Correlate the received signal against all possible PSS and all possible frequency offsets. This is the main function that calls all of the previously
src/searcher.cpp:389
↓ 3 callers
Function
blnoise
Currently, this simply returns a vector of complex gaussian noise with zero mean and average power 1.0.
include/dsp.h:143
↓ 3 callers
Function
chi2cdf_inv
Returns the value x such that chi2cdf(x,k) is p.
include/dsp.h:188
↓ 3 callers
Function
flatten
Flatten 3D vector m. Similar to Matlab's m(:) functionality. This should only be used for debugging since it is not very fast.
src/itpp_ext.cpp:37
↓ 3 callers
Function
lte_pn
Implementation of the LTE PN generator. A faster implementation is possible using uint32 to store the state. This function was coded using vectors and
src/lte_lib.cpp:41
↓ 3 callers
Function
rtl_sdr_to_cvec
Read data captured by the rtl_sdr program into a cvec.
src/itpp_ext.cpp:176
↓ 3 callers
Function
slot_sym_inc
Small helper function to increment the slot number and the symbol number.
include/LTE-Tracker.h:255
↓ 2 callers
Function
capture_data
This function produces a vector of captured data. The data can either come from live data received by the RTLSDR, or from a file containing previously
src/capbuf.cpp:81
↓ 2 callers
Function
ce_interp_hex_extend
Helper function. Linearly interpolates the left/right edge samples so as to guarantee a vertex at the left and right subcarrier.
src/searcher.cpp:1200
↓ 2 callers
Method
cell_seconds_dropped
include/LTE-Tracker.h:202
↓ 2 callers
Function
display_cell
Display status information for a certain cell on a certain line on the screen.
src/display_thread.cpp:108
↓ 2 callers
Function
interp72
src/tracker_thread.cpp:372
↓ 2 callers
Function
lte_calc_crc
Calculate one of the LTE CRC's.
src/lte_lib.cpp:637
↓ 2 callers
Function
lte_conv_decode
Note that this function assumes that d_est is ln(P(d_est==0|r)/P(d_est==1|r)) This is different from the matlab function which assumes d_est is simply
src/lte_lib.cpp:538
↓ 2 callers
Function
lte_conv_deratematch
Note that this function assumes that e_est is ln(P(e_est==0|r)/P(e_est==1|r)) This is different from the matlab function which assumes e_est is simply
src/lte_lib.cpp:469
↓ 2 callers
Function
lte_demodulate
Assumes that the channel has already been removed from the received signal and the np is the amount of noise present in each sample. This function ret
src/lte_lib.cpp:612
↓ 2 callers
Function
print_left
ncurses left justified print of a string
src/display_thread.cpp:83
↓ 2 callers
Function
print_right
ncurses right justified print of a string
src/display_thread.cpp:72
↓ 2 callers
Function
pss_fd_calc
PSS Return the PSS in the frequency domain.
src/lte_lib.cpp:155
↓ 2 callers
Method
raw_seconds_dropped
include/LTE-Tracker.h:211
↓ 2 callers
Function
read_datafile
Read a file either in rtlsdr format or itpp format.
src/LTE-Tracker.cpp:540
↓ 2 callers
Method
searcher_cycle_time
Read/write searcher cycle time (via mutex). Mutex makes sure that no read or write is interrupted when only part of the data has been read.
include/LTE-Tracker.h:193
↓ 2 callers
Function
set_occupied
Indicate that certain rows are occupied
src/display_thread.cpp:228
↓ 2 callers
Function
sss_fd_calc
Calculate the SSS in the frequency domain.
src/lte_lib.cpp:199
↓ 2 callers
Function
will_fit
Will a certain cell display fit starting at a certain row?
src/display_thread.cpp:215
↓ 1 callers
Function
and_reduce
Logical AND of all the bits. Is there another way to do this???
src/itpp_ext.cpp:153
↓ 1 callers
Function
ce_interp_hex
src/searcher.cpp:1223
↓ 1 callers
Function
ce_ready
Small helper function returns true if all the fifos contain data.
src/tracker_thread.cpp:480
↓ 1 callers
Method
cell_seconds_dropped_inc
include/LTE-Tracker.h:207
↓ 1 callers
Function
compute_fc_programmed
src/from_osmocom.cpp:113
↓ 1 callers
Function
compute_flo
src/from_osmocom.cpp:104
↓ 1 callers
Function
compute_fvco
\brief compute Fvco based on Fosc, Z and X * \returns positive value (Fvco in Hz), 0 in case of error */
src/from_osmocom.cpp:85
↓ 1 callers
Function
config_usb
Open the USB device
src/CellSearch.cpp:343
↓ 1 callers
Function
config_usb
Open the USB device
src/LTE-Tracker.cpp:442
↓ 1 callers
Function
dedup
In high SNR environments, a cell may be detected on different carrier frequencies and with different frequency offsets. Keep only the cell with the hi
src/CellSearch.cpp:285
↓ 1 callers
Function
dedup
In high SNR environments, a cell may be detected on different carrier frequencies and with different frequency offsets. Keep only the cell with the hi
src/LTE-Tracker.cpp:378
↓ 1 callers
Function
diff
include/itpp_ext.h:77
↓ 1 callers
Function
do_ac_fd
Update the frequency domain autocorrelation function.
src/tracker_thread.cpp:318
↓ 1 callers
Function
do_ac_td
Estimate the time domain autocorrelation function.
src/tracker_thread.cpp:343
↓ 1 callers
Function
do_foe
src/tracker_thread.cpp:204
↓ 1 callers
Function
do_mib_decode
src/tracker_thread.cpp:531
↓ 1 callers
Function
do_pss_sss_sigpower_ce
Measure signal and noise power using the SSS and PSS. More accurate than using the CRS. Also perform channel estimation and store results.
src/tracker_thread.cpp:754
↓ 1 callers
Function
do_toe_v2
src/tracker_thread.cpp:245
↓ 1 callers
Function
filter_ce
src/tracker_thread.cpp:176
↓ 1 callers
Function
freq_formatter
Helper function to assist in formatting frequency offsets.
src/CellSearch.cpp:322
↓ 1 callers
Function
fshift_inplace
include/dsp.h:58
↓ 1 callers
Function
get_fd
Pop 128 time domain samples from the fifo, convert to the frequency domain, and extract the 72 desired subcarriers.
src/tracker_thread.cpp:91
↓ 1 callers
Function
interp2d
src/tracker_thread.cpp:395
↓ 1 callers
Function
kalibrate
Perform an initial cell search solely for the purpose of calibrating the oscillator. This code can probably be rolled into the searcher so as to elimi
src/LTE-Tracker.cpp:565
↓ 1 callers
Function
lte_conv_ratematch
Perform LTE ratematching for convolutionally encoded bits d to fit an e vector of length n_e.
src/lte_lib.cpp:409
↓ 1 callers
Function
parse_commandline
Parse the command line arguments and return optional parameters as variables. Also performs some basic sanity checks on the parameters.
src/rtl_sdr_check.cpp:78
↓ 1 callers
Function
parse_commandline
Parse the command line arguments and return optional parameters as variables. Also performs some basic sanity checks on the parameters.
src/CellSearch.cpp:92
↓ 1 callers
Function
parse_commandline
Parse the command line arguments and return optional parameters as variables. Also performs some basic sanity checks on the parameters.
src/LTE-Tracker.cpp:114
↓ 1 callers
Function
pbch_extract
Examine the time/ frequency grid and extract the RE that belong to the PBCH. Also return the channel estimates for that RE from all 4 possible eNodeB
src/searcher.cpp:1482
↓ 1 callers
Function
pbch_extract_rt
Similar to pbch_extract but this one works only on MIB samples. The other function has access to all the OFDM symbols.
src/tracker_thread.cpp:494
↓ 1 callers
Function
print_usage
Simple usage screen.
src/rtl_sdr_check.cpp:47
↓ 1 callers
Function
print_usage
Simple usage screen.
src/CellSearch.cpp:43
↓ 1 callers
Function
print_usage
Simple usage screen.
src/LTE-Tracker.cpp:63
↓ 1 callers
Method
raw_seconds_dropped_inc
include/LTE-Tracker.h:216
↓ 1 callers
Function
rs_dl_calc
Function to calculate the reference symbols. This function executes rather slowly and hence it is usually better to use the RS_DL class which precompu
src/lte_lib.cpp:305
↓ 1 callers
Function
sp_est
Estimate the received signal power within 2 OFDM symbols of a particular sample. In the 6 center RB's, the transmitted power is the same for all PSS
src/searcher.cpp:185
↓ 1 callers
Function
sss_detect_getce_sss
Perform channel estimation and extract the SSS subcarriers.
src/searcher.cpp:533
↓ 1 callers
Function
sss_detect_ml
Perform maximum likelihood detection on the combined SSS signals.
src/searcher.cpp:655
↓ 1 callers
Function
tshift
Cyclically shift vector to the right by n samples.
include/dsp.h:77
↓ 1 callers
Function
xc_combine
Perform incoherent combining on the correlations. There is no guarantee that PSS/SSS pairs will always be transmitted from the same antenna. Thus, PS
src/searcher.cpp:263
↓ 1 callers
Function
xc_correlate
Correlate the received data against various frequency shifted versions of the three PSS sequences. This is likely to be the slowest routine since it n
src/searcher.cpp:113
↓ 1 callers
Function
xc_delay_spread
Combine adjacent taps that likely come from the same channel. Simply: xc_incoherent(t,idx,foi)=mean(xc_incoherent_single(t,idx-ds_comb_arm:idx+ds_comb
src/searcher.cpp:312
↓ 1 callers
Function
xc_peak_freq
Search for the peak correlation among all frequency offsets. For each time offset and each PSS index, examine the correlations for all of the frequenc
src/searcher.cpp:353
Method
Cell
Default constructor initializes structure to impossible values.
src/common.cpp:36
Method
Mod_map
Constructor This was implemented as a class so that the (slow) initialization only needs to be done once, when the program starts.
src/lte_lib.cpp:559
Method
PSS_fd
Initialize table
src/lte_lib.cpp:164
Method
PSS_td
Initialize PSS time domain table
src/lte_lib.cpp:177
Method
RS_DL
Constructor
src/lte_lib.cpp:354
next →
1–100 of 128, ranked by callers