@@ -228,6 +228,7 @@ static void mesh_mpm_send_plink_action(struct wpa_supplicant *wpa_s,
2 + /* AID */
2 + 8 + /* supported rates */
2 + (32 - 8) +
+ conf->ie_len + /* RSN IE */
2 + 32 + /* mesh ID */
2 + 7 + /* mesh config */
2 + 23 + /* peering management */
@@ -262,6 +263,9 @@ static void mesh_mpm_send_plink_action(struct wpa_supplicant *wpa_s,
pos = hostapd_eid_ext_supp_rates(bss, pos);
wpabuf_put_data(buf, supp_rates, pos - supp_rates);
+ /* IE: RSN IE */
+ wpabuf_put_data(buf, conf->ies, conf->ie_len);
+
/* IE: Mesh ID */
wpabuf_put_u8(buf, WLAN_EID_MESH_ID);
wpabuf_put_u8(buf, conf->meshid_len);
The RSN IE is required by spec[1] on SAE use case. [1] Table 8-262—Mesh Peering Open frame Action field format [1] Table 8-263—Mesh Peering Confirm frame Action field format This patch inserts the RSN IE to them. [1] IEEE Std 802.11 2012 Signed-off-by: Masashi Honma <masashi.honma@gmail.com> --- wpa_supplicant/mesh_mpm.c | 4 ++++ 1 file changed, 4 insertions(+)