Commit Graph

14576 Commits

Author SHA1 Message Date
nshrivas
ecc0a76765 Release 5.2.0.137S
Release 5.2.0.137S

Change-Id: I1bcb8a0d318a2f9be4f1edf462bc82e1c0f15878
CRs-Fixed: 774533
2019-06-21 04:27:12 -07:00
nakul kachhwaha
ed09dc9304 qcacld-3.0: Handle error returned by cfg_parse
Host driver should exit if it fails to initialize
__cfg_global_store to avoid assertion hit.

Change-Id: I404e5da69cd2c4cf06d55a1d7a96d0aee1e5e4a4
CRs-Fixed: 2454969
2019-06-21 04:27:11 -07:00
nshrivas
31578dd5fd Release 5.2.0.137R
Release 5.2.0.137R

Change-Id: I88dcc2c1b47611f4769e3f75fc4223fb4db5c7c8
CRs-Fixed: 774533
2019-06-21 03:09:12 -07:00
nshrivas
136f77ea98 Release 5.2.0.137Q
Release 5.2.0.137Q

Change-Id: Ia286fe931445fb516f5eee6e0dc93432d0c0439b
CRs-Fixed: 774533
2019-06-20 20:15:15 -07:00
nshrivas
12c940a71d Release 5.2.0.137P
Release 5.2.0.137P

Change-Id: I5e8e39f5ee97f5817601efdada57966051f88570
CRs-Fixed: 774533
2019-06-20 18:36:15 -07:00
Rajeev Kumar
47b772928b qcacld-3.0: Add null check for hdd_ctx in mode change shutdown/restart
Add null check for hdd_ctx in mode change shutdown and restart callbacks.

Change-Id: I03be071f44b7315aab18d8d38250709553a20a9e
CRs-Fixed: 2475044
2019-06-20 18:36:14 -07:00
nshrivas
db24dda371 Release 5.2.0.137O
Release 5.2.0.137O

Change-Id: I98ead3b171da5bd3d96b44ddc5bee960a9ebcdb1
CRs-Fixed: 774533
2019-06-20 11:59:48 -07:00
Yeshwanth Sriram Guntuka
9d7b25a072 qcacld-3.0: Update default value of force max nss action OUI ini
Update default value of force max nss action OUI ini
to include AP that advertises rx nss as 1 before
connection and advertises rx nss as 4 in association
response and in beacons or probe responses immediately
after connection.

Change-Id: Ica6314547a2aa39d4887ac4231745d6a59cd6b0a
CRs-Fixed: 2466562
2019-06-20 11:59:48 -07:00
Srinivas Girigowda
a60b84c5fd qcacld-3.0: Remove obsolete/unused macros
Remove obsolete/unused macros.

Change-Id: I7a812c9b6ce4f2af151dd7262cb6d93dec6d0c2a
CRs-Fixed: 2475125
2019-06-20 11:59:45 -07:00
nshrivas
c125089162 Release 5.2.0.137N
Release 5.2.0.137N

Change-Id: I14bd08b44c74257fb58b26e35839fc163dc7d1e2
CRs-Fixed: 774533
2019-06-20 08:45:36 -07:00
Vevek Venkatesan
988a1395f2 qcacld-3.0: featurize PKTLOG send cmd under feature flag
Featurize PKTLOG send cmd under feature flag FEATURE_PKTLOG.

Change-Id: Ia7cc0ce3fb3ff2c3b28a0957353f7a3efa4fb6f0
CRs-Fixed: 2474100
2019-06-20 08:45:35 -07:00
nshrivas
200b28acf5 Release 5.2.0.137M
Release 5.2.0.137M

Change-Id: If4b8f69bfa0c7ac38c1fb2a2804d43bfa1426053
CRs-Fixed: 774533
2019-06-19 16:46:29 -07:00
Tushnim Bhattacharyya
72adeb5673 qcacld-3.0: Advertise twt capability correctly
Fix the logic to not to advertise twt requester for SAP &
twt responder for STA.

Change-Id: I153f7c52d0107c75f7c59b4c880bb4aa0757356b
CRs-Fixed: 2473541
2019-06-19 16:46:29 -07:00
Jinwei Chen
8cb25b3042 qcacld-3.0: Enable monitor mode based on VDEV SM
Enable monitor mode based on VDEV SM

Change-Id: I3ed95a7d741b802a67432bc8d8bcab05fe1b51d5
CRs-Fixed: 2457147
2019-06-19 16:46:25 -07:00
Ashish Kumar Dhanotiya
34507e052f qcacld-3.0: Update correct wiphy band capabilities
Driver is updating wiphy band capabilities incorrectly as
it is always updating 2G band as always supported, in case
if 2G band is disabled from ini "BandCapability", driver
should not update 2G band capabilities to wiphy.

To avoid above issue, add a api to check if 2G band is
supported and then only update 2G band capabilities to
wiphy.

Change-Id: Ib921fa106158d93bfdb7aa57cfd5aa4370fab7d8
CRs-Fixed: 2470067
2019-06-19 16:46:21 -07:00
nshrivas
df86b86ada Release 5.2.0.137L
Release 5.2.0.137L

Change-Id: Ida20182c19f78d5a29c604299dd5ea3f82e116e3
CRs-Fixed: 774533
2019-06-19 07:47:17 -07:00
Rajeev Kumar Sirasanagandla
7172b499a6 qcacld-3.0: Fix out of bound access in sta_to_adapter
Array sta_to_adapter of hdd_ctx is accessed from several functions of
NAN and softap without bound check which can lead to out of bound read
or write access.

To fix this, add range check for sta_id.

Change-Id: I0b8c4e8bce26c6514df489c3305000691c7e1fe0
CRs-Fixed: 2456954
2019-06-19 07:47:12 -07:00
nshrivas
2c3e85f2ee Release 5.2.0.137K
Release 5.2.0.137K

Change-Id: I641190ede519458c214ce20920be056be31ee1f7
CRs-Fixed: 774533
2019-06-19 06:35:36 -07:00
Pragaspathi Thilagaraj
7fb14221a5 qcacld-3.0: Rename selfMacAddr
Linux coding guidelines don't allow use of camel case identifiers.
So rename selfMacAddr to self_mac_addr to be in compliance.

Change-Id: Id70e00744883f9fd797da8d4bb1cf4f65c8aa9ff
CRs-Fixed: 2463827
2019-06-19 06:35:35 -07:00
nshrivas
fb5213d36d Release 5.2.0.137J
Release 5.2.0.137J

Change-Id: Id8a889c9978477f5101876d5eb00978960e11766
CRs-Fixed: 774533
2019-06-19 00:42:36 -07:00
Rajasekaran Kalidoss
79947ffaa8 qcacld-3.0: prevent double free of iface staKeyParams
Memory pointed by stakeyparams is not made NULL after
freeing in wma_set_stakey. This results in double free
during wma_add_bss_sta.

Change-Id: Ifa24d536e116be60f572d9926a511f9f498e6696
CRs-Fixed: 2463399
2019-06-19 00:42:36 -07:00
hangtian
a6f91ce5ef qcacld-3.0: Move two fw-api host headers to driver
Move wlan_tgt_def_config.h wlan_tgt_def_config_hl.h to driver.

Change-Id: I5891d5ef557bb00b9a1632d79aa4c396074e0053
CRs-Fixed: 2474409
2019-06-19 13:36:55 +08:00
nshrivas
0ea20b09a3 Release 5.2.0.137I
Release 5.2.0.137I

Change-Id: I020e5a881e10899a8d355d6e5e7f1ab9cc4f725d
CRs-Fixed: 774533
2019-06-18 22:27:35 -07:00
Tiger Yu
e40e7836a5 qcacld-3.0: Add support for TCP delayed ack in driver
qcacld-2.0 to qcacld-3.0 propagation

This change adds support for driver supported TCP
delayed ack to increase TCP RX performance in
third-party platform which does't support kernel
TCP delayed ack feature.

TCP delayed ack is dependent on count and timer
values. Whatever is achieved first will trigger
sending TCP ack.

This feature can be controlled through ini values.
gDriverDelAckTimerValue - timer value in ms
gDriverDelAckPktCount - delayed ack count
gDriverDelAckEnable - enable/disable feature

Change-Id: I8105bbb90965295b5a4aefeb00d344a90155974d
CRs-fixed: 2414224
2019-06-18 22:27:35 -07:00
nshrivas
c3a3d5572c Release 5.2.0.137H
Release 5.2.0.137H

Change-Id: I74540d24fca47c012add758584fbd036107b5ce5
CRs-Fixed: 774533
2019-06-18 07:51:20 -07:00
Pragaspathi Thilagaraj
2071e3380e qcacld-3.0: Disable LFR2 for cld-3.2 mainline
Disable LFR2 in cld-3.2 mainline as roaming is offloaded
to firmware in LFR3. Also fix linker issues with lfr2 disabled.
Featurize LFR2 properly with adding correct header files
and bringing LFR2 only functions under WLAN_FEATURE_HOST_ROAM
compile time flag.

Change-Id: Iac81b693feaab503d371753a4d16cc3e70df2a87
CRs-Fixed: 2459786
2019-06-18 07:51:20 -07:00
Abhinav Kumar
e85ae55537 qcacld-3.0: Handle BEACON_REPORTING_DO_NOT_RESUME vendor attribute
Optionally set by userspace to request the driver not to resume
beacon reporting after a pause is completed, when the
QCA_WLAN_VENDOR_ATTR_BEACON_REPORTING_OP_TYPE is set to
QCA_WLAN_VENDOR_BEACON_REPORTING_OP_START.

If this flag is set, the driver will not resume beacon reporting
after beacon reporting pause is completed. Userspace has to
send QCA_WLAN_VENDOR_BEACON_REPORTING_OP_START command again in order
to initiate beacon reporting again.

