Jelajahi Sumber

qcacld-3.0: save eht_op in assoc response

There is eht_op in assoc response, save it.

Change-Id: If2765c68099f75374a7ec1c8a1660a4373ad8d11
CRs-Fixed: 3159104
Bing Sun 3 tahun lalu
induk
melakukan
3b355c6cf4
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  1. 4 0
      core/mac/src/sys/legacy/src/utils/src/parser_api.c

+ 4 - 0
core/mac/src/sys/legacy/src/utils/src/parser_api.c

@@ -3763,6 +3763,10 @@ sir_convert_assoc_resp_frame2_struct(struct mac_context *mac,
 		qdf_mem_copy(&pAssocRsp->eht_cap, &ar->eht_cap,
 			     sizeof(tDot11fIEeht_cap));
 
+	if (ar->eht_op.present)
+		qdf_mem_copy(&pAssocRsp->eht_op, &ar->eht_op,
+			     sizeof(tDot11fIEeht_op));
+
 	if (ar->he_6ghz_band_cap.present)
 		qdf_mem_copy(&pAssocRsp->he_6ghz_band_cap,
 			     &ar->he_6ghz_band_cap,