Commit Graph

18524 Commits

Author SHA1 Message Date
nshrivas
71d2771d95 Release 5.2.0.171M
Release 5.2.0.171M

Change-Id: Ia4ddf4e0878cd1bb1bdfd4392b7f38637af16094
CRs-Fixed: 774533
2020-02-17 19:28:08 -08:00
Pankaj Singh
647604d537 qcacld-3.0: Avoid sending tdls peer assoc cmd after roam start
Roam start indication received from FW during tdls setup procedure.
FW already deletes tdls peer before sending roam start indication
to host. If Wlan host now sends any tdls peer operation cmd it will
result in FW instability.

Fix to avoid sending any tdls peer operation cmd after receving
roam start indication from FW.

Change-Id: I6782950e5ad0a16b38736e0f26e6792b642b8b4e
CRs-Fixed: 2620308
2020-02-17 19:28:08 -08:00
nshrivas
f166caea6b Release 5.2.0.171L
Release 5.2.0.171L

Change-Id: I3882a0ded21daae28b5c734021ad113890039fc5
CRs-Fixed: 774533
2020-02-17 18:09:35 -08:00
Abhishek Singh
a038dd68e6 qcacld-3.0: Fix logging for the AUTH and Assoc frames
Fix logging for the AUTH and Assoc frames TX and RX.

Change-Id: Ifb983acc0b8485baf210d90d0d8be0fadeeb3548
CRs-Fixed: 2623210
2020-02-17 18:09:35 -08:00
nshrivas
9f259695ce Release 5.2.0.171K
Release 5.2.0.171K

Change-Id: I538fba912eb28ea8ade0f41a7d1973ace572d17f
CRs-Fixed: 774533
2020-02-17 16:39:55 -08:00
Pragaspathi Thilagaraj
8876115a93 qcacld-3.0: Extract disconnect reason code from notif_params
Currently the driver extracts the reason code from notif instead
of notif_params. This results in wrong reason code being sent
to upper layers.

Extract disconnect reason code from notif_params when disconnect
event is received.

Change-Id: I808feecbb74a0a6c78fa31ca78b35c7318e5e9cb
CRs-Fixed: 2623415
2020-02-17 16:39:54 -08:00
nshrivas
af44cfc4d9 Release 5.2.0.171J
Release 5.2.0.171J

Change-Id: Id21e2a57a872fd78afd76e43040b55a7c29afb3b
CRs-Fixed: 774533
2020-02-17 14:59:12 -08:00
Jianmin Zhu
1f6590d864 qcacld-3.0: Fix roam failed for wrong RSO STOP scan mode
If disassoc frame is sent from AP side, not DUT STA side,
roam state change with REASON_DISCONNECTED, then ROAM STOP
reason becomes REASON_SME_ISSUED,  then scan mode is set as
WMI_ROAM_SCAN_MODE_ROAMOFFLOAD 4 for WMI_ROAM_SCAN_MODE, not 0.

Change-Id: I483b2117f1ae972e0d54ca4b1d3b8854e1695bf1
CRs-Fixed: 2622779
2020-02-17 14:59:12 -08:00
nshrivas
a27d567e73 Release 5.2.0.171I
Release 5.2.0.171I

Change-Id: Ic1a7f2380697b2635bee9c9850bda4698b03ba98
CRs-Fixed: 774533
2020-02-16 09:18:36 -08:00
Chaoli Zhou
fb2d768154 qcacld-3.0: Add one flag for Genoa IPA workaround
Currently, there is some issue about IPA GSI update
copy engien 5 write index register failure, so add
this flag for Genoa IPA workaround, once the real fix
is ready, will revert this flag.

Change-Id: I17313ea281bad03f471222b54802fa9628893e1f
2020-02-16 09:18:36 -08:00
nshrivas
c9ce3e5967 Release 5.2.0.171H
Release 5.2.0.171H

Change-Id: I53910dde9d210e4370ec789bf309ba535a8feb9d
CRs-Fixed: 774533
2020-02-16 04:01:46 -08:00
Vulupala Shashank Reddy
a7e26ef49f qcacld-3.0: Resume/suspend of mon thread for packet capture
Resume/suspend of mon thread for packet capture mode.

Change-Id: Ib814de13f82181aef923bdc739d018027ea9a173
CRs-Fixed: 2618657
2020-02-16 04:01:45 -08:00
Vulupala Shashank Reddy
aa481cc459 qcacld-3.0: Create mon thread for packet capture
Create mon thread to process the packets for
packet capture.

