Commit Graph

12324 Commits

Author SHA1 Message Date
Jeff Johnson
b48efe27f1 qcacld-3.0: Add wifi config vtable support
One of the HDD functions with the highest cyclomatic complexity is
__wlan_hdd_cfg80211_wifi_configuration_set(). In order to reduce the
complexity there is a plan to replace the inline attribute handling
with a vtable-based approach

As the first step of this refactoring add the actual vtable
infrastructure.  Later changes will refactor the attribute handling
and populate the vtables.

Change-Id: If79fc61f84bf17a39e300c18681961a4a0e01408
CRs-Fixed: 2371558
2018-12-22 07:44:34 -08:00
nshrivas
95f70363ed Release 5.2.0.112W
Release 5.2.0.112W

Change-Id: I05673c6f4bb3e2b974d774c623825b5f8760dc20
CRs-Fixed: 774533
2018-12-22 05:23:21 -08:00
Rajeev Kumar
55d9a526b3 qcacld-3.0: Dump DPT and MAC trace after LIM detects disconnection
Dump DPT and MAC trace after LIM detects disconnection caused by
deauth or disassoc such that in case of RX data stall we can get
all required logs.

Change-Id: I28b129e5b787391e0064a16d9750c463f2310199
CRs-Fixed: 2371708
2018-12-22 05:23:20 -08:00
Jeff Johnson
9e760830c1 qcacld-3.0: Converge on struct mobility_domain_info
The driver currently defines three different data structures to hold
mobility domain information:
- tSirMobilityDomainInfo
- tCsrMobilityDomainInfo
- struct mobility_domain_info

To align with the converged software architecture remove the two
legacy typedefs and exclusively use the unified WMI structure.

Change-Id: I317b90e47c3db8b74a76c297f6bc42301fa2f80e
CRs-Fixed: 2369476
2018-12-22 05:23:11 -08:00
Jianmin Zhu
bf84593f36 qcacld-3.0: Replace isRoamOffloadEnabled and RoamOffloadEnabled
Replace legacy isRoamOffloadEnabled from csr_config with
converged flag lfr3_roaming_offload.
Fix CamelCase issues for roam offload part.

Change-Id: I89ceda876d5549e9b0959e7e25e317c9667594b5
CRs-Fixed: 2367873
2018-12-22 05:23:07 -08:00
nshrivas
13d9b46548 Release 5.2.0.112V
Release 5.2.0.112V

Change-Id: If3f38889778a2d7f63a709de8749943a4a9d6912
CRs-Fixed: 774533
2018-12-22 02:54:04 -08:00
Nachiket Kukade
089b98361e qcacld-3.0: Handle concurrencies with NAN Discovery
Use policy manager to set and update the NAN Discovery
related connection info. Disable NAN Discovery
explicitly for unsupported concurrencies.

Handle concurrencies with NAN Discovery interface.

Change-Id: I8c9450b034983ef0402fdc878d8b525bedac9f0b
CRs-Fixed: 2358180
2018-12-22 02:54:03 -08:00
Kiran Kumar Lokere
80734c0a31 qcacld-3.0: Fix the issue with MU EDCA param update
Calculate the CW min and max values before configure them to FW.

Change-Id: I3024fcc0aaacda5f307a1b71ea67b87b538a3664
CRs-Fixed: 2371029
2018-12-22 02:53:59 -08:00
Jianmin Zhu
e932fb02f4 qcacld-3.0: Refactor roam scan offload parameters config
After replace CONFIG_MCL with WLAN_FEATURE_ROAM_OFFLOAD in
struct roam_offload_scan_params, roam_offload_params is only
defined under MACRO WLAN_FEATURE_ROAM_OFFLOAD, any access to
roam_offload_params should be under WLAN_FEATURE_ROAM_OFFLOAD.

Refactor function wma_roam_scan_offload_mode, separate roam scan
offload parameters config to another function.

Change-Id: I3b9306ef3c3ad9c451ffb450df9521cde609bca4
CRs-Fixed: 2367841
2018-12-22 02:53:54 -08:00
nshrivas
f6c0c6a804 Release 5.2.0.112U
Release 5.2.0.112U

