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
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
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
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
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
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
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
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
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
While function policy_mgr_set_pcl_for_existing_combo posts event
SIR_HAL_PDEV_SET_PCL_TO_FW and before restores pm_conc_connection_list,
the function policy_mgr_get_valid_chan_weights is invoking and
accessing pm_conc_connection_list then race happens.
To resolve the issue, restore the pm_conc_connection_list before
calling SME function.
CRs-Fixed: 2362839
Change-Id: I8b30dc5084c4aae4bcc4b3b350d19c8be89338a9
PNO adaptive dwell mode is updated from adaptive_dwell_mode_enabled
instead of pnoscan_adaptive_dwell_mode.
Use pnoscan_adaptive_dwell_mode to update the PNO adaptive dwell time
mode.
Change-Id: Ia1f44fa6e3bf65ca41e1a29dcdac345432923e76
CRs-Fixed: 2370377
Here rx_ring.refill_debt can become negative if filled count
returned from htt_rx_ring_fill_n() exceeds the rx_ring.refill_debt.
This is possible because inside htt_rx_ring_fill_n() we always refill
num = qdf_atomic_read(&pdev->rx_ring.refill_debt). Here we do not take
care of already served debt.
Taken care of above by subtracting debt_served from refill debt.
Change-Id: I0c154c978b711da2d8497c50f730619767787188
CRs-Fixed: 2365566
Change interface received fails due to peer existing with same
MAC address. As a result of this, session id is set to invalid
in adapter. hdd_stop invoked after this disables auto ps timer
but since session id is invalid, assert happens since the timer
state is invalid.
Fix is to validate session id before checking auto ps timer
state.
Change-Id: Ie5b5860dfdcc4d678021d8aa2d643f29465d4735
CRs-Fixed: 2365726
Change I8b1ead9902ec93e76f76144118392db38abd38d7 ("qcacld-3.0: Remove
hdd_issta_p2p_clientconnected()") removed the only caller of
sme_is_sta_p2p_client_connected(). Since the function is now unused,
remove it.
Change-Id: I2b469c6cb2e6bdfc735b04e9bd6f12ba0d41fea4
CRs-Fixed: 2370794
Functions mac_trace_msg_rx_new() and mac_trace_msg_tx_new() are
unused, so remove them.
Change-Id: I22c6846769a4c6d76d0cfae02fee1e1c01061fbe
CRs-Fixed: 2370790
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
The gHTRifsMode field in tAniSirLim is written but never read.
Since the field is ultimately unused, remove it.
Change-Id: I7ad1f977d354bf80b66a1dc04c2afb8ca0f42719
CRs-Fixed: 2370782
Change I994e53b17788472de979df9dce9e18c6f68de850 ("qcacld-3.0: Add
support for regulatory component ucfg apis") removed the last caller
of sme_handle_set_fcc_channel(). Since the function is now obsolete,
remove it.
Change-Id: Ie5ca8d32e9286209395f6e8992b2292fec2354f2
CRs-Fixed: 2370781
Change Idaaacac4fdaf1b964432c33c10b1c86f8a591c2d ("qcacld-3.0:
Remove legacy P2P codes in HDD") removed the code that utilized
the cancel_rem_on_chan_var completion variable. Since it is no
longer used, remove the remaining references to it.
Change-Id: Icb2701a8335042aade3a2c7eb0af308e8bdfc658
CRs-Fixed: 2370037
Change I6f6710450ff692f4722ccb6d704871f50178680c ("qcacld-3.0: Cleanup
the legacy Scan cache") removed most of the legacy scan cache logic.
However it left behaind a few remants of the old 11d logic, so remove
them.
Change-Id: I03af09c622f2e52cdc54737ed8791e46409604b4
CRs-Fixed: 2370035
The legacy scan structs tSirSmeScanAbortReq and tSirSmeGetScanChanReq
are unused, so remove them.
Change-Id: I72e75145f4dcf3a578b52d9d1be841a12d67a2d3
CRs-Fixed: 2370034
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
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
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
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
The current version of the driver has not used tSirWlanResumeParam,
so remove it.
Change-Id: I7b01b9f27d45592ec970cd35c98d458f3ca62640
CRs-Fixed: 2370029
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
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