Change-Id: I0c83b17273f140970b4feea49cd42da4c540046b
CRs-Fixed: 2618657
2020-02-16 04:01:17 -08:00
nshrivas
b05094fe3a Release 5.2.0.171G
Release 5.2.0.171G

Change-Id: I5ab9f567caa1980a8e949fba208b44e2adc7dede
CRs-Fixed: 774533
2020-02-16 02:04:58 -08:00
Amar Singhal
eb88acdd27 qcacld-3.0: Correctly check for frequency in an operating class
Use the country and operating class information to check for a
given frequency.

Change-Id: Ib154b7f292c2623673063ebe5f0d4f76eb4e99e1
CRs-Fixed: 2619355
2020-02-16 02:04:58 -08:00
nshrivas
d5b6157257 Release 5.2.0.171F
Release 5.2.0.171F

Change-Id: If7d497b9062aeccf93d4494a48d437a7f3c4e24a
CRs-Fixed: 774533
2020-02-15 20:28:04 -08:00
Abhishek Ambure
83c11be72e qcacld-3.0: Add support to configure candidate min roam score delta
During CU and low rssi based roam triggers, consider AP as roam candidate
only if its roam score is better than connected AP score by at least
min_roam_score_delta.

User configures this candidate minimum roam score delta value using
"min_roam_score_delta" INI. User can set candidate minimum score delta
value between 0 to 10000 and default value is 1850.

Firmware will trigger roaming only if roam score of candidate AP is
greater than "min_roam_score_delta" & "roam_score_delta" values of
connected AP.

Change-Id: I180e769b5629aa405dbd89ed73e39e228adf92db
CRS-Fixed: 2614117
2020-02-15 20:28:04 -08:00
nshrivas
63f851b820 Release 5.2.0.171E
Release 5.2.0.171E

Change-Id: I22ac6c4ce0754191fe739447ec78252da4d90f0b
CRs-Fixed: 774533
2020-02-15 16:09:58 -08:00
sheenam monga
698e3afc12 qcacld-3.0: Update trace dump to nofl dump
Currently, additional unnecessary information is printed via
trace dump.

Remove unnecessary information by using nofl trace
in lim_trace_dump, sme_trace_dump and hdd_trace_dump

Change-Id: I3a02d05030e390ce39b4d33e57190a1aa586d132
CRs-Fixed: 2622095
2020-02-15 16:09:58 -08:00
nshrivas
6679249983 Release 5.2.0.171D
Release 5.2.0.171D

Change-Id: I816c9269e570ef7b5548bc63ae98b2fcd24bc167
CRs-Fixed: 774533
2020-02-15 14:36:24 -08:00
Jianmin Zhu
37601dc95c qcacld-3.0: buff size of ADDBA rsp is larger than peer's capability
buff_size got from cdp_addba_responsesetup isn't used for ADDBA rsp.
buffer size of ADDBA rsp is hardcoded, not by negotiation with peer.

Change-Id: Ia30e17976ab3b5a1e9574d25aca9f170ff8fbead
CRs-Fixed: 2616865
2020-02-15 14:36:23 -08:00
nshrivas
348391b1c5 Release 5.2.0.171C
Release 5.2.0.171C

Change-Id: If0940c9b799f7d50f6b55b123e3c6f0669fea961
CRs-Fixed: 774533
2020-02-15 12:56:10 -08:00
Surabhi Vishnoi
6ecac484fc qcacld-3.0: Add function to handle the FTM time sync events from target
Add the function to parse the FTM timesync start/stop and offset
events received from target and populate them in ftm timsync
priv vdev structure.

Change-Id: Ibdcf97bb0a04fc6490c6bd2c26701036df92c5d4
CRs-Fixed: 2618646
2020-02-15 12:56:09 -08:00
nshrivas
b2884dad6e Release 5.2.0.171B
Release 5.2.0.171B

Change-Id: Iaedfc77ace2d4ed70c573cd0486dee050ab06eca
CRs-Fixed: 774533
2020-02-15 10:11:21 -08:00
Manjunathappa Prakash
a79c85f229 qcacld-3.0: Check for null deliver function in fisa
Consider case where vdev is valid but deliver function
callback is deregistered. Check for null delivery function.

Change-Id: If17f1d680a10c2009a910172a66cd8dcf7cdffbd
CRs-Fixed: 2613162
2020-02-15 10:11:20 -08:00
nshrivas
42efaf461c Release 5.2.0.171A
Release 5.2.0.171A

