From 3a6ea963dcdb17dd1ef9088d628cb602b437ac1d Mon Sep 17 00:00:00 2001 From: David Brodski Date: Thu, 23 Sep 2010 11:22:44 +0000 Subject: Queues to send data should work now, fragmentation code is not finished --- src/transport/gnunet-transport-wlan-helper.c | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (limited to 'src/transport/gnunet-transport-wlan-helper.c') diff --git a/src/transport/gnunet-transport-wlan-helper.c b/src/transport/gnunet-transport-wlan-helper.c index 19ea8de79..3ea8a74f5 100644 --- a/src/transport/gnunet-transport-wlan-helper.c +++ b/src/transport/gnunet-transport-wlan-helper.c @@ -28,6 +28,7 @@ * gnunet */ #include "gnunet-transport-wlan-helper.h" +#include "plugin_transport_wlan.h" #include "ieee80211_radiotap.h" #include @@ -57,31 +58,6 @@ static const u8 u8aRatesToUse[] = { 1*2 }; -/* Penumbra IEEE80211 header */ -static const u8 u8aIeeeHeader[] = { - 0x08, 0x01, 0x00, 0x00, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0x13, 0x22, 0x33, 0x44, 0x55, 0x66, - 0x13, 0x22, 0x33, 0x44, 0x55, 0x66, - 0x10, 0x86, -}; - -/* this is the template radiotap header we send packets out with */ - -static const u8 u8aRadiotapHeader[] = { - - 0x00, 0x00, // <-- radiotap version - 0x19, 0x00, // <- radiotap header length - 0x6f, 0x08, 0x00, 0x00, // <-- bitmap - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // <-- timestamp - 0x00, // <-- flags (Offset +0x10) - 0x6c, // <-- rate (0ffset +0x11) - 0x71, 0x09, 0xc0, 0x00, // <-- channel - 0xde, // <-- antsignal - 0x00, // <-- antnoise - 0x01, // <-- antenna - -}; #define OFFSET_FLAGS 0x10 #define OFFSET_RATE 0x11 -- cgit v1.2.3