Commit Graph

19111 Commits

Author SHA1 Message Date
nshrivas
3d4b93ad8a Release 5.2.0.180Q
Release 5.2.0.180Q

Change-Id: I1c21b8c40d1e7a507eaf57c50a2624acbe8d34d0
CRs-Fixed: 774533
2020-04-08 20:48:26 -07:00
Sandeep Puligilla
7f8ac8f46a qcacld-3.0: Add 6ghz band capability IE to probe response
6GHz Band capabilities are not present in probe
response from 6Ghz SAP.

Add 6Ghz band capability IE to probe response
template to firmware in SAP mode.

Change-Id: I66aed722a4a7cfbe409dc932fd20169b59575495
CRs-Fixed: 2655788
2020-04-08 20:48:26 -07:00
nshrivas
31662c0141 Release 5.2.0.180P
Release 5.2.0.180P

Change-Id: I01c6d33516de324fc9e663a301ef7e137b623073
CRs-Fixed: 774533
2020-04-08 19:10:32 -07:00
Abhinav Kumar
1322a2da5f qcacld-3.0: Fix race between ht_width_switch and roam start
Host receives ROAM_SYNCH event from FW when MLME SM
is in ST-RESTART_PROG state while processing ht_width_switch
request. This results in MLME SM not able to send SYNC IND failure
to FW and leads to assert in FW.

Below fix are required to handle the above situation:
1. Avoid VDEV-RESTART while handling ht_width_switch if
   roaming is in progress on the same vdev.

2. If Vdev is not UP then send roam sync failure to FW to
   avoid assert in FW.

3. If ht_width_switch req fails then make sure host initiates
   disconnection.

Change-Id: I91cb46cc7b9c3e3a1d5858275ade16c6f0f47286
CRs-Fixed: 2658871
2020-04-08 19:10:32 -07:00
nshrivas
e86d74b287 Release 5.2.0.180O
Release 5.2.0.180O

Change-Id: Iac2b64a3774c88e88ea73573d6ce7d4f70d76351
CRs-Fixed: 774533
2020-04-08 11:26:38 -07:00
Pragaspathi Thilagaraj
ae0fb161a4 qcacld-3.0: Remove redundant SAP logs
Remove excessive SAP start/client connection logs.

Change-Id: Idb593c3eee77eb24084eca15ce53a43a3f4060da
CRs-Fixed: 2627367
2020-04-08 11:26:38 -07:00
nshrivas
b9e29b0f11 Release 5.2.0.180N
Release 5.2.0.180N

Change-Id: Ia8748386129d21b4ca935a56a60902d5015578f0
CRs-Fixed: 774533
2020-04-08 06:30:03 -07:00
Madhvapathi Sriram
3e48ab869c qcacld-3.0: Enable PN check in host for qcn7605
qcn7605 firmware does not support full PN check.
Disable PN check offload to firmware and enable host check.

Change-Id: I4720c3fed80bda6626a62bd396e01ec88dc22dd3
CRs-Fixed: 2657576
2020-04-08 06:30:03 -07:00
nshrivas
af96f2cf17 Release 5.2.0.180M
Release 5.2.0.180M

Change-Id: Ib9f57805d9e3684f596b60f32ba3a44824df03d3
CRs-Fixed: 774533
2020-04-08 05:00:18 -07:00
Jianmin Zhu
7a78877964 qcacld-3.0: Mgmt frame buffer free before dma unmap on Rome
Rome doesn't support service WMI_SERVICE_MGMT_TX_WMI, mgmt frames
and their tx complete are sent by HTT instead of WMI.
WLAN_SOC_CEXT_WMI_MGMT_REF cap isn't set too.

When delete vdev, need drain all mgmt packets of the vdev,
if there are mgmt frames waiting tx complete, need complete them
and free nbuf forcely, but dma unmap is missed on Rome for
WLAN_SOC_CEXT_WMI_MGMT_REF not set, assert will happen when free
nbuf.

Fix:
Don't check WLAN_SOC_CEXT_WMI_MGMT_REF when drain mgmt frames,
then dma unmap will happen before nbuf free on Rome.

Change-Id: I27c46c71cbc35df371d9852860da0cb9f08c826f
CRs-Fixed: 2650229
2020-04-08 05:00:17 -07:00
nshrivas
746fbcaa9e Release 5.2.0.180L
Release 5.2.0.180L

Change-Id: Ibaecd8c21dd613acc9de07dce697ff97c770949f
CRs-Fixed: 774533
2020-04-08 03:23:46 -07:00
Karthik Kantamneni
16b1553717 qcacld-3.0: Add new PLD PCI FW sim API
Add new pld pci fw sim api to read pci configuration header from
host.

