From cd9decb3f002fb8cc3b078f1c7ec3281a32e71ec Mon Sep 17 00:00:00 2001 From: Bala Venkatesh Date: Wed, 12 Dec 2018 17:12:35 +0530 Subject: [PATCH] qcacld-3.0: Modify the MAX_TX_PWR_CAP to 30dbm Modify the max tx power value form 22db to 30db to cover regulatory power requirements. Change-Id: Id24ed354ed364037ba0ff5dea9de9810fb255962 CRs-fixed: 2362060 --- core/cds/inc/cds_regdomain.h | 4 ++-- core/mac/src/pe/rrm/rrm_api.c | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/core/cds/inc/cds_regdomain.h b/core/cds/inc/cds_regdomain.h index 5c54829f359a..50d91f65d5a0 100644 --- a/core/cds/inc/cds_regdomain.h +++ b/core/cds/inc/cds_regdomain.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2014-2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2011, 2014-2018 The Linux Foundation. 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 @@ -65,7 +65,7 @@ #include #define MIN_TX_PWR_CAP 8 -#define MAX_TX_PWR_CAP 22 +#define MAX_TX_PWR_CAP 30 #define CTRY_DEFAULT 0 #define CTRY_FLAG 0x8000 diff --git a/core/mac/src/pe/rrm/rrm_api.c b/core/mac/src/pe/rrm/rrm_api.c index c0d48713ee70..71f778bf8548 100644 --- a/core/mac/src/pe/rrm/rrm_api.c +++ b/core/mac/src/pe/rrm/rrm_api.c @@ -43,8 +43,6 @@ #include "rrm_global.h" #include "rrm_api.h" -#define MAX_RRM_TX_PWR_CAP 22 - uint8_t rrm_get_min_of_max_tx_power(struct mac_context *mac, int8_t regMax, int8_t apTxPower)