//#include "radiotap.h"
-// broadcast mac
-static const char macbc[] = "13223344";
-
// mac of this node
-char mac[] = "13223355";
+char mac[] =
+ { 0x13, 0x22, 0x33, 0x44, 0x55, 0x66 };
/* wifi bitrate to use in 500kHz units */
struct pcap_pkthdr * ppcapPacketHeader = NULL;
struct ieee80211_radiotap_iterator rti;
PENUMBRA_RADIOTAP_DATA prd;
+ //init of the values
+ prd.m_nRate = 255;
+ prd.m_nChannel = 255;
+ prd.m_nAntenna = 255;
+ prd.m_nRadiotapFlags = 255;
u8 * pu8Payload = u8aSendBuffer;
int n, nRate;