mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-29 02:38:22 -05:00
nl80211: Make full (Re)Association Response frame available
This is needed for FILS processing since AAD includes data before the first element. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
2aa1e48a45
commit
5b092fb63f
@ -4189,6 +4189,16 @@ union wpa_event_data {
|
|||||||
*/
|
*/
|
||||||
size_t resp_ies_len;
|
size_t resp_ies_len;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* resp_frame - (Re)Association Response frame
|
||||||
|
*/
|
||||||
|
const u8 *resp_frame;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* resp_frame_len - (Re)Association Response frame length
|
||||||
|
*/
|
||||||
|
size_t resp_frame_len;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* beacon_ies - Beacon or Probe Response IEs
|
* beacon_ies - Beacon or Probe Response IEs
|
||||||
*
|
*
|
||||||
|
@ -247,6 +247,8 @@ static void mlme_event_assoc(struct wpa_driver_nl80211_data *drv,
|
|||||||
os_memcpy(drv->prev_bssid, mgmt->sa, ETH_ALEN);
|
os_memcpy(drv->prev_bssid, mgmt->sa, ETH_ALEN);
|
||||||
|
|
||||||
os_memset(&event, 0, sizeof(event));
|
os_memset(&event, 0, sizeof(event));
|
||||||
|
event.assoc_info.resp_frame = frame;
|
||||||
|
event.assoc_info.resp_frame_len = len;
|
||||||
if (len > 24 + sizeof(mgmt->u.assoc_resp)) {
|
if (len > 24 + sizeof(mgmt->u.assoc_resp)) {
|
||||||
event.assoc_info.resp_ies = (u8 *) mgmt->u.assoc_resp.variable;
|
event.assoc_info.resp_ies = (u8 *) mgmt->u.assoc_resp.variable;
|
||||||
event.assoc_info.resp_ies_len =
|
event.assoc_info.resp_ies_len =
|
||||||
|
Loading…
Reference in New Issue
Block a user