From 5939bdbd04ad11f9e1564658c4268d53946fdc26 Mon Sep 17 00:00:00 2001 From: Matteo Cypriani Date: Mon, 24 Oct 2011 15:14:28 +0200 Subject: [PATCH] [lib] Add nb_packet & packet_id to the structures --- libowlps/owlps.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libowlps/owlps.h b/libowlps/owlps.h index b34511d..9dba6ca 100644 --- a/libowlps/owlps.h +++ b/libowlps/owlps.h @@ -67,6 +67,8 @@ typedef struct _owl_timestamp typedef struct _owl_captured_request { uint8_t type ; // Type of the captured request + uint16_t nb_packets ; // Number of packets for this request + uint16_t packet_id ; // Number of the current packet uint8_t ap_mac_addr_bytes[ETHER_ADDR_LEN] ; // MAC of the listener uint8_t mobile_mac_addr_bytes[ETHER_ADDR_LEN] ; // MAC of the mobile uint8_t mobile_ip_addr_bytes[4] ; // IP of the mobile @@ -86,6 +88,7 @@ typedef struct _owl_captured_request typedef struct _owl_request { uint8_t type ; // Type of the request + uint16_t nb_packets ; // Number of packets sent for this request uint8_t mobile_mac_addr_bytes[ETHER_ADDR_LEN] ; // MAC of the mobile owl_timestamp request_time ; // Timestamp on the mobile uint16_t nb_info ; // Number of owl_request_info @@ -102,6 +105,7 @@ typedef struct _owl_request * signal strength */ typedef struct _owl_request_info { + uint16_t packet_id ; // Number of the current packet uint8_t ap_mac_addr_bytes[ETHER_ADDR_LEN] ; // MAC of the listener uint8_t ss_dbm ; // Signal strength measured by the listener (dBm) } owl_request_info ;