qcacld-3.0: (part-3) 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: Iee39090d50979e26eb833ddae4ae77c08d6d71b3
CRs-Fixed: 992930
diff --git a/core/mac/src/pe/lim/lim_process_message_queue.c b/core/mac/src/pe/lim/lim_process_message_queue.c
index b239c85..884b205 100644
--- a/core/mac/src/pe/lim/lim_process_message_queue.c
+++ b/core/mac/src/pe/lim/lim_process_message_queue.c
@@ -930,8 +930,7 @@
switch (fc.subType) {
case SIR_MAC_MGMT_ASSOC_REQ:
/* Make sure the role supports Association */
- if (LIM_IS_BT_AMP_AP_ROLE(psessionEntry) ||
- LIM_IS_AP_ROLE(psessionEntry))
+ if (LIM_IS_AP_ROLE(psessionEntry))
lim_process_assoc_req_frame(pMac,
pRxPacketInfo,
LIM_ASSOC,
@@ -955,8 +954,7 @@
case SIR_MAC_MGMT_REASSOC_REQ:
/* Make sure the role supports Reassociation */
- if (LIM_IS_BT_AMP_AP_ROLE(psessionEntry) ||
- LIM_IS_AP_ROLE(psessionEntry)) {
+ if (LIM_IS_AP_ROLE(psessionEntry)) {
lim_process_assoc_req_frame(pMac,
pRxPacketInfo,
LIM_REASSOC,
@@ -2145,8 +2143,6 @@
/* Added For BT-AMP Support */
if ((mac_ctx->lim.gLimSystemRole == eLIM_AP_ROLE)
- || (mac_ctx->lim.gLimSystemRole == eLIM_BT_AMP_AP_ROLE)
- || (mac_ctx->lim.gLimSystemRole == eLIM_BT_AMP_STA_ROLE)
|| (mac_ctx->lim.gLimSystemRole == eLIM_UNKNOWN_ROLE)) {
/*
* This check is required only for the AP and in 2 cases.