clean up wireshark traces

This commit is contained in:
laurent
2019-10-08 16:04:10 +02:00
parent b7908ec25d
commit 445cf84e94
14 changed files with 24 additions and 159 deletions
+4 -2
View File
@@ -111,7 +111,10 @@ typedef enum radio_type_e {
* function def
*/
void trace_pdu(int direction, uint8_t *pdu_buffer, unsigned int pdu_buffer_size,
extern int opt_enabled;
#define trace_pdu(x...) if (opt_enabled) trace_pdu_implementation(x)
void trace_pdu_implementation(int direction, uint8_t *pdu_buffer, unsigned int pdu_buffer_size,
int ueid, int rntiType, int rnti, uint16_t sysFrame, uint8_t subframe,
int oob_event, int oob_event_value);
@@ -119,7 +122,6 @@ int init_opt(void);
void terminate_opt(void);
extern int opt_enabled;
//double *timing_analyzer(int index, int direction );
#endif /* OPT_H_ */