Change-Id: I8812df8bfa92ace858f68990e60195a0c5f451a5
CRs-Fixed: 774533
2020-02-15 08:45:09 -08:00
Srinivas Dasari
644dbc18c1 qcacld-3.0: Add reason codes for internal disconnections
Currently, host driver sends disconnect reason code as UNSPECIFIED
to kernel in most of the disconnection scenarios. Correct the same
to send proper reason code received from peer in case of peer
initiated disconnections.
Introduce new reason codes for internal disconnections and assign
proper reason code for each possible disconnect scenario.

Change-Id: I99bf4573b59dc810e0a1529fcd48061d10acae4e
CRs-Fixed: 2622310
2020-02-15 08:45:08 -08:00
nshrivas
3a19d9fa48 Release 5.2.0.171
Release 5.2.0.171

Change-Id: I199ab2cd46644e2518bd75031e4db89b29a0f460
CRs-Fixed: 774533
2020-02-15 07:31:25 -08:00
Pragaspathi Thilagaraj
d7b4332cb5 qcacld-3.0: Fill correct reason code after deauth roaming failure
After deauth/disassoc, roaming is triggered by the firmware and
if roaming failure occurs before handoff is started, then
firmware sends the WMI_ROAM_EVENTID event with deauth reason.
Currently unspecified reason is sent to the upper layers for
every emergency deauth roaming failure.

Extract the reason code from the deauth/disassoc frame sent by
the AP, received in WMI_ROAM_EVENTID.

Change-Id: I461a38e8a8e60fa26b2ace3f54a6f8208f00838d
CRs-Fixed: 2611473
2020-02-15 07:31:25 -08:00
nshrivas
6f445399b9 Release 5.2.0.170Z
Release 5.2.0.170Z

Change-Id: I97f17b824a62057eac7a8366da29074bdb12173a
CRs-Fixed: 774533
2020-02-15 06:11:19 -08:00
Liangwei Dong
c1aed9f593 qcacld-3.0: Send HE 6GHZ band Capabilities IE to firmware
Send HE 6GHZ band Capabilities IE to firmware by WMI command.
Firmware will add the IE to probe request during scan.

Change-Id: I4a383a46206a50da244485f71e38ca8e4e847c10
CRs-Fixed: 2621402
2020-02-15 06:11:19 -08:00
nshrivas
1cfaf81095 Release 5.2.0.170Y
Release 5.2.0.170Y

Change-Id: I3ff70f7197bc1613ef0cf4f2fcda4b2912a8f4b6
CRs-Fixed: 774533
2020-02-15 04:42:56 -08:00
Vinay Gannevaram
521ebf80b1 qcacld-3.0: Add support to get fwr phymode for frequency
Currently, wifi-pos uses channel number to get the fwr phymode.
For adding 6g support wifi-pos need to get the phymode from
frequency instead of channel number.
As a part of fix, Add handler for getting phymode based on
frequency

CRs-Fixed: 2617906
Change-Id: Ie65b3ed98760cef152df3697805593efbad4d5a1
2020-02-15 04:42:56 -08:00
nshrivas
98d57896c3 Release 5.2.0.170X
Release 5.2.0.170X

Change-Id: I1a7819fd193e7e00be933fb181fa87303afff4bf
CRs-Fixed: 774533
2020-02-15 03:15:10 -08:00
gaurank kathpalia
869696d0b9 qcacld-3.0: Optimize log in roam and connect path
Optimize log in roam and connect path.

Change-Id: I1b9f09b7fcc0569a863f11cbd763c105fcf9d144
CRs-Fixed: 2622252
2020-02-15 03:15:10 -08:00
nshrivas
526ce5bff1 Release 5.2.0.170W
Release 5.2.0.170W

Change-Id: I6f3ca6f739f9266e119fa69da87725b8aa5a2ae9
CRs-Fixed: 774533
2020-02-15 01:58:26 -08:00
Jianmin Zhu
5b0746560d qcacld-3.0: suspend scan before scheduler thread suspended
Scan cmd still can be exist after scheduler thread is suspended
when host suspend, the scan cmd can't be removed from
serialization list by either complete or cancel any more since
both depends on scheduler thread, suspend thread blocked 30s to
wait scan cmd cleared.

Roam sync event from F/W can't be handled and Roam sync complete
can't be sent to F/W since scheduler thread suspended, then F/W
assert for roam sync cmd timeout.

After receive F/W down event, host will try SSR, but blocked by
unfinished suspend thread too.

Fix: suspend all components including scan before suspend
scheduler thread, make sure scan cmd is cleared and no new scan
is allowed any more before scheduler thread suspended.

