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 part of that goal refactor the following independent attribute
handling into a separate function and add that function to the vtable:
- QCA_WLAN_VENDOR_ATTR_CONFIG_MGMT_RETRY
Change-Id: I19af4fa260bd837b55dc0ac38ef7556e5f181c13
CRs-Fixed: 2371570
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 part of that goal refactor the following independent attribute
handling into a separate function and add that function to the vtable:
- QCA_WLAN_VENDOR_ATTR_CONFIG_AGG_RETRY
Change-Id: Ibda27586afb6daf7745c2a98cb947a22975e0453
CRs-Fixed: 2371569
Driver is updating center_frequency_2 in case of channel width
80MHz, 80+80MHz and 160MHz in channel change notification to
hostapd.
Since center_frequency_2 gets used only in case of 80+80 MHz,
update center_freq_2 only for 80+80 MHz.
Change-Id: If66f205eac0c81bbb7a2954c05b2e3d5618ff8f8
CRs-Fixed: 2372039
Currently in driver at load time if probe fails because
of any reason, as part of FW down, recovery in progress
flag is getting set which is getting reset only in re-init
path. Now when probe starts again as this was load time
failure, this flag is set and there are checks at many
places for this flag in driver where we just don't proceed
further if this flag is set.
One such example of such incident is reg_process_master_chan_list
api where regulatory event is not getting processed because this
flag is set.
To resolve this issue reset recovery in progress flag during probe.
There is no harm in resetting the flag during probe as probe start
indicates that FW is ready.
Change-Id: Ib681870f869060f4511563aa3255aeb0eb8f9f12
CRs-Fixed: 2365416
If ecsa timeout is active and stop bss is received. During
pe delete session the timer is stopped and destroyed. But if
if timer has already expired and has posted the message to MC
thread the timer callback will be called with pe session which
is already deleted.
Fix this by checking if of pe session is valid in timeout API.
Also reset dfsIncludeChanSwIe during pe delete session.
Change-Id: I67d7e65c8136daaa04afa8b01b7019b0b8b36dae
CRs-Fixed: 2372278
The driver currently defines two different data structures to hold
Delete Tspec parameters:
- tDelTsParams
- struct del_ts_param
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: Ia70b1e17e4446259ff32107ffbc11646d078e1c0
CRs-Fixed: 2371915
The driver currently defines two different data structures to hold
Add Tspec parameters:
- tAddTsParams
- struct add_ts_param
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: I298202748b8a0f6c2a9f8a36ca7cdee071d000bf
CRs-Fixed: 2371914
The driver currently defines two different data structures to hold
Delete Tspec Request parameters:
- tSirDeltsReqInfo
- struct delts_req_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: I0951c8da636bcbf81a335c0ea1250d721ca5c573
CRs-Fixed: 2371913
The driver currently defines two different data structures to hold
aggregate AddTspec parameters:
- tAggrAddTsParams
- struct aggr_add_ts_param
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: I960bd79b04838ac675ad49e332a47671faccaaa7
CRs-Fixed: 2371912
The driver currently defines two different data structures to hold
a TSpec IE field:
- tSirMacTspecIE
- struct mac_tspec_ie
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: I2e9da1d72dae3c4b0baa13306ee7ec127895a4f2
CRs-Fixed: 2371911
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
The function name lim_process_ft_aggr_qo_s_rsp() is mangled,
originally produced by automated camelCase conversion. Rename to
lim_process_ft_aggr_qos_rsp() to make more sense.
Change-Id: I8ca5888594d4384020d14804524f9a669ae8de08
CRs-Fixed: 2371909
Currently the driver doesn't set the passive scan req flag
as false which results in passive scan, and thus introduces
latency.
Fix is to set passive scan as false in ACS scan req.
Change-Id: I1274a4ccb9d99d568c32aeea1a65e4637a82b9c8
CRs-Fixed: 2372103
In avoid frequency vendor command, only data validation is
being done but each individual channel is not getting validated
which may lead to an array out of bound access as the array
which is used to cache the channels has the size of valid number
of channels.
To avoid this, add a check to validate each channel before
updating the unsafe channel list array.
Change-ID: I433e9297207869e43d1a6ee2d621bded2f562656
CRs-Fixed: 2341890
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
In wma_hold_req_timer(), if wma_crash_on_fw_timeout()
is true, SSR will be triggered, but allocated memory
such as user_data, params and resp are not freed,
result in memory leak.
Fix is to still do wma_send_msg_high_priority() when
wma_crash_on_fw_timeout()is true, so allocated memory
can be freed.
Change-Id: I798bb864e8ad6dc7eb67401a820dc0896892e65e
CRs-Fixed: 2370594
The existing accessor macro NBUF_MAP_ID is obsoleted due to
restructuring of qdf_nbuf_cb.
Use new macro QDF_NBUF_CB_RX_MAP_IDX to access map_index.
Change-Id: I23650781cdd770f25b72a0a5fe55acc12d71cb64
CRs-Fixed: 2370724
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 part of that goal refactor the following independent attribute
handling into a separate function and add that function to the vtable:
- QCA_WLAN_VENDOR_ATTR_CONFIG_NON_AGG_RETRY
Change-Id: I607335f5975d45f2a38503cbaaa557e02818cbdb
CRs-Fixed: 2371568
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 part of that goal refactor the following independent attribute
handling into a separate function and add that function to the vtable:
- QCA_WLAN_VENDOR_ATTR_CONFIG_GUARD_TIME
Change-Id: I3395b39fd150daba2383998d9bef1a58ac61fd4d
CRs-Fixed: 2371567
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 part of that goal refactor the following independent attribute
handling into a separate function and add that function to the vtable:
- QCA_WLAN_VENDOR_ATTR_CONFIG_STATS_AVG_FACTOR
Change-Id: Ife9ca5b48a3b64b3de674873a2faf2926df4e60a
CRs-Fixed: 2371566
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 part of that goal refactor the following independent attribute
handling into a separate function and add that function to the vtable:
- QCA_WLAN_VENDOR_ATTR_CONFIG_QPOWER
Change-Id: Ic10dd8ef706cb73028fe8523dbb6e0cc0a15ac4a
CRs-Fixed: 2371565
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 part of that goal refactor the following independent attribute
handling into a separate function and add that function to the vtable:
- QCA_WLAN_VENDOR_ATTR_CONFIG_SCAN_ENABLE
Change-Id: Ia9e97c19c26d7fbdaed0ddaec2def1bdc78ae34c
CRs-Fixed: 2371564
After p2p componentized, the legacy roc data struct and
functions are not needed. Remove below data struct and
functions:
lim_remain_on_chn_rsp
lim_process_remain_on_chnl_req
lim_process_remain_on_chn_timeout
lim_send_p2p_action_frame
lim_send_sme_roc_rsp
struct sir_roc_rsp
struct sSirRemainOnChnReq
tSirRemainOnChnReq *gpLimRemainOnChanReq
Change-Id: Ie1644bf973e8aba30f44e0750f97b21ec31deb69
CRs-Fixed: 2367914
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 part of that goal refactor the following independent attribute
handling into a separate function and add that function to the vtable:
- QCA_WLAN_VENDOR_ATTR_CONFIG_LRO
Change-Id: I5627292f84cefe79b1a89d1be84cea5d8a7c6cc1
CRs-Fixed: 2371563
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 part of that goal refactor the following independent attribute
handling into a separate function and add that function to the vtable:
- QCA_WLAN_VENDOR_ATTR_CONFIG_LISTEN_INTERVAL
Change-Id: I61b679c4fda4b803a8721054694102c7af46fc88
CRs-Fixed: 2371562
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 part of that goal refactor the following independent attribute
handling into a separate function and add that function to the vtable:
-QCA_WLAN_VENDOR_ATTR_CONFIG_MODULATED_DTIM
Change-Id: Iebadf68ec920ab4198feb5b8ee99ec3d8b961173
CRs-Fixed: 2371561
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 part of that goal refactor the following independent attribute
handling into a separate function and add that function to the vtable:
- QCA_WLAN_VENDOR_ATTR_CONFIG_FINE_TIME_MEASUREMENT
Change-Id: I8b9914936ed9077b487bb8092246a64a6c5f914b
CRs-Fixed: 2371560
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.
The QCA_WLAN_VENDOR_ATTR_CONFIG_SCAN_DEFAULT_IES attribute handling is
already in a separate function, so add that function to the vtable
instead of calling it directly.
Change-Id: Id77d491ce90bbc1d2a0569af37bba55aeeaa0295
CRs-Fixed: 2371559
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
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
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
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
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
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
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
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
Field mgmtFrameSessionId in tAniSirLim is initialized but is otherwise
never referenced. Since the field is unused, remove it.
Change-Id: I27239cbe92d9b1de32fe003cd977e2c8ccc18017
CRs-Fixed: 2371202
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
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 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
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
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 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
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 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
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 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
Field gLimHeartBeatCount in tAniSirLim is initialized but is otherwise
never used, so remove it.
Change-Id: I02c30aa599c1c43bab4cce6f8fff386696e74a96
CRs-Fixed: 2371101
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
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 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
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
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
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
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
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
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
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
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 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
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
Field NeighborRoamScanRefreshPeriod in tSirRoamOffloadScanRsp is
unused, so remove.
Change-Id: I54b9bc8cadfd00aded1719981917254d6fb1b14a
CRs-Fixed: 2370959
Field PEPreauthRespTimeout in tCsr11rAssocNeighborInfo is initialized
but never read. Since this field is unused, remove it.
Change-Id: Ifb812d9fec695cf410a10bd40fb4ec97f0c41d16
CRs-Fixed: 2370958
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
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
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
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
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
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
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
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
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
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
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
Change Ia860904685fc4783453491effa4518777c7406d0 ("qcacld-3.0:
TDLS: remove legacy interfaces") removed the last reference to
enum tdls_concerned_external_events. Since this enum is now unused,
remove it.
Change-Id: Ie21072a45d7c083d4f0f661906ca9cabb17a6178
CRs-Fixed: 2370025
Change I994e53b17788472de979df9dce9e18c6f68de850 ("qcacld-3.0: Add
support for regulatory component ucfg apis") removed the last
reference to macro WLAN_WAIT_TIME_COUNTRY. Since this macro is now
unused, remove it.
Change-Id: Ia0824abe9bb4419966b812f755600853520f8df2
CRs-Fixed: 2370024
Change I8ba344ce5593df44bd15527e2ff68e872b6d23b8 ("qcacld-3.0: TDLS:
remove legacy core functions") removed the code that used macro
WLAN_HDD_PUBLIC_ACTION_TDLS_DISC_RESP. Since the macro is now unused,
remove it.
Change-Id: Ie0cd5cea1bc2a16829bbfb9b8339a41b303c6724
CRs-Fixed: 2370023
Change Ia8b85548ff64ad77b5066fe03229e2b0b2f7fae3 ("qcacld-3.0: Remove
legacy scan complete callback") removed the "nil scan report"
feature. However it left behind the last_nil_scan_bug_report_timestamp
field in struct hdd_context. Since this field is now unused, remove
it.
Change-Id: I7a208121c3957a5ab04df455ad8a8b54932dfd1c
CRs-Fixed: 2370022
The current version of the driver does not have an implementation of
wma_wow_tx_complete(), so remove the obsolete prototype.
Change-Id: Ieb91ebeade812ed4ba4ba25f93a63e4e33cad8ff
CRs-Fixed: 2370020
TDLS is not supported in concurrency. As part of second interface
creation, TDLS is disabled in both host and FW. But after the second
interface is deleted, TDLS is not enabled in FW and host even for
Standalone STA and P2P client cases.
Change-Id: I362c22a79e171f9779393b1b893b5bfd14ff562a
CRs-Fixed: 2367083
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
The current version of the driver does not have an implementation
of sme_update_fast_transition_enabled(), so remove the obsolete
prototype.
Change-Id: I705d4f3dc409e80d73d5dbc540e3d4ba03bbf192
CRs-Fixed: 2369216
The current version of the driver does not have an implementation of
limHandleMaxRetriesInterrupt(), so remove the obsolete prototype.
Change-Id: I78f929592f4c54be3f24fb02113cf4dcfba130e0
CRs-Fixed: 2369215
The current version of the driver does not have an implementation of
limContinueChannelLearn(), so remove the obsolete prototype.
Change-Id: Ifaa8b174cc337b2a279a58901e1215a275a87e89
CRs-Fixed: 2369214
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
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
There is no implementation for lim_process_mlm_reassoc_ind() so remove
the obsolete prototype.
Change-Id: Ib628d1ab55f9d713331f95a9de7331265f3d32e5
CRs-Fixed: 2369210
There is no implementation for the following functions, so remove the
obsolete prototypes:
- limPostDummyToTmRing()
- limPostPacketToTdRing()
Change-Id: I65d9a240ddd5af6e39e65247a31445f49c8d5ec9
CRs-Fixed: 2369209
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
LIM contains some legacy TDLS definitions that are no longer used, so
remove them.
Change-Id: I175cd5ce589b15f34c32a60ee3650c610d0af0a8
CRs-Fixed: 2369207
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
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
Fix NULL check issue in csr_roam_save_connected_information, verify
number of ssid to check if ssid is present in profile.
Change-Id: Id8e760e505e2d216a97e5924ff7e2c1cf664d6b7
CRs-Fixed: 2369161
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
If DBS is disabled from INI then driver just bails out
in wlan_hdd_update_dbs_scan_and_fw_mode_config() API and never report
it to FW. This creates a confusion when DBS is disable INI but our HW
is capable of doing DBS, i.e. driver thinks that DBS disabled
but FW thinks that DBS is enabled.
Provide a fix that driver should report exact INI setting to FW.
This issue got introduced as part of regression caused by:
Iec2ef7e77e91f332028904c319d24e1ed134306d
ROME platform doesn't support any DBS related commands in FW,
so if driver sends wmi command with dual_mac_config with all params
set to 0 then FW wouldn't respond back and driver would timeout on
waiting for response. This was the original issue for which
Iec2ef7e77e91f332028904c319d24e1ed134306d was added.
Make sure current solution doesn't break backward compatibility.
Add a check to make sure FW supports DBS to eliminate
ROME vs NON-ROME platform.
CRs-Fixed: 2361628
Change-Id: I8a3b795b20e82391ae5d5c86d1e7d814d103ce64
Currently, the support for beacon reception stats is only dependent on
the FW.
Add an ini so that the user can also have a control over the stats
Change-Id: I4a1e654b9d1598836378def494b37a997904d77a
CRs-Fixed: 2366473
LIM exposes a prototype for function peProcessMsg(), but the current
driver does not have a function by that name, so remove the prototype.
Change-Id: I90d5c4983467c58e5d2a44caf6edc9ef6c4a1c99
CRs-Fixed: 2369204
The legacy channel avoidance struct tSirChAvoidIndType, and its member
struct tSirChAvoidFreqType, are unused, so remove them.
Change-Id: Id891a094c674ca7bc3c9f2fdb7a9f990a9e79929
CRs-Fixed: 2369203
The macro ANI_WDS_INFO_MAX_LENGTH has never been used by the current
version of the driver. Since it is unused, remove it.
Change-Id: I5a8f39341e759cd6562de5b04b0043b677e24c0b
CRs-Fixed: 2369202
Change I64d0b71853004679ae694bcd6ca7a2f2347adc84 ("qcacld-3.0: Remove
legacy P2P codes in MAC") removed the last reference to macro
MAX_NO_OF_P2P_SESSIONS. Since it is now unused, remove it.
Change-Id: I455571aeb65f25abcfb7c80706a3a8d9bec887c3
CRs-Fixed: 2369201
Change I3260369879108f167453d5e0b8435c30ed729c5e ("qcacld-3.0: HDD
changes for common scan module") removed the only reference to macro
MAX_PENDING_LOG. Since it is now unused, remove it.
Change-Id: I4b5bf351a5bc7e2b841810302b75102038ae5a43
CRs-Fixed: 2368721
Change I84e9ac5ccfe8faaa00dfc448defb81fb792263d5 ("qcacld-3.0: Add
support for NDP vendor commands and NDI Create") introduced a forward
reference to struct hdd_tgt_cfg. That struct doesn't actually exist,
so remove the forward reference.
Change-Id: Ic3129f6c0c8e55824ba066d5d36a7d10868f9f50
CRs-Fixed: 2368720
Change I64d7a0e3e180a636d710b42837ff3a982853fb12 ("qcacld-3.0: Remove
the excessive logging in hdd_get_adapter_by_vdev") removed the last
reference to macro RATE_LIMIT_ERROR_LOG. Since it is now unused,
remove it.
Change-Id: I531f0496edb064ed0a8208c497a7a5905be21713
CRs-Fixed: 2368719
Change I3a506905f40272efe472028391e8080d764cb390 ("qcacld-3.0: Use max
STA count when iterating SAP clients") removed the only reference to
macro WE_GET_STA_INFO_SIZE. Since it is unused, remove it.
Change-Id: I6c8069f0ce420fbe08d4e2527ce94f5c906027c6
CRs-Fixed: 2368718
The following macros have neer been used by the current version of the
driver, so remove them:
- HDD_P2P_WILDCARD_SSID
- HDD_P2P_WILDCARD_SSID_LEN
Change-Id: Ice446d0e6a9f6a1e95b16267a3cb6aebf85cf5ad
CRs-Fixed: 2368717
Change I8ba344ce5593df44bd15527e2ff68e872b6d23b8 ("qcacld-3.0: TDLS:
remove legacy core functions") removed the only reference to macro
HDD_CHANNEL_14. Since it is now obsolete, remove it.
Change-Id: I41267b0e5aef8f60c8a48cd9154529b2689bab5f
CRs-Fixed: 2368716
Change I2e2380b1789cce7841ff0be4120184d1bce0b7e7 ("qcacld-3.0: TDLS:
remove legacy event process") removed the "real" implementation of
hdd_roam_tdls_status_update_handler() but left behind the stub
implementation, so remove the stub as well.
Change-Id: I4862a4cb2b27323c0bb7fb69e6033eaf2a0375b5
CRs-Fixed: 2368715
Change I0fa178bc92bc2a02e45d1ec577f9a54f40d559fb ("qcacld-3.0: Remove
wlan_hdd_tdls_set_params() prototype") removed the last reference to
struct hdd_tdls_config_params. Since it is obsolete, remove the
struct.
Change-Id: I3b5dfc94e17ba1f5b490d10593ba10fd6e33d3f5
CRs-Fixed: 2368714
Change Idaaacac4fdaf1b964432c33c10b1c86f8a591c2d ("qcacld-3.0: Remove
legacy P2P codes in HDD") removed the only reference to macro
WLAN_HDD_80211_PEER_ADDR_OFFSET. Since it is obsolete, remove it.
Change-Id: I5a298200fc007472651fdab5ded64fb1ee730636
CRs-Fixed: 2368713
Change I5af85d68ee53ad557e64523f7a1719e328536926 ("qcacld-3.0: Update
for converged NAN config params") relocated the NAN INI parsing.
However the change failed to remove the stub implementations of the
following functions, so remove them now:
- hdd_nan_populate_cds_config()
- hdd_nan_populate_pmo_config()
Change-Id: Ic2e7ed3e9a30fb20541734c0a72b55e6478877cf
CRs-Fixed: 2368712
Change I45181908a6a81de21e4ba906f54ae3190aa212d0 ("qcacld-3.0: Use
common scan api to wait on scan to get completed") removed the logic
that used macro WLAN_WAIT_TIME_ABORTSCAN. Since the macro is obsolete,
remove it.
Change-Id: Ie367743e2ba98bac9f554732682d8430c4016c42
CRs-Fixed: 2368711
The TDLS functionality has moved to its own component. Left behind in
HDD were the following macros which are now obsolete, so remove them:
- WAIT_TIME_TDLS_LINK_ESTABLISH_REQ
- WAIT_TIME_TDLS_MGMT
Change-Id: Ie9667cafc66975e2cd92265353a8299cb5dff441
CRs-Fixed: 2368708
Change I2fa509f53b47d65ba0f4abbc438834b85b9c21f6 ("qcacld-3.0: Report
more information in survey dump") removed the legacy survey code that
utilized the survey_idx field in struct hdd_adapter. Since the field
is now obsolete, remove it.
Change-Id: I59653739949692eee4c15d5db1db386deb2d4182
CRs-Fixed: 2368707
Since they are now unused remove the hdd_ipa field from struct
hdd_context and the ipa_context field from struct hdd_adapter.
Change-Id: Iec841efdd3aa0f16298c0c58ce5756b325563b34
CRs-Fixed: 2368706
Change Iaa1934594d5ffcf3b90dd2ad41bba4eb62f71119 ("qcacld-3.0: Fix
memleak for pm runtime suspend lock") removed the only usage of struct
hdd_connect_pm_context. Since the struct is obsolete, remove it.
Change-Id: If6e043e3aa2c76bcef6ae63858c5bf51fdfa8d09
CRs-Fixed: 2368705
Change Iebded11869c55c1797f0521af05585284f46f544 ("qcacld-3.0:
Relocate legacy DP INI items") removed the only references to
TX_SCHED_WRR_PARAM_STRING_LENGTH. Since it is now unused, remove it.
Change-Id: I0d6729af053a543f23b45ef84371886812414870
CRs-Fixed: 2368704
As part of change I374e870610d79cc0d172ae126bfa70dc6d2db9a9
("qcacld-3.0: Remove not used INI CFG") support for the INI item
"gSapSccChanAvoidance" was removed. However that change left behind
the SapSccChanAvoidance field in struct hdd_config. This is now
obsolete, so remove it.
Change-Id: I4950066f492417922ec4054938da1e9acfaf9668
CRs-Fixed: 2368703
NAN component has been moved to CLD. It includes implementation
of the new NAN command QCA_NL80211_VENDOR_SUBCMD_NAN_EXT.
Change the legacy NAN implementation of vendor cmd
QCA_NL80211_VENDOR_SUBCMD_NAN so that the requests go
through the NAN component. Clean up the legacy path.
Functionality remains unchanged for legacy command.
Route the legacy NAN commands through the NAN component.
Change-Id: I542e5afe832619f8c088220cc4456aa7fe4416fd
CRs-Fixed: 2356772
As part of supporting NAN DBS, new WMI TLVs are defined so
that Host can maintain the status of NAN Discovery in sync
with the Firmware. Add modules that process these events and
updates the NAN states.
Add support for handling the NAN events.
Change-Id: Icfcd9c33cc410d9a65140f63cac69ddd69742306
CRs-Fixed: 2355383
Host will receive the NAN related service capabilities from
the SERVICE_AVAILABLE event. In the HDD callback that gets
called afterwards, set the NAN related capabilities into
the NAN's private PSOC object.
Store the NAN target capabilities inside its private object.
Change-Id: If398b6f253613fc424b7821cfc62b0984ad34b6c
CRs-Fixed: 2356709
As part of the NAN Discovery DBS support, a new vendor command
- QCA_NL80211_VENDOR_SUBCMD_NAN_EXT - has been defined that can
carry the binary blob encapsulated within an attribute and can
carry additional attributes to enhance the NAN command interface.
Add related data structures in NAN component and add modules in
OSIF to parse and sanitize this new command data and forward
the NAN message to the NAN component.
Add support for the new NAN EXT vendor command.
Change-Id: I0e6bb833b01a8cbd65e4d42700b5b70599f3ef99
CRs-Fixed: 2339029
As STA+SAP concurrency is supported by default in the driver,
flag WLAN_AP_STA_CONCURRENCY is removed from Kbuild, remove
this flag from the driver code also.
Change-Id: Id079e657035c5dd5572f323fefad0dbf96272a77
CRs-Fixed: 2364867
In case of RSNE override, the mgmt_encryption_type is not set
and thus AP is not considered as PMF capable by LIM.
TO fix this update mgmt_encryption_type if AP is RSN capable and
profile is RSN capable.
Change-Id: I3350d33ca605c82726156f4f00a8a497dc07d3a8
CRs-Fixed: 2368692