Change-Id: Ie1820065f23c7fdf220a4abb9d6975270c2d1766
CRs-Fixed: 2657797
2020-04-08 03:23:46 -07:00
Mohammed Siddiq
d1f55ebdbc qcacld-3.0: initialize pld_uevent_data variable to zero
Initialize pld_uevent_data variable to zero, as the driver
expects zero data if there is no fw down data sent from
platform driver.

Change-Id: I24c3fa459207d254f7b579a387985eca06466447
CRs-fixed: 2658683
2020-04-08 03:23:03 -07:00
nshrivas
a4a1a9ba38 Release 5.2.0.180K
Release 5.2.0.180K

Change-Id: I816c2837b35b8776848a280bccbf4b64301df2fe
CRs-Fixed: 774533
2020-04-08 00:04:33 -07:00
Abhinav Kumar
8f5c55f368 qcacld-3.0: Remove unused CSA code for non offload
CSA is offloaded in all chipset and thus the non-offload
version can be removed.

Change-Id: I9f84195ef962c69668843cfc50631757a8960fee
CRs-Fixed: 2658860
2020-04-08 00:04:33 -07:00
nshrivas
7e2e01bce4 Release 5.2.0.180J
Release 5.2.0.180J

Change-Id: I7cacb5d1db9ed5abce7b036f0adf40f40838daf1
CRs-Fixed: 774533
2020-04-07 22:20:53 -07:00
Sourav Mohapatra
18bed7536f qcacld-3.0: Rectify sanity check for IE whitelisting bitmaps
Currently the sanity check present for the IE whitelisting bitmaps is
not proper. Instead of allowing the correct bitmaps to be used, it
prevents any of the bitmap to be used if a single one is zero.

Rectify the above check to allow the bitmaps to be used if atleast one
of them has a non zero value.

Change-Id: I496d6c6a1bda8c11d9bd42ea41a79ab04b539357
CRs-Fixed: 2647608
2020-04-07 22:20:53 -07:00
nshrivas
9a17be030e Release 5.2.0.180I
Release 5.2.0.180I

Change-Id: Ic17e919ce176caf3089efaa76a9bbc239bd63ab9
CRs-Fixed: 774533
2020-04-07 20:18:25 -07:00
Rongjing Liao
5806e9951f qcacld-3.0: add pointer 'vdev' null check in TXRX module
Add pointer 'vdev' null check for KW issue. In ol_tx_non_std()
when 'vdev' is null, return the pointer of msdu buffer.

Change-Id: Ic82db8c649de09dda42ae588bda7e58c036ae161
CRs-Fixed: 2645407
2020-04-07 20:18:25 -07:00
nshrivas
603d1f359e Release 5.2.0.180H
Release 5.2.0.180H

Change-Id: I495007bc0df73c03604cf01e74bbef9c1414d6b0
CRs-Fixed: 774533
2020-04-07 18:22:22 -07:00
Pragaspathi Thilagaraj
d0cee9ceb3 qcacld-3.0: Ageout connected BSS in beacon table mode
The driver doesn't ageout connected BSS from rrm scan
result after the scan default ageout time. This results
in connected AP information sent in beacon report request
in table mode always.

Fill the ageout threshold value as the default scan age out
time in  the rrm scan filter.

Change-Id: I8f9b0457bd93e2d9b51a772bdbdfb01dcd429c56
CRs-Fixed: 2650915
2020-04-07 18:22:22 -07:00
nshrivas
536310f76a Release 5.2.0.180G
Release 5.2.0.180G

Change-Id: I34c4784bf928e04f3d0ac2e9b12dfc472ae8a9df
CRs-Fixed: 774533
2020-04-07 16:50:03 -07:00
Srinivas Dasari
110cb88568 qcacld-3.0: Register NDI sta to send MC/BC frames
Bring back the changes removed as part of the
commit 48d77649cd ("qcacld-3.0: Don't add/remove peer for NDIs")
to register NDI as sta to send MC/BC traffic when an NDP is
latched on to this.

Change-Id: I7215f07978323535ac6c1078aec8634ff4950a66
CRs-Fixed: 2656936
2020-04-07 16:50:02 -07:00
nshrivas
303ee72627 Release 5.2.0.180F
Release 5.2.0.180F

Change-Id: I11f3fa25929a1e555cc1a824a037f708e76b960a
CRs-Fixed: 774533
2020-04-07 04:41:22 -07:00
Manjunathappa Prakash
f5e698626a qcacld-3.0: Enable TSO and other features for NDI vdev
Enable TSO and other driver capabilities for NAN datapath
interface.
Below are the list of feature capabilities supported:
NETIF_F_IP_CSUM, NETIF_F_IPV6_CSUM, NETIF_F_TSO, NETIF_F_TSO6,
NETIF_F_SG, NETIF_F_RXCSUM, NETIF_F_LRO