Change-Id: I7a3badeedea018e4d92bbe8660692e42923852aa
CRs-Fixed: 2620650
2020-02-15 01:58:26 -08:00
nshrivas
15d20e9cbb Release 5.2.0.170V
Release 5.2.0.170V

Change-Id: I162f0f46d1330219a33c1578ba78bc0cd71d276b
CRs-Fixed: 774533
2020-02-15 00:31:41 -08:00
Nisha Menon
ce65875d4a qcacld-3.0: Enable MCL feature flag MAX_ALLOC_PAGE_SIZE
This feature flag is used to set the page size to 4KB
for MCL and to use the max_alloc_size config ini param
for page size in the WIN specific code.

The page size is used to allocate link descriptor pages
for the WBM idle link ring instead of the desc bank
contiguous memory allocations.

Change-Id: I9ff575efc475473654cb4b66a95285c779599b24
CRs-Fixed: 2612385
2020-02-15 00:31:41 -08:00
nshrivas
5504c32f16 Release 5.2.0.170U
Release 5.2.0.170U

Change-Id: I108418b7f552d36f205b4e968806b4ba04a5a6c9
CRs-Fixed: 774533
2020-02-14 23:08:54 -08:00
Vevek Venkatesan
6f854c03d4 qcacld-3.0: enable custom dscp-to-up map feature
Enable custom DSCP-to-UP map table feature for
Hastings targets.

Change-Id: I4936bd62c9b4f6dfc917471226811f3fb5eb04af
CRs-Fixed: 2621305
2020-02-14 23:08:54 -08:00
nshrivas
f645536c29 Release 5.2.0.170T
Release 5.2.0.170T

Change-Id: I4f6a020afa4c4961bacff4aabbd7f0752b15737a
CRs-Fixed: 774533
2020-02-14 17:52:43 -08:00
Abhishek Singh
521b203a59 qcacld-3.0: Optimize LL Stats prints
Optimize LL Stats prints.

Change-Id: Ia24ae8ca295fce64ae57ea7a5fd9381ed4458464
CRs-Fixed: 2621350
2020-02-14 17:52:43 -08:00
guangde
7501cf57a7 qcacld-3.0: Add athdiag functions for USB interface
For QCN7605 chip, FW team need athdiag tool to operate FW
information. Host driver need to pass the command and result
between athdiag tool and FW.

Change-Id: Ib3f4498ba560b2b76ec6939760535069777b972c
CRs-Fixed: 2595510
2020-02-14 17:52:29 -08:00
nshrivas
122098ee87 Release 5.2.0.170S
Release 5.2.0.170S

Change-Id: I3d0a5746c666891041da7f5b3a967b9d7896cd21
CRs-Fixed: 774533
2020-02-14 15:20:54 -08:00
Alan Chen
33628529ff qcacld-3.0: Add null check for logging PMKSA BSSID
When wlan_hdd_del_mksa_cache is not successful, it prints a failure
message with the PMKSA BSSID without checking whether it is null,
causing it to access a null pointer. Add a null check for PMKSA BSSID
using it in the log.

Change-Id: I7c2f67fe709c61d5371635950021cb8687175245
CRs-Fixed: 2621607
2020-02-14 15:20:54 -08:00
nshrivas
3aadd0315c Release 5.2.0.170R
Release 5.2.0.170R

Change-Id: I138c5a0cacc37275971a84891898209f2c71f4a8
CRs-Fixed: 774533
2020-02-14 13:34:48 -08:00
Alan Chen
a3de1a56ee qcacld-3.0: Add vdev start check before sending arp_ns stats cmd to fw
Add vdev start check such that host does not send ARP_NS stats command
to FW when vdev is already stopped.

Change-Id: I94c0b4c26db3f48c7b2de1ad3003c0f0520fa396
CRs-Fixed: 2621587
2020-02-14 13:34:48 -08:00
Srinivas Dasari
4a63e6fdbb qcacld-3.0: Move disconnect ie info to a structure
Move disconnect ie info to a structure (wlan_disconnect_info)
and use it in mlme_legacy_priv. This helps to enhance the
structure further.

Change-Id: Id16e7eeb45a3f4c2fefac297f6730baf6b9e8991
CRs-Fixed: 2621149
2020-02-14 13:34:37 -08:00
nshrivas
202317b2cd Release 5.2.0.170Q
Release 5.2.0.170Q

Change-Id: Ifc64ca4c0b5d3bd8ca9c86c81266b33bc4e62e58
CRs-Fixed: 774533
2020-02-14 12:09:30 -08:00