If this flag is set in the recent
QCA_WLAN_VENDOR_BEACON_REPORTING_OP_START command, then in the
subsequent QCA_WLAN_VENDOR_BEACON_REPORTING_OP_PAUSE event (if any)
the QCA_WLAN_VENDOR_ATTR_BEACON_REPORTING_AUTO_RESUMES shall not be
set by the driver.

Change-Id: I371a218cb513dcb077b7df675c549818c2b657b2
CRs-Fixed: 2466480
2019-06-18 07:51:15 -07:00
Abhinav Kumar
8475bc3f61 qcacld-3.0: Allow fw to send all beacons of connected AP
In order to process QCA_NL80211_VENDOR_SUBCMD_BEACON_REPORTING
vendor command, driver sends remove beacon filter cmd to fw to
allow fw to send all beacons of connected AP to driver.
But in some cases fw may wakeup host in wow mode.
To avoid these cases, with this change beacon reporting feature
will use WMI_VDEV_PARAM_NTH_BEACON_TO_HOST
command to FW instead of WMI_RMV_BCN_FILTER_CMDID
With WMI_VDEV_PARAM_NTH_BEACON_TO_HOST, in case of active reporting,
fw should send all beacons of connected AP to HOST
and also no wakeup of driver should happen in wow mode.

Change-Id: I9d0e255a6d4accb523bf4613146574239e7e0d09
CRs-Fixed: 2471627
2019-06-18 07:51:10 -07:00
nshrivas
5e4f15ed44 Release 5.2.0.137G
Release 5.2.0.137G

Change-Id: Ib976b05f0a3ae134395225e3946301d1bdcddbf1
CRs-Fixed: 774533
2019-06-18 06:29:18 -07:00
Rajeev Kumar Sirasanagandla
00b95b1569 qcacld-3.0: Avoid info leak in spectral scan handler
In __spectral_scan_msg_handler(), payload section of input data is
type casted to driver internal structure spectral_scan_msg without
validating payload length which can lead to kernel info leak
if the payload length is less than size of spectral_scan_msg.

To fix this, avoid type-cast and return error if payload length is
less than size of spectral_scan_msg.

Change-Id: Ie7e74cc2cdcf8136582e81ffc3a088fd5a881dc9
CRs-Fixed: 2468493
2019-06-18 06:29:17 -07:00
nshrivas
f609871199 Release 5.2.0.137F
Release 5.2.0.137F

Change-Id: I4617e2d51fa72f8378fe0a6a741c49c8c7c954d3
CRs-Fixed: 774533
2019-06-18 00:29:03 -07:00
Jayachandran Sreekumaran
ecebb88664 qcacld-3.0: Fix for user triggered reassociation
Fix for user triggered reassoc broken due to vdev SM

Change-Id: I06e7392f6c27261e6b24496bceff6131eb72e67c
CRs-Fixed: 2460295
2019-06-18 00:29:02 -07:00
nshrivas
5054fe306e Release 5.2.0.137E
Release 5.2.0.137E

Change-Id: I808e4f7b15d3b7bef1baed8a011c19b8b23e75c0
CRs-Fixed: 774533
2019-06-17 22:25:15 -07:00
Jinwei Chen
bdd977f0c2 qcacld-3.0: delete pe_session for monitor mode when iface down
Delete pe_session for monitor mode when do interface down operation.

Change-Id: I18f58906a3cff3af68558a37c2f4b3f67a8cdd22
CRs-Fixed: 2471736
2019-06-17 22:25:14 -07:00
nshrivas
122059188d Release 5.2.0.137D
Release 5.2.0.137D

Change-Id: I4ce106b7e176e109de9449ca075f7ba604b4d96b
CRs-Fixed: 774533
2019-06-17 18:24:27 -07:00
Abhishek Singh
fc0c4245a4 qcacld-3.0: Fix command timeouts for VDEV stop and PEER assoc/delete
Command timeouts for VDEV stop and PEER assoc/delete is 2 sec, which
doesn't consider delays in scheduling.

To consider scheduling delays set these values to 4 sec and change
the serialization and HDD timeouts accordingly.

Change-Id: Ifc8ca857727a7e73bbae586c0728816024f1c687
CRs-Fixed: 2472122
2019-06-17 18:24:26 -07:00
nshrivas
0dc4452904 Release 5.2.0.137C
Release 5.2.0.137C

Change-Id: Icbf2d3b112f58fe20aaa826f40007b6a24334d46
CRs-Fixed: 774533
2019-06-17 13:00:43 -07:00
nshrivas
69b908b88d Release 5.2.0.137B
Release 5.2.0.137B

Change-Id: Ia90ee2b34c9f11014e647f82953f9b799e72afdf
CRs-Fixed: 774533
2019-06-17 11:44:54 -07:00
nshrivas
1a6861b027 Release 5.2.0.137A
Release 5.2.0.137A

Change-Id: I1241c471cae0c9ca684c399e5a5b65b82e4aaf93
CRs-Fixed: 774533
2019-06-17 10:22:53 -07:00
nshrivas
e5775805c7 Release 5.2.0.137
Release 5.2.0.137

Change-Id: Id9e63aa6c8ed44b6a493566540f06947bc12d647
CRs-Fixed: 774533
2019-06-16 08:26:36 -07:00
Jianmin Zhu
69ca6965db qcacld-3.0: Fix F/W dump on Rome when host F/W out of sync
When Rome host F/W out of sync, cds_trigger_recovery_handler is
called, but pld_collect_rddm is added in it by change
Id9f1dfefe1560affff6c4ecfca1b8fdba3eb0928,
Rome doesn't support RDDM, panic will always happen without F/W
dump.

With this change and ini gEnableSelfRecovery=1, when host F/W out
of sync happens, crash inject is sent to F/W to trigger F/W dump,
if subsystem restart level is "system", panic will happen,
If subsystem restart level is "related", SSR will happen.

Change-Id: I3c714e6b2750ef3305b0f4c64ea5fe8fdc74c1d8
CRs-Fixed: 2472484
2019-06-16 08:26:36 -07:00
nshrivas
8775befcf0 Release 5.2.0.136Z
Release 5.2.0.136Z

Change-Id: I50c40a396db2dd062864f55c3377e48d0a8a11b6
CRs-Fixed: 774533
2019-06-15 00:26:11 -07:00
Nirav Shah
9b25064c31 qcacld-3.0: Use correct variable for excess retry count
Use correct variable to display excess retry count in
pdev tx fw stats.

Change-Id: I93fa3a064cf26e423fb9d5aead9e1deed341ff7a
CRs-Fixed: 2468832
2019-06-15 00:26:03 -07:00
nshrivas
3c83725520 Release 5.2.0.136Y
Release 5.2.0.136Y

Change-Id: I3c9e3bd8b6bd0e15ea44c2b283949f99d518f1a0
CRs-Fixed: 774533
2019-06-14 20:35:53 -07:00
Kiran Kumar Lokere
9cd688df06 qcacld-3.0: Fix dot11mode setting in roaming session
The roaming FT session dot11mode value is set with self
configuration, peer capability from beacon is not checked to
set the value.
Check peer AP beacon capabilities along with self configuration
to set the dot11mode setting in FT session.

Change-Id: Idd0edafccc6664b3b0f41ba7ca3dd8d59094ff3e
CRs-Fixed: 2467600
2019-06-14 20:35:52 -07:00
Srinivas Girigowda
eb22a66111 qcacld-3.0: Replace SIR_MAC_WNM_* with converged macros WNM_BSS_*
Replace SIR_MAC_WNM_* with converged macros WNM_BSS_*.

Change-Id: I7866d87eac2da52df5fd537bacd5830c1af1784f
CRs-Fixed: 2472212
2019-06-14 20:35:48 -07:00
nshrivas
425ec0ebae Release 5.2.0.136X
Release 5.2.0.136X

Change-Id: I569c72791b926575bac9ff6ea842fc5822cb15d4
CRs-Fixed: 774533
2019-06-14 16:23:29 -07:00
gaurank kathpalia
4ad087ece6 qcacld-3.0: Fix P2P-GO restart fail issue in unsafe channel event
Currently the driver checks MCC/SCC with the present connections,
and band interference in restart case of both SAP, and P2P-GO,
which can lead to p2p-go fail, as supplicant which is the
initiator of the switch channel does not care about MCC, and wants
the driver to restart the p2p-go in the channel given.

Fix is to overide the checks for P2P-GO only, and restart the
vdev in the given channel by supplicant.

Change-Id: I5db1da5452272696d80128e16b9e0ee50aa0de28
CRs-Fixed: 2466292
2019-06-14 16:23:28 -07:00
nshrivas
3514caeb5f Release 5.2.0.136W
Release 5.2.0.136W

Change-Id: I04372a82b25a010510916ccdfc6e3e0b3d850aa4
CRs-Fixed: 774533
2019-06-14 12:58:13 -07:00
gaurank kathpalia
dabdd7cc28 qcacld-3.0: Filter the channel list according to acs cfg
Currently the driver checks whether the DFS channel is
in the range of acs channel list given, i.e the start
and end channel, which is not always correct as the channel
range does not imply that all channels in that range are present.

Fix is to explicitley check for the number of channels, and
compare each channel in the acs channel list with the DFS
channel.

Change-Id: Ib0b2d66dc325c340ab5cc837109a4f63e48ef4df
CRs-Fixed: 2466223
2019-06-14 12:58:12 -07:00
nshrivas
b18860d731 Release 5.2.0.136V
Release 5.2.0.136V

Change-Id: I3d9176c2068eccb677b806cd20d1c07ee5ee159b
CRs-Fixed: 774533
2019-06-14 07:40:54 -07:00
nshrivas
b678174a10 Release 5.2.0.136U
Release 5.2.0.136U

