mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
qcacld-3.0: (part-1) Remove obsoleted BTAMP feature
Remove all the code written to support this feature as this feature has been obsoleted for all next gen projects. Change-Id: I0d3b929a6e521a9e1d3fe87bd109be91bfb25c9b CRs-Fixed: 992930
This commit is contained in:
parent
e18f528464
commit
005895d466
6 changed files with 1 additions and 26 deletions
|
|
@ -482,8 +482,6 @@ typedef enum eSirBssType {
|
|||
eSIR_INFRASTRUCTURE_MODE,
|
||||
eSIR_INFRA_AP_MODE, /* Added for softAP support */
|
||||
eSIR_IBSS_MODE,
|
||||
eSIR_BTAMP_STA_MODE, /* Added for BT-AMP support */
|
||||
eSIR_BTAMP_AP_MODE, /* Added for BT-AMP support */
|
||||
eSIR_AUTO_MODE,
|
||||
eSIR_DONOT_USE_BSS_TYPE = SIR_MAX_ENUM_SIZE
|
||||
} tSirBssType;
|
||||
|
|
|
|||
|
|
@ -725,8 +725,6 @@ tSirRetStatus cfg_get_capability_info(tpAniSirGlobal pMac, uint16_t *pCap,
|
|||
if (LIM_IS_IBSS_ROLE(sessionEntry))
|
||||
pCapInfo->ibss = 1; /* IBSS bit */
|
||||
else if (LIM_IS_AP_ROLE(sessionEntry) ||
|
||||
LIM_IS_BT_AMP_AP_ROLE(sessionEntry) ||
|
||||
LIM_IS_BT_AMP_STA_ROLE(sessionEntry) ||
|
||||
LIM_IS_STA_ROLE(sessionEntry))
|
||||
pCapInfo->ess = 1; /* ESS bit */
|
||||
else if (LIM_IS_P2P_DEVICE_ROLE(sessionEntry)) {
|
||||
|
|
|
|||
|
|
@ -109,21 +109,6 @@ typedef enum eSriLinkState {
|
|||
eSIR_LINK_POSTASSOC_STATE = 2,
|
||||
eSIR_LINK_AP_STATE = 3,
|
||||
eSIR_LINK_IBSS_STATE = 4,
|
||||
/* BT-AMP Case */
|
||||
eSIR_LINK_BTAMP_PREASSOC_STATE = 5,
|
||||
eSIR_LINK_BTAMP_POSTASSOC_STATE = 6,
|
||||
eSIR_LINK_BTAMP_AP_STATE = 7,
|
||||
eSIR_LINK_BTAMP_STA_STATE = 8,
|
||||
|
||||
/* Reserved for HAL internal use */
|
||||
eSIR_LINK_LEARN_STATE = 9,
|
||||
eSIR_LINK_SCAN_STATE = 10,
|
||||
eSIR_LINK_FINISH_SCAN_STATE = 11,
|
||||
eSIR_LINK_INIT_CAL_STATE = 12,
|
||||
eSIR_LINK_FINISH_CAL_STATE = 13,
|
||||
eSIR_LINK_LISTEN_STATE = 14,
|
||||
eSIR_LINK_SEND_ACTION_STATE = 15,
|
||||
eSIR_LINK_DOWN_STATE = 16,
|
||||
} tSirLinkState;
|
||||
|
||||
/* / Message queue structure used across Sirius project. */
|
||||
|
|
|
|||
|
|
@ -60,8 +60,6 @@
|
|||
#define LIM_IS_STA_ROLE(psessionEntry) (GET_LIM_SYSTEM_ROLE(psessionEntry) == eLIM_STA_ROLE)
|
||||
#define LIM_IS_IBSS_ROLE(psessionEntry) (GET_LIM_SYSTEM_ROLE(psessionEntry) == eLIM_STA_IN_IBSS_ROLE)
|
||||
#define LIM_IS_UNKNOWN_ROLE(psessionEntry) (GET_LIM_SYSTEM_ROLE(psessionEntry) == eLIM_UNKNOWN_ROLE)
|
||||
#define LIM_IS_BT_AMP_AP_ROLE(psessionEntry) (GET_LIM_SYSTEM_ROLE(psessionEntry) == eLIM_BT_AMP_AP_ROLE)
|
||||
#define LIM_IS_BT_AMP_STA_ROLE(psessionEntry) (GET_LIM_SYSTEM_ROLE(psessionEntry) == eLIM_BT_AMP_STA_ROLE)
|
||||
#define LIM_IS_P2P_DEVICE_ROLE(psessionEntry) (GET_LIM_SYSTEM_ROLE(psessionEntry) == eLIM_P2P_DEVICE_ROLE)
|
||||
#define LIM_IS_P2P_DEVICE_GO(psessionEntry) (GET_LIM_SYSTEM_ROLE(psessionEntry) == eLIM_P2P_DEVICE_GO)
|
||||
/* gLimSmeState */
|
||||
|
|
|
|||
|
|
@ -81,8 +81,6 @@ typedef enum eLimSystemRole {
|
|||
eLIM_AP_ROLE,
|
||||
eLIM_STA_IN_IBSS_ROLE,
|
||||
eLIM_STA_ROLE,
|
||||
eLIM_BT_AMP_STA_ROLE,
|
||||
eLIM_BT_AMP_AP_ROLE,
|
||||
eLIM_P2P_DEVICE_ROLE,
|
||||
eLIM_P2P_DEVICE_GO,
|
||||
eLIM_P2P_DEVICE_CLIENT
|
||||
|
|
|
|||
|
|
@ -615,10 +615,8 @@ void lim_fill_ft_session(tpAniSirGlobal pMac,
|
|||
|
||||
if (pftSessionEntry->bssType == eSIR_INFRASTRUCTURE_MODE) {
|
||||
pftSessionEntry->limSystemRole = eLIM_STA_ROLE;
|
||||
} else if (pftSessionEntry->bssType == eSIR_BTAMP_AP_MODE) {
|
||||
pftSessionEntry->limSystemRole = eLIM_BT_AMP_STA_ROLE;
|
||||
} else {
|
||||
/* Throw an error and return and make sure to delete the session. */
|
||||
/* Throw an error & return & make sure to delete the session */
|
||||
lim_log(pMac, LOGE, FL("Invalid bss type"));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue