The CDP api cdp_tx_desc_thresh_reached should return true
if the available data path tx desc reaches threshold. But
this api returns wrong value in case of helium targets. Fix
this by returning correct value.
Change-Id: I571841ab1e4a4b24242fadc21bd13a85ef8da781
CRs-Fixed: 2378898
numBssFromNeighborReport and neighboReportBssInfo
fields in sCsr11rAssocNeighborInfo structure are
set to 0 in multiple places but are not referenced
or overwritten.
Fix is to remove the unused fields in sCsr11rAssocNeighborInfo.
Change-Id: I1aa0e58fd8407d1f96f0bb30a122e1626051d4c3
CRs-Fixed: 2376398
sapDfsChannelNolList and numCurrentRegDomainDfsChannels
fields in sap dfs info is not populated and is used in
csr_is_valid_channel.
Fix is to remove the redundant logic in csr_is_valid_channel.
Change-Id: Ib98423ba910a1947a908f4a74762f82183aa89d5
CRs-Fixed: 2374080
Start_ap failure due to no vdev start response is indicated
to supplicant using wext event instead of sending the
proper error code in return path of start_ap API. This
results in supplicant ending up in ap-enabled state since
wext events are not handled by supplicant.
Fix is to send the error code in return path of start_ap API
instead of sending wext event to indicate start AP failure.
Change-Id: I1c65aa65641c0ab718c734bd815ef790b1dfa636
CRs-Fixed: 2369681
During vdev destroy, if any STA is in connecting state the
roam command will be in active queue and thus vdev destroy is
queued in pending queue. In case STA tries to connect to
multiple BSSID and fails to connect, due to auth/assoc
timeouts it may take more than vdev destroy time to get
completed. If vdev destroy timeout vdev is moved to logically
deleted state. Once connection is completed, vdev destroy is
activated and to release the self-peer ref count it try to
get the ref of the vdev, which fails as vdev is logically
deleted and this leads to peer ref leak.
So before vdev destroy is queued abort any STA ongoing connection
to avoid vdev destroy timeout.
Change-Id: Ibd1ea555616ba22179f3663a082f5281220ab918
CRs-Fixed: 2375712
If Connect candidate has two or more APs in different band,
switch to DBS firstly. After associated 5G AP, will check and
try to switch to single MAC mode. But during DUT STA-AP key
negotiation, set hw mode cmd is refused to avoid EAPOL fail.
Fix: Check and change hw mode in hdd roam set key complete
handler, after EAPOL handshake finished
Change-Id: I63a2fb9eb49a4e209c68d5305bcf82fa26d3ea65
CRs-Fixed: 2377066
Change Ic160dfafcfa015eb42a226304260b1be3dddc6f0 ("qcacld-3.0: cleanup
legacy scan request processing") removed the usage of macro
HDD_WAKE_LOCK_SCAN_DURATION. Since the macros is unused, remove it.
Change-Id: I5f34f09f144115fa217d8c2d3c67268c28f69ecc
CRs-Fixed: 2376945
As part of change Ic280113327e24a8934b0895c12b39ed7b4f73df6
("qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_oemdata.h")
references to typedef tHddChannelInfo were replaced with references to
struct hdd_channel_info. However one reference was missed, so replace
that one as well.
Change-Id: Ib31aa3cbe6cc14fbdeb0e17a51aba92b7c2bdd20
CRs-Fixed: 2376944
Change Id39629e33e87ffe6ed58f375609a55e324618693 ("qcacld-3.0: Apply
second part of LFR INIs changes in HDD layer") contains a typo
"neighbor_scan_max_chan_timee". Fix the typo so that the code will
build if DSRC is enabled.
Change-Id: I2a8d8f7f619f825d16fc892913fd409ee8a04c97
CRs-Fixed: 2376943
Change I39945b2cec90c3f34c81e5ca525842f1af9340f7 ("qcacld-3.0: Refine
the passpoint set/reset logic") removed the definition and usage of
short name macros for the passpoint attributes, but it left behind the
undef of the macros. Since these undefs are pointless, remove them.
Change-Id: I1a381b1ffbeb0f0e97a26ae18dbeb8ad68717af8
CRs-Fixed: 2376940
Change Ia09638f59aeea4d87bbd6d4f9ab03210a213a132 ("qcacld-3.0: Correct
vendor attribute for external ACS") removed the define of macro
SET_CHAN_CHANNEL_COUNT, but left behind the associated undef. Since
the undef is pointless, remove it.
Change-Id: Ifbe3bc717138ff839d9ed5ae2a125a8c8a29300c
CRs-Fixed: 2376939
Change I2fb3d7e017f4befbad7aacab3575ae2b48e88a45 ("qcacld-3.0:
Refactor APF related modules in separate files") relocated APF code to
a separate file, but left behind a related set of macro undefs. Since
these are pointless in their current (original) location, remove them.
Change-Id: If0f4ba18fb93d81117961d3e7604b14237e74c5a
CRs-Fixed: 2376938
The peer mac address parameter to hdd_roam_register_sta() is unused,
so remove it.
Change-Id: Ic419b20abc471b8e96d3baa63c4a7ed2dbaedfe0
CRs-Fixed: 2376937
Change I9c68bf1b2c734ae2bcb862cd8acfbcea41f48411 ("qcacld-3.0: Remove
obsolete STA support for SIOCSIWMLME") removed the only usage of macro
HDD_REASON_MICHAEL_MIC_FAILURE. Since it is now unused, remove it.
Change-Id: I09a11b53982cc5625c82d09777cac379031b644d
CRs-Fixed: 2376936
Change Id2ea9b08bdcbc62b1d96d983d19bcf71becc9c42 ("qcacld-3.0: Parse
tx packets only once in tx datapath") removd the usage of macro
HDD_ETHERTYPE_802_1_X_FRAME_OFFSET. Since it is unused, remove it.
Change-Id: Ie3606d5641c2c7b50421217a4d9f50b066163760
CRs-Fixed: 2376935
Change Ib6407bb18bc77e92e1cdd3b38d6ff3051f03b74c ("qcacld-3.0:
Remove unused tdls api in hdd") removed the last clients of
cfg80211_exttdls_callback. Since it is obsolete, remove it.
Change-Id: I90ffb7134698109f47449503e5f720f1ebf121e9
CRs-Fixed: 2376934
Change I191dc17898bcbf84ad4b6d03c515a8124a0f4d24 ("qcacld-3.0: Remove
obsolete eWNI_SME_UPDATE_APWPSIE_REQ") removed the only usage of
typedef tSirUpdateAPWPSIEsReq. Since it is obsolete, remove it.
Change-Id: I4513c9834b1dc4f0a2c0b9f9c77f5f6bfb054dd4
CRs-Fixed: 2376932
Change Ie6c4a9847f2daa9ba2aebd17f386d584201b86d6 ("qcacld-3.0: Remove
obsolete set/reset ssid hotlist") removed the usage of typedef
tSirWifiScanResultEvent. Since it is obsolete, remove it.
Change-Id: Id42fcd1ab762524fdfa90aa355fb7e37a6164cc7
CRs-Fixed: 2376931
The wdsIndex and wdsPeerBeaconSeen fields in tDphHashNode are
obsolete, so remove them
Change-Id: Iae9131b1c3315a7448e5fe262a5fd36b1d09967d
CRs-Fixed: 2376928
Change I120a29c21407f82aab2c6fcdcaf1095518cb71b5 ("qcacld-3.0:
Security enhancement fixes for RSNE frame parser") removed the
implementation of sir_unpack_beacon_ie() but left the prototype. Since
the prototype is obsolete, remove it.
Change-Id: Id9d0f766b0dc3137f7012543d883791a69d10111
CRs-Fixed: 2376927
The following LIM trace APIs have prototypes but no corresponding
implementations, so remove them:
- limTraceReset()
- limTraceUpdateMgmtStat()
- lim_trace_dumpMgmtStat()
Change-Id: I5bf6c01636f4821e3f0f469260f20c59f0f97c63
CRs-Fixed: 2376925
The following LIM scan result APIs have prototypes but no
corresponding implementations, so remove them:
- lim_copy_scan_result()
- lim_restore_pre_scan_state()
- lim_scan_hash_function()
Change-Id: Ie5b3e24019e29e984a5893afaf1b24fcc5ce6d51
CRs-Fixed: 2376127
The parameter identifiers used in the implementation of
lim_set_active_edca_params() 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: Ie352f40ca86a9816d19f6e37b52058e884814202
CRs-Fixed: 2376126
Make changes to the legacy code to support the
new SET KEY converged infrastructure.
Change-Id: Ic5359e3a9035ac5f2a937a9a1013fa92764cda9d
CRs-Fixed: 2358795
The lim_send_sme_stats_rsp() prototype has no corresponding
implementation. Since it is obsolete, remove it.
Change-Id: Iaa447a1bcebe9422294419be6eeaf4aa00126cc8
CRs-Fixed: 2376125
The following LIM timer handlers are obsolete, having prototypes but
no implementations, so remove them:
- limCBScanDurationTimerHandler
- limCBScanIntervalTimerHandler
- limDummyPktExpTimerHandler
- limReassocFailureTimerHandler
Change-Id: I8fd43c6f7cbd38aaad4d9c146ca8672712bba353
CRs-Fixed: 2376124
Change I373fb570f3b368dc79ce08b7acbc1026a7e19758 ("qcacld-3.0: Remove
lim_send_sme_neighbor_bss_ind()") removed the last usage of typedef
tLimScanResult. Since it is obsolete, remove it.
Change-Id: Ide9301c635db43a7e398ac44b46ed68675816ab4
CRs-Fixed: 2376116
Change Ibea328196a9453ebaae887aa4068e78c47296762 ("qcacld-3.0:
Scan cleanup in lim and csr") removed the last usage of typedef
tLimMlmScanCnf. Since it is obsolete, remove it.
Change-Id: I1255dc9e934db7aea671a269c956abd390f54a0b
CRs-Fixed: 2376115