Change-Id: I529bd9807942f3e8b3a8fdb0a8a79bc4d3ae718a
CRs-Fixed: 774533
2018-12-21 19:23:37 -08:00
Rajeev Kumar
acb73d0200 qcacld-3.0: Reject con mode handler after driver is unloaded
Reject con mode handler after driver is unloaded. Proper order is
Driver needs to be re-loaded again and then con mode change handler
needs to be invoked.

Change-Id: Ibc3dfbae1ba3953af537f2d5f50748598a4fe3e1
CRs-Fixed: 2369284
2018-12-21 19:23:36 -08:00
Jianmin Zhu
9b7bef75ca qcacld-3.0: Fix 2nd STA failed to connect in dbs mode
When STA connect and target AP isn't in scan cache, specific
scan for AP ssid will happen, and roam profile is saved in
scan info.
When scan complete, in registered csr scan callback, if connect
need HW mode change, HW mode change is sent to F/W, and roam
profile in scan info is freed at once.
In HW mode change response handler,  if roam profile in scan info
is found to be freed,  failed to start connect.

Fix:
Make sure roam profile not freed before issue connect.
In specific scan result callback, before issue connect, check
whether need HW mode change.
1. If HW mode change is unneeded or return FAILED, free roam
   profile in scan info.
2. If HW mode change return SUCCESS,  when cmd is finished or
   cancelled, in csr_free_cmd_memory, free roam profile when
   cmd is e_sme_command_set_hw_mode with reason
   POLICY_MGR_UPDATE_REASON_HIDDEN_STA.

Change-Id: I3f87996de4142baea33dd0f56cb2a892f0387336
CRs-Fixed: 2369154
2018-12-21 19:23:32 -08:00
nshrivas
874e3ea2de Release 5.2.0.112T
Release 5.2.0.112T