Change-Id: Ia54cdd3bfd7ad0f9ba43ecc974436bb828f2939e
CRs-Fixed: 774533
2019-06-14 03:16:58 -07:00
Rajeev Kumar
0e5dec0b9c qcacld-3.0: Add string for page fault wake up reason
Add string for page fault wake up reason such that wake up
reason is logged properly.

Change-Id: I0f7138f730f5b9ca66f1d524d5d1868a99ccd88f
CRs-Fixed: 2471522
2019-06-14 03:16:57 -07:00
nshrivas
30a829be6f Release 5.2.0.136T
Release 5.2.0.136T

Change-Id: I29a60ccce3c4b8464c2259a30481dfaaeac105c1
CRs-Fixed: 774533
2019-06-14 01:49:46 -07:00
guangde
4853c40d31 qcacld-3.0: Add get antenna isolation command
Propagation from qcacld2.0 to qcacld3.0.
The WMI CMD and EVENT of "get antenna isolation" are already defined,
but not used before in qcacld3.0.
Now, The host driver uses vendor command to get this information
instead of iwpriv command in qcacld-2.0.
The attribution of this feature is already defined in file
"qca_vendor.h". The name is "QCA_WLAN_VENDOR_ATTR_ANTENNA_ISOLATION".
So host driver will use vendor command
"QCA_NL80211_VENDOR_SUBCMD_GET_HW_CAPABILITY" to get the information
from lower layer.

Change-Id: I915768f622ddc9a70a95ce4fe952f19917a8f901
CRs-Fixed: 2447360
2019-06-14 01:49:41 -07:00
nshrivas
9ab3d4f96e Release 5.2.0.136S
Release 5.2.0.136S

Change-Id: Id093d24dbcb2660a8768ba4e50f4a1399b40e851
CRs-Fixed: 774533
2019-06-13 23:00:14 -07:00
Rajeev Kumar
4cfc6ee150 qcacld-3.0: Add debug assert on page fault wake ups
During dynamic request voting(DRV) suspend PCIe link
is in L1SS sleep state such that target can do page
faults without waking up APPS and hence add debug
assert on page fault wake ups if target triggered
a page fault wake up during DRV wow suspend.

Change-Id: I130a9a568b7007366fe582bd2e231c9fca324368
CRs-Fixed: 2467471
2019-06-13 23:00:13 -07:00
Srinivas Girigowda
feb23fc3f0 qcacld-3.0: Replace SIR_MAC_SA_QUERY_* with converged enum
Replace SIR_MAC_SA_QUERY_* with converged enum.

Change-Id: If5d2b4edfa2719bb19f94dad1557a3c64772da0b
CRs-Fixed: 2471272
2019-06-13 23:00:07 -07:00
nshrivas
e5cc0e917b Release 5.2.0.136R
Release 5.2.0.136R

Change-Id: Ibbb148e8b7564ced437fa7e86c6af7177170096c
CRs-Fixed: 774533
2019-06-13 15:50:39 -07:00
Tushnim Bhattacharyya
80e9e3b9d0 qcacld-3.0: Set the max_station config correctly for SAP
Set the max_station config correctly at wma_open instead of using
the default value.

Change-Id: I63cd05462351359fbdcaae03dbdff940817b9bde
CRs-Fixed: 2468829
2019-06-13 15:50:38 -07:00
nshrivas
d3fa2d6b64 Release 5.2.0.136Q
Release 5.2.0.136Q

Change-Id: I09fc76256bd835d0c5579d8d843702a23276b9da
CRs-Fixed: 774533
2019-06-13 05:49:48 -07:00
bings
968a72c765 qcacld-3.0: Make ini acs_with_more_param take effect
When ini acs_with_more_param is configured as 1, more params should be
added into ACS calculation process. Currently, even acs_with_more_param
is set as 1, mac->sap.acs_with_more_param is still 0 and no params are
added to ACS calculation process.

Make mac->sap.acs_with_more_param change as ini acs_with_more_param.

Change-Id: I4ced3b1d7d07c0f919183df42191e51ba66b90e8
CRs-Fixed: 2458086
2019-06-13 05:49:47 -07:00
nshrivas
b611c14efb Release 5.2.0.136P
Release 5.2.0.136P

Change-Id: I238617b8c1a33addd68951f01e4ed7eb9640aecf
CRs-Fixed: 774533
2019-06-13 04:10:26 -07:00
hangtian
b9c9136eaf qcacld-3.0: Fix QCA_LL_PDEV_TX_FLOW_CONTROL invalid memory access
Add QCA_LL_PDEV_TX_FLOW_CONTROL for both
QCA_LL_LEGACY_TX_FLOW_CONTROL and QCA_LL_TX_FLOW_CONTROL_V2
disabled platform, avoid frame drop in driver which leads to bad TCP
TX throughput. Change NUM_TX_QUEUES to 5 for this case to avoid invalid
memory access in wlan_hdd_netif_queue_control().

Change-Id: Ifa649e31a41d1bf89eadc8cc7e9520f0e27b9fe4
CRs-Fixed: 2466996
2019-06-13 04:10:25 -07:00
hangtian
67888e2e8d qcacld-3.0: Configure CFG_TGT_NUM_MSDU_DESC through driver config
Configure CFG_TGT_NUM_MSDU_DESC through driver config.

Change-Id: I9667414e526fa7e3e735a209b074db4777c6e86e
CRs-Fixed: 2463898
2019-06-13 04:10:21 -07:00
nshrivas
c193583465 Release 5.2.0.136O
Release 5.2.0.136O

Change-Id: I994a6b69b60b58d801caa3849c01febacf576fdb
CRs-Fixed: 774533
2019-06-13 02:48:04 -07:00
nshrivas
6173f8708a Release 5.2.0.136N
Release 5.2.0.136N

Change-Id: If88e44e5166750e32ffcfb9c47f0036edd94a14d
CRs-Fixed: 774533
2019-06-13 01:07:53 -07:00
nshrivas
a0d74a38cf Release 5.2.0.136M
Release 5.2.0.136M

Change-Id: Ife17e316dad6b632a9e9781f2509df8eddae0fd5
CRs-Fixed: 774533
2019-06-12 23:16:46 -07:00
Nirav Shah
8e89040507 qcacld-3.0: Fix HTC header payload length in case of TSO
In TSO enabled case, update HTC header payload length
after adjusting download length for TSO. Also initialize
download length for every segment to avoid send wrong
payload length.

Change-Id: Ie63d11e5543429d00e40864191f5e7d6a11a689f
CRs-Fixed: 2454727
2019-06-12 23:16:46 -07:00
nshrivas
2975b42ae2 Release 5.2.0.136L
Release 5.2.0.136L

Change-Id: I8c08a39505cf166c7a3e1175a33e5a3a79498a83
CRs-Fixed: 774533
2019-06-12 21:38:11 -07:00
hangtian
821d12dbf5 qcacld-3.0: Fix cfg80211_ops.set_tx_power invalid bssid issue
Fix cfg80211_ops.set_tx_power invalid bssid issue. User could set
txpower via cfg80211 interface.

Change-Id: Ie103a45e426b920846b8e4d23c4995ce660dde70
CRs-Fixed: 2468749
2019-06-12 21:38:10 -07:00
nshrivas
2dbc844a87 Release 5.2.0.136K
Release 5.2.0.136K

Change-Id: I540e6d814425ab6931bf9a7e3a378e53974ba893
CRs-Fixed: 774533
2019-06-12 17:45:46 -07:00
hqu
1d1b9225e8 qcacld-3.0: Add ini check when indicate WLAN_SVC_LTE_COEX_IND message
In lte coex case, when ini gEnableSapInternalRestart set to 1,
driver will indicate WLAN_SVC_LTE_COEX_IND message to upper layer,
then upper layer will restart sap, driver also will do inetrnal sap
restart in this case, this will cause duplicate sap restart.

Add ini gEnableSapInternalRestart check when indicate
WLAN_SVC_LTE_COEX_IND message to upper layer.

Change-Id: I045f8c40d1931aef088a2dbc700f6ae2706a3c79
CRs-Fixed: 2469012
2019-06-12 17:45:45 -07:00
nshrivas
a28bc89ed7 Release 5.2.0.136J
Release 5.2.0.136J

Change-Id: I5c79fda7d02a8b27c9f5e4add4727836bb6f1d0f
CRs-Fixed: 774533
2019-06-12 16:15:00 -07:00
Sandeep Singh
b2df1387eb qcacld-3.0: Add api to get smmu domain
Add api to get smmu domain from cnss2 platform driver.

Change-Id: I1e0370616bda32b013104db7c086e9611a699f43
2019-06-12 16:14:59 -07:00
nshrivas
c1ca131582 Release 5.2.0.136I
Release 5.2.0.136I

Change-Id: I65ea5d15a80ded739504c27434ade121e6e53eee
CRs-Fixed: 774533
2019-06-12 02:48:56 -07:00
gaurank kathpalia
26fe75c1d5 qcacld-3.0: Fill default nss in pe roam sync cb
Currently the driver fills the vdev nss, and default nss
in ft session according to the band on which the roaming
happenend. For eg. if the roaming happenend on 5ghz band,
then the nss value would be filled from the nss 5ghz value.
But the nss is filled before the channel is populated in
the structure, which can lead to wrong nss.

Fix is to fill the nss value after the channel has been
populated in the session.

Change-Id: Ie4fc2452107fe5b1be296be7768868d251796a73
CRs-Fixed: 2467718
2019-06-12 02:48:55 -07:00
nshrivas
6a67f23b6a Release 5.2.0.136H
Release 5.2.0.136H

