浏览代码

qcacmn: Increase the Spectral payload size

Increase the Spectral payload size to account for
FFT size 11.

CRs-Fixed: 3073239
Change-Id: I5c6db642267a96cbc535bf6842c8f9ac90b1a335
Edayilliam Jayadev 3 年之前
父节点
当前提交
aaf4382daf
共有 2 个文件被更改,包括 2 次插入3 次删除
  1. 1 2
      os_if/linux/spectral/inc/os_if_spectral_netlink.h
  2. 1 1
      spectral/dispatcher/inc/spectral_ioctl.h

+ 1 - 2
os_if/linux/spectral/inc/os_if_spectral_netlink.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011, 2017-2020 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2011, 2017-2021 The Linux Foundation. All rights reserved.
  *
  *
  * Permission to use, copy, modify, and/or distribute this software for
@@ -37,7 +37,6 @@ void os_if_spectral_nl_data_ready(struct sk_buff *skb);
 #ifndef SPECTRAL_NETLINK
 #define SPECTRAL_NETLINK              (NETLINK_GENERIC + 1)
 #endif
-#define MAX_SPECTRAL_PAYLOAD         (2004)
 
 /* Init's network namespace */
 extern struct net init_net;

+ 1 - 1
spectral/dispatcher/inc/spectral_ioctl.h

@@ -408,7 +408,7 @@ struct spectral_caps {
 #define SPECTRAL_MAC_ADDR_SIZE        (6)
 #define MAX_NUM_FREQ_SPANS            (3)
 #define MAX_NUM_DETECTORS             (2)
-#define MAX_SPECTRAL_PAYLOAD          (2004)
+#define MAX_SPECTRAL_PAYLOAD          (3028)
 
 /**
  * enum dcs_int_type - Interference type indicated by DCS