Commit Graph

12576 Commits

Author SHA1 Message Date
Sravan Kumar Kairam
8433f90213 qcacld-3.0: Fix cdp api cdp_tx_desc_thresh_reached
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
2019-01-10 10:33:29 -08:00
nshrivas
e188f79176 Release 5.2.0.115J
Release 5.2.0.115J

Change-Id: Icd9b42159e7677eee33e6d856b6b40d43029581b
CRs-Fixed: 774533
2019-01-10 07:37:17 -08:00
Sandeep Puligilla
387709f197 qcacld-3.0: Remove CFG item WNI_CFG_STA_ID
Remove unused CFG item WNI_CFG_STA_ID

Change-Id: I51da5888f718cdfb5eb0b77146726f0b6b19360d
CRs-Fixed: 2376089
2019-01-10 07:37:16 -08:00
nshrivas
d37b34f177 Release 5.2.0.115I
Release 5.2.0.115I

Change-Id: I1c835380cc409df782b1ed0b436172eb5b10fca0
CRs-Fixed: 774533
2019-01-09 13:25:58 -08:00
Yeshwanth Sriram Guntuka
3c1399ae64 qcacld-3.0: Remove unused fields in sCsr11rAssocNeighborInfo
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
2019-01-09 13:25:57 -08:00
nshrivas
6c0f84c3f6 Release 5.2.0.115H
Release 5.2.0.115H

Change-Id: I0ac869d9d1cc6717151b6ac8edd1ccd7f1fe0b48
CRs-Fixed: 774533
2019-01-09 10:34:56 -08:00
Yeshwanth Sriram Guntuka
261ac4d56e qcacld-3.0: Remove redundant logic in csr_is_valid_channel
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
2019-01-09 10:34:56 -08:00
Yeshwanth Sriram Guntuka
cba75498f2 qcacld-3.0: Send failure code in start_ap return path on failure
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
2019-01-09 10:34:51 -08:00
nshrivas
ae34624a68 Release 5.2.0.115G
Release 5.2.0.115G

Change-Id: I1be1b26e221c5208ee9438fe18aec5a319e3ba0d
CRs-Fixed: 774533
2019-01-09 08:23:02 -08:00
Pragaspathi Thilagaraj
e6f37e066e qcacld-3.0: Disconnect the other sta vdev before vdev destroy
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
2019-01-09 08:23:02 -08:00
Jianmin Zhu
4bcf8378c0 qcacld-3.0: Check and update hw mode after key compelete
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
2019-01-09 08:22:58 -08:00
nshrivas
e1285d6f5d Release 5.2.0.115F
Release 5.2.0.115F

Change-Id: I1eac5c7e2964aecbb98785c646f41cc1f480653e
CRs-Fixed: 774533
2019-01-09 06:11:32 -08:00
nshrivas
090fd179f6 Release 5.2.0.115E
Release 5.2.0.115E

Change-Id: I23a671233c34b075a23ff91c3a36d1afa06d5f9d
CRs-Fixed: 774533
2019-01-09 03:39:52 -08:00
Jeff Johnson
f6ce1624d6 qcacld-3.0: Remove macro HDD_WAKE_LOCK_SCAN_DURATION
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
2019-01-09 03:39:51 -08:00
Jeff Johnson
fd9a554500 qcacld-3.0: Replace lingering reference to tHddChannelInfo
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
2019-01-09 03:39:44 -08:00
Jeff Johnson
f187969fab qcacld-3.0: Fix typo "neighbor_scan_max_chan_timee"
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
2019-01-09 03:39:36 -08:00
Jeff Johnson
dd9e61afa4 qcacld-3.0: Remove IS_UP() and IS_UP_AUTO()
Macros IS_UP() and IS_UP_AUTO() are unused, so remove them.

Change-Id: Iff45b84b30ee71ffd41e0033ed80be2f9fba966d
CRs-Fixed: 2376942
2019-01-09 03:39:28 -08:00
Jeff Johnson
c52e795cc6 qcacld-3.0: Remove HOSTAPD_IOCTL_COMMAND_STRLEN_MAX
Macro HOSTAPD_IOCTL_COMMAND_STRLEN_MAX is unused, so remove it.

