|
int | corr_threshold = 1 |
|
| bcn_real |
|
| bcn_imag |
|
| unpack |
|
int | beacon = bcn_real + 1j * bcn_imag |
|
| parser = ArgumentParser() |
|
| type |
|
| str |
|
| dest |
|
| help |
|
| default |
|
| float |
|
| args = parser.parse_args() |
|
| siso_bs |
|
| siso_ue |
|
| hub = None |
|
| nsamps = siso_bs.n_samp |
|
int | upsample = 1 |
|
int | ampl = 1 |
|
int | nsamps_pad = 82 |
|
int | n_sym_samp = nsamps + 2*nsamps_pad - 14 |
|
| ltsSym |
|
| lts_f |
|
| cp |
|
| pad1 = np.zeros((nsamps_pad), np.complex64) |
|
| pad2 = np.zeros((nsamps_pad-14), np.complex64) |
|
int | wb_pilot = np.tile(ltsSym, nsamps//len(ltsSym)).astype(np.complex64)*.5 |
|
| wbz = np.zeros((n_sym_samp), dtype=np.complex64) |
|
| wb_pilot1 = np.concatenate([pad1, wb_pilot, pad2]) |
|
| wb_pilot2 = wbz |
|
| wb_pilot1_r = np.real(wb_pilot1) |
|
| wb_pilot1_i = np.imag(wb_pilot1) |
|
| tdd_sched |
|
| prefix_len |
|
| is_bs |
|
| wave_rx_a_bs_mn = siso_bs.recv_stream_tdd() |
|
| foundTrigger = siso_ue.sdr_gettriggers() |
|
| freq = args.freq |
|
| fig = plt.figure(figsize=(20, 8), dpi=100) |
|
| ax1 = fig.add_subplot(2, 1, 1) |
|
| ax2 = fig.add_subplot(2, 1, 2) |
|
| label |
|
int | CORR_THRESHOLD = 92 |
|
int | CORR_RST = 64 |
|
int | CORR_CONF = 60 |
|
int | RF_RST_REG = 48 |
|
int | TDD_CONF_REG = 120 |
|
int | SCH_ADDR_REG = 136 |
|
int | SCH_MODE_REG = 140 |
|
int | TX_GAIN_CTRL = 88 |
|
int | FPGA_IRIS030_WR_PKT_DET_THRESH = 288 |
|
int | FPGA_IRIS030_WR_PKT_DET_NUM_SAMPS = 292 |
|
int | FPGA_IRIS030_WR_PKT_DET_ENABLE = 296 |
|
int | FPGA_IRIS030_WR_PKT_DET_NEW_FRAME = 300 |
|
int | tx_advance = 68 |
|
| beacon1 = siso_bs.config_beacon(nsamps_pad) |
|
| beacon1_r = np.real(beacon1) |
|
| beacon1_i = np.imag(beacon1) |
|