Commit Graph

5439 Commits

Author SHA1 Message Date
Jeff Johnson
2ebc068751 qcacld-3.0: Remove sme_register_hw_mode_trans_cb()
Change I6cb9fe12bee3702556c9b52e7ccb7c69c762d8de ("qcacld-3.0: Remove
legacy code for policy manager restructuring") removed the client of
sme_register_hw_mode_trans_cb(). Since this function is obsolete,
remove it along with the underlying data structures.

Change-Id: Ibc478a6e2a4d50ee57324ee2431ae677dcb1e3a0
CRs-Fixed: 2370889
2018-12-21 05:15:41 -08:00
Jeff Johnson
29cb098914 qcacld-3.0: Remove sme_get_wcnss_*_version()
Change I0ded9473083418f6bb33cec4fa43a17c8c281177 ("qcacld-3.0: Remove
hdd_exchange_version_and_caps()") removed the only client of the
following functions:
- sme_get_wcnss_wlan_compiled_version()
- sme_get_wcnss_wlan_reported_version()
- sme_get_wcnss_software_version()
- sme_get_wcnss_hardware_version()

Since these are now obsolete, remove them along with the underlying
tSirVersionType data structure.

Change-Id: Ief51bcf611d5d5759fa04e05c0bb4d96e44c7a29
CRs-Fixed: 2370885
2018-12-21 05:15:23 -08:00
Jeff Johnson
471d77088e qcacld-3.0: Remove eWNI_SME_READY_TO_SUSPEND_IND handling
Change Iba16643adf1cbd997138c740345e40c00c8e81f6 ("qcacld-3.0: Add
Suspend and Resume support in PMO") removed the logic which sent the
eWNI_SME_READY_TO_SUSPEND_IND message. However it left behind the
handler function in SME which will now never be called. Since this
message is now unused, remove the remaining infrastructure that
originally supported this message.

Change-Id: I91ef442eeb3fd0bb6dc3cccd803c77329b0c730f
CRs-Fixed: 2370880
2018-12-21 05:15:00 -08:00
Jeff Johnson
d0cfb937b4 qcacld-3.0: Remove populate_dot11f_assoc_res_wpsi_es()
Function populate_dot11f_assoc_res_wpsi_es() is unused,
so remove it.

Change-Id: Iaf7f033a14ddb92b6a89d765cdba478fc5064a28
CRs-Fixed: 2370878
2018-12-21 05:14:56 -08:00
Jeff Johnson
ebcccb30e4 qcacld-3.0: Remove PE Global Lock infrastructure
Change I64d0b71853004679ae694bcd6ca7a2f2347adc84 ("qcacld-3.0: Remove
legacy P2P codes in MAC") removed the client of the PE Global Lock
Infrastucture. Since this is no longer used, remove it.

Change-Id: I71a7d98667eb779c1f62cc9d02a877814ad1d7a0
CRs-Fixed: 2370877
2018-12-21 05:14:52 -08:00
Jeff Johnson
bc24bc0b92 qcacld-3.0: Remove lim_send_vht_opmode_notification_frame()
Function lim_send_vht_opmode_notification_frame() is unused,
so remove it.

Change-Id: I9a81c5537673ed04e6c0a315fb96b9d4bf284193
CRs-Fixed: 2370876
2018-12-21 05:14:48 -08:00
nshrivas
e2e23a1cd4 Release 5.2.0.112O
Release 5.2.0.112O

Change-Id: Ic9a597d3e3cf741c2b2a29c1820801e1c694c3a1
CRs-Fixed: 774533
2018-12-21 02:40:41 -08:00
nshrivas
d998882ddc Release 5.2.0.112N
Release 5.2.0.112N

Change-Id: Ieef2719ef8c9e979d1fa1fa93bbc9b792c478282
CRs-Fixed: 774533
2018-12-20 14:38:13 -08:00
Jeff Johnson
9bc7982b45 qcacld-3.0: Remove populate_dot11f_wmm_schedule()
Function populate_dot11f_wmm_schedule() is unused, so remove it.

Change-Id: I74d3f38bc5a20dfc102745a44f190e155d83b216
CRs-Fixed: 2370792
2018-12-20 09:13:34 -08:00
Jeff Johnson
0fadd22e56 qcacld-3.0: Remove populate_dot11f_wider_bw_chan_switch_ann()
Function populate_dot11f_wider_bw_chan_switch_ann() is unused,
so removeit.

Change-Id: I88cea0abaa376798a468bf35ef120d14115c915b
CRs-Fixed: 2370791
2018-12-20 09:13:34 -08:00
Jeff Johnson
fdec4b63f8 qcacld-3.0: Remove mac_trace_msg_*_new()
Functions mac_trace_msg_rx_new() and mac_trace_msg_tx_new() are
unused, so remove them.

Change-Id: I22c6846769a4c6d76d0cfae02fee1e1c01061fbe
CRs-Fixed: 2370790
2018-12-20 09:13:34 -08:00
Jeff Johnson
4a62076ace qcacld-3.0: Remove lim_send_tpc_request_frame()
Function lim_send_tpc_request_frame() is unused, so remove it.

Change-Id: I9667db6d916e1d20e64adfd96ef49b093e8f2328
CRs-Fixed: 2370789
2018-12-20 09:13:34 -08:00
Jeff Johnson
d473a60b27 qcacld-3.0: Remove lim_send_sme_roc_rsp()
Function lim_send_sme_roc_rsp() is unused, so remove it.

Change-Id: I5f031ea0195f65bc3307636c4ed254bca82c0760
CRs-Fixed: 2370788
2018-12-20 09:13:34 -08:00
Jeff Johnson
47ead069c6 qcacld-3.0: Remove lim_is_noa_insert_reqd()
Function lim_is_noa_insert_reqd() is unused, so remove it.

Change-Id: I1f106fee092e52e27dcc01cc39f73b6c38d2f033
CRs-Fixed: 2370787
2018-12-20 09:13:34 -08:00
Jeff Johnson
a7aa17c012 qcacld-3.0: Remove lim_get_noa_attr_stream_in_mult_p2p_ies()
Function lim_get_noa_attr_stream_in_mult_p2p_ies() is unused,
so remove it.

Change-Id: Ib03f80bfc983cfa018bf6dbc55bde56072d55364
CRs-Fixed: 2370786
2018-12-20 09:13:34 -08:00
Jeff Johnson
81b606553b qcacld-3.0: Remove lim_get_current_operating_channel()
Function lim_get_current_operating_channel() is unused,
so remove it.

Change-Id: Ia19590a4b20ffe07488b6ce49f10eec17b9d3719
CRs-Fixed: 2370785
2018-12-20 09:13:34 -08:00
Jeff Johnson
06eb8ed667 qcacld-3.0: Remove lim_get_bss_id_from_sme_join_req_msg()
Function lim_get_bss_id_from_sme_join_req_msg() is unused,
so remove it.

Change-Id: Ic1b154a2cb284512d4464821c67b08f5c168b19c
CRs-Fixed: 2370784
2018-12-20 09:13:34 -08:00
Jeff Johnson
8977d22dc7 qcacld-3.0: Remove gLimDeauthReasonCode from tAniSirLim
The gLimDeauthReasonCode field in tAniSirLim is initialized to 0 but
is otherwise never referenced. Since the field is ultimately unused,
remove it.

Change-Id: Ic3da451c4b3540ba72d45a1f03b0e89cc2ece725
CRs-Fixed: 2370783
2018-12-20 09:13:34 -08:00
Jeff Johnson
5e6275c7d5 qcacld-3.0: Remove gHTRifsMode from tAniSirLim
The gHTRifsMode field in tAniSirLim is written but never read.
Since the field is ultimately unused, remove it.

Change-Id: I7ad1f977d354bf80b66a1dc04c2afb8ca0f42719
CRs-Fixed: 2370782
2018-12-20 09:13:34 -08:00
Jeff Johnson
de971dc3fb qcacld-3.0: Remove legacy scan message structs
The legacy scan structs tSirSmeScanAbortReq and tSirSmeGetScanChanReq
are unused, so remove them.

Change-Id: I72e75145f4dcf3a578b52d9d1be841a12d67a2d3
CRs-Fixed: 2370034
2018-12-19 20:54:31 -08:00
Jeff Johnson
b67b8a5047 qcacld-3.0: Remove tSirNsOffloadReq
Change I823ba0a426cce5a5717cf2b693b49c8f8a2f7a29 ("qcacld-3.0: Add
support for arp/ns offload in PMO component") removed the references
to the nsOffloadInfo field in tSirHostOffloadReq as well as to the
underlying tSirNsOffloadReq structure, so remove these obsolete data
structures.

Change-Id: I44724334c3e0483ec9403f94259ac531cce59bb4
CRs-Fixed: 2370033
2018-12-19 20:54:31 -08:00
Jeff Johnson
96e1b8e9f3 qcacld-3.0: Remove tSmeGetScanChnRsp & tLimScanChn
Change I590745af3943a8975fb0644d02e58b2133c9f1cb ("qcacld-3.0: Add
changes to get/flush scan results") migrated to the converged scan
model. The legacy scan data structures tSmeGetScanChnRsp & tLimScanChn
are now unused, so remove them.

Change-Id: I61033b1f7b0eba43186f0ae24b9da3f5588f03b9
CRs-Fixed: 2370032
2018-12-19 20:54:31 -08:00
Jeff Johnson
a41fe79d2d qcacld-3.0: Remove struct ani_roc_req
Change I2f7d4c14d4ba2df9360351bdc55a8ba92ec9caf9 ("qcacld-3.0:
Remove legacy P2P codes in SME") removed the last reference to
struct ani_roc_req. Since this struct is unused, remove it.

Change-Id: I328481b5334b3f0c6f586d7360fe58e55a56166d
CRs-Fixed: 2370031
2018-12-19 20:54:31 -08:00
Jeff Johnson
f0ef8b8018 qcacld-3.0: Remove tSirSmeProbeReq
The current version of the driver does not used tSirSmeProbeReq,
except for one reference in LIM which is actually referencing the
wrong typedef, so fix the bad reference and remove the obsolete
typedef.

Change-Id: I314df685eb5da110021da2aafb6eab46e2f07d42
CRs-Fixed: 2370030
2018-12-19 20:54:31 -08:00
Jeff Johnson
ecb0cd7f0a qcacld-3.0: Remove tSirWlanResumeParam
The current version of the driver has not used tSirWlanResumeParam,
so remove it.

Change-Id: I7b01b9f27d45592ec970cd35c98d458f3ca62640
CRs-Fixed: 2370029
2018-12-19 20:54:30 -08:00
Jeff Johnson
5a8dab9e27 qcacld-3.0: Remove tSirUpdateAPWPARSNIEsReq
Change I4e89efe38776eb74c702485020236cfaee50641f ("qcacld-3.0: Remove
obsolete csr_roam_update_wparsni_es()") removed the last references to
tSirUpdateAPWPARSNIEsReq. Since this typedef is now unused, remove it.

Change-Id: I64d3baaf7ebd168ef4510ec5483be71d1416d390
CRs-Fixed: 2370028
2018-12-19 20:54:30 -08:00
Jeff Johnson
af15a1c20f qcacld-3.0: Remove WLAN_WAPI_KEY_RSC_LEN macro
The macro WLAN_WAPI_KEY_RSC_LEN has never been used by the current
generation of the driver, so remove it.

Change-Id: I696052e84025477f483a37b844c70d135832f97b
CRs-Fixed: 2370027
2018-12-19 20:54:30 -08:00
Jeff Johnson
ee846a5a0b qcacld-3.0: Remove MAX_NUM_LEGACY_BSSID_PER_CHANNEL macro
Change I98c1caac415ca90a1101b64e49b0909b46d42616 ("qcacld-3.0: Remove
obsolete member variables of tAniSirLim") removed the only reference
to macro MAX_NUM_LEGACY_BSSID_PER_CHANNEL.  Since this macro is now
unused, remove it.

Change-Id: I2ae846a1fe7dd4b8a0905e4babfc761f67dc5545
CRs-Fixed: 2370026
2018-12-19 20:54:30 -08:00
Jeff Johnson
9785c1a0c3 qcacld-3.0: Remove unused SIR_BG_SCAN macros
The following macros are unused, so remove them:
- SIR_BG_SCAN_PURGE_LFR_RESULTS
- SIR_BG_SCAN_PURGE_RESUTLS
- SIR_BG_SCAN_RETURN_CACHED_RESULTS
- SIR_BG_SCAN_RETURN_FRESH_RESULTS
- SIR_BG_SCAN_RETURN_LFR_CACHED_RESULTS
- SIR_SCAN_MAX_NUM_SSID

Change-Id: I536493d6ac3370104bffa47a0c504bac682d6923
CRs-Fixed: 2370021
2018-12-19 20:54:30 -08:00
nshrivas
65e60617a5 Release 5.2.0.112M
Release 5.2.0.112M

Change-Id: I7580c6f298b6600a95269265e2bd447d06f84c56
CRs-Fixed: 774533
2018-12-19 18:52:13 -08:00
Abhishek Singh
8ebda9db47 qcacld-3.0: Cleanup unused scan params and ini
Cleanup unused scan params and ini as they are moved to scan
component.

Change-Id: I67a589133e58fd7740d7edc93d32a2d9fcd14c5a
CRs-Fixed: 2369068
2018-12-19 18:52:12 -08:00
nshrivas
2b22156b7b Release 5.2.0.112L
Release 5.2.0.112L

Change-Id: Ifb2b032eb8c469d043c7c2b6ca40ebf110bdc156
CRs-Fixed: 774533
2018-12-19 16:30:44 -08:00
Nachiket Kukade
079b67f747 qcacld-3.0: Remove remaining_bytes_for_apf_inst variable
Variable remaining_bytes_for_apf_inst was introduced in change
I63a5f7222de74cbb80d656f20f42d1b8453dce26, and renamed later.
But it was never used, so remove it.

Remove remaining_bytes_for_apf_inst variable.

Change-Id: I0382ff970b3fafd279453a71c1c65e1731f67aa6
CRs-Fixed: 2369099
2018-12-19 16:30:40 -08:00
nshrivas
a5319270ae Release 5.2.0.112K
Release 5.2.0.112K

Change-Id: Ib665b23860b0712c440eac80f2bde3ecdf6c421b
CRs-Fixed: 774533
2018-12-19 14:14:42 -08:00
Jeff Johnson
46cd9b0876 qcacld-3.0: Remove limHandleMaxRetriesInterrupt() prototype
The current version of the driver does not have an implementation of
limHandleMaxRetriesInterrupt(), so remove the obsolete prototype.

Change-Id: I78f929592f4c54be3f24fb02113cf4dcfba130e0
CRs-Fixed: 2369215
2018-12-19 14:14:37 -08:00
Jeff Johnson
7e91dc9831 qcacld-3.0: Remove limContinueChannelLearn() prototype
The current version of the driver does not have an implementation of
limContinueChannelLearn(), so remove the obsolete prototype.

Change-Id: Ifaa8b174cc337b2a279a58901e1215a275a87e89
CRs-Fixed: 2369214
2018-12-19 14:14:33 -08:00
Jeff Johnson
0711e27a84 qcacld-3.0: Fix split strings in lim_send_meas_report_frame()
lim_send_meas_report_frame() contains several instances of
user-visible strings that are split, which violates the coding
standard, so merge them.

Change-Id: Ifca7aac555df1fffc6b3669091c3cab245378be0
CRs-Fixed: 2369213
2018-12-19 14:14:29 -08:00
Jeff Johnson
74b1ab930f qcacld-3.0: Remove LIM_GET_NOISE_MAX_TRY macro
Macro LIM_GET_NOISE_MAX_TRY has never been used by the current version
of the driver, so remove it.

Change-Id: Iafad122b0d0e7019a1753920e299431a9b1df2bc
CRs-Fixed: 2369212
2018-12-19 14:14:25 -08:00
Jeff Johnson
3158c4c0fb qcacld-3.0: Remove lim_process_mlm_reassoc_ind() prototype
There is no implementation for lim_process_mlm_reassoc_ind() so remove
the obsolete prototype.

Change-Id: Ib628d1ab55f9d713331f95a9de7331265f3d32e5
CRs-Fixed: 2369210
2018-12-19 14:14:20 -08:00
Jeff Johnson
e9c63d04e9 qcacld-3.0: Remove obsolete limPost*() prototypes
There is no implementation for the following functions, so remove the
obsolete prototypes:
- limPostDummyToTmRing()
- limPostPacketToTdRing()

Change-Id: I65d9a240ddd5af6e39e65247a31445f49c8d5ec9
CRs-Fixed: 2369209
2018-12-19 14:14:16 -08:00
Jeff Johnson
ff432cde87 qcacld-3.0: Remove DISABLE_GF_FOR_INTEROP feature code
The DISABLE_GF_FOR_INTEROP feature code in lim_add_sta_self() is old
and non-functional so remove it.

Change-Id: I5e35410b4983794834fb6bbc882a0ba8f5f5e6ef
CRs-Fixed: 2369208
2018-12-19 14:14:12 -08:00
Jeff Johnson
dbef8fab74 qcacld-3.0: Remove legacy TDLS definitions from LIM
LIM contains some legacy TDLS definitions that are no longer used, so
remove them.

Change-Id: I175cd5ce589b15f34c32a60ee3650c610d0af0a8
CRs-Fixed: 2369207
2018-12-19 14:14:08 -08:00
Jeff Johnson
5c4fa5e6a5 qcacld-3.0: Remove gLimTdlsLinkMode from struct sAniSirLim
The LIM context contains a gLimTdlsLinkMode field that is written but
never read. Since that means the field is unused, remove it.

Change-Id: Id1bbcad683b0679184af86a6670fb52397206979
CRs-Fixed: 2369206
2018-12-19 14:14:04 -08:00
Jeff Johnson
675e9e135d qcacld-3.0: Remove pe_register_tl_handle() prototype
LIM exposes a prototype for function pe_register_tl_handle(), but the
current driver does not have a function by that name, so remove the
prototype.

Change-Id: I06fe675cf885f8d2db49d1e6529c21a78f9b20a5
CRs-Fixed: 2369205
2018-12-19 14:13:59 -08:00
nshrivas
28a8a1352c Release 5.2.0.112J
Release 5.2.0.112J

Change-Id: Ibccbf9ffcde3f18e77e7f73b5b4b674b92fc6bd5
CRs-Fixed: 774533
2018-12-19 12:01:51 -08:00
nshrivas
0f4bf7c9cd Release 5.2.0.112I
Release 5.2.0.112I

Change-Id: I5cf9b0b0d27f782667295c7f3e3baf273040e0c7
CRs-Fixed: 774533
2018-12-19 09:32:17 -08:00
nshrivas
b947e5b538 Release 5.2.0.112H
Release 5.2.0.112H

Change-Id: I788c872a22445742f7cf1da33247768256ae6987
CRs-Fixed: 774533
2018-12-19 04:57:00 -08:00
bings
705b412f40 qcacld-3.0: Remove dead code tUpdateCFParams and WMA_UPDATE_CF_IND
WMA_UPDATE_CF_IND message (aka SIR_HAL_UPDATE_CF_IND) is dead code, because
it is not processed anywhere.

Remove dead code WMA_UPDATE_CF_IND. The only use of tUpdateCFParams is in
lim_send_cf_params() which only creates a WMA_UPDATE_CF_IND message, so
remove tUpdateCFParams and lim_send_cf_params().

Change-Id: I1b613300cdd7eeeb33825e319977ff941cae548c
CRs-Fixed: 2367931
2018-12-19 04:56:59 -08:00
nshrivas
b5df052333 Release 5.2.0.112G
Release 5.2.0.112G

Change-Id: I348905f2ff0a9bd2d44d3a7f7b9cddcecdf3dcca
CRs-Fixed: 774533
2018-12-19 02:04:28 -08:00
nshrivas
0e5eb336a5 Release 5.2.0.112F
Release 5.2.0.112F

Change-Id: I5e6d86565fe858b08ce4b18a2489154778e2516c
CRs-Fixed: 774533
2018-12-18 16:50:43 -08:00