Change-Id: Id15614d172f554211b8173d959c33fe9553c7341
CRs-Fixed: 2376941
2019-01-09 03:39:19 -08:00
Jeff Johnson
2d039e6fe0 qcacld-3.0: Remove undef of passpoint short name macros
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
2019-01-09 03:39:12 -08:00
Jeff Johnson
d479df5925 qcacld-3.0: Remove undef of macro SET_CHAN_CHANNEL_COUNT
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
2019-01-09 03:39:05 -08:00
Jeff Johnson
62d9ad810d qcacld-3.0: Remove APF macro undefs from wlan_hdd_cfg80211.c
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
2019-01-09 03:38:58 -08:00
Jeff Johnson
71a1d5ca9b qcacld-3.0: Remove peer mac param to hdd_roam_register_sta()
The peer mac address parameter to hdd_roam_register_sta() is unused,
so remove it.

Change-Id: Ic419b20abc471b8e96d3baa63c4a7ed2dbaedfe0
CRs-Fixed: 2376937
2019-01-09 03:38:49 -08:00
Jeff Johnson
4e09dd02f5 qcacld-3.0: Remove macro HDD_REASON_MICHAEL_MIC_FAILURE
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
2019-01-09 03:38:42 -08:00
Jeff Johnson
a00ff4ce5f qcacld-3.0: Remove macro HDD_ETHERTYPE_802_1_X_FRAME_OFFSET
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
2019-01-09 03:38:36 -08:00
Jeff Johnson
72acff60ed qcacld-3.0: Remove typedef cfg80211_exttdls_callback
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
2019-01-09 03:38:28 -08:00
Jeff Johnson
e6d1302f1e qcacld-3.0: Remove typedef tSirUpdateAPWPSIEsReq
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
2019-01-09 03:38:22 -08:00
Jeff Johnson
332b9743ca qcacld-3.0: Remove typedef tSirWifiScanResultEvent
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
2019-01-09 03:38:15 -08:00
Jeff Johnson
ce2e2640be qcacld-3.0: Remove typedef tSirwifiTxRate
Typedef tSirwifiTxRate is obsolete, so remove it.

Change-Id: I0ca020e4033d4737bc4ee6bff1a13f2343847f8e
CRs-Fixed: 2376930
2019-01-09 03:38:09 -08:00
Jeff Johnson
952f67de69 qcacld-3.0: Remove obsolete DPH signature fields
The dpuSig and staSig fields in tDphHashNode are obsolete, so remove
them

Change-Id: I375e3dd66803ea98d1cb3b6fa01d9c4e95c31da8
CRs-Fixed: 2376929
2019-01-09 03:38:03 -08:00
Jeff Johnson
359f133af9 qcacld-3.0: Remove PLM_WDS conditional code
The wdsIndex and wdsPeerBeaconSeen fields in tDphHashNode are
obsolete, so remove them

Change-Id: Iae9131b1c3315a7448e5fe262a5fd36b1d09967d
CRs-Fixed: 2376928
2019-01-09 03:37:57 -08:00
Jeff Johnson
210eef765d qcacld-3.0: Remove sir_unpack_beacon_ie() prototype
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
2019-01-09 03:37:52 -08:00
Jeff Johnson
bb3aedfd4d qcacld-3.0: Remove limGet11dMode()
Macro limGet11dMode() is unused, so remove it.

Change-Id: Ib050c1ec6ec160d589733f820242a27a678008c8
CRs-Fixed: 2376926
2019-01-09 03:37:47 -08:00
Jeff Johnson
f83d5579fd qcacld-3.0: Remove obsolete LIM trace prototypes
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
2019-01-09 03:37:41 -08:00
Jeff Johnson
ec5fbf904e qcacld-3.0: Remove obsolete LIM scan result prototypes
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
2019-01-09 03:37:37 -08:00
Jeff Johnson
61e8f901b8 qcacld-3.0: Harmonize lim_set_active_edca_params()
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
2019-01-09 03:37:32 -08:00
nshrivas
c35d46e161 Release 5.2.0.115D
Release 5.2.0.115D

Change-Id: Ie09aadfc294bdac4cc06244eac089a1d6de04a38
CRs-Fixed: 774533
2019-01-09 01:28:18 -08:00
nshrivas
54f96fb1b4 Release 5.2.0.115C
Release 5.2.0.115C

