Commit Graph

15332 Commits

Author SHA1 Message Date
nshrivas
f81805197f Release 5.2.0.151X
Release 5.2.0.151X

Change-Id: I179f6f5977fee56d8f2e37f04a4af1aa8ab69c8a
CRs-Fixed: 774533
2019-10-11 02:58:42 -07:00
Pragaspathi Thilagaraj
76d0e25a07 qcacld-3.0: Defer connect request when roaming is in progress
Consider STA+STA case where roaming is enabled on one sta.
There is a case where STA1 is roaming to a bssid and there is a
connect request for same bssid on STA2. Here the firwmare would
have already created peer for STA1 peer and STA2 peer creation
would have failed. But at host, since there is no response for
peer creation, the peer would be created for STA2 vdev.
When roam synch indication is received, then peer create fails
at host for the roaming vdev due to duplicate peer detection
logic. Still roam synch confirm is sent to the firmware.
When disconnection is received for STA1, then del bss is sent
for this vdev and firmware asserts as the peer was not created
for this STA2 vdev.

Defer the connect request processing and return failure when
roaming is in progress.

Change-Id: I0892dc567cd17e335b1de3cd5260050f2c1e6b44
CRs-Fixed: 2538389
2019-10-11 02:58:42 -07:00
Jianmin Zhu
90469212be qcacld-3.0: Use generic freq to chan API
In lim_set_ch_phy_mode, use generic freq to chan API.

Change-Id: I7b35bc2ac31aaf02f8fea94b99312b93e8af13d7
CRs-Fixed: 2542975
2019-10-11 02:58:34 -07:00
nshrivas
9e40a3d074 Release 5.2.0.151W
Release 5.2.0.151W

Change-Id: Id6070b7bd10872ce018d050bc6542e31b45c681b
CRs-Fixed: 774533
2019-10-11 00:34:48 -07:00
Nirav Shah
aa34cbb6c6 qcacld-3.0: Add periodic stats for flow control
Add periodic stats for flow control and
group credit for HL and LL datapath.

Change-Id: I835ba366e9e45bbb1e4b6015577c451c7c0606c2
CRs-Fixed: 2485544
2019-10-11 00:34:47 -07:00
nshrivas
a849eec65a Release 5.2.0.151V
Release 5.2.0.151V

Change-Id: I916ce6e27743d206eb1910fb606b54f4f7f70782
CRs-Fixed: 774533
2019-10-10 13:43:19 -07:00
Rakesh Pillai
31d7fb2564 qcacld-3.0: Add vdev subtype to the vdev handle
The vdev subtype is needed to know if the operating
mode of a particular vdev is P2P or not.

Hence add the vdev subtype information in the
vdev handle.

CRs-Fixed: 2498715
Change-Id: Ia9b86bad389825474a0506804e07b7af555d36cb
2019-10-10 13:43:18 -07:00
nshrivas
2af4857d41 Release 5.2.0.151U
Release 5.2.0.151U

Change-Id: Ic8265223f524c0e46b26e9fcc8ce68696b8f3d18
CRs-Fixed: 774533
2019-10-09 22:02:06 -07:00
Abhishek Singh
bf8f96fe77 qcacld-3.0: Fix STA connect for service_peer_assoc_conf not enabled
In case wmi_service_peer_assoc_conf is not enabled the add bss resp
return failure and thus the STA connection fails.

To fix this send proper status to add bss resp in case
wmi_service_peer_assoc_conf is not enabled.

Change-Id: I0aa1de8cfb739e31fc89265766f67fea070d3b17
CRs-Fixed: 2538753
2019-10-09 22:02:05 -07:00
nshrivas
86a71d038f Release 5.2.0.151T
Release 5.2.0.151T

Change-Id: I540b2bb9f59293214f2e5d3b676b636dceb1b1f3
CRs-Fixed: 774533
2019-10-09 20:39:27 -07:00
Mohit Khanna
d2ecf985d6 qcacld-3.0: Change Very High BW thresh to 9000
Change the very high bandwidth threshold to 9000 packets. Thus if the
packet length is 1500 bytes and for 100ms bandwidth interval this is
about 1030Mbps. This makes the high bandwidth range 240Mbps - 1030Mbps.

Change-Id: Ia9d5f9e3547148c5dc378a728514c4020649944e
CRs-Fixed: 2527623
2019-10-09 20:39:27 -07:00
nshrivas
d751d7414c Release 5.2.0.151S
Release 5.2.0.151S

Change-Id: I0ce621a06c1940f7393661b491949953edc793b6
CRs-Fixed: 774533
2019-10-09 19:10:37 -07:00
nshrivas
1db5f6e5ed Release 5.2.0.151R
Release 5.2.0.151R

