-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why can't I analyze the base station with a bandwidth of 15m? #60
Comments
Hi, please share your terminal log and hardware setup |
I hope you can copy and paste the whole terminal log including your executed command. By looking at your picture, is looks like there is no cell in your frequency or the signal power of this cell is too low |
root@hmily-ThinkPad-P16-Gen-2:/home/hmily/LTESniffer/build/src# ./LTESniffer -A 1 -W 8 -g 76 -f 1870e6 -C -m 0 LTESniffer Creating Phy Creating 8 Worker threads Opening RF device with 1 RX antennas... Available RF device list: UHD Trying to open RF device 'UHD' [INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; UHD_4.6.0.0-3-g080b1baa [INFO] [LOGGING] Fastpath logging disabled at runtime. Opening USRP channels=1, args: type=b200,master_clock_rate=23.04e6 [INFO] [UHD RF] RF UHD Generic instance constructed [INFO] [B200] Detected Device: B210 [INFO] [B200] Operating over USB 3. [INFO] [B200] Initialize CODEC control... [INFO] [B200] Initialize Radio control... [INFO] [B200] Performing register loopback test... [INFO] [B200] Register loopback test passed [INFO] [B200] Performing register loopback test... [INFO] [B200] Register loopback test passed [INFO] [B200] Asking for clock rate 23.040000 MHz... [INFO] [B200] Actually got clock rate 23.040000 MHz. RF device 'UHD' successfully opened Tunning receiver to 1870.000 MHz Searching for cell... /home/hmily/LTESniffer/build/srsRAN-src/lib/src/phy/rf/rf_utils.c:207: Could not find any cell in this frequency Cell not found after 0 trials. Trying again (Press Ctrl+C to exit) Searching for cell... Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm *Found Cell_id: 1 FDD, CP: Normal , DetectRatio=83% PSR=2.18, Power=55.5 dBm Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm Decoding PBCH for cell 1 (N_id_2=1) Cell not found after 1 trials. Trying again (Press Ctrl+C to exit) Searching for cell... Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm *Found Cell_id: 1 FDD, CP: Normal , DetectRatio=100% PSR=4.23, Power=62.0 dBm Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm Decoding PBCH for cell 1 (N_id_2=1) Setting sampling rate 15.36 MHz [INFO] [B200] Asking for clock rate 61.440000 MHz... [INFO] [B200] Actually got clock rate 61.440000 MHz. Finding PSS... Peak: 1.03286, FrameCnt: 0 State: 0 Finding PSS... Peak: 1.06344, FrameCnt: 0 State: 0 Finding PSS... Peak: 1.22075, FrameCnt: 0 State: 0 Finding PSS... Peak: 1.07674, FrameCnt: 0 State: 0 Finding PSS... Peak: 7.67707, FrameCnt: 0 State: 1
Decoded MIB. SFN: 124, offset: 1 [08:59:29] Processed 1000/1000 subframes [08:59:30] Processed 1000/1000 subframes [08:59:31] Processed 1000/1000 subframes [08:59:32] Processed 1000/1000 subframes Finding PSS... Peak: 1.00605, FrameCnt: 948 State: 0 Finding PSS... Peak: 7.87689, FrameCnt: 0 State: 1
Decoded MIB. SFN: 604, offset: 1 [08:59:33] Processed 1000/1000 subframes [08:59:34] Processed 1000/1000 subframes ^CLTESniffer_Core: Exiting... Num RNTI Table Active New TX ReTX Success HARQ Normal W_MIMO W_pinfor Other Num RNTI Table Active New TX ReTX Success HARQ Normal W_MIMO W_pinfor Other 1 75 Unknown 591 591 0 109(18%) 0 0 0 0 0 [256Tracking] Total: 0 RNTIs are 64QAM table, 0 RNTIs are 256QAM table, 1 RNTIs are Unknown Skipped subframe: 0 / 6949 nof_decoded_locations, nof_cce, nof_missed_cce, nof_subframes, nof_subframe_collisions_dw, nof_subframe_collisions_up, time, nof_locations 4380, 81240, 8, 5416, 0, 0, 0.000000, 140816 Skipped subframes: 0 (0%) Saving MAC PCAP file Deleted DL Sniffer core |
root@hmily-ThinkPad-P16-Gen-2:/home/hmily/LTESniffer/build/src# ./LTESniffer -A 2 -W 8 -g 76 -f 1870e6 -C -m 0 LTESniffer Creating Phy Creating 8 Worker threads Opening RF device with 2 RX antennas... Available RF device list: UHD Trying to open RF device 'UHD' [INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; UHD_4.6.0.0-3-g080b1baa [INFO] [LOGGING] Fastpath logging disabled at runtime. Opening USRP channels=2, args: type=b200,master_clock_rate=23.04e6 [INFO] [UHD RF] RF UHD Generic instance constructed [INFO] [B200] Detected Device: B210 [INFO] [B200] Operating over USB 3. [INFO] [B200] Initialize CODEC control... [INFO] [B200] Initialize Radio control... [INFO] [B200] Performing register loopback test... [INFO] [B200] Register loopback test passed [INFO] [B200] Performing register loopback test... [INFO] [B200] Register loopback test passed [INFO] [B200] Asking for clock rate 23.040000 MHz... [INFO] [B200] Actually got clock rate 23.040000 MHz. [INFO] [MULTI_USRP] 1) catch time transition at pps edge [INFO] [MULTI_USRP] 2) set times next pps (synchronously) RF device 'UHD' successfully opened Tunning receiver to 1870.000 MHz Searching for cell... Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm *Found Cell_id: 1 FDD, CP: Normal , DetectRatio=88% PSR=2.44, Power=56.2 dBm Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm Decoding PBCH for cell 1 (N_id_2=1) Cell not found after 0 trials. Trying again (Press Ctrl+C to exit) Searching for cell... Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm *Found Cell_id: 1 FDD, CP: Normal , DetectRatio=80% PSR=2.05, Power=55.5 dBm Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm Decoding PBCH for cell 1 (N_id_2=1) Cell not found after 1 trials. Trying again (Press Ctrl+C to exit) Searching for cell... Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm *Found Cell_id: 1 TDD, CP: Normal , DetectRatio=80% PSR=2.20, Power=56.3 dBm Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm Decoding PBCH for cell 1 (N_id_2=1) Cell not found after 2 trials. Trying again (Press Ctrl+C to exit) Searching for cell... Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm *Found Cell_id: 1 FDD, CP: Normal , DetectRatio=100% PSR=4.83, Power=64.4 dBm Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm Decoding PBCH for cell 1 (N_id_2=1) Setting sampling rate 15.36 MHz [INFO] [B200] Asking for clock rate 61.440000 MHz... [ERROR] [UHD RF] ValueError: current master clock rate (61.440000 MHz) exceeds maximum possible master clock rate (30.720000 MHz) when using 2 RX channels [WARNING] [MULTI_USRP] The hardware does not support the requested RX sample rate: Target sample rate: 15.360000 MSps Actual sample rate: 11.520000 MSps [WARNING] [MULTI_USRP] The hardware does not support the requested RX sample rate: Target sample rate: 15.360000 MSps Actual sample rate: 11.520000 MSps Finding PSS... Peak: 1.64778, FrameCnt: 0 State: 0 Finding PSS... Peak: 1.47886, FrameCnt: 0 State: 0 Finding PSS... Peak: 1.05018, FrameCnt: 0 State: 0 Finding PSS... Peak: 1.22536, FrameCnt: 0 State: 0 |
Hi, the problem seems to be the sampling rate on USRP was not correctly handled. |
I tested with multiple USRP B210's separately and they all gave the same error. |
Hi, any update on this problem? |
#define FORCE_STANDARD_RATE When I change the above code, the program doesn't work anymore. |
When the bandwidth of the base station is 15M, it cannot be synchronized, obtaining MIB messages and all subsequent content.
The text was updated successfully, but these errors were encountered: