Explorar el Código

qcacmn: Update the cfr_metadata_len of cfr header

Update the cfr_metadata_len of cfr header

Change-Id: I85f0d4c1637b93608cebb77d6e8ea41b3d1cb713
Shwetha G K hace 4 años
padre
commit
d11c7baf48
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      umac/cfr/dispatcher/src/wlan_cfr_ucfg_api.c

+ 2 - 2
umac/cfr/dispatcher/src/wlan_cfr_ucfg_api.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2019-2020 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2019-2021 The Linux Foundation. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -424,7 +424,7 @@ void ucfg_cfr_capture_data(struct wlan_objmgr_psoc *psoc, uint32_t vdev_id,
 	hdr->cfr_data_version       = CFR_DATA_VERSION_1;
 	hdr->chip_type              = CFR_CAPTURE_RADIO_ADRASTEA;
 	hdr->pltform_type           = CFR_PLATFORM_TYPE_ARM;
-	hdr->Reserved               = 0;
+	hdr->cfr_metadata_len       = sizeof(struct cfr_metadata_version_1);
 
 	vaddr = pcfr->cfr_mem_chunk.vaddr;
 	rindex = (u32 *)vaddr;