Ejemplo n.º 1
0
def insert_preamble(length, N_sym, role=None):
	ftw_preamble= [list(fft_preamble)]
        if role == 'A':
	    preamble = ftw.pnc_ofdm_preamble(length, N_sym, ftw_preamble, 1)
        elif role == 'B':
	    preamble = ftw.pnc_ofdm_preamble(length, N_sym, ftw_preamble, 2)
        else:
	    preamble = ftw.ofdm_preamble(length, N_sym, ftw_preamble)

	return preamble 
Ejemplo n.º 2
0
def insert_preamble(length, N_sym, role=None):
    ftw_preamble = [list(fft_preamble)]
    if role == 'A':
        preamble = ftw.pnc_ofdm_preamble(length, N_sym, ftw_preamble, 1)
    elif role == 'B':
        preamble = ftw.pnc_ofdm_preamble(length, N_sym, ftw_preamble, 2)
    else:
        preamble = ftw.ofdm_preamble(length, N_sym, ftw_preamble)

    return preamble
def insert_preamble(length, N_sym):
	ftw_preamble= [list(fft_preamble)]
	preamble = ftw.ofdm_preamble(length, N_sym, ftw_preamble)
	return preamble