Change-Id: Iad6a9d3c0c1446367396cfa3c8cee2c1c619017b
CRs-Fixed: 774533
2019-01-08 20:24:44 -08:00
Kiran Kumar Lokere
7d6e4c9dc1 qcacld-3.0: crypto convergence support for SET KEY
Make changes to the legacy code to support the
new SET KEY converged infrastructure.

Change-Id: Ic5359e3a9035ac5f2a937a9a1013fa92764cda9d
CRs-Fixed: 2358795
2019-01-08 20:24:43 -08:00
nshrivas
40edfa6e35 Release 5.2.0.115B
Release 5.2.0.115B

Change-Id: Ifdad7c63033997fd9c95074c812644b7a99b21f4
CRs-Fixed: 774533
2019-01-08 15:34:24 -08:00
Jeff Johnson
dd56493680 qcacld-3.0: Remove lim_send_sme_stats_rsp() prototype
The lim_send_sme_stats_rsp() prototype has no corresponding
implementation. Since it is obsolete, remove it.

Change-Id: Iaa447a1bcebe9422294419be6eeaf4aa00126cc8
CRs-Fixed: 2376125
2019-01-08 15:34:23 -08:00
Jeff Johnson
ae3f3231d1 qcacld-3.0: Remove obsolete LIM timer handler prototypes
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
2019-01-08 15:34:12 -08:00
Jeff Johnson
5d3eb8c6fb qcacld-3.0: Remove g_mgmt_frame_stats[]
The g_mgmt_frame_stats[] array is unused, so remove it.

Change-Id: Id103029773eced0700f76814e31b79ced590cc72
CRs-Fixed: 2376123
2019-01-08 15:34:02 -08:00
Jeff Johnson
c7a05a95c2 qcacld-3.0: Remove typedef tLimAuthRspTimeout
Typedef tLimAuthRspTimeout is obsolete, so remove it.

Change-Id: I012a8d026f4bdc31e00b8c195aa149ed4580abac
CRs-Fixed: 2376122
2019-01-08 15:33:52 -08:00
Jeff Johnson
ec178c226b qcacld-3.0: Remove typedef tLimMlmLinkTestStopReq
Typedef tLimMlmLinkTestStopReq is obsolete, so remove it.

Change-Id: Id48a6afa04090fa62584df9a19096d609f3e366e
CRs-Fixed: 2376121
2019-01-08 15:33:42 -08:00
Jeff Johnson
4bb882f8cb qcacld-3.0: Remove typedef tLimMlmPurgeStaReq
Typedef tLimMlmPurgeStaReq is obsolete, so remove it.

Change-Id: I8a1ecce9f8782e19d22a4b51725aa79809457772
CRs-Fixed: 2376120
2019-01-08 15:33:33 -08:00
Jeff Johnson
9cf29e4645 qcacld-3.0: Remove typedef tLimMlmReassocInd
Typedef tLimMlmReassocInd is obsolete, so remove it.

Change-Id: I8fd73512c5301a6e7f5208baa257925d4848488e
CRs-Fixed: 2376119
2019-01-08 15:33:23 -08:00
Jeff Johnson
6947192b34 qcacld-3.0: Remove tLimMlmResetReq/Cnf typedefs
Typedefs tLimMlmResetReq and tLimMlmResetCnf are obsolete,
so remove them.

Change-Id: I2f5791a3860fdbef578bf6176c113a06a53d2722
CRs-Fixed: 2376118
2019-01-08 15:33:14 -08:00
Jeff Johnson
7f2395c940 qcacld-3.0: Remove typedef tLimScanResult
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
2019-01-08 15:33:04 -08:00
Jeff Johnson
f4f2bcfa90 qcacld-3.0: Remove typedef tLimMlmScanCnf
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
2019-01-08 15:32:55 -08:00
Jeff Johnson
331c71ace7 qcacld-3.0: Remove is_entering_mimo_ps()
The function is_entering_mimo_ps() is obsolete, so remove it.

Change-Id: I01fbaed8bec34c11a1cdd43004fc39a28deb14d7
CRs-Fixed: 2376114
2019-01-08 15:32:46 -08:00