beacons recognized, minimal gui working
[my-code/hdw-sniff.git] / main.h
diff --git a/main.h b/main.h
index e9fd872..1628c91 100644 (file)
--- a/main.h
+++ b/main.h
 #include "list.h"
 
 #define SYSCALL_MAX 32
+#define MESSAGE_MAX 64
 #define CHANNEL_MAX 13
 #define MAX_DEV_CHARS 6
 #define MAX_SYSCALL_CHARS 64
 
+#define HDW_SNIFF_MAX_WIDTH 80
+#define HDW_SNIFF_MAX_HEIGHT 8
+
 #define HOP_SEC 0
 #define HOP_USEC 200000
 
+#define GUI_OFFSET_STA 1
+#define GUI_OFFSET_SSID 19
+#define GUI_OFFSET_AP 39
+#define GUI_OFFSET_WEP 44
+#define GUI_OFFSET_MGMT 50
+#define GUI_OFFSET_CTRL 57
+#define GUI_OFFSET_DATA 64
+#define GUI_OFFSET_ACTIVE 71
+
 /* modes */
 #define MODE_MONITOR (1<<0)
 #define MODE_WLANNG (1<<1)