Commit Graph

14173 Commits

Author SHA1 Message Date
Jeff Johnson
473f76a260 qcacld-3.0: Remove TDLS_STA_INDEX_VALID
Change I8ba344ce5593df44bd15527e2ff68e872b6d23b8 ("qcacld-3.0: TDLS:
remove legacy core functions") removed all uses of macro
TDLS_STA_INDEX_VALID. Since it is now unused, remove it.

Change-Id: Iefec2b4565f4a387778ccd5a4ed7e0d9eb9b732e
CRs-Fixed: 2375416
2019-01-07 08:46:46 -08:00
Jeff Johnson
303ebc0bf2 qcacld-3.0: Remove WLAN_WAIT_TIME_APF_GET_CAPS
Change Ic72243b918f4a8385a92b803a1ca3c5305423b52 ("qcacld-3.0: Add
support for Android Packet Filter v3") introduced macro
WLAN_WAIT_TIME_APF_GET_CAPS, but didn't actually introduce any code
that uses it. Since it is unused, remove it.

Change-Id: Iad513163ee32ea542b5f1ba22ec349385cfe9457
CRs-Fixed: 2374850
2019-01-07 08:46:41 -08:00
Jeff Johnson
3f9520131d qcacld-3.0: Remove QCSAP_IOCTL_CLR_STATS
The QCSAP_IOCTL_CLR_STATS ioctl is no longer supported, so remove the
associated macro.

Change-Id: Icc7462005c3ce97833c7309a70f51cf54722660f
CRs-Fixed: 2374849
2019-01-07 08:46:35 -08:00
Jeff Johnson
783ef375c5 qcacld-3.0: Remove CDS_SCHED_THREAD_HEART_BEAT
Macro CDS_SCHED_THREAD_HEART_BEAT is unused, so remove it.

Change-Id: I28a2aa8117e5f9bacd20aadc086103f40585e922
CRs-Fixed: 2374848
2019-01-07 08:46:30 -08:00
Jeff Johnson
103e4fb219 qcacld-3.0: Remove WMA_NVDownload_Start()
Macro WMA_NVDownload_Start() is obsolete, so remove it.

Change-Id: Iabdf9cd343a36dca78c527a45aa80338c1b43057
CRs-Fixed: 2374847
2019-01-07 08:46:25 -08:00
nshrivas
e28d11f057 Release 5.2.0.114R
Release 5.2.0.114R

Change-Id: I860cded92a1a22cab34d6e46475d052c3bafebbe
CRs-Fixed: 774533
2019-01-07 00:12:23 -08:00
Jeff Johnson
150d961938 qcacld-3.0: Remove typedef tBeaconFilterMsg
Change Id235d6303ce7c740f907147afc7248d833772067 ("qcacld-3.0:
Cleanup eWNI_SME_SET_BCN_FILTER_REQ") removed the usage of typedef
tBeaconFilterMsg, but didn't actually remove the obsolete typedef,
so remove it now.

Change-Id: Id7a24e18a6aa4fb7cfa6747f264bd3e6eeaa1ad8
CRs-Fixed: 2374845
2019-01-07 00:12:23 -08:00
Jeff Johnson
e1eb7480f7 qcacld-3.0: Remove MHF fields from t_wma_handle
The enable_mhf_offload and last_mhf_entries_timestamp fields of
t_wma_handle are unused, so remove them.

Change-Id: If07fa52f93caa0c2f2bb191603c6a96830dad469
CRs-Fixed: 2374844
2019-01-07 00:12:11 -08:00
Jeff Johnson
970bea4b53 qcacld-3.0: Remove typedef uapsd_start_indication_cb
Change Ie891eddad2b536e43f5f933c8683d41b096bf578 ("qcacld-3.0: Remove
obsolete code in SME QOS module") removed the only references to
typedef uapsd_start_indication_cb. Since it is obsolete, remove it.

Change-Id: I940608cf59b4f9f5f68cffb68b9ee45606461ded
CRs-Fixed: 2374843
2019-01-07 00:12:00 -08:00
Jeff Johnson
7e6e127ce7 qcacld-3.0: Remove DISA fields from tSmeStruct
Change Ia44acd9a3e31bf0d1098f7d423f0c28a2b7fe5fa ("qcacld-3.0: Cleanup
WMA and SME code related to DISA") removed the SME DISA code, but it
left behind the encrypt_decrypt_cb and encrypt_decrypt_context fields
in tSmeStruct. Since these are now obsolete, remove them, along with
their underlying type definitions.

Change-Id: I7bf5d737b89cc9604310b7c18c510f42f73ec971
CRs-Fixed: 2374842
2019-01-07 00:11:49 -08:00
Jeff Johnson
30e9bb6508 qcacld-3.0: Remove wlan_hdd_check_custom_con_channel_rules()
Change I6cb9fe12bee3702556c9b52e7ccb7c69c762d8de ("qcacld-3.0: Remove
legacy code for policy manager restructuring") removed the client of
wlan_hdd_check_custom_con_channel_rules(). Since this is no longer
used, remove it.

Change-Id: I2e43eec1f2ee7a7916630b1099cf7de000a06a6a
CRs-Fixed: 2374841
2019-01-07 00:11:38 -08:00
Jeff Johnson
fd692ff77f qcacld-3.0: Remove csr_roamGetConcurrencyConnectStatusForBmps()
Function csr_roamGetConcurrencyConnectStatusForBmps() no longer
exists, but the prototype is still present. Since it is obsolete,
remove it.

Change-Id: I6e1f0206957a828a1041659e7d5f3ac9e97dc843
CRs-Fixed: 2374840
2019-01-07 00:11:26 -08:00
Jeff Johnson
d2ce414147 qcacld-3.0: Remove sme_ConfigureAppsCpuWakeupState()
Function sme_ConfigureAppsCpuWakeupState() no longer exists, but the
prototype is still present. Since it is obsolete, remove it.

Change-Id: I91c26c2e3ec67c61ff55efbf24b2716e3ff35675
CRs-Fixed: 2374839
2019-01-07 00:11:15 -08:00
Jeff Johnson
db6f33dc0e qcacld-3.0: Remove csr_get_phy_mode_from_bssDesc()
Function csr_get_phy_mode_from_bssDesc() no longer exists, but the
prototype is still present. Since it is obsolete, remove it.

Change-Id: Ib5a37e0468d3f6f2f5ed862c99d508aadb3afda0
CRs-Fixed: 2374838
2019-01-07 00:11:05 -08:00
Jeff Johnson
d5f34f8623 qcacld-3.0: Remove macro CSR_IS_11D_INFO_FOUND
Macro CSR_IS_11D_INFO_FOUND is unused, so remove it.

Change-Id: I8e5ff1f935fd4486144aeea588e1e2dee3920020
CRs-Fixed: 2374837
2019-01-07 00:10:56 -08:00
Jeff Johnson
0ad556031c qcacld-3.0: Remove unused channel fields from csr_roamstruct
The following channel-related fields in struct csr_roamstruct are
unused, so remove them:
- baseChannels
- channelList24
- channelList5G
- numChannelsEeprom

Change-Id: Ia44e386496e36ba15bcb1c39c6190d0331603903
CRs-Fixed: 2374836
2019-01-07 00:10:45 -08:00
Jeff Johnson
2f98db3eb2 qcacld-3.0: Remove enum csr_hi_rssi_scan_id
Change I7994a9038d5bd094ce23bcd525ef8f5282974bfc ("qcacld-3.0: Apply
second part of LFR INIs changes") removed the logic that utilized the
csr_hi_rssi_scan_id enumerations. Since these are now unused, remove
the definition.

Change-Id: Ia72aabdfa672c8012f952967c7f67b1bc8024514
CRs-Fixed: 2374835
2019-01-07 00:10:36 -08:00
Jeff Johnson
676dacfbb9 qcacld-3.0: Remove SapAllChnlList from struct sap_context
Change Ia0fa016b174ef4b50e2cc339e4e476ec65642dbf ("qcacld-3.0: Use dfs
component support") removed the logic that utilized the SapAllChnlList
in struct sap_context. Since this field is now obsolete, remove it,
along with the underlying tAll5GChannelList typedef that is also now
obsolete.

Change-Id: I5a07c44ca4138af5494d1a6f6e1d08158d244be2
CRs-Fixed: 2374834
2019-01-07 00:10:27 -08:00
Jeff Johnson
e0b7effe1e qcacld-3.0: Remove macro ANI_EAPOL_KEY_RSN_NONCE_SIZE
Macro ANI_EAPOL_KEY_RSN_NONCE_SIZE is obsolete, so remove it.

Change-Id: Id9107d513f8c4ebe42e7dc6b6ee19d2e09fd7748
CRs-Fixed: 2374833
2019-01-07 00:10:18 -08:00
Jeff Johnson
534dc7f16b qcacld-3.0: Remove typedef tSapChSelParams
Typedef tSapChSelParams is unused, so remove it.

Change-Id: I13f55881c75454125b1fbc6be741e4f164c51782
CRs-Fixed: 2374832
2019-01-07 00:10:08 -08:00
Jeff Johnson
b3a9c6cfc7 qcacld-3.0: Remove ap_table fields from struct sap_config
The ap_table_max_size and ap_table_expiration_time fields in struct
sap_config are unused, so remove them.

Change-Id: I24aabe78b0da45c3dde19b444f94222eb874477d
CRs-Fixed: 2374831
2019-01-07 00:09:59 -08:00
Jeff Johnson
c3f76aa289 qcacld-3.0: Remove obsolete sys*Entry() prototypes
The following prototypes are obsolete, so remove them:
- sysBbtEntry()
- sysDphEntry()
- sysHalEntry()
- sysLimEntry()
- sysMmhEntry()
- sysMntEntry()
- sysNimPttEntry()
- sysPmmEntry()
- sysSchEntry()

Change-Id: I7bdfa157e8a7bd1c73e5358715b862a600ef6eae
CRs-Fixed: 2374830
2019-01-07 00:09:50 -08:00
Jeff Johnson
81575a6cf8 qcacld-3.0: Remove struct ndp_peer_node
Change I12a1d0cf37db22ff0bcb8165cb3f6b3847f8bf5b ("qcacld-3.0: Add
interface changes for supporting NAN data path") introduced struct
ndp_peer_node, but did not actually add code which uses it. Since
this struct is unused, remove it.

Change-Id: I36b333287de19e42855a596d25ba489e9cfb3241
CRs-Fixed: 2374293
2019-01-07 00:09:37 -08:00
Jeff Johnson
b485f7ba5e qcacld-3.0: Remove lim_handle_ndp_event_message()
Change I5828002d2363e01f63b0a643a0c59abd52bc4f19 ("qcacld-3.0:
NAN datapath cleanup") removed all code that called
lim_handle_ndp_event_message(), but inexplicably left behind an
inline stub function. Since the stub is unused, remove it.

Change-Id: I283c5e4ad8f285fc0452d8efbdc77960e420cf0b
CRs-Fixed: 2374292
2019-01-07 00:09:28 -08:00
Jeff Johnson
c18472319f qcacld-3.0: Remove obsolete limGetBssidFromPkt() prototype
LIM exposes a prototype for limGetBssidFromPkt(), but the actual
function no longer exists. Since this is an obsolete prototype,
remove it.

Change-Id: Idef628f4de18d4b4cc9a12c1cfb184eb2eadfdf1
CRs-Fixed: 2374291
2019-01-07 00:09:20 -08:00
Jeff Johnson
275af47102 qcacld-3.0: Remove obsolete limWPSPBCTimeout() prototype
LIM exposes a prototype for limWPSPBCTimeout(), but the actual
function no longer exists. Since this is an obsolete prototype,
remove it.

Change-Id: I31cbeae9dfa9fb561506bbd5ca16771ec9c566d8
CRs-Fixed: 2374290
2019-01-07 00:09:12 -08:00
Jeff Johnson
05b9d757f1 qcacld-3.0: Remove obsolete "Pre-n" PropIE support
The driver contains remnant support for Proprietary IEs that were
inherited from the original "Pre-n" version of the driver.  Since
these IEs are no longer parsed or used, remove all references to them.

Change-Id: Iac7c3176682ce0054b7f06827fa6b6ec7be1e6a5
CRs-Fixed: 2374289
2019-01-07 00:09:04 -08:00
Jeff Johnson
11b3aa5643 qcacld-3.0: Remove tSirExtScanGetCachedResultsRspParams
Typedef tSirExtScanGetCachedResultsRspParams is unused, so remove it.

Change-Id: Id6859f454258b547ce54c315772ce99458430f4d
CRs-Fixed: 2374288
2019-01-07 00:08:56 -08:00
Jeff Johnson
8bab82b473 qcacld-3.0: Remove obsolete packet filtering structs
The following legacy packet filtering structs are obsolete,
so remove them:
- tSirRcvFltPktMatchCnt
- tSirRcvFltPktMatchRsp
- tSirRcvFltPktClearParam

Change-Id: Idb4d38d498a9c618f41d35cadfc54332b435d400
CRs-Fixed: 2374287
2019-01-07 00:08:48 -08:00
Jeff Johnson
1273c955c5 qcacld-3.0: Remove unused/obsolete byte swap APIs
There are a large number of legacy byte swap APIs in utils_api.h that
are unused, so remove them.

Change-Id: I1adbb82820e4b325ed2843a87a201250978ce04c
CRs-Fixed: 2374286
2019-01-07 00:08:41 -08:00
Jeff Johnson
8a4154bb5d qcacld-3.0: Remove tSirMbMsgP2p
Change I71de90d5fb88462e52148a434d43ea80c41cfe36 ("qcacld-3.0: Move
Channel convert and frame indication logic to lim_utils.c") removed
the last reference to typedef tSirMbMsgP2p. Since it is obsolete,
remove it.

Change-Id: I009aa479ffddeceebb3bd26af5ae48c32a43240c
CRs-Fixed: 2374285
2019-01-07 00:08:34 -08:00
Jeff Johnson
8e2c97965c qcacld-3.0: Remove burstEnableForce from tDphHashNode
Field burstEnableForce in tDphHashNode is unused, so remove it.

Change-Id: I6661c5befa2a537ec62b041c144bc7fbc01420a6
CRs-Fixed: 2374284
2019-01-07 00:08:27 -08:00
Jeff Johnson
eca21795b8 qcacld-3.0: Remove tCfgPerStaStatStruct
Typedef tCfgPerStaStatStruct is obsolete, so remove it.

Change-Id: I1a024dc706f5604a951f473d94a3d03664226a13
CRs-Fixed: 2374283
2019-01-07 00:08:20 -08:00
Jeff Johnson
16cb64e1fe qcacld-3.0: Remove tSirBackgroundScanMode
Change Ia664f815759142e7f4ad8e648a469c63ddd003f5 ("qcacld-3.0:
Cleanup unused scan code") removed the last reference to
tSirBackgroundScanMode. Since it is now obsolete, remove it.

Change-Id: I2faab5487988b1941601f2befdb570ecab8651ed
CRs-Fixed: 2374282
2019-01-07 00:08:13 -08:00
Jeff Johnson
424bc294e3 qcacld-3.0: Remove obsolete Scan Params typedefs
Typedefs tInitScanParams and tFinishScanParams are unused, so remove
them, along with tSirScanEntry and tSirLinkTrafficCheck that is used
just by them.

Change-Id: I5f9c58236f8c5fe639c5b896a66b9dc290e54ab1
CRs-Fixed: 2374281
2019-01-07 00:08:06 -08:00
Jeff Johnson
27df22e68d qcacld-3.0: Remove HDD_SCAN_INACTIVITY_TIMEOUT
Change I38900a4c786b5ba5f31006e6e29332c081a565cf ("qcacld-3.0:
cleanup legacy scan code") removed the last reference to macro
HDD_SCAN_INACTIVITY_TIMEOUT. Since this macro is now unused,
remove it.

Change-Id: I9cb1370b6284a76c073594760bd857f666426e84
CRs-Fixed: 2374280
2019-01-07 00:08:00 -08:00
Jeff Johnson
4377eba726 qcacld-3.0: Remove timWaitCount from tAniSirDph
The timWaitCount field in tAniSirDph is initialized but never read.
Since it is ultimately unused, remove it.

Change-Id: I98795820caf8087f225b3835e531790d2d1f167e
CRs-Fixed: 2374279
2019-01-07 00:07:54 -08:00
Jeff Johnson
4e7862fbb2 qcacld-3.0: Remove txRateFlags from tSirIbssPeerInfoParams
The txRateFlags field in tSirIbssPeerInfoParams is initialized to zero
but is otherwise unused, so remove it.

Change-Id: I8efcb18869dfe1c5e2a42395bb40c281391b3bfa
CRs-Fixed: 2374278
2019-01-07 00:07:48 -08:00
Jeff Johnson
59f8ee46a5 qcacld-3.0: Remove ucPatternIdBitmap from tSirDelPeriodicTxPtrn
Field ucPatternIdBitmap in tSirDelPeriodicTxPtrn serves no purpose, so
remove it.

Change-Id: I966983c3dea674e61ccf4d06473ea21448484a4c
CRs-Fixed: 2374277
2019-01-07 00:07:42 -08:00
Jeff Johnson
86bef3ee7a qcacld-3.0: Remove ucastDataRate from tSirRateUpdateInd
The ucastDataRate field in tSirRateUpdateInd is initialized, but is
otherwise not used, so remove it. And the ucastDataRateTxFlag field is
never referenced, so remove it as well.

Change-Id: I1df8e5ec32d8ebb1d1e1f53c83bec45fbb86bb4e
CRs-Fixed: 2374276
2019-01-07 00:07:36 -08:00
Jeff Johnson
94b3303ffd qcacld-3.0: Remove ucSecEnabled from struct sap_context
Field ucSecEnabled in struct sap_context is initialized, but is
otherwise unused, so remove it.

Change-Id: I4b947be54d86e0e7e272b97427efd7acb4658fe6
CRs-Fixed: 2374275
2019-01-07 00:07:31 -08:00
Jeff Johnson
d039a3302f qcacld-3.0: Remove ownSsid from struct sap_context
The ownSsid and ownSsidLen fields in struct sap_context are unused, so
remove them.

Change-Id: I405f0c7c47e163a962bc3db19d88d5b69ca95ac7
CRs-Fixed: 2374274
2019-01-07 00:07:25 -08:00
gaurank kathpalia
1be77fa6a9 qcacld-3.0: Add Dot11 mode related CFG items in mlme cfg
Add dot11mode related cfg items in mlme cfg, and replace
old WNI dot11 modes with new MLME DOT11 mode enums

Change-Id: I6e866959f440ae781432c8aaa724b229c0874856
CRs-Fixed: 2362540
2019-01-07 00:07:19 -08:00
Sravan Kumar Kairam
f48210cb66 qcacld-3.0: Add cdp api for dp tx desc availability
Add cdp api to check if tx desc pool available descriptor
threshold has reached.

Change-Id: I12cc38b56a68ca7ee8f4560677fcdabccb38928b
CRs-Fixed: 2369244
2019-01-07 00:07:14 -08:00
Abhishek Singh
ef6f38c913 qcacld-3.0: Refactor the prints for rx management frames
Refactor the prints for rx management frames. Do not print rx
frames in wma_form_rx_packet, as txrx module take care of it.

Change-Id: I52403c9dd32919507af13782dc838ff8076070cd
CRs-Fixed: 2375675
2019-01-07 00:07:10 -08:00
Nachiket Kukade
338547b58b qcacld-3.0: Print APF work memory as it is read or written
Just like the legacy APF commands, dump the contents of the
APF instructions/data as it is read or written by upper
layer using the new APFv3 vendor commands. This is helpful
for debugging purposes.

Change-Id: I24725b5b8431fcaa573953187f8412e4f4d0b510
CRs-Fixed: 2375362
2019-01-07 00:07:05 -08:00
nshrivas
5761a0355e Release 5.2.0.114Q
Release 5.2.0.114Q

Change-Id: Ifa1c30e54f404eeb2fd27b995699f4b40da2bb56
CRs-Fixed: 774533
2019-01-03 16:16:48 -08:00
Abhishek Singh
1a8299a139 qcacld-3.0: Cleanup unused eLIM_LEARN_DURATION_TIMER
Cleanup unused timer enum eLIM_LEARN_DURATION_TIMER

Change-Id: I79d215777e18a453488471f530e598773c1e6b77
CRs-Fixed: 2375046
2019-01-03 16:16:47 -08:00
Abhishek Singh
d085438d4a qcacld-3.0: Cleanup unused LIM MLM states
Cleanup unused LIM MLM states:
eLIM_MLM_P2P_LISTEN_STATE
eLIM_MLM_WT_PROBE_RESP_STATE
eLIM_MLM_PASSIVE_SCAN_STATE
eLIM_MLM_LEARN_STATE
eLIM_MLM_WT_SET_MIMOPS_STATE

Change-Id: I04b29adf4729e830b61cebb47bd501caad5ace50
CRs-Fixed: 2375044
2019-01-03 16:16:43 -08:00
Abhishek Singh
5432c35d01 qcacld-3.0: Remove unused logic to convert DFS channels to active
lim.dfschannelList.timeStamp is a array of
SIR_MAX_24G_5G_CHANNEL_RANGE(166). In some countries channel greater
than 165 are allowed and thus if channel is greater than 165 driver
access out of bound memory which lead to corruption of
lim.sme_msg_callback.

lim.dfschannelList.timeStamp is used to convert DFS channels to
active, which is used for host handled scan to decide if active
scan can be done on DFS channel. Scan now been handled in firmware
this logic is unused and can be removed.

Change-Id: Ib301fa70a6b7ed99f3ecacbf344dd9e821079149
CRs-Fixed: 2374977
2019-01-03 16:16:38 -08:00