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

Commit d7f6493b authored by Jianmin Zhu's avatar Jianmin Zhu Committed by Mohammed Siddiq
Browse files

cnss_utils: Increase unsafe channel max num for 6G



2G+5G+6G, total channel num is 157 until now, increase unsafe channel max
num to avoid out of buffer.

Change-Id: I1e433c0bd88290bb5493b2c4b0bda86e17b04a01
CRs-Fixed: 2752689
Signed-off-by: default avatarJianmin Zhu <jianminz@codeaurora.org>
Signed-off-by: default avatarMohammed Siddiq <msiddiq@codeaurora.org>
parent 7c5403b4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2017, 2019 The Linux Foundation. All rights reserved. */
/* Copyright (c) 2017, 2021 The Linux Foundation. All rights reserved. */

#define pr_fmt(fmt) "cnss_utils: " fmt

@@ -10,7 +10,7 @@
#include <linux/debugfs.h>
#include <net/cnss_utils.h>

#define CNSS_MAX_CH_NUM 45
#define CNSS_MAX_CH_NUM 157
struct cnss_unsafe_channel_list {
	u16 unsafe_ch_count;
	u16 unsafe_ch_list[CNSS_MAX_CH_NUM];