summaryrefslogtreecommitdiff
path: root/umac
diff options
context:
space:
mode:
authorShashikala Prabhu <pshashik@codeaurora.org>2018-02-26 10:15:04 +0530
committersnandini <snandini@codeaurora.org>2018-02-26 21:44:50 -0800
commit249ddc70eb88af60145369e6ac0e07d2f573bd96 (patch)
tree9cd6af0231b5007b3c501d0a79eb798449a679ce /umac
parente8d9e209a8db140669ea4d740ec8d8707c518eb7 (diff)
downloadqca-wfi-host-cmn-249ddc70eb88af60145369e6ac0e07d2f573bd96.tar.gz
qcacmn: Fix radar detection failure for 11A mode
AP does not add the RADAR found channels to NOL when user configures the AP in 11A mode. This is because, dfs_get_bonding_channels() returns the number of bonding channels as 0 for 11A mode. Hence, the radar detected channel are not added to NOL. Add change to get bonding channels for 11A mode. Change-Id: I88db7f1241c5915021071e9caa1cfb8b7fa94c7f CRs-Fixed: 2195597
Diffstat (limited to 'umac')
-rw-r--r--umac/dfs/core/src/dfs_channel.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/umac/dfs/core/src/dfs_channel.h b/umac/dfs/core/src/dfs_channel.h
index 8a44a6204..cb5a636c2 100644
--- a/umac/dfs/core/src/dfs_channel.h
+++ b/umac/dfs/core/src/dfs_channel.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2016-2018 The Linux Foundation. All rights reserved.
* Copyright (c) 2008 Atheros Communications, Inc.
*
* Permission to use, copy, modify, and/or distribute this software for
@@ -266,7 +266,8 @@
((struct dfs_channel *) WLAN_CHAN_ANY)
#define WLAN_IS_CHAN_MODE_20(_c) \
- (WLAN_IS_CHAN_11NA_HT20(_c) || \
+ (WLAN_IS_CHAN_A(_c) || \
+ WLAN_IS_CHAN_11NA_HT20(_c) || \
WLAN_IS_CHAN_11AC_VHT20(_c) || \
WLAN_IS_CHAN_11AXA_HE20(_c))