<div dir="ltr"><div style>The problem seems to be this:</div><div style><br></div><div style>When wpa_ft_action_rx() is called from handle_action() in src/ap/ieee802_11.c the received action frame contents are as expected and correctly parsed:</div>
<div>06 01 00 15 6d 84 6b f4 f8 d1 11 15 72 f3 30 26 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 04 00 00 01 00 9e 95 f1 cc 83 33 c5 4f 79 40 3d 55 e6 07 25 0e 36 03 a1 b2 01 37 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 24 1d 99 d5 3c be cb 36 90 41 49 6d 64 c7 5f cc b1 29 85 d8 e7 8e c3 e2 ea 98 d6 23 73 ca 62 03 11 6d 65 73 68 6e 6f 64 65 6e 67 2e 61 76 69 67 6c 65</div>
<div><br></div><div style>But when wpa_ft_action_rx() is called from hostapd_action_rx() in src/ap/drv_callbacks.c the received action frame contents are missing the frame category and is causing the mentioned "<span style="font-family:arial,sans-serif;font-size:13px">FT: Mismatch in FT Action...":</span></div>
<div><div>01 00 15 6d 84 6b f4 f8 d1 11 15 72 f3 30 26 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 04 00 00 01 00 9e 95 f1 cc 83 33 c5 4f 79 40 3d 55 e6 07 25 0e 36 03 a1 b2 01 37 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 24 1d 99 d5 3c be cb 36 90 41 49 6d 64 c7 5f cc b1 29 85 d8 e7 8e c3 e2 ea 98 d6 23 73 ca 62 03 11 6d 65 73 68 6e 6f 64 65 6e 67 2e 61 76 69 67 6c 65</div>
</div><div><br></div><div style>What could be causing this?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/1/17 Kai Scharwies <span dir="ltr"><<a href="mailto:kai@scharwies.de" target="_blank">kai@scharwies.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello everybody,<div><br></div><div>while experimenting with 802.11r functionality of wpa_supplicant/hostapd I tried roaming between to APs (configured with FT-PSK) using the command "ft_ds f8:d1:11:15:de:d0" in wpa_cli.</div>
<div><br></div><div>In the hostapd log of one of the APs it says this:</div><div><br></div><div><div>1358436032.545729: hostapd_action_rx: FT_ACTION length 157</div><div>1358436032.545736: FT: Received FT Action frame (STA=15:6d:84:6b:f4:f8 Target AP=d1:11:15:de:d0:30 Action=0)</div>
<div>1358436032.545750: FT: Mismatch in FT Action STA address: STA=00:15:6d:84:6b:f4 STA-Address=15:6d:84:6b:f4:f8</div><div>1358436032.552326: FT: RRB received packet f8:d1:11:15:de:d0 -> f8:d1:11:15:72:f3</div><div>
<br>
</div><div>In my opinion either wpa_supplicant inserts the mac addresses at the wrong position of the action frame, or hostapd parses the received frame incorrectly, because you can see a "shift" in the mac adresses' output:</div>
<div><br></div><div>d1:11:15:de:d0:30 should really be f8:d1:11:15:de:d0<br></div><div>and</div><div>15:6d:84:6b:f4:f8 should really be 00:15:6d:84:6b:f4<br></div><div><br></div><div>Can anyone confirm my suspicion?</div>
<div><br></div><div>Best regards,</div><div>Kai</div></div></div>
</blockquote></div><br></div>