wifi_send_pkt_freedom and 802.11 Timestamps

AgentSmithers
Posts: 123
Joined: Sat Apr 01, 2017 1:21 am
Contact:

wifi_send_pkt_freedom and 802.11 Timestamps

Postby AgentSmithers » Sat Feb 10, 2018 2:52 pm

Code: Select all

uint8_t SSIDpacket[] =
   {
         0x80, 0x00, //frame control - indicating a beacon frame
         0x00, 0x00, //duration - will be overwritten by ESP8266
                /*4*/   0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //DA - destination address, broadcast in this case
                /*10*/  0x01, 0x02, 0x03, 0x04, 0x05, 0x06, //SA - source address, will be overwritten later
                /*16*/  0x01, 0x02, 0x03, 0x04, 0x05, 0x06, //BSSID - same as SA in this case, will be overwritten later
                /*22*/  0xc0, 0x6c, //Sequence Number
                /*24*/  0x83, 0x51, 0xf7, 0x8f, 0x0f, 0x00, 0x00, 0x00, //TimeStamp
                /*32*/  0x64, 0x00, //BeconInterval
                /*34*/  0x01, 0x04, //Capability
                /* SSID */
                /*36*/  0x00, //ElementID = SSID
         0x06, //Len is 6 bytes
         0x72, 0x72, 0x72, 0x72, 0x72, 0x72, //All "F" SSID
                        0x01, //ID meaning Supported rates
         0x08, //length
         0x82, 0x84, 0x8b, 0x96, 0x24, 0x30, 0x48, 0x6c, //Supported rates
         0x03, //Channel Option
         0x01, //Channel Len 1
                /*56*/  0x01, //Channel
   };


Anyone know why my Timestamp is being overwritten? I assume SendPacketFreedom does this on 0x80, 0x00 Management packets?
Attachments
2018-02-09_2251.png

AgentSmithers
Posts: 123
Joined: Sat Apr 01, 2017 1:21 am
Contact:

Re: wifi_send_pkt_freedom and 802.11 Timestamps

Postby AgentSmithers » Sun Feb 18, 2018 2:04 pm

*Bump* Anyone?

Her Majesty
Posts: 337
Joined: Mon Oct 27, 2014 11:09 am

Re: wifi_send_pkt_freedom and 802.11 Timestamps

Postby Her Majesty » Sat Feb 24, 2018 3:19 pm

Do you capture a wrong packet?
The packet in your picture seems not corresponding to your source code.
In your code, the SSID is

Code: Select all

0x72, 0x72, 0x72, 0x72, 0x72, 0x72
.
But in your picture, the SSID is "testing".

Who is online

Users browsing this forum: No registered users and 16 guests