Make changes to the legacy code to support the
new SET KEY converged infrastructure.
Change-Id: Ic5359e3a9035ac5f2a937a9a1013fa92764cda9d
CRs-Fixed: 2358795
Change I097c67da517e86b4d44901a01b0fe65e1a53b0a9 ("qcacld-3.0:
Cleanup SME APIs") removed all references to typedef
tCsrUpdateConfigParam. Since the typedef is obsolete, remove it.
Change-Id: Idd33f42930c181d1c79c2cdf72adde0a4af2e9fa
CRs-Fixed: 2375517
Change I8ba344ce5593df44bd15527e2ff68e872b6d23b8 ("qcacld-3.0: TDLS:
remove legacy core functions") removed the last references to typedef
tCsrStaParams. Since the typedef is obsolete, remove it.
Change-Id: I63442b1c2f0033c50ab94d4dcf4288eae5fb4d9d
CRs-Fixed: 2375515
The roamOffloadSynchParams field in struct csr_roam_session
is unused, so remove it, along with the underlying struct
csr_roam_offload_synch_params.
Change-Id: I7a1c7bad6090404fde9a97ce0ca3a3b36cb8299a
CRs-Fixed: 2375514
The uRTSThresh and uDeferThresh fields in struct bss_config_param are
obsolete, so remove them.
Change-Id: I79144e36d661fac7136fbb7b941b7772addf7f25
CRs-Fixed: 2375513
The parameter identifiers used in the implementation of
csr_validate_mcc_beacon_interval() differ from the ones used in the
prototype. Since this can be confusing for both humans and code
analysis tools, harmonize on the parameters used in the
implementation. In addition, relocate the documentation so that it is
the interface that is documented and not the implementation.
Change-Id: I817c836fe07a8add1e3588d9b5eeded027ee6f26
CRs-Fixed: 2375512
Change I71de90d5fb88462e52148a434d43ea80c41cfe36 ("qcacld-3.0: Move
Channel convert and frame indication logic to lim_utils.c") removed
the implementation of p2p_process_remain_on_channel_cmd() but left
behind the prototype. Since the prototype is obsolete, remove it.
Change-Id: I34caafa9cc2731f3a21e0200e520118a10740d3b
CRs-Fixed: 2375511
Change Ibea328196a9453ebaae887aa4068e78c47296762 ("qcacld-3.0:
Scan cleanup in lim and csr") removed the implementation of
csr_process_scan_command() but left the prototype. Since the
prototype is obsolete, remove it.
Change-Id: I937ef951045be638fccce8902fbaed510350f029
CRs-Fixed: 2375510
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
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
Function csr_roamGetConcurrencyConnectStatusForBmps() no longer
exists, but the prototype is still present. Since it is obsolete,
remove it.
Change-Id: I6e1f0206957a828a1041659e7d5f3ac9e97dc843
CRs-Fixed: 2374840
Function sme_ConfigureAppsCpuWakeupState() no longer exists, but the
prototype is still present. Since it is obsolete, remove it.
Change-Id: I91c26c2e3ec67c61ff55efbf24b2716e3ff35675
CRs-Fixed: 2374839
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
The following channel-related fields in struct csr_roamstruct are
unused, so remove them:
- baseChannels
- channelList24
- channelList5G
- numChannelsEeprom
Change-Id: Ia44e386496e36ba15bcb1c39c6190d0331603903
CRs-Fixed: 2374836
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
Currently power save enable request user command is not
processed if the station is not in connected state and the
configuration is not saved hence station do not enter into
power save mode until the user command is issued after
connection.
Save the power save user configuration setting if the station
is not connected and start the auto power save timer for one
second timeout value after the station is connected to enable
the power save.
Change-Id: I6e17a8e989ca731ca008dcb46ca79c3a181ddff0
CRs-Fixed: 2371045
The driver currently defines two different data structures to hold
a TS Info field:
- tSirMacTSInfo
- struct mac_ts_info
In this case having two different structures to provide the same
functionality is pointless. Furthermore, due to the way in which these
structures are used, there is an implicit requirement that they be
exactly identical. This approach is very fragile. To align with the
converged software architecture and to improve code maintainability
remove the legacy typedef and exclusively use the unified WMI
structure.
Change-Id: I95bcb4364ee7e3108137c8ceeedf05c7a53bc393
CRs-Fixed: 2371910
Add host support for db2dbm RSSI changes. Firmware
indicates this capability when underlying hardware
has RSSI reporting feature. Based on this capability
host will know if firmware sends SNR or RSSI. If no
capablity is present then host will convert SNR to
rssi using a fixed offset of -96. If capability is
present host will directly use the rssi as it is.
Change-Id: I9058f16c6280d466feb96cf88a8a0d8cd7b02032
CRs-Fixed: 2364023
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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