Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d35c3312 authored by Nandha Kishore Easwaran's avatar Nandha Kishore Easwaran Committed by Rahul Choudhary
Browse files

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
parent 0118697c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line

/* 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]
+2 −2
Original line number Diff line number Diff line

/* 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]
+2 −2
Original line number Diff line number Diff line

/* 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,  
+2 −2
Original line number Diff line number Diff line

/* 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,