Change-Id: I0041a74a08ca0c04af1a1a717d235fc8664207f0
CRs-Fixed: 774533
2019-10-09 16:16:49 -07:00
Kiran Kumar Lokere
831f545c7b qcacld-3.0: Disable power save with user configuration
Do not enable power save if the user configures the power save to
be disabled. And set the user power save configuration enabled
by default.

Change-Id: I7be3263888ddbe8302d941444b9751df73a4b165
CRs-Fixed: 2533757
2019-10-09 16:16:48 -07:00
Kiran Kumar Lokere
54819a39d8 qcacld-3.0: Re-enable TWT before host TWT trigger mode
Disable the current TWT session and re-enable the TWT if the
current session in FW trigger mode before changing the TWT mode
to host trigger mode.

Change-Id: I7de2126605685c85a240d38356d439cb4be8cce1
CRs-Fixed: 2539353
2019-10-09 16:16:43 -07:00
Sravan Goud
fb8c84fcd8 qcacld-3.0: Clean up wlan ipa sap interface for stop bss fail
Currently during sap virtual interface delete, if FW is down then
sap stop bss fails. If sap stop bss fails there won’t be any IPA
WLAN events and ipa ctx will have the IPA interface. But adapter
and corresponding netdev are freed up for delete virtual interace.
As part of FW down system recovery takes place. So while doing ipa
SSR cleanup, ipa ctx ipa interfaces are freed and here during interface
cleanup host accesses the already freed net dev address. So clean up
wlan ipa sap interface in case of stop bss failure.

Change-Id: Ie1ce376e6811eb3cd55dd8dc7b921f82451cd892
CRs-Fixed: 2539863
2019-10-09 16:16:37 -07:00
nshrivas
f2b75713dd Release 5.2.0.151Q
Release 5.2.0.151Q

Change-Id: I13bdeb157afe6f9a46d41924a3756b72ad9465ff
CRs-Fixed: 774533
2019-10-09 01:52:16 -07:00
Amar Singhal
361023bf58 qcacld-3.0: Add check for PSC channels
6GHz channels that are PSC(preferred scanning channels) need to be
marked. Same information needs to be conveyed to firmware as well.

Change-Id: Ib4a59ae7859896704a06f6622f8f742e060b6ca1
CRs-Fixed: 2526783
2019-10-09 01:52:14 -07:00
nshrivas
e7d6d0f86f Release 5.2.0.151P
Release 5.2.0.151P

Change-Id: I1a7de13e962e5820bb177199e22a9c290bdd0c4e
CRs-Fixed: 774533
2019-10-09 00:18:28 -07:00
Venkata Sharath Chandra Manchala
f0296dde04 qcacld-3.0: Enable pktlog based on bandwidth
Enable pktlog when bandwidth is
less than PLD_BUS_WIDTH_MEDIUM and
disable pktlog when bandwidth is
greater than PLD_BUS_WIDTH_HIGH.

Change-Id: I9ee979b08779397bc6d24aca8e241fd64eb93029
CRs-Fixed: 2525901
2019-10-09 00:18:27 -07:00
Rajeev Kumar
8ddafdf9c8 qcacld-3.0: Rate limit system suspend not supported console logging
System suspend can happen very fast(in order of milliseconds) and if system
suspend is disabled by setting gDisableWow=1 in cfg ini file then excessive
console logging from wifi driver can lead to watchdog bark and hence rate
limit the system suspend not supported console logging.

Change-Id: I16a4a7a3d0b64fc404d881469dadb4cab38ef149
CRs-Fixed: 2540524
2019-10-09 00:18:22 -07:00
Alan Chen
285bbc7dbb qcacld-3.0: Do not flush work if it is not created
Do not flush work if it is not created.

Change-Id: If2df381b7441e08ef0d6da6176f3aeda80ec8034
CRs-Fixed: 2539867
2019-10-09 00:18:13 -07:00
Alan Chen
f4e958f714 qcacld-3.0: Put the hdd runtime pm deinit under fw ready
HDD runtime pm context is only created when fw wmi ready event is received.
Only deinit when fw wmi ready event is received.

Change-Id: I4dda8a95d8a8089693dcbc4dccefbd2079f558f1
CRs-Fixed: 2540580
2019-10-09 00:18:07 -07:00
nshrivas
234c7bf7ae Release 5.2.0.151O
Release 5.2.0.151O

Change-Id: I07f7a171cbb98a4e60138b0fcb4c3c8b9a05ebd9
CRs-Fixed: 774533
2019-10-08 03:54:55 -07:00
nshrivas
e8fb1285c3 Release 5.2.0.151N
Release 5.2.0.151N

Change-Id: I2ace3481e2dd2d861b6ede54cae3f947c88f1d86
CRs-Fixed: 774533
2019-10-07 02:13:15 -07:00
Manjunathappa Prakash
f065fcdb2d qcacld-3.0: stop bus bandwidth timer during runtime suspend
During runtime suspend there is no need to run the periodic bus
bandwidth timer as there is no data traffic.

Change-Id: I7b53b773e5f9fa2c803e8f4dbb186a30d1dc696b
CRs-Fixed: 2504215
2019-10-07 02:13:14 -07:00
Manjunathappa Prakash
35af2e20a6 qcacld-3.0: Identify TCP vs UDP Tx traffic
Identify TCP vs UDP Tx traffic to vote differently for system resource.
Accordingly vote for gold cores only for UDP Tx high TPUT traffic.

Change-Id: I27190b92b1be6ebe1574a9941a5de8c43bb59a0b
CRs-Fixed: 2499147
2019-10-07 02:13:09 -07:00
Manjunathappa Prakash
eb1ec86246 qcacld-3.0: Add CPU mask support to pm_qos calls
Call the pm_qos voting for specific instead of applying vote
for all cores.

Change-Id: I74b3696e15f0adc38149265dacdd5fb10e9055fe
CRs-Fixed: 2495713
2019-10-07 02:13:02 -07:00
nshrivas
f47e20670b Release 5.2.0.151M
Release 5.2.0.151M

Change-Id: I2eef2400376f5b9390655da3c7072a83aabed6ec
CRs-Fixed: 774533
2019-10-05 16:18:32 -07:00
Amar Singhal
f214a5d1be qcacld-3.0: Check frequency range correctly
Check frequency range correctly. Include checks for 6 ghz frequenies
also.

Change-Id: I5bf10e150cb308fca0bf08af7518a96e1c13dc9d
CRs-Fixed: 2521047
2019-10-05 16:18:32 -07:00
nshrivas
88083164b8 Release 5.2.0.151L
Release 5.2.0.151L

Change-Id: I5ce4ef31dcb1d01a9c4945b6c3e36bc56ef269fa
CRs-Fixed: 774533
2019-10-04 22:21:26 -07:00
Amar Singhal
73ec93e73f qcacld-3.0: Make frequency range for pdev conditional
If 6 GHZ channel are enabled; then frequency range needs to be different.
Add new frequency limit if 6 GHz channels are enabled.

Change-Id: Ic8133468d3d6c6c7f7da2e6efb8662d930f69872
CRs-Fixed: 2520198
2019-10-04 22:21:25 -07:00
nshrivas
0aa2e6b4c1 Release 5.2.0.151K
Release 5.2.0.151K

Change-Id: Ie4a4813e82d5239da618be385090f26bebb2b54f
CRs-Fixed: 774533
2019-10-04 17:05:26 -07:00
Amruta Kulkarni
accea6e32b qcacld-3.0: Fix possible NULL dereference
Potential NULL pointer dereference in below function:
 wma_get_rx_chainmask()

Add wmi_handle NULL check in the above function.

Change-Id: I34965388a4782236c3bc5158098b5b066833c066
CRs-Fixed: 2536323
2019-10-04 17:05:26 -07:00
nshrivas
6448d92310 Release 5.2.0.151J
Release 5.2.0.151J

Change-Id: I58b92b7772c4b431be36b01240c55d40e1ee6c12
CRs-Fixed: 774533
2019-10-04 09:24:04 -07:00
Manikandan Mohan
1f380148ad qcacld-3.0: Fix possible null pointer dereference
Fix a possible null pointer dereference in wlan_hdd_cfg80211_ll_stats_get
and _wlan_hdd_cfg80211_get_station if global qdf device context becomes
null.

Change-Id: I02362ae2c60769a562acc42805bd8c4ccac0e887
CRs-fixed: 2536319
2019-10-04 09:24:03 -07:00
nshrivas
32ee7f4d89 Release 5.2.0.151I
Release 5.2.0.151I

Change-Id: If709efcb624c1f49be7fc6732d2f2e8ed1add00b
CRs-Fixed: 774533
2019-10-04 06:46:52 -07:00
gaurank kathpalia
47d668219b qcacld-3.0: Use policy mgr safe ch list in ACS
Currently the driver uses a global safe channel
list, and also keeps another safe channel list in
policy mgr which results in duplicate copies
of the same thing.
Also there are many possible issues which are seen
if the global list implementation is used.

Issue 1:-
The global unsafe ch list is maintained for each
channel and is updated as part of ACS scan cb.
So if a user does ACS again and again ( SAP on off)
then the result of unsafe channels of the previous
ACS request would be updated as part of the ACS cb
of the new ACS scan request.
In the function of sap_get_freq_list, the driver
filters out the channels which are unsafe, and the
same channels are not chosen as the best channel for
SAP operation.
Now the filtration of the channels would happen
according to the previous ACS request, and the driver
would remove the channels from the ACS scan list.
But those channels were unsafe when the previous ACS
happened, and may not be unsafe now, and can be used
to turn on the SAP (can be chosen as the best channel)

