From c0de18fdc6d1b5cb5940429ce40bd2a065068435 Mon Sep 17 00:00:00 2001 From: Amar Singhal Date: Wed, 12 Feb 2020 10:47:14 -0800 Subject: [PATCH] qcacmn: Fix maximum bandwidth in regulatory rules Regulatory rules cannot have maximum bandwidth more than the width of the rule. Fix this logic for six ghz regulatory rules. Change-Id: Icbd4eb95d4de54acaef0aa635c293451ba4e1987 CRs-Fixed: 2620699 --- umac/regulatory/core/src/reg_db.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/umac/regulatory/core/src/reg_db.c b/umac/regulatory/core/src/reg_db.c index 61b097053c33..827f6a1a8d54 100644 --- a/umac/regulatory/core/src/reg_db.c +++ b/umac/regulatory/core/src/reg_db.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2019 The Linux Foundation. All rights reserved. + * Copyright (c) 2017-2020 The Linux Foundation. All rights reserved. * * * Permission to use, copy, modify, and/or distribute this software for @@ -1319,8 +1319,8 @@ const struct regulatory_rule reg_rules_5g[] = { #ifdef CONFIG_BAND_6GHZ [CHAN_5935_6435_1] = {5935, 6435, 160, 18, REGULATORY_CHAN_AFC}, [CHAN_5935_6435_2] = {5935, 6435, 160, 30, REGULATORY_CHAN_AFC}, - [CHAN_6435_6535_1] = {6435, 6535, 160, 18, REGULATORY_CHAN_INDOOR_ONLY}, - [CHAN_6435_6535_2] = {6435, 6535, 160, 24, REGULATORY_CHAN_INDOOR_ONLY}, + [CHAN_6435_6535_1] = {6435, 6535, 100, 18, REGULATORY_CHAN_INDOOR_ONLY}, + [CHAN_6435_6535_2] = {6435, 6535, 100, 24, REGULATORY_CHAN_INDOOR_ONLY}, [CHAN_6535_6875_1] = {6535, 6875, 160, 18, REGULATORY_CHAN_AFC}, [CHAN_6535_6875_2] = {6535, 6875, 160, 30, REGULATORY_CHAN_AFC}, [CHAN_6875_7115_1] = {6875, 7115, 160, 18, REGULATORY_CHAN_INDOOR_ONLY},