Change-Id: I145323e873d35bd83a0dbe4d0a15230f1fcb5b95
CRs-Fixed: 774533
2019-06-12 00:41:28 -07:00
Nirav Shah
11d68b798c qcacld-3.0: Send disassoc failure if vdev is in INIT state
In roaming scenario, if association is not completed with
new AP, there is possibility of trying to send disassoc in
failure handling. So, if vdev is in INIT state send
disassoc failure and cleanup session.

Change-Id: I0fcf3b0b51aa810323911c5ebc121767ca22a502
CRs-Fixed: 2453160
2019-06-12 00:41:28 -07:00
nshrivas
834079e3ce Release 5.2.0.136G
Release 5.2.0.136G

Change-Id: Id626260eef8c5a73bc0de1bf503825cbe6a4f682
CRs-Fixed: 774533
2019-06-11 17:37:28 -07:00
Nirav Shah
0b33219e88 qcacld-3.0: Add logging macros without function/line info
Add per module logging macros without function/line info
to avoid adding function/line info where it is not required.

Change-Id: I0bd9248122b4f49274ee05a225ce6f880fede0cb
CRs-Fixed: 2468414
2019-06-11 17:37:28 -07:00
nshrivas
556e43a78b Release 5.2.0.136F
Release 5.2.0.136F

Change-Id: I3a1afedf95a6e00b8e4e32122a1f455b858571b5
CRs-Fixed: 774533
2019-06-11 09:50:52 -07:00
nshrivas
6e469ef55d Release 5.2.0.136E
Release 5.2.0.136E

Change-Id: I10133935cdfbf8cc59b4fca3c1c13164b7a152c9
CRs-Fixed: 774533
2019-06-10 11:53:56 -07:00
Guisen Yang
2780b92f21 qcacld-3.0: Fix start and stop procedure of epping mode
Do not start idle timer for epping mode when starting.
Deinit bus bandwidth and replenish timer when stopping, otherwise,
there will be resource leak.

Change-Id: Ib596f51445b739acd4551640b73270fd7693eea1
CRs-Fixed: 2464089
2019-06-10 11:53:55 -07:00
nshrivas
6342ad3723 Release 5.2.0.136D
Release 5.2.0.136D

Change-Id: I47f3e877c226468b486e1b6701e2b3ec6ddf2f1f
CRs-Fixed: 774533
2019-06-10 09:15:38 -07:00
Bala Venkatesh
e2f6771896 qcacld-3.0: Avoid memory leaks
pScanFilter->BSSIDs.numOfBSSIDs is allocated as part
of function csr_neighbor_roam_prepare_scan_profile_filter
and this memory is not freed in error cases.

Hence free the allocated memory of pScanFilter->BSSIDs.numOfBSSIDs
in error cases before returning from function
csr_neighbor_roam_prepare_scan_profile_filter.

Change-Id: I411dba7ead796f84994e633a387730de6ee4d579
CRs-Fixed: 2464822
2019-06-10 09:15:33 -07:00
nshrivas
64934f0065 Release 5.2.0.136C
Release 5.2.0.136C

Change-Id: If2d4c506bb25e7be4a39b3bc70feba54df2f12b9
CRs-Fixed: 774533
2019-06-10 07:28:03 -07:00
Yeshwanth Sriram Guntuka
282844155e qcacld-3.0: Cleanup CONFIG_MCL and use common flags and api
Cleanup CONFIG_MCL in peer_assoc_params and use common
flags and api to populate peer_flags in wmi peer assoc
command.

Change-Id: Ib06409c89ee519d8139b52158c8c907dc336beca
CRs-Fixed: 2467182
2019-06-10 07:28:02 -07:00
nshrivas
a1a4c7054c Release 5.2.0.136B
Release 5.2.0.136B

Change-Id: I228dcfd16bfbb3f525796609cc743be7993ce045
CRs-Fixed: 774533
2019-06-10 02:37:35 -07:00
nshrivas
270fc0c235 Release 5.2.0.136A
Release 5.2.0.136A

Change-Id: I0ad32829828cbce62b10ae8aef26a4010fd97878
CRs-Fixed: 774533
2019-06-10 00:50:18 -07:00
tinlin
5d3721d68f qcacld-3.0: Not update wiphy band if registered
Wiphy updates band in insmod time. When wiphy is
registered, updating wiphy band a second
time sets chan_flags of wiphy to all zeros. That
results wrong wiphy chan_flags in
hdd_send_wiphy_regd_sync_event.

Add wiphy registered judgement in
wlan_hdd_update_wiphy_supported_band.

Change-Id: Iac094eea5ac2abcf068de7a35f00bdbf892e55a4
CRs-Fixed: 2452965
2019-06-10 00:50:16 -07:00
nshrivas
45bd5c2360 Release 5.2.0.136
Release 5.2.0.136

Change-Id: I79be3c46c54cbdc1ab98ae0beeb5fcf45f762d6e
CRs-Fixed: 774533
2019-06-09 02:57:01 -07:00
gaurank kathpalia
bf3314357d qcacld-3.0: Set BSSID state as disconnected when roaming is successful
Set BSSID state as disconnected when roaming is successful
so that blacklist manager can clear the AP info if the
nud failure did not come for blacklist reset time value.

Change-Id: Ie602c02d7a43b46daa7f1b1f85cd98628da91280
CRs-Fixed: 2467319
2019-06-09 02:57:00 -07:00
nshrivas
8f1cecacb9 Release 5.2.0.135Z
Release 5.2.0.135Z

Change-Id: I270b1568ca36e78da39cf1b2738da4725f028087
CRs-Fixed: 774533
2019-06-08 12:30:20 -07:00
Ajit Pal Singh
cdbe69a4ad qcacld-3.0: Incase of error return after ol_tx_download_done_base()
In ol_tx_download_done_hl_free() when 'status !=  A_OK',
tx_desc and netbuf are freed in ol_tx_download_done_base() irrespective
of the reference count to tx_desc.
Hence return after ol_tx_download_done_base() if 'status !=  A_OK'.

Change-Id: I2e55d178abc0c2cf30d0f474962f4c06e5c8e327
CRs-Fixed: 2442568
2019-06-08 12:30:16 -07:00
nshrivas
38105e4b3d Release 5.2.0.135Y
Release 5.2.0.135Y

Change-Id: Ic1e7967f08ecccc6be51cd9897b44ac1dd33bf98
CRs-Fixed: 774533
2019-06-08 06:29:25 -07:00
Pragaspathi Thilagaraj
7a1a08e6b6 qcacld-3.0: Replace typedef eCsrAuthType
eCsrAuthType is the enum of AKMs to be used during connection.
So the name eCsrAuthType is misleading as akm and auth algo are
different.
Also the Linux Coding Style doesn't allow mixed-case names and
so-called Hungarian notation, so rename the enum eCsrAuthType to
be compliant.

Change-Id: I35e18d1f84babd0ef2928ae9d7258028d4c9b3c5
CRs-Fixed: 2463813
2019-06-08 06:29:25 -07:00
Min Liu
dd30889709 qcacld-3.0: Reject NULL SSID for SSID white list
For vendor command QCA_NL80211_VENDOR_SUBCMD_ROAM with sub command
QCA_WLAN_VENDOR_ATTR_ROAM_SUBCMD_SSID_WHITE_LIST, NULL SSID with
NULL terminal can be accepted since it only requires non-zero
buffer len. Should only accept buffer len greater than 1.

Change-Id: I87144d4bf169e637756a4715c7a596c32f49dc36
CRs-Fixed: 2454035
2019-06-08 06:29:19 -07:00
Sandeep Singh
75d4b7d4cd qcacld-3.0: Add api to get smmu domain
Add api to get smmu domain from platform driver.

Change-Id: I71efe1a770c8c73f17ffe574555aa9c3b3595819
2019-06-08 06:29:14 -07:00
Rakshith Suresh Patkar
65bdb19143 qcacld-3.0: Use new API pld_smmu_get_domain
Use new API pld_smmu_get_domain in place of
pld_smmu_get_mapping, which is to be deprecated.

Change-Id: I7a083cd3c0deecdbf774b57121866cd72fc157dc
Crs-Fixed: 2464850
2019-06-08 06:29:09 -07:00
nshrivas
ac67d926a0 Release 5.2.0.135X
Release 5.2.0.135X

Change-Id: I3b17365c54478ad8774920ef8b0bcf5e4a4ded30
CRs-Fixed: 774533
2019-06-07 11:38:57 -07:00
Pragaspathi Thilagaraj
469495ba47 qcacld-3.0: Rename pMsgBuf identifier
The Linux Coding Style doesn't allow mixed-case names and
so-called Hungarian notation, so rename the pMsgBuf to be
compliant.

Change-Id: Ia28e9e8ce69c7fbb6853278ccdb12e722ec24e06
CRs-Fixed: 2463442
2019-06-07 11:38:56 -07:00
nshrivas
21b9862e8d Release 5.2.0.135W
Release 5.2.0.135W

Change-Id: Idbe4afec62c488420e04acea207dabccf561fe71
CRs-Fixed: 774533
2019-06-07 07:05:40 -07:00
Ashish Kumar Dhanotiya
53d8bb6282 qcacld-3.0: Read ini params after ini conf is parsed
Ini parameters gAllowMCCGODiffBI, gEnableMCCMode,
gEnableMacAddrSpoof are getting used before parsing the ini
conf file which is resulting in invalid parameter values.
Based on these invalid values wiphy parameters are getting
updated resulting in invalid wiphy configuration.

To resolve this issue, update these wiphy parameters after
ini conf file is parsed.