Change-Id: I28b536a94e5ec111a270b1c2ddce6a4d2287afcd
CRs-Fixed: 774533
2018-12-21 15:16:01 -08:00
Jeff Johnson
e5ec370cee qcacld-3.0: Remove tAniSetTmLevelReq
Change I5afd04a5ed5d4d0bd3438d95cc4f6c214ad4bc3d ("qcacld-3.0: Remove
sme_set_tm_level()") removed the last usage of tAniSetTmLevelReq.
Since it is obsolete, remove it.

Change-Id: I2a44f2a3b5f0e924d4dc0d9a9563b359a0366577
CRs-Fixed: 2371206
2018-12-21 15:16:01 -08:00
Jeff Johnson
b48dda4623 qcacld-3.0: Remove gLimEseTsmTimer from tLimTimers
Timer gLimEseTsmTimer in tLimTimers is unused, so remove it.

Change-Id: I30a67b9bec363330429be07c1b9ca0275154f114
CRs-Fixed: 2371205
2018-12-21 15:15:56 -08:00
Jeff Johnson
51210c8764 qcacld-3.0: Remove gSmeSessionId from tAniSirLim
Field gSmeSessionId in tAniSirLim is unused, so remove it.

Change-Id: I1e22b1e0d7df22e60010d94b956d0f467ad9b5db
CRs-Fixed: 2371204
2018-12-21 15:15:51 -08:00
Jeff Johnson
05c36c18ef qcacld-3.0: Remove rrm_update_start_tsf()
Function rrm_update_start_tsf() is unused, so remove it.

Change-Id: I0d795a9ff42a08806026525366701ce7eaad08c2
CRs-Fixed: 2371203
2018-12-21 15:15:47 -08:00
Jeff Johnson
3acfc6b63f qcacld-3.0: Remove mgmtFrameSessionId from tAniSirLim
Field mgmtFrameSessionId in tAniSirLim is initialized but is otherwise
never referenced. Since the field is unused, remove it.

Change-Id: I27239cbe92d9b1de32fe003cd977e2c8ccc18017
CRs-Fixed: 2371202
2018-12-21 15:15:42 -08:00
Jeff Johnson
7a3b24eea8 qcacld-3.0: Remove lim_set_link_state_ft()
Function lim_set_link_state_ft() is unused, so remove it.

Change-Id: Ib621426cb1956e6d0a2d34dd154cf5f3d55b643d
CRs-Fixed: 2371201
2018-12-21 15:15:38 -08:00
Jeff Johnson
3bdd76217b qcacld-3.0: Remove hdd_wmm_get_uapsd_mask()
Change Idf75957707c3799add0c59fdd532fe0c24d27117 ("qcacld-3.0: Remove
obsolete STA support for SIOCSIWESSID") removed the last client of
hdd_wmm_get_uapsd_mask(). Since this function is now unused, remove
it.

Change-Id: I28b1909690e1f1c813f4169b6429a7faecdac7d6
CRs-Fixed: 2371200
2018-12-21 15:15:33 -08:00
Jeff Johnson
40edc6531b qcacld-3.0: Remove hdd_wlan_set_ht2040_mode()
Function hdd_wlan_set_ht2040_mode() is obsolete, so remove it.

Change-Id: Ie5fef47eda8eb92442bb01f87c6e09d7d0c02b72
CRs-Fixed: 2371199
2018-12-21 15:15:29 -08:00
Jeff Johnson
e0c470959a qcacld-3.0: Remove csr_purge_vdev_all_ser_cmd_list()
Change I1d45de261c50f1835379a9cc1df4631f3e32f459 ("qcacld-3.0: Purge
all serialization commands on csr stop") removed the only client of
csr_purge_vdev_all_ser_cmd_list(). Since this function is now unused,
remove it.

Change-Id: I62ff513aa817d9b7fd4dcec156d53c02a1de40e2
CRs-Fixed: 2371198
2018-12-21 15:15:01 -08:00
Jeff Johnson
bced99ae01 qcacld-3.0: Remove csr_is_sta_session_connected()
Change I913b6e769f282a0f5a0ddb40e54d294ae07deb55 ("qcacld-3.0: Remove
unused concurrency ini parameters") removed the last client of
csr_is_sta_session_connected(). Since this function is unused, remove
it.

Change-Id: I6c14227fb1364b37dd570cd658aedb0b5b10b341
CRs-Fixed: 2371197
2018-12-21 15:14:49 -08:00
Jeff Johnson
2ef037ddcd qcacld-3.0: Remove wma_ipa_uc_stat_request()
Change Ib9cdaf7e8aa019002b9fc02d8ffacfcdb28fc121 ("qcacld-3.0:
Remove sme_ipa_uc_stat_request()") removed the last client of
wma_ipa_uc_stat_request(). Since this function is now obsolete,
remove it.

Change-Id: I965ccad2e94246c0d7d57e85c1fa433eeb5c136e
CRs-Fixed: 2371196
2018-12-21 15:14:37 -08:00
Jeff Johnson
5b21359f5e qcacld-3.0: Remove wma_get_wcnss_software_version()
Change Ief51bcf611d5d5759fa04e05c0bb4d96e44c7a29 ("qcacld-3.0:
Remove sme_get_wcnss_*_version()") removed the last client of
wma_get_wcnss_software_version(). Since this function is obsolete,
remove it.

Change-Id: Ie3e8fcb48e45deebc750c9886f268d5306a7b705
CRs-Fixed: 2371195
2018-12-21 15:14:26 -08:00
Jeff Johnson
7146db75bc qcacld-3.0: Remove wma_get_mac_id_of_vdev()
Function wma_get_mac_id_of_vdev() is unused, so remove it.

Change-Id: Id9283aaff4f9c83f427311191cc3d1777810ac91
CRs-Fixed: 2371194
2018-12-21 15:14:15 -08:00
Jeff Johnson
5a8f11a474 qcacld-3.0: Remove sme_set_tm_level()
Function sme_set_tm_level() is unused, so remove it.

Change-Id: I5afd04a5ed5d4d0bd3438d95cc4f6c214ad4bc3d
CRs-Fixed: 2371193
2018-12-21 15:14:04 -08:00
Jeff Johnson
7d99c7f2bf qcacld-3.0: Remove sme_set_neighbor_scan_min_period()
Change Id39629e33e87ffe6ed58f375609a55e324618693 ("qcacld-3.0: Apply
second part of LFR INIs changes in HDD layer") removed the last client
of sme_set_neighbor_scan_min_period()").  Since this function is
unused, remove it.

Change-Id: I305b9d78582b5e633079daeb864da703428314d8
CRs-Fixed: 2371192
2018-12-21 15:13:53 -08:00
Jeff Johnson
9bf35c4459 qcacld-3.0: Remove sme_set_dhcp_till_power_active_flag()
Change Idf75957707c3799add0c59fdd532fe0c24d27117 ("qcacld-3.0: Remove
obsolete STA support for SIOCSIWESSID") removed the only client of
sme_set_dhcp_till_power_active_flag(). Since this function is now
unused, remove it.

Change-Id: I161122772fbc6e588384ac10382885cafdadbc3e
CRs-Fixed: 2371191
2018-12-21 15:13:43 -08:00
Jeff Johnson
9816a252c2 qcacld-3.0: Remove sme_is_sta_smps_allowed()
Change Ifff2ef2c8790994a68e676b8bba2fb03c21370d4 ("qcacld-3.0: Enable
station SMPS only if the session supported NSS > 1") introduced
function sme_is_sta_smps_allowed(). However this function has
subsequently never been used, so remove it.

Change-Id: I0a4d134986dd3a03d12e907f6df6ecb29b268eb3
CRs-Fixed: 2371155
2018-12-21 15:13:32 -08:00
Jeff Johnson
867c89d833 qcacld-3.0: Remove obsolete sme "is supported" functions
The following legacy functions are unused, so remove them:
- sme_is11d_supported()
- sme_is11h_supported()
- sme_is_wmm_supported()

Change-Id: I50016f7695d873f551f214504b54c0cbeb40564f
CRs-Fixed: 2371154
2018-12-21 15:13:22 -08:00
Jeff Johnson
87ab490a62 qcacld-3.0: Remove sme_ipa_uc_stat_request()
Change Id4691e0f490c2f9bd9ccc8d5225be32002a5df9e ("qcacld-3.0:
Remove legacy IPA code from HDD") removed the last client of
sme_ipa_uc_stat_request().  Since the function is unused, remove it.

Change-Id: Ib9cdaf7e8aa019002b9fc02d8ffacfcdb28fc121
CRs-Fixed: 2371153
2018-12-21 15:13:12 -08:00
Jeff Johnson
de8c2392e1 qcacld-3.0: Remove sme_handle_dfs_chan_scan()
Change I994e53b17788472de979df9dce9e18c6f68de850 ("qcacld-3.0: Add
support for regulatory component ucfg apis") removed the last client
of sme_handle_dfs_chan_scan(). Since this function is now unused,
remove it.

Change-Id: Id4bad555c0cd52c736c7c934e4892953dc27c582
CRs-Fixed: 2371151
2018-12-21 15:13:03 -08:00
Jeff Johnson
ab9e396d51 qcacld-3.0: Remove sme_get_soft_ap_domain()
Function sme_get_soft_ap_domain() is unused, so remove it.

Change-Id: I23da56f1ab4e6396fc17f3523d4f4640041874dd
CRs-Fixed: 2371150
2018-12-21 15:12:53 -08:00
Jeff Johnson
0265e9944f qcacld-3.0: Remove csr_get_infra_session_id()
Change Ib37eff0591d9c043e62883329c12410fcca67223 ("qcacld-3.0: Remove
sme_get_infra_session_id()") removed the only client of
csr_get_infra_session_id(). Since this function is now unused, remove
it.

Change-Id: I32d0875087ad1f55ec8e8ee2985f7397fefb525d
CRs-Fixed: 2371149
2018-12-21 15:12:44 -08:00
Jeff Johnson
cb62be3384 qcacld-3.0: Remove sme_get_infra_session_id()
Function sme_get_infra_session_id() is unused, so remove it.

Change-Id: Ib37eff0591d9c043e62883329c12410fcca67223
CRs-Fixed: 2371148
2018-12-21 15:12:35 -08:00
Jeff Johnson
ba4fd18cba qcacld-3.0: Remove sme_get_infra_operation_channel()
Function sme_get_infra_operation_channel() is unused, so remove it.

Change-Id: I5b2a6e8c3c38c751e5b4f826b8329d34095e18be
CRs-Fixed: 2371147
2018-12-21 15:12:26 -08:00
Jeff Johnson
37cc3c705f qcacld-3.0: Remove sme_feature_caps_exchange()
Change I0ded9473083418f6bb33cec4fa43a17c8c281177 ("qcacld-3.0: Remove
hdd_exchange_version_and_caps()") removed the only client of
sme_feature_caps_exchange(). Since this function is an obsolete stub,
remove it.

Change-Id: I0899e4befbf995436729c90caeda982e8b5ec1ff
CRs-Fixed: 2371146
2018-12-21 15:12:17 -08:00
Jeff Johnson
ce85b5a410 qcacld-3.0: Remove sme_disable_feature_capablity()
Change I0ded9473083418f6bb33cec4fa43a17c8c281177 ("qcacld-3.0: Remove
hdd_exchange_version_and_caps()") removed the only client of
sme_disable_feature_capablity().  Since this function is an obsolete
stub, remove it.

Change-Id: I8cf83e7f370a644c6e814aa7b4aedad1f7fec88f
CRs-Fixed: 2371145
2018-12-21 15:12:08 -08:00
Jeff Johnson
64a419a8ad qcacld-3.0: Remove sap_dfs_is_channel_in_preferred_location()
Change Ia0fa016b174ef4b50e2cc339e4e476ec65642dbf ("qcacld-3.0:
Use dfs component support") removed the last client of
sap_dfs_is_channel_in_preferred_location().  Since this function
is now obsolete, remove it.

Change-Id: I137a00699511c7f019f6cf3b8f0579aeb52c7778
CRs-Fixed: 2371144
2018-12-21 15:12:00 -08:00
Jeff Johnson
ee4e895e01 qcacld-3.0: Remove lim_teardown_infra_bss()
Function lim_teardown_infra_bss() is unused, so remove it.

Change-Id: I608fe64c5e2ef25f57b85e8f8324639da71b8bfa
CRs-Fixed: 2371143
2018-12-21 15:11:51 -08:00
Jeff Johnson
123943afec qcacld-3.0: Remove csr_store_joinreq_param()
Change I92f79f595e881fccb6eb5e87fcfa29e8f26fa1a5 ("qcacld-3.0:
Remove sme_store_joinreq_param()") removed the last client of
csr_store_joinreq_param(). Since this function is now unused,
remove it.

Change-Id: Ie3f7a8a581a505a29ddb96825eafe265c6d01479
CRs-Fixed: 2371142
2018-12-21 15:11:43 -08:00
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
Jeff Johnson
7fea5c5bff qcacld-3.0: Remove sme_get_channel_bonding_mode*_g()
Change I7c5fc06c66c004aa5c1a208376d1ab4b88956a6f ("qcacld-3.0:
Fix channel selection failure after radar is detected") removed
the only client of functions sme_get_channel_bonding_mode24_g() and
sme_get_channel_bonding_mode5_g(). Snce these are now unused,
remove them.

Change-Id: I21e6b5a927e27063f6393930a3933ee7b53b7e1e
CRs-Fixed: 2370883
2018-12-21 05:15:14 -08:00
Jeff Johnson
ccb2408244 qcacld-3.0: Remove sme_cfg_set_str()
Change Ib943f9de70a78ba5d5e87d81c76b20341893f8e9 ("qcacld-3.0:
Enable MAC provisioning from ini") removed the last client of
sme_cfg_set_str(). Since the CFG is being phased out there
should not be any new clients for this function, so remove it.

Change-Id: Ie97bb639423ceb0be41dab686d85dae46e4acff7
CRs-Fixed: 2370882
2018-12-21 05:15:09 -08:00
Jeff Johnson
ba04f224ad qcacld-3.0: Remove rem_on_chan_ready_event from hdd_adapter
Change Idaaacac4fdaf1b964432c33c10b1c86f8a591c2d ("qcacld-3.0: Remove
legacy P2P codes in HDD") removed the logic which utilized the
rem_on_chan_ready_event field in struct hdd_adapter. Since this field
is no longer used, remove it.

Change-Id: Ic8947dc70d510bd123759e53e58e33c5b64ec130
CRs-Fixed: 2370881
2018-12-21 05:15:05 -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
Jeff Johnson
fe31a6d6d4 qcacld-3.0: Remove is_nan_enabled flag from wma_handle_t
The is_nan_enabled flag in wma_handle_t is written but never read.
Since it is unused, remove it along with the logic that writes it.

Change-Id: I3e7d09ac1ab77427d37a8a45ca5f1612b05c5339
CRs-Fixed: 2370875
2018-12-21 05:14:43 -08:00