Change-Id: I62b0a09b307799c1a1f67ca8102563b3570e8533
CRs-Fixed: 2637165
2020-04-07 04:41:22 -07:00
nshrivas
dcbc07581d Release 5.2.0.180E
Release 5.2.0.180E

Change-Id: I6cc6159465f6371f08116701c85911d52875034a
CRs-Fixed: 774533
2020-04-07 01:19:37 -07:00
Jingxiang Ge
63da92e034 qcacld-3.0: Add dbgid for each runtime put/get
This is to enhance statics for runtime put/get, which is
to detect if there is mismatch for usage_count.

Change-Id: I86441227beec0a9a7b26df8a06f7752ded544f06
CRs-Fixed: 2651628
2020-04-07 01:19:34 -07:00
nshrivas
53e9bd3b42 Release 5.2.0.180D
Release 5.2.0.180D

Change-Id: I78ada434f6f5648c9911d3f3421d1841ed0883ea
CRs-Fixed: 774533
2020-04-06 05:54:51 -07:00
gaurank kathpalia
954abc7aa9 qcacld-3.0: Add ini to enable/disable self roaming
Currently the driver allows roaming to the BSSID
which it is already connected, which can lead to
many unexpected behaviour, for eg. if the SAP
to which the DUT is connected turns off, then the
DUT would try to roam to other BSSID of the same
SSID, and in case the SAP turns on back in time,
then the DUT would re-associate to the same BSSID.
Now if the subnet may change, and since the DHCP
does not happen again in roaming, it would then
lead to NUD failure.

Fix is to introduce an ini to allow/disallow
roaming to the same BSSID.

Change-Id: Ibd04fcd7384c0987db5bb6dae1a26ee077456290
CRs-Fixed: 2634860
2020-04-06 05:54:51 -07:00
nshrivas
4c18d1c3d9 Release 5.2.0.180C
Release 5.2.0.180C

Change-Id: I6c04cb191836364c0b57975f2b04e73112eac912
CRs-Fixed: 774533
2020-04-05 12:39:50 -07:00
Jianmin Zhu
a0cd009e7d qcacld-3.0: Increase channel congestion slots num to 8
Channel congestion score is not well bucketized, as we only have 0-25,
26-50, 51-75, 76-100, so small change will not give different score.
while channel congestion weight is high: 25.

Increase channel congestion slots num from 4 to 8 as following.
0-12%	13-25%	26-38%	39-50%	51-63%	64-75%	76-88%	87-100%
100%	90%	80%	70%	50%	25%	10%	5%
2500	2250	2000	1750	1250	625	250	125

Change-Id: I4fc2d8a5f0f64c5fce9fe5ec8f16c3e8e9665a60
CRs-Fixed: 2655110
2020-04-05 12:39:50 -07:00
nshrivas
bce9f42d46 Release 5.2.0.180B
Release 5.2.0.180B

Change-Id: I8f7b3e5cdccb827421c6319abeaee766d39734ef
CRs-Fixed: 774533
2020-04-04 09:20:30 -07:00
Yeshwanth Sriram Guntuka
e0d2cff76a qcacld-3.0: Update few arp stats on get_nud_stats
Update few arp stats as part of get_nud_stats request
from userspace.

Change-Id: Ibf70cb66f316f329f2791b746e6b0236bbf2be74
CRs-Fixed: 2655508
2020-04-04 09:20:30 -07:00
nshrivas
42ddbd083c Release 5.2.0.180A
Release 5.2.0.180A

Change-Id: I8d78bc56d7d076625ca261bf93ba0d567e89a0db
CRs-Fixed: 774533
2020-04-04 07:42:22 -07:00
Vulupala Shashank Reddy
87881bd647 qcacld-3.0: Update frequency for Data packets for packet capture
Update frequency in pdev for data packets for packet capture mode

Change-Id: I4d766cc6dca90529f00e90fb1c197ead208b1174
CRs-Fixed: 2643541
2020-04-04 07:42:22 -07:00
nshrivas
23c0830279 Release 5.2.0.180
Release 5.2.0.180

Change-Id: I217dfe05204b61d215832d7eef08967c4326fa75
CRs-Fixed: 774533
2020-04-04 05:50:57 -07:00
Rachit Kankane
ed5ff54618 qcacld-3.0: Handle LL stats for 2nd radio
With recent code change, LL stats results are returned in the user
space context only. To do that, changes were made to buffer the LL
stats results received from FW till the time FW completes it. This
change is not taking case where FW sends LL stats for multiple radio
which is resulting SKB corruption.

Change-Id: I49781f1ea9520ad0d9721536be1861d5d8151ea7
CRs-Fixed: 2649207
2020-04-04 05:50:57 -07:00
nshrivas
c8d35f76da Release 5.2.0.179Z
Release 5.2.0.179Z

