wlan: tl: remove obsolete "WLAN_SOFTAP_FEATURE" featurization
The current driver has evolved over time from a driver that originally
only supported "station" mode. When the initial support for "Soft AP"
mode was added, the code was added with conditional compilation so
that the "Soft AP" feature could be included or excluded based upon
the target needs. Now, however, there is an expectation that all
drivers will support both "station" mode and "Soft AP" mode.
Therefore remove the conditional compilation since "Soft AP" mode code
must always be present.
CRs-fixed: 452041
Change-Id: Id51644119bfdaa6a2a9a71d2e3ea1577c4df2c0d
diff --git a/CORE/TL/src/wlan_qct_tli.h b/CORE/TL/src/wlan_qct_tli.h
index bfe8498..65a5175 100644
--- a/CORE/TL/src/wlan_qct_tli.h
+++ b/CORE/TL/src/wlan_qct_tli.h
@@ -119,12 +119,6 @@
/*Maximum number of TIDs */
#define WLAN_MAX_TID 8
-/** The define is moved to external header file to be used by HDD */
-#ifndef WLAN_SOFTAP_FEATURE
-/*Maximum number of supported stations */
-#define WLAN_MAX_STA_COUNT 5
-#endif
-
/*Offset of the OUI field inside the LLC/SNAP header*/
#define WLANTL_LLC_OUI_OFFSET 3
@@ -549,11 +543,11 @@
/*Packet pending flag - set if tx is pending for the station*/
v_U8_t ucPktPending;
-
+
/*EAPOL Packet pending flag - set if EAPOL packet is pending for the station*/
v_U8_t ucEapolPktPending;
- /*used on tx packet to signal when there is no more data to tx for the
+ /*used on tx packet to signal when there is no more data to tx for the
moment=> packets can be passed to BAL */
v_U8_t ucNoMoreData;
@@ -578,7 +572,6 @@
/*Begining of the cached packets chain*/
vos_pkt_t* vosEndCachedFrame;
-#ifdef WLAN_SOFTAP_FEATURE
/* LWM related fields */
@@ -626,7 +619,6 @@
/* Queue to keep unicast station management frame */
vos_list_t pStaManageQ;
-#endif
#ifdef ANI_CHIPSET_VOLANS
/* 1 means replay check is needed for the station,
@@ -775,7 +767,6 @@
v_BOOL_t bUrgent;
-#ifdef WLAN_SOFTAP_FEATURE
/* resource flag */
v_U32_t bd_pduResCount;
@@ -825,7 +816,6 @@
v_U8_t done_once;
v_U8_t uFramesProcThres;
-#endif
#ifdef FEATURE_WLAN_TDLS
/*number of total TDLS peers registered to TL
Incremented at WLANTL_RegisterSTAClient(staType == WLAN_STA_TDLS)
@@ -859,7 +849,7 @@
pAdapter: pointer to the global adapter context; a handle to TL's
or BAL's control block can be extracted from its context
uSize: maximum size accepted by the lower layer
- uFlowMask TX flow control mask. Each bit is defined as
+ uFlowMask TX flow control mask. Each bit is defined as
WDA_TXFlowEnumType
OUT
@@ -1328,7 +1318,7 @@
(
vos_pkt_t* vosDataBuff,
VOS_STATUS* pvosStatus,
- v_U16_t usActualHLen,
+ v_U16_t usActualHLen,
v_U8_t ucHeaderLen,
WLANTL_CbType* pTLCb,
v_U8_t ucSTAId
@@ -1631,9 +1621,8 @@
tPmcState newState
);
-#ifdef WLAN_SOFTAP_FEATURE
/*==========================================================================
- FUNCTION WLANTL_FwdPktToHDD
+ FUNCTION WLANTL_FwdPktToHDD
DESCRIPTION
Determine the Destation Station ID and route the Frame to Upper Layer
@@ -1668,5 +1657,4 @@
v_U8_t ucSTAId
);
-#endif /* #ifdef WLANTL_SOFTAP_FEATURE */
#endif /* #ifndef WLAN_QCT_TLI_H */