[lib] Add nb_packet & packet_id to the structures
This commit is contained in:
parent
ca249457be
commit
5939bdbd04
|
@ -67,6 +67,8 @@ typedef struct _owl_timestamp
|
||||||
typedef struct _owl_captured_request
|
typedef struct _owl_captured_request
|
||||||
{
|
{
|
||||||
uint8_t type ; // Type of the 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 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_mac_addr_bytes[ETHER_ADDR_LEN] ; // MAC of the mobile
|
||||||
uint8_t mobile_ip_addr_bytes[4] ; // IP 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
|
typedef struct _owl_request
|
||||||
{
|
{
|
||||||
uint8_t type ; // Type of the 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
|
uint8_t mobile_mac_addr_bytes[ETHER_ADDR_LEN] ; // MAC of the mobile
|
||||||
owl_timestamp request_time ; // Timestamp on the mobile
|
owl_timestamp request_time ; // Timestamp on the mobile
|
||||||
uint16_t nb_info ; // Number of owl_request_info
|
uint16_t nb_info ; // Number of owl_request_info
|
||||||
|
@ -102,6 +105,7 @@ typedef struct _owl_request
|
||||||
* signal strength */
|
* signal strength */
|
||||||
typedef struct _owl_request_info
|
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 ap_mac_addr_bytes[ETHER_ADDR_LEN] ; // MAC of the listener
|
||||||
uint8_t ss_dbm ; // Signal strength measured by the listener (dBm)
|
uint8_t ss_dbm ; // Signal strength measured by the listener (dBm)
|
||||||
} owl_request_info ;
|
} owl_request_info ;
|
||||||
|
|
Loading…
Reference in New Issue