CRs-Fixed: 2457077
Change-Id: I20c14e7caeb0c0ad27ede5452e7d055ec2500026
2019-06-07 07:05:40 -07:00
Pragaspathi Thilagaraj
d48e6cd463 qcacld-3.0: Rename statusCode identifier
The Linux Coding Style doesn't allow mixed-case names and
so-called camelcase notation, so rename the statusCode to be
compliant with the coding style.

Change-Id: I98e0af710401a9718bdc1402617253eb970c5861
CRs-Fixed: 2463825
2019-06-07 07:05:35 -07:00
Pragaspathi Thilagaraj
96742aed1e qcacld-3.0: Rename CSR/SME identifier pBssDesc
The Linux Coding Style doesn't allow mixed-case names and
so-called Hungarian notation, so rename the identifier pBssDesc
to be compliant.

Change-Id: I0980de75bbaaeb1eee9321621da1f3ff90e09188
CRs-Fixed: 2463446
2019-06-07 07:05:30 -07:00
nshrivas
512792a38d Release 5.2.0.135V
Release 5.2.0.135V

Change-Id: Ia01bbc815372335710dafd22170a0490c1e7db96
CRs-Fixed: 774533
2019-06-07 03:23:46 -07:00
Sourav Mohapatra
22ff4c6aa8 qcacld-3.0: Rectify the max rates being sent
Currently in the driver, the max rates that are being sent to the
userspace do not take into account the value of the ini
enable_vht20_mcs9. This ini state that the connection doesn't support
MCS9 rates for vht20. As this is not taken into account, the rates
being sent are incorrect.

Add a check inside hdd_report_max_rate to check the value of the ini
before filling up the max MCS index.

Change-Id: I39742b7cc6a18c3d7693a6efef05987ec0e80cec
CRs-Fixed: 2453759
2019-06-07 03:23:46 -07:00
Ashish Kumar Dhanotiya
0dd9b8b56a qcacld-3.0: Avoid uninitialized use of variable
In send sta authorized event api, there is a possibility
of use of uninitialized use of structure variable mask
which may result in an invalid value of the mask.

To avoid uninitialized use of the structure variable,
mem set structure variable to zero before using it.

Change-Id: I2c8bbac949b55fd18928c5dca8744147b0a45415
CRs-Fixed: 2423878
2019-06-07 03:23:40 -07:00
nshrivas
5e92416970 Release 5.2.0.135U
Release 5.2.0.135U

Change-Id: I0e08c23f1e78fcd3940b25498b23edc4c22639e9
CRs-Fixed: 774533
2019-06-07 01:51:23 -07:00
Kiran Kumar Lokere
0f1f4635cf qcacld-3.0: Set extended cap TWT capabilities in roam offload
Set TWT capabilities in extended capability IE in roam scan
offload request.

Change-Id: I4f07cfff47a2ecc4acf4d43d8885ce65f2fa2141
CRs-Fixed: 2459217
2019-06-07 01:51:22 -07:00
Kiran Kumar Lokere
7a6c327af3 qcacld-3.0: Fix possible NULL dereference
Check the station data structure for NULL dereference before
accessing it.

Change-Id: Id719a77e0de36767bd699caacf507cf4f7bb8fc6
CRs-Fixed: 2462587
2019-06-07 01:51:17 -07:00
Kiran Kumar Lokere
1ba55bfa9b qcacld-3.0: Fix possible NULL pointer dereference
Validate the CSR session before accessing it as the session can be
NULL for invalid session id.

Change-Id: I090d75a44bb9e78cbf7f10ac08ccad9f664e6e06
CRs-Fixed: 2462598
2019-06-07 01:51:13 -07:00
Abhinav Kumar
73a516ba32 qcacld-3.0: Update Max Tx Power in channel switch wrapper IE
Currently in case of CSA announcement with channel switch mode 1,
host wraps "switch wrapper IEs" of the current operating channel
for target channel. This is not expected. Driver should send
fills information about target channel in the channel switch
wrapper IEs.

Fix is to fill IE in host and ignore the IE from hostapd.

Change-Id: Ie2447fa7affdf8211a46877e0d8b0e41796f0cc3
CRs-Fixed: 2444679
2019-06-07 01:51:09 -07:00
Pragaspathi Thilagaraj
beb769e8c5 qcacld-3.0: Fix mem leak in wma_roam_update_vdev
In the memory allocated for del_sta_params, set_link_params and
del_bss_params is not freed if the malloc for add_sta_params
fails. This causes memory leak in wma_roam_update_vdev.
Also in wma_extscan_operations_event_handler, oprn_ind is not
freed in case of failure.

Free the memory allocated for del_sta_params, set_link_params,
del_bss_params, oprn_ind during every return.

Change-Id: I727cc734943a2abcc2cfeca3285af13eb68cfe44
CRs-Fixed: 2464098
2019-06-07 01:51:05 -07:00
nshrivas
7ea060459e Release 5.2.0.135T
Release 5.2.0.135T

Change-Id: Ieab2f53939c7f1a909e342a6e9ca44a6a5b3f388
CRs-Fixed: 774533
2019-06-06 19:01:50 -07:00
gaurank kathpalia
45685491ea qcacld-3.0: Fix potential memory leak issues in driver code
Currently in these APIs, driver has a potential mem leak if
the code deviates from the success path:-

1. sme_ap_disable_intra_bss_fwd, param pSapDisableIntraFwd
was not freed in case of mutex acquire gets fail.

2. sme_set_wisa_params, param cds_msg_wisa_params was not freed
in case of mutex cquire fail, and in case of msg failed to
post to scheduler.

3. sme_update_sta_inactivity_timeout, param inactivity_time was
not freed in any case, and has to be freed after use.

4. wma_del_tdls_sta, param peerStateParams needs to be freed
in every failure case, in which the driver sends a del rsp in
error case.

Change-Id: Ibb6061dc399c0f408e7469e91d8084c82786a561
CRs-Fixed: 2466435
2019-06-06 19:01:50 -07:00
nshrivas
2b3ea8ea3e Release 5.2.0.135S
Release 5.2.0.135S

Change-Id: If148bd1577f36302d89b4887ef4a38c8c6f3ebcd
CRs-Fixed: 774533
2019-06-06 13:02:16 -07:00
Abhinav Kumar
009f69fb6a qcacld-3.0: Fix possible memory leak
Free Dynamic allocated memory in following scenarios:
1. In __lim_ext_scan_forward_bcn_probe_rsp()
Free dynamic allocated memory for result in failure case

2. In sme_oem_data_req()
Free dynamic allocated memory for oem_data_req in failure case.

3. In sme_notify_ht2040_mode()
Free dynamic allocated memory for pHtOpMode in default case.

4. In sme_send_rate_update_ind()
Free dynamic allocated memory for rate_upd if mutex acquire
fails.

5. In sme_txpower_limit()
Free dynamic allocated memory tx_power_limit rate_upd if mutex
acquire fails.

Change-Id: I5deccb5ac10f69ad00ea860f43c821ee7e90c71e
CRs-Fixed: 2465786
2019-06-06 13:02:15 -07:00
Ashish Kumar Dhanotiya
fa55c1889a qcacld-3.0: Update correct MAC address for dump station ops
When MAC address is changed dynamically and dump station
command is invoked driver is not giving the updated MAC
address as the output of the command.

To address this issue give the correct MAC address from
net device.

Change-Id: I4effb1fe4d52f35c0df7beb7884e7943215d73f8
CRs-fixed: 2463418
2019-06-06 13:02:07 -07:00
nshrivas
75d3cf6413 Release 5.2.0.135R
Release 5.2.0.135R

Change-Id: Ia7fa8b3cee6a4b932caf87729f8fe7ef39d3c581
CRs-Fixed: 774533
2019-06-05 09:22:37 -07:00
Rachit Kankane
2a3185a495 qcacld-3.0: Check for ongoing deauth / disassoc
As a SAP, there are two paths to deauthenticate peer STA as:
1. Deauth issued from south bound interface (peer sending deauth etc)
2. Used issued deauth from upper layer (via hostapd_cli)

We have a race condition when deauth comes for the same peer from both
the ways resulting into process one after another.
This is happening since no check is being done at north bound interface
before issuing deauth request to SME.

Adding a check validate if deauth already in-progress for the mentioned
peer before issuing deauth req.

Change-Id: I2050cf5558dbdf6d656694c39e9f1e461e17bf01
CRs-Fixed: 2459967
2019-06-05 09:22:26 -07:00
Sandeep Puligilla
cf1fa4c460 qcacld-3.0: Fix RRM scan request dwell time
Failed to set the RRM scan dwelltime below 40ms.

Modified RRM scan request API to accept active dwelltime
below 40ms and 110ms for passive scan.

Change-Id: I0a1030c6c719950c08db0bc164623556b187fe9d
CRs-Fixed: 2454281
2019-06-05 09:22:21 -07:00
gaurank kathpalia
f40cedc066 qcacld-3.0: Do not reset roam invoke in progress in default case
Do not reset roam invoke in progress in default switch
case.

Change-Id: I3f1bb9f78bb7d23e72973e6e6977b42387755e71
CRs-Fixed: 2465090
2019-06-05 09:22:17 -07:00
Jiani Liu
ef39b965be qcacld-3.0: Add qtime & host_time in __hdd_wlan_tsf_show
Add qtime & host_time in __hdd_wlan_tsf_show, so that "cat tsf" will
print out qtime and host_time at the instant.

Change-Id: I4da440f92b7415440f9064a49777c3c3680ac1b1
CRs-Fixed: 2461503
2019-06-05 09:22:08 -07:00
nshrivas
b09915d778 Release 5.2.0.135Q
Release 5.2.0.135Q

