Skip to content
Snippets Groups Projects
Commit b12bab71 authored by Iliyan Malchev's avatar Iliyan Malchev
Browse files

prima: release v3.2.1.11f

    git://codeaurora.org/external/wlan/prima.git



    0d67d06 wlan: Release 3.2.1.11f
    9e3e512 prima: null check after kzalloc
    13ca4fb Ignore roam candidates with RSSI lower than lookup threshold

Signed-off-by: default avatarIliyan Malchev <malchev@google.com>
parent 41ee0273
No related branches found
No related tags found
No related merge requests found
...@@ -39,8 +39,8 @@ BRIEF DESCRIPTION: ...@@ -39,8 +39,8 @@ BRIEF DESCRIPTION:
#define QWLAN_VERSION_MAJOR 3 #define QWLAN_VERSION_MAJOR 3
#define QWLAN_VERSION_MINOR 2 #define QWLAN_VERSION_MINOR 2
#define QWLAN_VERSION_PATCH 1 #define QWLAN_VERSION_PATCH 1
#define QWLAN_VERSION_EXTRA "e" #define QWLAN_VERSION_EXTRA "f"
#define QWLAN_VERSION_BUILD 11 #define QWLAN_VERSION_BUILD 11
#define QWLAN_VERSIONSTR "3.2.1.11e" #define QWLAN_VERSIONSTR "3.2.1.11f"
#endif /* QWLAN_VERSION_H */ #endif /* QWLAN_VERSION_H */
...@@ -1048,6 +1048,19 @@ static void csrNeighborRoamProcessScanResults(tpAniSirGlobal pMac, tScanResultHa ...@@ -1048,6 +1048,19 @@ static void csrNeighborRoamProcessScanResults(tpAniSirGlobal pMac, tScanResultHa
continue; continue;
} }
/*
* If RSSI is lower than the lookup threshold, then continue.
*/
if (abs(pScanResult->BssDescriptor.rssi) >
pNeighborRoamInfo->currentNeighborLookupThreshold)
{
VOS_TRACE (VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO,
"%s: [INFOLOG] new ap rssi (%d) lower than lookup threshold (%d)\n",
__func__, (int)pScanResult->BssDescriptor.rssi * (-1),
(int)pNeighborRoamInfo->currentNeighborLookupThreshold * (-1));
continue;
}
/* This condition is to ensure to roam to an AP with better RSSI. if the value of RoamRssiDiff is Zero, this feature /* This condition is to ensure to roam to an AP with better RSSI. if the value of RoamRssiDiff is Zero, this feature
* is disabled and we continue to roam without any check*/ * is disabled and we continue to roam without any check*/
if(RoamRssiDiff > 0) if(RoamRssiDiff > 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment