Commit Graph

14373 Commits

Author SHA1 Message Date
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