Change-Id: Ic79187b141a2eb6e1ce40695df83d0dc3c0705fc
CRs-Fixed: 774533
2019-06-04 22:45:43 -07:00
Qun Zhang
f7c1664b2c qcacld-3.0: Fix qcmbr buffer copy issue
The MCL qcmbr ioctl process has duplicated copy_from/to_user actions,
to make sure MCL and WIN qcmbr command processing converge, remove
the redundant copy_from/to_user in wlan_hdd_ftm.c.
This change also fixs FTM test fail issue.

Change-Id: Ie740c3dd1774f5a2bf8f928814d58fb310a7a76d
CRs-Fixed: 2436024
2019-06-04 22:45:42 -07:00
Sandeep Puligilla
78a8c1f6fa qcacld-3.0: Fix NULL pointer dereference in WMA
Add NULL validaiton check for WMA global context
to avoid possible NULL pointer dereference.

Change-Id: I1cf0bcf574d397eb712ca0e1c39dcf848b9c5328
CRs-Fixed: 2423998
2019-06-04 22:45:35 -07:00
nshrivas
576b01f0c5 Release 5.2.0.135P
Release 5.2.0.135P

Change-Id: I250a9cd5e32dfd3ca656eea640c57ba835089a86
CRs-Fixed: 774533
2019-06-04 20:22:15 -07:00
Yeshwanth Sriram Guntuka
1c7d239b15 qcacld-3.0: Update MCS set on add_sta in LFR2 scenario
In LFR2 scenario, STA roams to IOT AP with which max nss
capability is advertised because ini configured vendor OUI
and data for max nss is found in AP's beacons or probe
responses. On receiving association response with reduced
nss, nss is not updated as part of add_sta. This is resulting
in incorrect nss to be sent in peer_assoc command.

Fix is to update MCS set so that appropriate nss is sent in
peer_assoc command.

Change-Id: Id137a09f24063c8260c21eda6cd74cbb571b9129
CRs-Fixed: 2464318
2019-06-04 20:22:08 -07:00
nshrivas
c0a982c47c Release 5.2.0.135O
Release 5.2.0.135O

Change-Id: I3033c56c6b191b022cdb0a7d833e80b251a53ebf
CRs-Fixed: 774533
2019-06-04 00:57:58 -07:00
nshrivas
8b50203713 Release 5.2.0.135N
Release 5.2.0.135N

Change-Id: I7bf78387e953eef44a89470a2b7bd913e6c31614
CRs-Fixed: 774533
2019-06-03 21:03:34 -07:00
Srinivas Girigowda
3fcc2f5803 qcacld-3.0: Replace SIR_MAC_TDLS_* with converged enum TDLS_*
Replace SIR_MAC_TDLS_* with converged enum TDLS_*.

Change-Id: Id611517e135c64afc29de371c32c08cff3b985d7
CRs-Fixed: 2461770
2019-06-03 21:03:33 -07:00
nshrivas
08f6512782 Release 5.2.0.135M
Release 5.2.0.135M

Change-Id: I07426340c553ad0e3ec589e51f81d4af33af1dcb
CRs-Fixed: 774533
2019-06-03 19:02:40 -07:00
Alok Kumar
600d9647f4 qcacld-3.0: Get the newtork queues status during NUD Failure
In some cases i.e. after successful roaming, NUD FAILURE is
triggered due to no ARP REQ packets are sent out by netdev.
Currently, we do not have any information to verify if ARP
packets are not sent because netdev queues are paused or not.

Retrieve the netdev queues status in case of NUD FAILURE to
verify if TX is stopped due to paused queue.

Change-Id: I324afdc349cf6b028471a21ed89bc702f99e5f99
CRs-Fixed: 2441513
2019-06-03 19:02:39 -07:00
nshrivas
8f638fc7a3 Release 5.2.0.135L
Release 5.2.0.135L

Change-Id: I463a080d979ad6368bb6aba836028b69530515d4
CRs-Fixed: 774533
2019-06-03 15:24:35 -07:00
gaurank kathpalia
ac8504a703 qcacld-3.0: Cleanup the scan blacklist path
Currently with the support of Blacklist manager
component, all the blacklist, avoid list, RSSI-REJECT
list is maintained by the BLM, hence the filter logic
of the blacklist APs in the scan component is not
required.

Cleanup the blacklist BSSID APIs, and related functionality.

Change-Id: I4c8283d2c5e4ca66c24a25d31a74026510bb452c
CRs-Fixed: 2464188
2019-06-03 15:24:35 -07:00
nakul kachhwaha
8dbf4b5654 qcacld-3.0: Check neighbor roam state before disconnecting
Wait for LFR 2.0 based Roaming sequence to complete before
processing disconnect command from cfg80211.

Change-Id: Ib596aa56ccc322f5ba87b46685bbc299793c9d5b
CRs-Fixed: 2464112
2019-06-03 15:24:27 -07:00
nshrivas
a46dfad56a Release 5.2.0.135K
Release 5.2.0.135K

Change-Id: I2bb99948a32cb7b7ed119861d1274c33ebe2a281
CRs-Fixed: 774533
2019-06-03 02:26:54 -07:00
Bala Venkatesh
9bb9c05e83 qcacld-3.0: Pass psoc instead of vdev for teardown links
As part of start_ap or connect_start to teardown active tdls peers
hdd_notify_teardown_tdls_links is called with argument vdev. But
TDLS might not be enabled on that vdev. With recent changes,
osif_priv object is initialized as part of tdls_vdev_init.
For the new interface if TDLS is not initialized then osif_priv
object will not be found and TDLS peers are not removed.

Change-Id: Idcf690bba2766664700a4851d390ee620f2fe73a
CRs-Fixed: 2460108
2019-06-03 02:26:54 -07:00
Manjunathappa Prakash
8280a15953 qcacld-3.0: Add WMA API to know if vdev is roaming
Add WMA API and DP ol_if callback to know if vdev is roaming in progress

Change-Id: Ice43413516d8b2490bf7ddf6fcac85ee5dee421b
CRs-Fixed: 2458886
2019-06-03 02:26:49 -07:00
nshrivas
8a97237186 Release 5.2.0.135J
Release 5.2.0.135J

Change-Id: Ifc4d4104db77964d07d1bc5a242f93cc08a84e25
CRs-Fixed: 774533
2019-06-02 23:24:51 -07:00
gaurank kathpalia
19c2354260 qcacld-3.0: Populate the score config nss param for 5ghz
Currently the driver does not populate the score config
param for 5ghz connection, hence the nss for STA in 5ghz
connection becomes zero by default, and thus results in
a lower score for that BSSID, which should not be the
case.

Fix is to populate the vdev nss 5ghz for STA score config,
which would result in correct nss param.

Change-Id: I5276446caeaf9e68e2e422c403cfd05e68b58545
CRs-Fixed: 2463288
2019-06-02 08:25:59 -07:00
nshrivas
da558d79e4 Release 5.2.0.135I
Release 5.2.0.135I

Change-Id: Ib7731bcca5a5ee1ae58a27f1270b7ec7ca1ed52e
CRs-Fixed: 774533
2019-06-02 01:51:39 -07:00
gaurank kathpalia
7ef7218496 qcacld-3.0: Add support for roaming in case of NUD failure
Add support for roaming in case the driver
detects a nud failure. The STA then would roam
to another BSSID, else if the roaming gets failed
the STA would remain connected to the same BSSID
as connected before.

Change-Id: Idbc99b0ce2f9cacd97564dd8cf9892120958eda2
CRs-Fixed: 2461675
2019-06-02 01:51:38 -07:00
gaurank kathpalia
3ebc17b3e5 qcacld-3.0: Link BLM to the legacy APIs
Link BLM exposed APIs to the following:-

1. csr_get_scan_result:- Link this API with filter bssids in
the reject ap list maintained by the blacklist mgr.

2. lim_assoc_rej_add_to_rssi_based_reject_list:- Link this API
with the the blacklist mgr add bssid to reject list to add the
OCE and BTM related assoc rejects.

3. Userspace avoid list parsing logic for the userspace to set
the BSSID as avoided.

Change-Id: Id51ffb80cea3f845fefe14db25d0f7acda6ea0f3
CRs-Fixed: 2461281
2019-06-02 01:51:34 -07:00
nshrivas
207eaabf34 Release 5.2.0.135H
Release 5.2.0.135H

Change-Id: I549156c80d508a133d511cbc1b154e0840705aee
CRs-Fixed: 774533
2019-06-01 17:05:46 -07:00
Abhinav Kumar
668bd125c0 qcacld-3.0: Fix null pointer dereference in sme_handle_bcn_recv_start
In sme_handle_bcn_recv_start, 'mac_ctx->roam.roamSession' is not
validated for null before being passed to CSR_IS_SESSION_VALID where
dereference can occur.

Validate mac_ctx->roam.roamSession against null before passing it to
CSR_IS_SESSION_VALID.

Change-Id: I48638a320f29a906a6e8a35c000191265313b734
CRs-Fixed: 2462682
2019-06-01 17:05:46 -07:00
nshrivas
cea92bd601 Release 5.2.0.135G
Release 5.2.0.135G

Change-Id: I40acf9ab5b81a6c25d12a19f1f996452951b2e3b
CRs-Fixed: 774533
2019-06-01 03:23:40 -07:00
Abhishek Singh
f5f2166bbb qcacld-3.0: Remove obsolete legacy cfg related files
Remove obsolete cfg_api.h and cfg_global.h files related to
legacy cfg.

Change-Id: I1978c3b44239c62b1dfb6fd59a8a25bccf277aac
CRs-Fixed: 2463744
2019-06-01 03:23:40 -07:00
nshrivas
7de31bbf96 Release 5.2.0.135F
Release 5.2.0.135F

