wlan: Fix RSSI for the beacon received in adjacent channnel

Due to Rx sensitivity issue, sometime beacons are seen on adjacent
channel so workaround in software is needed. If DS params or HT
info are present driver can get proper channel info from these IEs
and the older RSSI values are used in new entry.

For the cases where DS params and HT info is not present, driver
needs to check below conditions to update proper channel so that the
older RSSI and channel values are used in new entry:
   -- The old entry channel and new entry channel are not same
   -- RSSI is below 15db or more from old value, this indicate
      that the signal has leaked in adjacent channel

Change-Id: Ie9dc26f938b58b0c5d071ce4f2ba02b8e7fd4f60
CRs-Fixed: 2263953
diff --git a/CORE/MAC/inc/sirApi.h b/CORE/MAC/inc/sirApi.h
index 2e8a8ef..ede8406 100644
--- a/CORE/MAC/inc/sirApi.h
+++ b/CORE/MAC/inc/sirApi.h
@@ -92,6 +92,11 @@
 #define SIR_MAX_24G_5G_CHANNEL_RANGE      166
 #define SIR_BCN_REPORT_MAX_BSS_DESC       4
 
+/*
+ * RSSI diff threshold to fix rssi and channel in beacon for the cases where
+ * DS params and HT info is not present.
+ */
+#define SIR_ADJACENT_CHANNEL_RSSI_DIFF_THRESHOLD 15
 
 #ifdef FEATURE_WLAN_BATCH_SCAN
 #define SIR_MAX_SSID_SIZE (32)