From d1e56f90822a938ec84dcc7fa7b47cff2cdfdc93 Mon Sep 17 00:00:00 2001 From: Paul Zhang Date: Tue, 28 Nov 2017 14:16:37 +0800 Subject: [PATCH] qcacmn: Correct the structure of rsn_mdie The function util_mdie_match() will get the value of mobility_domain. Since the structure is not right, it will get the ie ID and length instead of the right value. Change-Id: I1d3d831ebf39fedc17c0f88a88d82114df9e6979 CRs-Fixed: 2147555 --- umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h b/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h index c5491a8980..e25822c680 100644 --- a/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h +++ b/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h @@ -878,11 +878,17 @@ struct wlan_tim_ie { /** * struct rsn_mdie: mobility domain IE + * @rsn_id: RSN IE id + * @rsn_len: RSN IE len * @mobility_domain: mobility domain info * @ft_capab: ft capability + * + * Reference 9.4.2.47 Mobility Domain element (MDE) of 802.11-2016 */ struct rsn_mdie { - uint8_t mobility_domain[3]; + uint8_t rsn_id; + uint8_t rsn_len; + uint8_t mobility_domain[2]; uint8_t ft_capab; } qdf_packed;