Issue 2:-
If the channels are truly unsafe, then the driver
filters out the channel in the function sap_get_freq_list,
and do not chose them for the SAP.
It may happen that the channel list that the driver
preferred as part of do acs becomes unsafe, and the
channels that were unsafe at the time of do acs becomes
safe while the driver was scanning the ACS channels to
find other APs.
Now since the channels that were unsafe at the time of
ACS req are safe now, they could have been chosen as the
best channel but they were not scanned, so the ACS channel
weight of these channels would remain maximum, and they
would be sorted at last of the sorted list.
Also the channels that were as part of the ACS channels list
became unsafe, hence the driver would also assign maximum
weight to them, and they would too become unusable channels.
This would result in all channels having the same weight that
is maximum weight, and so the sorting algorithm does not have
to sort any channel now since all of the weights are same.
The first channel in the sorted list would be channel number
1 of 2.4Ghz, and would get chosen, but this may not be
correct if the HW mode is 5ghz only.

Fix:-
Safe and unsafe channels can be checked by using
policy mgr safe channel list too, so it is better
to keep just one unsafe channel list.
The driver would not filter out the unsafe channels
for ACS scan, and would filter out the unsafe channels
as part of the ACS scan done callback.

Change-Id: Ief236db9e73864e5cb2d290a8106799f9e80f82d
CRs-Fixed: 2530241
2019-10-04 00:07:53 -07:00
nshrivas
774225e988 Release 5.2.0.151H
Release 5.2.0.151H

Change-Id: I6d144c76033eb8bd3c27db316192ce353a9a0b18
CRs-Fixed: 774533
2019-10-03 21:59:32 -07:00
Manikandan Mohan
1baadae237 qcacld-3.0: Add support for WMI over QMI
Add support for WMI over QMI to reduce power consumption for
periodic stats report.

Change-Id: Iec725b357d9bcfa33029aedf7c568814499bc130
CRs-fixed: 2521826
2019-10-03 21:59:31 -07:00
nshrivas
a1cefbfbf1 Release 5.2.0.151G
Release 5.2.0.151G

Change-Id: I1dae5342752a8d40941b8f6e83c2372097509f2f
CRs-Fixed: 774533
2019-10-03 19:23:03 -07:00
nshrivas
8829df01d4 Release 5.2.0.151F
Release 5.2.0.151F

Change-Id: I40e7270fdc77372c57832329fdd46d73f85ba31a
CRs-Fixed: 774533
2019-10-03 08:36:56 -07:00
Abhishek Ambure
dddf428b7a qcacld-3.0: Keep IBSS code under feature flag in LIM
IBSS code is placed under QCA_IBSS_SUPPORT feature flag.

Change-Id: Ib19f955daea1ccfee860fcbd36a0cfb8392906aa
CRs-Fixed: 2537006
2019-10-03 08:36:45 -07:00
nshrivas
87ddf110ec Release 5.2.0.151E
Release 5.2.0.151E

Change-Id: I28de6040a7d118dbf046aeb564869d012adc3452
CRs-Fixed: 774533
2019-10-03 05:08:22 -07:00
nshrivas
9ca20ca645 Release 5.2.0.151D
Release 5.2.0.151D

Change-Id: Ib11122eb731f8db9c3c483e8de4c534b5b364793
CRs-Fixed: 774533
2019-10-03 03:33:47 -07:00
nshrivas
46cb5bb3ab Release 5.2.0.151C
Release 5.2.0.151C

Change-Id: I154edfa3e9612ae50af0702d5491c97884742703
CRs-Fixed: 774533
2019-10-03 02:01:31 -07:00
Nirav Shah
942cdf64c5 qcacld-3.0: Protect pld_del_dev function as part of psoc trans
Protect pld_del_dev function as part of psoc transaction
to avoid race condition with pld_deinit.

Change-Id: I3180801308b9a5e85822fb8d8bc04a9ecb42b347
CRs-Fixed: 2530822
2019-10-03 02:01:30 -07:00
nshrivas
c303ff208f Release 5.2.0.151B
Release 5.2.0.151B

Change-Id: I183b64aa02788185efa2173c6cbe3cd3fee7ffa4
CRs-Fixed: 774533
2019-10-03 00:20:48 -07:00
Alan Chen
e825c3b4fc qcacld-3.0: Do not send multicast addresses during system suspend
When the device is system suspended, do not send multicast addresses.

Change-Id: Ie8ca0f50b4db2231190dbf9a9a1c088c0b84eceb
CRs-Fixed: 2538963
2019-10-03 00:20:48 -07:00
nshrivas
cf1ff1558a Release 5.2.0.151A
Release 5.2.0.151A

Change-Id: I001ab0efd86fc131f3e68894653748357da9a7a4
CRs-Fixed: 774533
2019-10-02 16:25:13 -07:00