Procházet zdrojové kódy

qcacmn: Fix frequency offset signedness in channel marking logic

Change frequency offset to signed, as offset is negative if
radar found in lower frequency compared to center frequency.

Change-Id: Ic33411e5638684c4aacbb424eddc19827ef5e60e
CRs-Fixed: 2017481
Arif Hussain před 8 roky
rodič
revize
63acfd2b2e
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      umac/dfs/core/src/dfs_process_radar_found_ind.h

+ 2 - 2
umac/dfs/core/src/dfs_process_radar_found_ind.h

@@ -76,8 +76,8 @@
  */
 struct freqs_offsets {
 	uint32_t  chan_num[DFS_NUM_FREQ_OFFSET];
-	int32_t freq[DFS_NUM_FREQ_OFFSET];
-	uint32_t offset[DFS_NUM_FREQ_OFFSET];
+	uint32_t freq[DFS_NUM_FREQ_OFFSET];
+	int32_t offset[DFS_NUM_FREQ_OFFSET];
 };
 
 /**