Change-Id: If5fe838deeea98c3bffd2795ae7c01aa34e3d722
CRs-Fixed: 774533
2020-04-03 20:57:21 -07:00
Dundi Raviteja
49dcd5d662 qcacld-3.0: Skip QOS NULL frames from monitor interface
Skip QOS NULL frames from monitor interface in
packet capture mode.

Change-Id: I132df424c6537fa0cc6f0621affae54e22a7d531
CRs-Fixed: 2644167
2020-04-03 20:57:21 -07:00
nshrivas
0645234558 Release 5.2.0.179Y
Release 5.2.0.179Y

Change-Id: I86c18f2d35bca44c932caf0390ae0139ad14e5c2
CRs-Fixed: 774533
2020-04-03 16:07:51 -07:00
bings
46d6db59ec qcacld-3.0: Configure chan time quota basing on Miracast on/off
If Miracast is on, driver should send WMI_RESMGR_SET_CHAN_TIME_QUOTA_CMDID
to FW. Currently this wmi is blocked because gEnableMCCAdaptiveScheduler is
set as 1, which is incorrect.

Add a new dynamic_mcc_adaptive_sched flag to allow wmi command
WMI_RESMGR_SET_CHAN_TIME_QUOTA_CMDID for Miracast case.

Change-Id: I18e713b75a8cafc1b631bf5a1884a9b0123e5dba
CRs-Fixed: 2652271
2020-04-03 16:07:50 -07:00
nshrivas
d226d1ea3a Release 5.2.0.179X
Release 5.2.0.179X

Change-Id: If7627b320dc96b4aa9f22fcaea82c5e5e441e325
CRs-Fixed: 774533
2020-04-03 14:19:42 -07:00
Vulupala Shashank Reddy
d6e11c6f0f qcacld-3.0: Fix minimum candidate roam score delta value
Change candidate minimum roam score delta value "min_roam_score_delta"
to zero.

Change-Id: Icfb98db30c2333ade40127a7df94e9a0973e4f67
CRs-Fixed: 2655873
2020-04-03 14:19:42 -07:00
nshrivas
80f1312d6b Release 5.2.0.179W
Release 5.2.0.179W

Change-Id: I84887b4bb34c408f9a061ed6446340451a38a65e
CRs-Fixed: 774533
2020-04-03 12:12:21 -07:00
Vulupala Shashank Reddy
b1b7cd32c1 qcacld-3.0: Process Mgmt packets only when packet capture mode is 1
Management frames should be captured only when Packet_Capture_Mode is 1.

Change-Id: Idf719d5d469fecd9d72d475d3245684e5acb0f04
CRs-Fixed: 2647399
2020-04-03 12:12:20 -07:00
nshrivas
3619135589 Release 5.2.0.179V
Release 5.2.0.179V

Change-Id: I201df39fd0b54519794937524fb04de892c41572
CRs-Fixed: 774533
2020-04-03 10:39:09 -07:00
Alan Chen
6a2c5953c1 qcacld-3.0: Change check for wma_is_vdev_started() to WLAN_VDEV_S_UP
When running WHUNT test case for SET NUD STATS vendor command,
wma_set_arp_req_stats is supposed to be sent to FW but it fails to send
due to the check in wma_is_vdev_started(), which is currently checking
if the vdev state is WLAN_VDEV_S_START, instead of WLAN_VDEV_S_UP, thus
allowing vdev state WLAN_VDEV_S_UP to still continue when it is not
started. Hence, change the check to WLAN_VDEV_S_UP to provide proper check.

Change-Id: Ifae00ff26a27df92cd4d09047c326bcccfdbf602
CRs-Fixed: 2651406
2020-04-03 10:39:09 -07:00
nshrivas
433881962b Release 5.2.0.179U
Release 5.2.0.179U

Change-Id: I9a7cf53bfe681a57fd385369fa46e5ca6cc2c5e1
CRs-Fixed: 774533
2020-04-03 07:02:20 -07:00
gaurank kathpalia
f3e208b797 qcacld-3.0: For channel switch fill proper freq0 and freq1
When STA switch channel the freq0 and freq1 are channel number
and not frequency in hdd_chan_change_notify. Thus the freq0 and
freq1 validation fails in nl80211_send_chandef and thus the
channel change is not notified to supplicant.

Fix this by filling freq instead of channel in freq0 and freq1 in
hdd_chan_change_notify.

Change-Id: I03d3a2afcbb812e6da7ec2be9887dd185e754a44
CRs-Fixed: 2655979
2020-04-03 07:02:20 -07:00
nshrivas
f8ad223819 Release 5.2.0.179T
Release 5.2.0.179T

Change-Id: I50497aced0b38b1b572dbd6fa7e24afea4aea4fd
CRs-Fixed: 774533
2020-04-03 05:22:50 -07:00