Change-Id: I815196e76e65a6227b1e5e33fba1b6f1a2b91be8
CRs-Fixed: 774533
2019-06-01 01:38:18 -07:00
wadesong
90d68dee05 qcacld-3.0: Enlarge the PMKR0 buffer for FT-FILS
PMKR0 buffer's length is currently 32 bytes in struct
pe_fils_session, which is incapable of storing the
value of Q when SHA384 is used for authentication.

Enlarge the PMKR0 buffer to 48 bytes in case SHA384
is used.

Change-Id: Ib935a4dfc6fc415453d3c3b9cf458cc3b0f4f0a2
CRs-Fixed: 2462643
2019-06-01 01:38:18 -07:00
nshrivas
821baeb405 Release 5.2.0.135E
Release 5.2.0.135E

Change-Id: I7a7941dd3a45770ae3016ec032728bc19e771ab8
CRs-Fixed: 774533
2019-05-31 23:48:20 -07:00
Rajeev Kumar
d62104a8b0 qcacld-3.0: Add sanity check for hdd context
Add sanity check for hdd context and return if
hdd context is null.

Change-Id: Ibef56ee7d0b0505643e04583a78b4924e4bc20bf
CRs-Fixed: 2462701
2019-05-31 23:48:20 -07:00
nshrivas
221bf3cebc Release 5.2.0.135D
Release 5.2.0.135D

Change-Id: I93af44441f156162790420f76672343d0228277c
CRs-Fixed: 774533
2019-05-31 21:56:05 -07:00
Sandeep Puligilla
d7e005b23a qcacld-3.0: MBSSID: Fix SSID population
CSR is populating TX SSID in NonTx to NonTx
BSSID roaming scenario.

SSID is populated from the TX beacon instead
of the generated NonTX beacon. MOdified code
to populate the IE's from NonTX beacon.

Change-Id: Ib02f320ba0e6622ad79a1bd2429ad5f61e53b71b
CRs-Fixed: 2462018
2019-05-31 21:56:05 -07:00
Pragaspathi Thilagaraj
cbecb299cf qcacld-3.0: Advertise BSS transition enabled in extended capabilities
When BTM config is disabled in the supplicant, the BSS
transition bit (19) of the extended capabilities will be
disabled. If BTM offload is enabled, currently driver still
advertises that the BSS transition bit(19) as disabled. This
results in AP disabling 11v for this STA.

Advertise the BSS transition bit (19) as enabled in the extended
capabilities if btm_offload ini bit 1 is enabled.

Change-Id: I7c1977294a2e166321951ee0ec31f18929c42176
CRs-Fixed: 2455919
2019-05-31 21:56:01 -07:00
Bala Venkatesh
9ae5e2cd2f qcacld-3.0: Avoid NULL pointer dereference
Function mlme_get_dynamic_oce_flags can return the NULL value.
Avoid and check for NULL pointer in the callers.

Change-Id: Idc83a9e5dea812a73fed24de3aa2c2c49436f7d1
CRs-Fixed: 2462716
2019-05-31 21:55:57 -07:00
nshrivas
c110e2ed45 Release 5.2.0.135C
Release 5.2.0.135C

Change-Id: I955b269c8eac0ca671d62c7eb263a37aa86ec157
CRs-Fixed: 774533
2019-05-31 14:50:36 -07:00
Abhinav Kumar
925a3334ef qcacld-3.0: Update vdev id while de-configuring 11k offload
In case of STA+STA to configure 11k for second STA without
assertion, the driver should de-config 11k for currently
enabled STA. Currently, driver de-configures 11k but not updates
corresponding vdev id results vdev id for which roam disable and
11k disable sent to fw could be different. This leads to assert
in fw.

Fix is to update corresponding vdev id also for which driver
de-configures 11k.

Change-Id: I841a0561124cf110096f5326f2d9ba191518d3f2
CRs-Fixed: 2460097
2019-05-31 14:50:27 -07:00
nshrivas
67628ac49d Release 5.2.0.135B
Release 5.2.0.135B

Change-Id: Id1914d3bbe8561c62dd43ac65f9a5ea32bcc9aa8
CRs-Fixed: 774533
2019-05-31 07:40:09 -07:00
Pragaspathi Thilagaraj
e64714a3b4 qcacld-3.0: Rename pe_session member pePersona
The Linux Coding Style doesn't allow mixed-case names so rename
pePersona to opmode in struct pe_session to be in compliance.

Change-Id: I3434bdba5300fb89c7e78cd16dacfd151ba7c00b
CRs-Fixed: 2459760
2019-05-31 07:40:08 -07:00
nshrivas
bb6d04a2f9 Release 5.2.0.135A
Release 5.2.0.135A

Change-Id: Icec1d9effdbc5558e1e947051e3550ea6e47f1f0
CRs-Fixed: 774533
2019-05-31 05:17:09 -07:00
Yeshwanth Sriram Guntuka
22ed80066a qcacld-3.0: Advertise max NSS capability with few IOT APs
Few IOT APs advertise reduced NSS capabilities on ending
up in bad state. These APs can later recover to support
the actual NSS capabilities. In this scenario, when STA
initiates connection to these APs, which are in bad state,
reduced NSS capabilities is advertised. STA cannot later
upgrade NSS capabilities to the minimum of STA max NSS
capability and APs actual NSS capability, once AP recovers.

Fix is to advertise max NSS capability during connection
with these IOT APs based on vendor OUIs and downgrade if
AP still advertises reduced NSS capability in association
response.

Change-Id: I49ea13534b1a44fd9ffadd1e8fb44e9d782147c4
CRs-Fixed: 2453938
2019-05-31 05:17:09 -07:00
nshrivas
f3882b0da8 Release 5.2.0.135
Release 5.2.0.135

Change-Id: I4c100c20be914ffbecf8a9faba3b85544252764a
CRs-Fixed: 774533
2019-05-31 02:29:50 -07:00
Vevek Venkatesan
3b6be82e9b qcacld-3.0: abstract Linux identifiers from IPA component
Abstract Linux based OS identifiers from IPA component in
HDD/OSIF layer.

Change-Id: I82a5db8c796d47d552757b1a450df10c72061177
2019-05-31 02:29:49 -07:00
nshrivas
d8679842c8 Release 5.2.0.134Z
Release 5.2.0.134Z

Change-Id: I166c799f729691c9314e206d3d8faa7d8cecef28
CRs-Fixed: 774533
2019-05-30 19:29:35 -07:00
Rajeev Kumar
588a254004 qcacld-3.0: Add idle restart/shutdown support for PCIe in PLD
Provide platform driver interface for idle restart/shutdown for
PCIe bus in PLD. Remove PCIe power off call for discrete PCIe bus
enabled SoC such that platform driver can execute proper SoC power
off sequence.

Change-Id: If08186247e89a4182cadbf83817dce4f02654ecc
CRs-Fixed: 2431419
2019-05-30 19:29:34 -07:00
Yeshwanth Sriram Guntuka
a5af4491d5 qcacld-3.0: Modify default value for switch to 11n action OUI ini
The current default value for gActionOUISwitchTo11nMode ini
leads to forcing 11n connection with vendor APs which don't
require the WAR.

Fix is to update the default value of the ini to restrict
the WAR to appropriate vendor AP.

Change-Id: Ia148da288ee16a62a8b32e54b1801bb9d19031e2
CRs-Fixed: 2461414
2019-05-30 19:29:30 -07:00
nshrivas
71edafacb9 Release 5.2.0.134Y
Release 5.2.0.134Y

Change-Id: I4cf0edbe22fca7363dd3a9f461d3a516ee88fd6e
CRs-Fixed: 774533
2019-05-29 22:12:37 -07:00
nshrivas
5b1b7d3177 Release 5.2.0.134X
Release 5.2.0.134X

Change-Id: I94b667cd926c1289222c3412a37b2b65a2641e2c
CRs-Fixed: 774533
2019-05-29 02:53:59 -07:00
tinlin
480cb8e5a2 qcacld-3.0: Correct typo in csr_roam_joined_state_msg_processor
In csr_roam_joined_state_msg_processor, roam_info->tx_stbc is
assigned twice because of a typo.
Assign roam_info->rx_stbc as the value of
pUpperLayerAssocCnf->rx_stbc.

Change-Id: Ic90f6b486a50dcc3aca8cb7171a137a34319914d
CRs-Fixed: 2460716
2019-05-29 02:53:58 -07:00
Srinivas Girigowda
f8e5d2e3ac qcacld-3.0: Replace SIR_MAC_ACTION_* with converged enum ACTION_SPCT_*
Replace SIR_MAC_ACTION_* with converged enum ACTION_SPCT_*.

Change-Id: I76cc3d7ea8e12b9a40f39ba855a73e2779896fea
CRs-Fixed: 2460915
2019-05-29 02:53:53 -07:00
nshrivas
b1620c33dd Release 5.2.0.134W
Release 5.2.0.134W

Change-Id: Ic4b50ccf9c89449610a715e6d6e371cc81dc6ab2
CRs-Fixed: 774533
2019-05-29 00:05:35 -07:00
Sandeep Puligilla
5e647f7f3e qcacld-3.0: LFR3 changes for MBSSID
Changes to support LFR3 roaming with MBSSID feature.

Change-Id: Ie968d23bbd2efc6b33b774d603394eb3df450cc1
CRs-Fixed: 2439989
2019-05-29 00:05:34 -07:00
nshrivas
2c1cb8de22 Release 5.2.0.134V
Release 5.2.0.134V

Change-Id: Iba6781e8bc7a70823730084f73432ca6d9acd2ff
CRs-Fixed: 774533
2019-05-28 08:20:00 -07:00
Vevek Venkatesan
78f7f09a57 qcacld-3.0: fix CFI failure by abstracting the callback
Abstract the callback hdd_softap_ipa_start_xmit by
hdd_softap_ipa_start_xmit, to match the return type of
wlan_ipa_softap_xmit pointer, to fix a CFI failure.

