add variable to define maximum number of symbols and frame complete indication

This commit is contained in:
Andre Puschmann
2015-04-10 11:19:21 +02:00
committed by Bastian Bloessl
parent dbfb65e5ab
commit f374ae415c
3 changed files with 24 additions and 12 deletions
+2 -2
View File
@@ -82,8 +82,8 @@ int general_work(int noutput, gr_vector_int& ninput_items,
// ############ INSERT MAC STUFF
tx_param tx(d_ofdm, psdu_length);
if(tx.n_sym > 120) {
std::cout << "packet too large" <<std::endl;
if(tx.n_sym > MAX_NUM_SYM) {
std::cout << "packet too large, maximum number of symbols is " << MAX_NUM_SYM << std::endl;
return 0;
}