fw-api: Changes in monitor headers to support Big endian

Use BIG endian version of mon_buf and mon_dest structures.

Change-Id: I819e8947e927042c8362a601e8a07751f85f9ccd
CRs-Fixed: 3510779
This commit is contained in:
Nandha Kishore Easwaran
2023-05-18 15:16:43 +05:30
committed by Rahul Choudhary
parent 0118697ccc
commit d35c331283
4 changed files with 8 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
/* Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. 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 above
@@ -34,7 +34,7 @@
struct mon_buffer_addr {
#ifndef WIFI_BIT_ORDER_BIG_ENDIAN
#ifndef BIG_ENDIAN_HOST
uint32_t buffer_virt_addr_31_0 : 32; // [31:0]
uint32_t buffer_virt_addr_63_32 : 32; // [31:0]
uint32_t dma_length : 12, // [11:0]

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
/* Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. 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 above
@@ -32,7 +32,7 @@
struct mon_destination_ring {
#ifndef WIFI_BIT_ORDER_BIG_ENDIAN
#ifndef BIG_ENDIAN_HOST
uint32_t stat_buf_virt_addr_31_0 : 32; // [31:0]
uint32_t stat_buf_virt_addr_63_32 : 32; // [31:0]
uint32_t ppdu_id : 32; // [31:0]

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
/* Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. 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 above
@@ -34,7 +34,7 @@
struct mon_buffer_addr {
#ifndef WIFI_BIT_ORDER_BIG_ENDIAN
#ifndef BIG_ENDIAN_HOST
uint32_t buffer_virt_addr_31_0 : 32;
uint32_t buffer_virt_addr_63_32 : 32;
uint32_t dma_length : 12,

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
/* Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. 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 above
@@ -34,7 +34,7 @@
struct mon_buffer_addr {
#ifndef WIFI_BIT_ORDER_BIG_ENDIAN
#ifndef BIG_ENDIAN_HOST
uint32_t buffer_virt_addr_31_0 : 32;
uint32_t buffer_virt_addr_63_32 : 32;
uint32_t dma_length : 12,