Change-Id: If1cb1a80801558d5c7831ec89ad5281b0bbe36f3
2019-05-28 08:19:59 -07:00
nshrivas
371b0c88e4 Release 5.2.0.134U
Release 5.2.0.134U

Change-Id: I84f191971af2449e26d5b53d0111799b51b19bae
CRs-Fixed: 774533
2019-05-28 05:18:52 -07:00
Guisen Yang
77814d8f02 qcacld-3.0: request firmware without userhelper
The request_firmware() will take too long time(60s) when the
requested fw file do not exist. Replace this API with
request_firmware_direct.

Change-Id: Ie40db69a24dc1e0b86f140ca1aad91bd3b10e95e
CRs-Fixed: 2435125
2019-05-28 05:18:52 -07:00
Pragaspathi Thilagaraj
6fc0a9a120 qcacld-3.0: Fix default value of beamformee STS Capability for SAP
A VHT beamformee shall indicate the maximum number of space-time
streams it can receive in a VHT NDP in the Beamformee STS
Capability subfield of the VHT Capabilities Information field of
the VHT Capabilities element. The SAP is advertising STS value
as 8 in both 2G and 5G band. This may cause IOT issues.

Fix the default value of beamformee STS capability value as
default value 3 for SAP.

Change-Id: I026eabeea941a33f1ffab6e498e6de90e182320e
CRs-Fixed: 2448390
2019-05-28 05:18:48 -07:00
nshrivas
48a887afae Release 5.2.0.134T
Release 5.2.0.134T

Change-Id: I5e964e839fd3cf0269a9201bab61bbdf58af03cc
CRs-Fixed: 774533
2019-05-28 00:53:22 -07:00
nshrivas
e9ee88cbe5 Release 5.2.0.134S
Release 5.2.0.134S

Change-Id: I7c8147f94d48392ab55c7f8b8ac875a329ee6837
CRs-Fixed: 774533
2019-05-27 22:04:13 -07:00
Srinivas Girigowda
395adddf8f qcacld-3.0: Replace SIR_MAC_RRM_* with converged macros
Replace SIR_MAC_RRM_* with converged macros.

Change-Id: I2150b5818dee4e35dda51a23fc956876d88b4c5b
CRs-Fixed: 2459572
2019-05-27 22:04:12 -07:00
nshrivas
9fce107497 Release 5.2.0.134R
Release 5.2.0.134R

Change-Id: I40c2116fe291a35d983a76ddfa05559619c5828e
CRs-Fixed: 774533
2019-05-27 20:13:16 -07:00
nshrivas
d071de06fe Release 5.2.0.134Q
Release 5.2.0.134Q

Change-Id: I01a0cf8ba44c57788a044e6b4aa10fcb8be1125e
CRs-Fixed: 774533
2019-05-27 15:33:37 -07:00
Pragaspathi Thilagaraj
1112c96ef5 qcacld-3.0: Replace typedef tSirBssDescription
The linux coding style forbids use of typedef unless clearly
some rules are met. The tSirBssDescription doesn't match any of
those criteria, so replace it with underlying structure
bss_description.

Change-Id: I36ad517325117cf04d499c7c472ca6ef5921a85d
CRs-Fixed: 2459769
2019-05-27 15:33:37 -07:00
Pragaspathi Thilagaraj
e05162d92b qcacld-3.0: Rename pe_session member bssIdx
The Linux Coding Style doesn't allow mixed-case names so rename
bssIdx in struct pe_session to be in compliance.

Change-Id: Idf2df6cb4ca30e4fdae74b8fb39445bb878003c5
CRs-Fixed: 2459768
2019-05-27 15:33:33 -07:00
nshrivas
49f1803b05 Release 5.2.0.134P
Release 5.2.0.134P

Change-Id: I9c87d1d1a6ea2b8a6013c6dea65b9a4e96def155
CRs-Fixed: 774533
2019-05-27 10:37:32 -07:00
nshrivas
cb8716747a Release 5.2.0.134O
Release 5.2.0.134O

Change-Id: I4faaa0688940799cab1f7a05d2db29efd3eb9460
CRs-Fixed: 774533
2019-05-27 06:07:10 -07:00
Pragaspathi Thilagaraj
afd0a48d1c qcacld-3.0: Rename pe_session member eSirBssType
The Linux Coding Style doesn't allow mixed-case names so rename
eSirBssType in struct pe_session to be in compliance.

Change-Id: Iafe6649a130c77064180c67fb1385d2d7a763370
CRs-Fixed: 2459767
2019-05-27 06:07:09 -07:00
nshrivas
bf0ad87984 Release 5.2.0.134N
Release 5.2.0.134N

Change-Id: I7029feb10bc703f6bcd590c8bf2a5eaa6a62d35d
CRs-Fixed: 774533
2019-05-27 04:23:22 -07:00
Pragaspathi Thilagaraj
cb58bbc7b6 qcacld-3.0: Replace typedef tSirMacStatusCodes
The Linux Coding Style enumerates a few special cases where
typedefs are useful, but stresses "NEVER EVER use a typedef
unless you can clearly match one of those rules." The
tSirMacStatusCodes typedef does not meet any of those criteria,
so replace it properly named enum.

Change-Id: I4712acc4898a60ce78e7a6e71d2e91f5b1929c97
CRs-Fixed: 2459765
2019-05-26 14:10:28 +05:30
nshrivas
be24d8ccb5 Release 5.2.0.134M
Release 5.2.0.134M

Change-Id: Ie4a23bf4789c82da576cdc94b4962a5a9941210e
CRs-Fixed: 774533
2019-05-24 23:13:18 -07:00
Abhishek Singh
bb9deb4ae0 qcacld-3.0: Release vdev ref and delete pending peers in wma close
In hdd_vdev_destroy, if policy_mgr_check_and_stop_opportunistic_timer
decides to move to single mac mode and while sending the HW mode change
the target goes down, this leads to timeout of the HW mode change req in
WMA layer which is 2 sec and in serialization its 4 sec, but
policy_mgr_check_and_stop_opportunistic_timer timeout in 1 sec and proceed
to sme_close_session and wait for it to complete.

sme_close_session queue WLAN_SER_CMD_DEL_STA_SESSION to serialization but
it remains in pending queue, behind HW mode change req.

Now due to SSR the wait event for sme_close_session is set and thus
hdd_vdev_destroy logically deletes the vdev.

Now on WMA timeout the HW mode change try to remove the request from
serialization which it fails to remove as it fails to get ref for vdev
with vdev being logically deleted.

Thus WLAN_SER_CMD_DEL_STA_SESSION is not processed and is flushed in
hdd_wlan_shutdown.

Thus as SSR WLAN_SER_CMD_DEL_STA_SESSION is flushed from serialization
queue, the wma_vdev_detach() is not called for that vdev and thus the
peer attached to the vdev are not deleted and wma vdev ref is also not
released, this lead vdev/peer ref leak.

To fix this update the wait timeout in
policy_mgr_check_and_stop_opportunistic_timer with proper value higher
than the serialization timeout for the HW mode change request. ALso
set the wait event in policy_mgr_pdev_set_hw_mode_cb in failure cases
as well to avoid timeout in case of hw mode change failures.

Also release pending peer and vdef refs in wma_wmi_service_close.

Change-Id: I5ddf8263b0dbf889be506332a67f5e18c1bfb111
CRs-Fixed: 2458034
2019-05-24 23:13:17 -07:00
nshrivas
587668adc3 Release 5.2.0.134L
Release 5.2.0.134L

Change-Id: Ia771a4fce17584a9079f80fd44ce66b69fff7679
CRs-Fixed: 774533
2019-05-24 16:00:49 -07:00
Paul Zhang
3718567245 qcacld-3.0: Implement api for interop issues ap
Implement the interface to transfer the info between
host driver and firmware about the ap which has interop
issues with the DUT. It is detected by firmware and
forwarded to user sapce for persistent storage. And
user space configs these APs to firmware when the DUT
starts up next time.

CRs-Fixed: 2425202
Change-Id: I2e828d521f0e04862a01fa1c90626f51b7f65796
2019-05-24 16:00:44 -07:00
nshrivas
55902294cf Release 5.2.0.134K
Release 5.2.0.134K

Change-Id: If774011b5ba6e7a6a648d09c2c3d7ea0e1d62a5a
CRs-Fixed: 774533
2019-05-24 13:50:01 -07:00
bings
1117283ca4 qcacld-3.0: Don't set WMI_PEER_NEED_PTK_4_WAY for FILS connection
When FILS authentication is performed, the key confirmation is
performed as part of the FILS exchange using association frames.
Hence, no additional 4-way handshake is necessary. But still the
host driver sets the WMI_PEER_NEED_PTK_4_WAY flag as part of
peer_assoc command. So firmware expects setting key command after
4-Way handshake is completed. But host sends the set key command
before M4 in this case, which results in firmware assert.

Don't set WMI_PEER_NEED_PTK_4_WAY for FILS connection.

Change-Id: I13451bd7592d5836c16cd648235f691b11aafb15
CRs-Fixed: 2458097
2019-05-24 13:50:00 -07:00
nshrivas
be72fa855c Release 5.2.0.134J
Release 5.2.0.134J

Change-Id: I92e752d3e8453c4b993de150912bb0a6543db42a
CRs-Fixed: 774533
2019-05-24 06:42:10 -07:00
nshrivas
6eef43cb82 Release 5.2.0.134I
Release 5.2.0.134I

Change-Id: I93cd1a82fc86137fe3b6db2a955157baf051fc4d
CRs-Fixed: 774533
2019-05-24 04:12:45 -07:00