utils: rename print function
This commit is contained in:
+2
-2
@@ -87,7 +87,7 @@ ofdm_param::ofdm_param(Encoding e) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ofdm_param::print_out() {
|
ofdm_param::print() {
|
||||||
std::cout << "OFDM Parameters:" << std::endl;
|
std::cout << "OFDM Parameters:" << std::endl;
|
||||||
std::cout << "endcoding :" << encoding << std::endl;
|
std::cout << "endcoding :" << encoding << std::endl;
|
||||||
std::cout << "rate_field :" << (int)rate_field << std::endl;
|
std::cout << "rate_field :" << (int)rate_field << std::endl;
|
||||||
@@ -112,7 +112,7 @@ tx_param::tx_param(ofdm_param &ofdm, int psdu_length) {
|
|||||||
n_encoded_bits = n_sym * ofdm.n_cbps;
|
n_encoded_bits = n_sym * ofdm.n_cbps;
|
||||||
}
|
}
|
||||||
void
|
void
|
||||||
tx_param::print_out() {
|
tx_param::print() {
|
||||||
std::cout << "TX Parameters:" << std::endl;
|
std::cout << "TX Parameters:" << std::endl;
|
||||||
std::cout << "psdu_size: " << psdu_size << std::endl;
|
std::cout << "psdu_size: " << psdu_size << std::endl;
|
||||||
std::cout << "n_sym: " << n_sym << std::endl;
|
std::cout << "n_sym: " << n_sym << std::endl;
|
||||||
|
|||||||
+2
-2
@@ -53,7 +53,7 @@ public:
|
|||||||
// number of data bits per OFDM symbol
|
// number of data bits per OFDM symbol
|
||||||
int n_dbps;
|
int n_dbps;
|
||||||
|
|
||||||
void print_out();
|
void print();
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -72,7 +72,7 @@ public:
|
|||||||
int n_pad;
|
int n_pad;
|
||||||
int n_encoded_bits;
|
int n_encoded_bits;
|
||||||
|
|
||||||
void print_out();
|
void print();
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user