Commit Graph

13783 Commits

Author SHA1 Message Date
Jeff Johnson
f34deb8e4a qcacld-3.0: Remove csr_move_bss_to_head_from_bssid()
Change I3050cd9a704f9c2489a11c75cd439224e44b8748 ("qcacld-3.0: Remove
csr_roam_connect_to_last_profile()") removed the last client of
csr_move_bss_to_head_from_bssid(). Since this function is now unused,
remove it.

Change-Id: Ib83c7fa596d589ba9eed5803701f24d4634ad645
CRs-Fixed: 2371141
2018-12-21 15:11:35 -08:00
Jeff Johnson
791bcf9ef3 qcacld-3.0: Remove csr_clear_joinreq_param()
Change I795bfd1d19f81d703bd9d903ebc53e61b014c5c3 ("qcacld-3.0:
Remove sme_clear_joinreq_param()") removed the last client of
csr_clear_joinreq_param().  Since this function is now unused,
remove it.

Change-Id: I8482ddb4c2410c93fc7d982d6f1cd024b4d66d17
CRs-Fixed: 2371140
2018-12-21 15:11:27 -08:00
Jeff Johnson
ac445965cc qcacld-3.0: Remove sme_clear_joinreq_param()
Change I6cb9fe12bee3702556c9b52e7ccb7c69c762d8de ("qcacld-3.0: Remove
legacy code for policy manager restructuring") removed the last client
of sme_clear_joinreq_param(). Since this function is now unused,
remove it.

Change-Id: I795bfd1d19f81d703bd9d903ebc53e61b014c5c3
CRs-Fixed: 2371139
2018-12-21 15:11:19 -08:00
Jeff Johnson
2246ebd499 qcacld-3.0: Remove csr_issue_stored_joinreq()
Change I360a0c0f7508026f1889e1998eeaac01464382de ("qcacld-3.0: Remove
sme_issue_stored_joinreq()") removed the last client of
csr_issue_stored_joinreq().  Since the function is now unused, remove
it.

Change-Id: I0ec6ae46c5b90ab6619f03ab76d95ca4e45ad450
CRs-Fixed: 2371138
2018-12-21 15:11:11 -08:00
Jeff Johnson
38ffcc3155 qcacld-3.0: Remove csr_is_p2p_session_connected()
Change I913b6e769f282a0f5a0ddb40e54d294ae07deb55 ("qcacld-3.0: Remove
unused concurrency ini parameters") removed the last client of
csr_is_p2p_session_connected().  Since this function is now unused,
remove it.

Change-Id: Ifd4f4f52bfe6e5be4b472a47cfea765b336a8daf
CRs-Fixed: 2371137
2018-12-21 15:11:04 -08:00
Jeff Johnson
c9563620b9 qcacld-3.0: Remove csr_is_mcc_supported()
Function csr_is_mcc_supported() is unused, so remove it.

Change-Id: Id0a4196ad502cecd51eb4d8010ce2af0887710a6
CRs-Fixed: 2371136
2018-12-21 15:10:57 -08:00
Jeff Johnson
5721ab88f7 qcacld-3.0: Remove csr_is_infra_connected()
Change I2b469c6cb2e6bdfc735b04e9bd6f12ba0d41fea4 ("qcacld-3.0: Remove
sme_is_sta_p2p_client_connected()") removed the last client of
csr_is_infra_connected().  Since the function is now obsolete, remove
it.

Change-Id: I5a71cad7414aee56a981e640ef66687fe0433b4f
CRs-Fixed: 2371135
2018-12-21 15:10:50 -08:00
Jeff Johnson
738e8fd310 qcacld-3.0: Remove lim_get_wpspbc_sessions()
Change Ia95c4911600a45d1004b9e6148b1b04f414e2475 ("qcacld-3.0: Remove
support for eWNI_SME_GET_WPSPBC_SESSION_REQ") removed the last client
of lim_get_wpspbc_sessions(). Since this function is now obsolete,
remove it.

Change-Id: I2df051e00dd788767c4f176395a50ea2a16eead2
CRs-Fixed: 2371102
2018-12-21 15:10:43 -08:00
Jeff Johnson
847aaffccc qcacld-3.0: Remove gLimHeartBeatCount from tAniSirLim
Field gLimHeartBeatCount in tAniSirLim is initialized but is otherwise
never used, so remove it.

Change-Id: I02c30aa599c1c43bab4cce6f8fff386696e74a96
CRs-Fixed: 2371101
2018-12-21 15:10:36 -08:00
Jeff Johnson
30fd0b54e4 qcacld-3.0: Remove csr_send_mb_get_associated_stas_req_msg()
Change I8beb48c378e532c27f317d946bdf58b2aa512c14 ("qcacld-3.0:
Remove csr_roam_get_associated_stas()") removed the last client of
csr_send_mb_get_associated_stas_req_msg().  Since this function is
obsolete, remove it.

Change-Id: I050383ce7e922fe4e42e1f5c4d2a8260dddbd4bb
CRs-Fixed: 2371100
2018-12-21 15:10:29 -08:00
Jeff Johnson
96bf13b960 qcacld-3.0: Remove csr_is_ibss_started()
Function csr_is_ibss_started() is unused, so remove it.

Change-Id: Ie681bfe30e23093706161d5ab8d218bdbb41c7a8
CRs-Fixed: 2371099
2018-12-21 15:10:23 -08:00
Jeff Johnson
1c9cb873fb qcacld-3.0: Remove csr_is_concurrent_infra_connected()
Change I913b6e769f282a0f5a0ddb40e54d294ae07deb55 ("qcacld-3.0: Remove
unused concurrency ini parameters") removed the last client of
csr_is_concurrent_infra_connected().  Since it is obsolete, remove it.

Change-Id: Ibec4e93c2da7411544c491e08198b146074a1779
CRs-Fixed: 2371097
2018-12-21 15:10:17 -08:00
Jeff Johnson
a50ab22d4a qcacld-3.0: Remove cds_crypto_init()/deinit()
Functions cds_crypto_init() & cds_crypto_deinit() are unused,
so remove them.

Change-Id: If33ee8874b65a5b3e7d5f853b943d12bb1bbb84f
CRs-Fixed: 2371098
2018-12-21 15:10:10 -08:00
Jeff Johnson
b72ff37f86 qcacld-3.0: Remove rrm_get_min_of_max_tx_power()
Function rrm_get_min_of_max_tx_power() is unused, so remove it.

Change-Id: I7b4231bcf735d4fd49082b66e65da04d79422ab1
CRs-Fixed: 2371096
2018-12-21 15:10:04 -08:00
Jeff Johnson
a8b67a2afe qcacld-3.0: Remove populate_dot11f_qos_caps_ap()
Function populate_dot11f_qos_caps_ap() is unused, so remove it.

Change-Id: Ie6d8894cc6a2ce1e2ee1666cbab8d2a30abe361f
CRs-Fixed: 2371095
2018-12-21 15:09:58 -08:00
Jeff Johnson
3e7b7524be qcacld-3.0: Remove populate_dot11f_assoc_res_wsc_ie()
Function populate_dot11f_assoc_res_wsc_ie() is unused, so remove it.

Change-Id: Ib7fa00e1943b6ba3739b40aed9a2194e64804880
CRs-Fixed: 2371094
2018-12-21 15:09:52 -08:00
Jeff Johnson
627ca6ab31 qcacld-3.0: Remove lim_remove_pbc_sessions()
Change Ia95c4911600a45d1004b9e6148b1b04f414e2475 ("qcacld-3.0: Remove
support for eWNI_SME_GET_WPSPBC_SESSION_REQ") removed the last client
of lim_remove_pbc_sessions(). Since the function is now obsolete,
remove it.

Change-Id: Icacb3f2d2097d3f9866251740855770b86ec19bf
CRs-Fixed: 2371093
2018-12-21 15:09:46 -08:00
Jeff Johnson
dfa0356bc4 qcacld-3.0: Remove lim_populate_p2p_mac_header()
Change I64d0b71853004679ae694bcd6ca7a2f2347adc84 ("qcacld-3.0:
Remove legacy P2P codes in MAC") removed the last client of
lim_populate_p2p_mac_header(). Since this function is now
obsolete, remove it.

Change-Id: I3adb55dcf3eb3b14c6f7d6a82e686f13c3d955a1
CRs-Fixed: 2371092
2018-12-21 15:09:41 -08:00
Jeff Johnson
a6231481bc qcacld-3.0: Remove csr_scan_flush_selective_result()
Change I8a4cf81d4a2f561e2464b3e32c21202b5779de07 ("qcacld-3.0:
Remove sme_scan_flush_p2p_result()" removed the last client of
csr_scan_flush_selective_result(). Since this function is now
obsolete, remove it.

Change-Id: I42d5d020e2320a490c38dd7d021dd7ac395717c2
CRs-Fixed: 2370968
2018-12-21 15:09:36 -08:00
Jeff Johnson
dfe72d4f9d qcacld-3.0: Remove csr_roam_get*_pmkid_cache()
Change I98ef4dc56bd820849b038de5b33665f3bb7b01b4 ("qcacld-3.0: Remove
sme_roam_get*_pmkid_cache()") removed the only clients for the
associated CSR functions, so remove the following now obsolete
functions:
- csr_roam_get_pmkid_cache()
- csr_roam_get_num_pmkid_cache()

Change-Id: Id535e5b863e3cd2f2ec538159bc5dac13cc8d568
CRs-Fixed: 2370967
2018-12-21 15:09:30 -08:00
Jeff Johnson
81b765a502 qcacld-3.0: Remove csr_roam_get_connect_state()
Change Ieff533b5abca419fa2ffeabfcbfe9b2cf8eb5879 ("qcacld-3.0: Remove
sme_roam_get_connect_state()") removed the only client of
csr_roam_get_connect_state().  Since this function is now obsolete,
remove it.

Change-Id: If0f8ceaaf0ccddad5e0248b7f5d9cd1c58d5c253
CRs-Fixed: 2370966
2018-12-21 15:09:25 -08:00
Jeff Johnson
51d51f2db5 qcacld-3.0: Remove csr_roam_get_associated_stas()
Change I55b6604b17c736d513dc9baf9045fb634ed7a19d ("qcacld-3.0:
Remove sme_roam_get_associated_stas()") removed the only client of
csr_roam_get_associated_stas().  Since this function is now obsolete,
remove it.

Change-Id: I8beb48c378e532c27f317d946bdf58b2aa512c14
CRs-Fixed: 2370965
2018-12-21 15:09:20 -08:00
Jeff Johnson
3dcc43631b qcacld-3.0: Remove csr_roam_connect_to_last_profile()
Change Idb53c7cd871c0ccbacd3899f14fccc2a67935f4f ("qcacld-3.0:
Remove sme_roam_connect_to_last_profile()" removed the only
client of csr_roam_connect_to_last_profile(). Since this
function is now obsolete, remove it, along with the helper
function csr_roam_join_last_profile().

Change-Id: I3050cd9a704f9c2489a11c75cd439224e44b8748
CRs-Fixed: 2370964
2018-12-21 15:09:15 -08:00
Jeff Johnson
ea56a8bc37 qcacld-3.0: Remove csr_prepare_disconnect_command()
Change I0e27d6dc72e26589b5973bd7668a1783ac132477 ("qcacld-3.0: Remove
serialization from open and close session") removed the last client of
csr_prepare_disconnect_command(). Since this is now obsolete, remove
it.

Change-Id: Ib67f580a79dfc8c29c04c375ce2a8ff1538c7552
CRs-Fixed: 2370962
2018-12-21 15:09:11 -08:00
Jeff Johnson
75ea0e939c qcacld-3.0: Remove csr_is_any_session_connected()
Change I7e04b4488b10021d6815e76d0a55e040756b1794 ("qcacld-3.0: Remove
unused SCAN code under NAPIER_SCAN define") removed the last client of
csr_is_any_session_connected().  Since this function is now obsolete,
remove it.

Change-Id: Ide7a12b07907be0480445f886e419801bda2217d
CRs-Fixed: 2370963
2018-12-21 15:09:07 -08:00
Jeff Johnson
26a420ccdd qcacld-3.0: Remove ValidChannelList from tSirRoamOffloadScanReq
The separate ValidChannelList & ValidChannelCount fields in
tSirRoamOffloadScanReq are obsolete since the valid channels are now
handled as part of the ConnectedNetwork struct, therefore remove
support for these obsolete fields.

Change-Id: Ic413d52f95fcc7082e1dfdd28d28513d6a7a2e7d
CRs-Fixed: 2370961
2018-12-21 15:09:03 -08:00
nshrivas
9ff0acc9e0 Release 5.2.0.112S
Release 5.2.0.112S

Change-Id: Id6fcb7d6b4488b86ddf339b3fb64e349a32e7939
CRs-Fixed: 774533
2018-12-21 12:34:57 -08:00
Jeff Johnson
6c0a46d65b qcacld-3.0: Remove BkidCandidateInfo
The BkidCandidateInfo and NumBkidCandidate fields in struct
csr_roam_session are initialized by csr_reset_bkid_candidate_list(),
but are otherwise unused. Since these are unused, remove the entire
infrastructure.

Change-Id: Ifb29e88b8c137a08ea65625ec4677ec7e8676298
CRs-Fixed: 2370960
2018-12-21 12:34:56 -08:00
Jeff Johnson
300c5852fe qcacld-3.0: Remove NeighborRoamScanRefreshPeriod
Field NeighborRoamScanRefreshPeriod in tSirRoamOffloadScanRsp is
unused, so remove.

Change-Id: I54b9bc8cadfd00aded1719981917254d6fb1b14a
CRs-Fixed: 2370959
2018-12-21 12:34:51 -08:00
Jeff Johnson
d48f004cbe qcacld-3.0: Remove PEPreauthRespTimeout
Field PEPreauthRespTimeout in tCsr11rAssocNeighborInfo is initialized
but never read. Since this field is unused, remove it.

Change-Id: Ifb812d9fec695cf410a10bd40fb4ec97f0c41d16
CRs-Fixed: 2370958
2018-12-21 12:34:47 -08:00
Jeff Johnson
63dab5d270 qcacld-3.0: Remove sme_update_*_retry_limit_threshold()
Change Icb45c37358dcfacbea8e3b3f40b93189d62e1be4 ("qcacld-3.0: Pass
short_retry_limit and long_retry_limit to FW") removed the last cleint
of the following functions:
- sme_update_short_retry_limit_threshold()
- sme_update_long_retry_limit_threshold()

Since these functions are now unused, remove them.

Change-Id: I5dddf069e2a04826e44b7ef1761d326bd88d9408
CRs-Fixed: 2370897
2018-12-21 12:34:43 -08:00
Nachiket Kukade
cf94160805 qcacld-3.0: Add policy mgr changes to manage NAN Discovery
Add NAN Discovery specific modes, modules that manage NAN
Discovery interface. Add cases and exceptions that manage
concurrent operations alongside NAN Discovery.

Add policy manager changes to manage NAN Discovery.

Change-Id: Ib9a10be265c14adf8d1d5f2f2e2b65aa399d6636
CRs-Fixed: 2358183
2018-12-21 12:34:38 -08:00
nshrivas
8fc29775da Release 5.2.0.112R
Release 5.2.0.112R

Change-Id: I6340957a35fbcf7d104fccf98aa44bb6d67a08cb
CRs-Fixed: 774533
2018-12-21 10:05:14 -08:00
Kiran Kumar Lokere
a67af057c8 qcacld-3.0: Fix the issue with beamformee NSTS setting
The user setting value is checked against the previous setting
hence if the current setting value is greater than previous setting
then driver returns error.
Check the user setting value against the range and update the param
value.

Change-Id: I2c730b71668efa7932600328459da9347d3e1d2f
CRs-Fixed: 2371024
2018-12-21 10:05:13 -08:00
Arif Hussain
cca6043ce0 qcacld-3.0: Refactor stats cfg items
Refactor following stats cfg items
CFG_PERIODIC_STATS_DISPLAY_TIME
CFG_LINK_SPEED_RSSI_MID
CFG_REPORT_MAX_LINK_SPEED
CFG_LINK_SPEED_RSSI_LOW
CFG_LINK_SPEED_RSSI_HIGH

Change-Id: I1b699d5fe5b3182c292cf10c85f842169bf14342
CRs-Fixed: 2362068
2018-12-21 10:05:09 -08:00
nshrivas
559b9bf4f8 Release 5.2.0.112Q
Release 5.2.0.112Q

Change-Id: I976d8536cd44884ee0d644cd7a646d051f2db7a6
CRs-Fixed: 774533
2018-12-21 07:47:13 -08:00
Jeff Johnson
459dde4818 qcacld-3.0: Remove sme_store_joinreq_param()
Change I6cb9fe12bee3702556c9b52e7ccb7c69c762d8de ("qcacld-3.0: Remove
legacy code for policy manager restructuring") removed the last client
of sme_store_joinreq_param(). Since it is no longer used, remove it.

Change-Id: I92f79f595e881fccb6eb5e87fcfa29e8f26fa1a5
CRs-Fixed: 2370896
2018-12-21 07:47:12 -08:00
Jeff Johnson
770fdb0b72 qcacld-3.0: Remove sme_scan_flush_p2p_result()
Change Ic160dfafcfa015eb42a226304260b1be3dddc6f0
("qcacld-3.0: cleanup legacy scan request processing"
removed the last client of sme_scan_flush_p2p_result().
Since it is now unused, remove it.

Change-Id: I8a4cf81d4a2f561e2464b3e32c21202b5779de07
CRs-Fixed: 2370895
2018-12-21 07:47:07 -08:00
Jeff Johnson
b3451dcab7 qcacld-3.0: Remove sme_roam_get*_pmkid_cache()
The following functions are unused, so remove them:
- sme_roam_get_pmkid_cache()
- sme_roam_get_num_pmkid_cache()

Change-Id: I98ef4dc56bd820849b038de5b33665f3bb7b01b4
CRs-Fixed: 2370894
2018-12-21 07:47:02 -08:00
Jeff Johnson
7c4eccde0a qcacld-3.0: Remove sme_roam_get_connect_state()
Function sme_roam_get_connect_state() is unused, so remove it.

Change-Id: Ieff533b5abca419fa2ffeabfcbfe9b2cf8eb5879
CRs-Fixed: 2370893
2018-12-21 07:46:57 -08:00
Jeff Johnson
b6cc7fa156 qcacld-3.0: Remove sme_roam_get_associated_stas()
Change I4a452d6eed9eb035ad124fb5cd1fe5f62f507b5f ("qcacld-3.0:
Remove wlansap_get_assoc_stations()") removed the last client of
sme_roam_get_associated_stas(). Since it is now obsolete, remove
it as well.

Change-Id: I55b6604b17c736d513dc9baf9045fb634ed7a19d
CRs-Fixed: 2370892
2018-12-21 07:46:52 -08:00
Jeff Johnson
a064a443e3 qcacld-3.0: Remove sme_roam_connect_to_last_profile()
Function sme_roam_connect_to_last_profile() is unused, so remove it.

Change-Id: Idb53c7cd871c0ccbacd3899f14fccc2a67935f4f
CRs-Fixed: 2370891
2018-12-21 07:46:48 -08:00
Jeff Johnson
979c16e14a qcacld-3.0: Remove sme_reset_power_values_for5_g()
Function sme_reset_power_values_for5_g() is unused, so remove it.

Change-Id: Icec943ba172d35a14b92e85b366845ab7b79469c
CRs-Fixed: 2370890
2018-12-21 07:46:43 -08:00
nshrivas
9fa1ca4430 Release 5.2.0.112P
Release 5.2.0.112P

Change-Id: Ie378c00df742433a1dc5f13ad92dc856d0cdf8ea
CRs-Fixed: 774533
2018-12-21 05:15:42 -08:00
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
5665bfa37b qcacld-3.0: Remove sme_qos_validate_params()
Function sme_qos_validate_params() is unused, so remove it.

Change-Id: I6f967effc1c8e27fbe939504d9bc5675dee3955d
CRs-Fixed: 2370888
2018-12-21 05:15:37 -08:00
Jeff Johnson
9c2cd57d94 qcacld-3.0: Remove sme_issue_stored_joinreq()
Change Ifa27ecdf1e37eda6f929f89da603bc356e9cb7fd ("qcacld-3.0: legacy
code change for policy manager restructuring") removed the only client
of sme_issue_stored_joinreq(). Since this function is now unused,
remove it.

Change-Id: I360a0c0f7508026f1889e1998eeaac01464382de
CRs-Fixed: 2370887
2018-12-21 05:15:32 -08:00
Jeff Johnson
397c19feee qcacld-3.0: Remove sme_is_auto_ps_timer_running()
Change Id84eb7cf579a29da30f3366edef24821fcd5be55 ("qcacld-3.0:
Cleanup qpower vendor command") removed the only client of
sme_is_auto_ps_timer_running(). Since this function is now
unused, remove it.

Change-Id: I00692e5ac8981752e609bb21cef4c76cfc03c838
CRs-Fixed: 2370886
2018-12-21 05:15:28 -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
31e70c043b qcacld-3.0: Remove sme_get_roam_beacon_rssi_weight()
Function sme_get_roam_beacon_rssi_weight() is unused, so remove it.

Change-Id: Ide8df4e1f5c11d97b75e568095ffb48bc181286d
CRs-Fixed: 2370884
2018-12-21 05:15:18 -08:00