Commit Graph

16294 Commits

Author SHA1 Message Date
sandeep puligilla
4afcb11934 qcacld-3.0: Add target wakelock api in Kbuild
Add wakelock api in the Kbuild.

Change-Id: Ide44f57e2ce3f8f659656c3e8c578d9f7851e9be
CRs-Fixed: 2441316
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
Rakesh Pillai
f41fe0c28a qcacld-3.0: Add feature flag for event history logging
Add a feature flag enabling support in defconfig
for the datapath event history logging feature.

CRs-Fixed: 2466616
Change-Id: I8fc2c76a927aea3e2e723cde87c69e59e03a9848
2019-06-17 10:22:52 -07:00
Vevek Venkatesan
ed315cdbdd qcacld-3.0: Fix race condition in sending STA IPA offload enable
During resource unloading, if two next to next client connect
request comes, one is handled in pending event handler in
wlan_ipa_uc_op_cb callback after processing FW TX suspend response
and other one is handled in scheduler thread, this causes race
condition in sending IPA offload enable for STA iface. So send IPA
enable req to FW before queuing the client connect event to the
pending events.

Change-Id: Ifcabc2481e590e5e128434614c4b46fe53a34636
CRs-Fixed: 2460573
2019-06-16 23:14:24 -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
8d6862c001 qcacld-3.0: Enable CONFIG_AR900B for Genoa
Enable CONFIG_AR900B feature to use FW stats
version 2.

Change-Id: Ia2d9ad34477ecc50858f8e2f65425b719339c916
CRs-Fixed: 2468812
2019-06-15 00:26:11 -07:00
gaurank kathpalia
a8376c9680 qcacld-3.0: Fix potential pointer dereference condition
In the API blm_update_ap_info, it may happen that the scan
entry is NULL, and the scan entry pointer maybe dereferenced
in the debug print where the rssi print is there.

Fix is to print the RSSI only when the scan entry is valid.

Change-Id: I3ad973d61a0c11b6a55c8b346d54eb41956882b6
CRs-Fixed: 2469815
2019-06-15 00:26:07 -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
Rajeev Kumar Sirasanagandla
fa4e43888b qcacld-3.0: Add NULL check for nan private objects
In ndi_remove_and_update_primary_connection() of NAN component,
add missing NULL checks for psoc and vdev NAN private objects
to avoid possible NULL dereference.

Change-Id: Iff3e248259ab67628d081d30f16d1822a0ea6dcb
CRs-Fixed: 2423991
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
Abhishek Ambure
f8ee02b3b2 qcacld-3.0: Remove legacy mlme_nofl logs
Remove legacy mlme_nofl log macros. For mlme_nofl logging,
use common code mlme_nofl log macros.

Change-Id: Ie27fe9adcfdc087487071fe511500b1e8cb7435b
CRs-Fixed: 2471126
2019-06-14 01:49:45 -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
Sachin Ahuja
a5d29f71c1 qcacld-3.0: Disable the export symbols in the driver
Currently the export symbols are enabled in the driver
which is increasing the text section of driver.

Since driver does not need export symbols, disable it.

Change-Id: I463835107fc2a86ee6b4ab36edc75571f644499f
CRs-Fixed: 2462388
2019-06-13 02:48:03 -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
Bala Venkatesh
98847cc1b4 qcacld-3.0: Avoid NULL pointer access of tdls_priv
tdls_priv is alloted per vdev and deleted after physical
vdev delete. Check the tdls_priv for NULL pointer before
accessing as there is possibility of NULL dereference
after vdev delete.

Change-Id: I47e30f6ed5dcf5c1ae6a07c3d56fa24db2ea4f6c
CRs-Fixed: 2469840
2019-06-13 01:07:52 -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
Yue Ma
31dad7b188 qcacld-3.0: Do not send DTIM related commands with WOW for runtime PM
Since system is awake when runtime PM suspend/resume happens, there is
no need to send DTIM related WMI commands with WOW sequence as unlike
system suspend, these commands are able to be sent from other paths. It
will just trigger runtime PM resume.

Change-Id: I5bc6b5e363e90c77a2d615129fbac69fc80366ea
CRs-fixed: 2469483
2019-06-12 17:45:41 -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
gaurank kathpalia
8de8fcb2cf qcacld-3.0: Update the bad bssid reset time in MS
Update the bad bssid reset time in Ms, and compare with the
connection age to remove the BSSID with which the nud fail
has not happened till the mentioned bad bssid reset time.

Change-Id: I6ba58d5e8a110b4c83d5c83e3cec6c832a24094b
CRs-Fixed: 2469969
2019-06-12 16:14:55 -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