Просмотр исходного кода

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
Paul Zhang 7 лет назад
Родитель
Сommit
d1e56f9082
1 измененных файлов с 7 добавлено и 1 удалено
  1. 7 1
      umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h

+ 7 - 1
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;