qcacld-3.0: save EHT in sir_convert_beacon_frame2_struct

EHT IE is stripped and decoded, but it is not returned to the caller
of sir_convert_beacon_frame2_struct.

Save it in pBeaconStruct and return the information to the caller of
sir_convert_beacon_frame2_struct.

Change-Id: I73d6957a4e275b4d7008cb3de0e3ca2ee4a5b8a3
CRs-Fixed: 3297732
This commit is contained in:
Bing Sun
2022-09-22 15:10:26 +08:00
committed by Madan Koyyalamudi
parent 5939fe53b1
commit 859027dad8

View File

@@ -5330,6 +5330,13 @@ sir_convert_beacon_frame2_struct(struct mac_context *mac,
sizeof(tDot11fIEhe_op));
}
if (pBeacon->eht_cap.present)
qdf_mem_copy(&pBeaconStruct->eht_cap, &pBeacon->eht_cap,
sizeof(tDot11fIEeht_cap));
if (pBeacon->eht_op.present)
qdf_mem_copy(&pBeaconStruct->eht_op, &pBeacon->eht_op,
sizeof(tDot11fIEeht_op));
pBeaconStruct->num_transmit_power_env = pBeacon->num_transmit_power_env;
if (pBeacon->num_transmit_power_env) {
qdf_mem_copy(pBeaconStruct->transmit_power_env,