Commit Graph

16732 Commits

Author SHA1 Message Date
nshrivas
fe0ec61a5d Release 5.2.0.171X
Release 5.2.0.171X

Change-Id: I32fa1b941406afe95780a0bf51fc71b02c1047c5
CRs-Fixed: 774533
2020-02-19 14:50:40 -08:00
Liangwei Dong
f527bef80e qcacld-3.0: Get 160 BW related HE Caps IE from 5G MAC's HE Caps
5G 160M related HE Phy Caps comes from 5G MAC's HE Caps.
Change csr_revise_req_he_cap_per_band API to override the caps
with 5G MAC Caps if STA or SAP starts on non-2G channel.

Change-Id: I250385a64fdb4e043d150ed4e29cd07d10d00880
CRs-Fixed: 2620815
2020-02-19 14:50:40 -08:00
nshrivas
974e1f92d4 Release 5.2.0.171W
Release 5.2.0.171W

Change-Id: Idb77ef2ec5d77ad8b0922b7323f0edfb264ef242
CRs-Fixed: 774533
2020-02-19 12:53:53 -08:00
Ashish Kumar Dhanotiya
ad50c37877 qcacld-3.0: Update bit position of the supp mode in sta info
Currently there is no bit reserved to indicate the support
for 11bg/11abg 802.11 mode.
As per new requirement update the meaning of bit positions
in sta info structure to indicate all the required mode
information.

Change-Id: I37e72442f512020c25fec3ca66fb6facb50f92f2
CRs-Fixed: 2623453
2020-02-19 12:53:53 -08:00
Ashish Kumar Dhanotiya
ab0666a1bd qcacld-3.0: Reduce regulatory logging
As part of logging optimization, reduce the
logging from regulatory.

Change-Id: I5f8e5e752370db98ff7ffd935acc17d017f56e04
CRs-Fixed: 2623898
2020-02-19 12:53:39 -08:00
nshrivas
77573adcd9 Release 5.2.0.171V
Release 5.2.0.171V

Change-Id: I981cea3be4ee7e911d5bfb438cbb1894bcdefd90
CRs-Fixed: 774533
2020-02-19 11:31:05 -08:00
Amruta Kulkarni
1967ff92ff qcacld-3.0: Log enhancement for policy mgr
Enhance logs in policy mgr module to remove duplicate
or unwanted prints and keep only useful logs to debug.

Change-Id: Ifd585256955aceec29286d82838be0c588228c32
CRs-Fixed: 2614763
2020-02-19 11:31:04 -08:00
nshrivas
ac031354a0 Release 5.2.0.171U
Release 5.2.0.171U

Change-Id: I2643081b21f286f3e95dee5deb07701d04e4954a
CRs-Fixed: 774533
2020-02-19 08:43:11 -08:00
Dundi Raviteja
4a89130e93 qcacld-3.0: Process Mgmt Tx and Rx frames for pktcapture mode
Process management Tx and Rx frames for packet capture mode
and post frames to the mon thread.

Change-Id: I14c0a1cf8a8aa4d4a4e16ad6200715b875611c81
CRs-Fixed: 2619317
2020-02-19 08:43:11 -08:00
nshrivas
e146dd6013 Release 5.2.0.171T
Release 5.2.0.171T

Change-Id: I952a8ce49d5e0a44aaa594e85a011a8224530c75
CRs-Fixed: 774533
2020-02-19 06:23:46 -08:00
Vulupala Shashank Reddy
5a60cebf6d qcacld-3.0: Send vdev param command to set pkt capture mode
Send vdev param command to FW for STA vdev to set the packet
capture mode. Send the command only if packet capture support
is enabled.

Change-Id: Ifed2431882b1f7d2869771e812daa5bcd5dc17e9
CRs-Fixed: 2619314
2020-02-19 06:23:46 -08:00
gaurank kathpalia
26f0276d8a qcacld-3.0: Combine and print channel for ACS and roam channels
Combine and print channel for ACS and roam channels, instead
of printing one channel at a time.

Change-Id: I398678e1843849bdf4f4c72f0315c626c97438a6
CRs-Fixed: 2623805
2020-02-19 06:23:25 -08:00
nshrivas
00726c641e Release 5.2.0.171S
Release 5.2.0.171S

Change-Id: Id15de4f068a282e159f2b0508d324748776ad478
CRs-Fixed: 774533
2020-02-19 03:33:20 -08:00
Manjunathappa Prakash
b1c5012090 qcacld-3.0: Update vdev in fisa_flow to takecare vdev change
Fisa flow in FT still exists even after vdev teardown. Same vdev
type is reinitialized with different vdev pointer.
So take care to update the fisa_flow vdev with current vdev.

Change-Id: Ib52c6d1ea5354532a42fd0065db740c96d78ebc6
CRs-Fixed: 2621691
2020-02-19 03:33:20 -08:00
Pragaspathi Thilagaraj
21f7c0c06f qcacld-3.0: Refactor 11kv logging
Add BTM Query/Request prefix for BTM debug prints and Neighbor
Req/Resp prefix for Neighbor report logging. If the time
received from the firmware is zero, it implies AP has not sent
the response for the neighbor req/btm query. So log this info
as well. When channel count is zero, log that no channel update
from AP.

Refactor 11kv logging for more details.

Change-Id: I10bb731ce410215eb48322a2f8ad9ed8723e5270
CRs-Fixed: 2623418
2020-02-19 03:33:02 -08:00
nshrivas
3b30f46791 Release 5.2.0.171R
Release 5.2.0.171R

Change-Id: I9d06727af2cb4e9b77ed345e6c77352d0d8279bc
CRs-Fixed: 774533
2020-02-18 10:45:02 -08:00
gaurank kathpalia
29aa34ddea qcacld-3.0: Disconnect after roam fails in NUD fail case
Extend ini value to disconnect from current AP
if roam failure happens after the NUD failure.

Change-Id: Id764c97b5c1748b1d513d85d4063868a1c77141b
CRs-Fixed: 2622087
2020-02-18 10:45:01 -08:00
nshrivas
8f5b9fbe84 Release 5.2.0.171Q
Release 5.2.0.171Q

Change-Id: Ieba1f83397f211380f38433ae2f645d71ceb8b5a
CRs-Fixed: 774533
2020-02-18 04:52:20 -08:00
Abhishek Singh
c332b3eba0 qcacld-3.0: Optimize CSA logs for SAP and STA
Optimize CSA logs for SAP and STA.

Change-Id: I1bd00821a2b8cbc41d530eda1aba1e7ecdd9cb7b
CRs-Fixed: 2623007
2020-02-18 04:52:20 -08:00
nshrivas
57a0dcfc5c Release 5.2.0.171P
Release 5.2.0.171P

Change-Id: I9d90945f12f60bd6a885cd1cc5244121c7b79090
CRs-Fixed: 774533
2020-02-18 03:27:32 -08:00
gaurank kathpalia
40e1f995bd qcacld-3.0: Fix log in lim_log_he_op
Fix logs in lim_log_he_op.

Change-Id: Ia41f0c674d15b6f0c412b8def2e813f03b3edce9
CRs-Fixed: 2623267
2020-02-18 03:27:32 -08:00
nshrivas
574365e6df Release 5.2.0.171O
Release 5.2.0.171O

Change-Id: Ib7987ea46d29ecbdcaf52bc40368ee893db4bbd0
CRs-Fixed: 774533
2020-02-18 01:53:50 -08:00
Abhishek Singh
6d5bac846a qcacld-3.0: Optimize logs in STA disconnect path
Optimize logs in STA disconnect path

Change-Id: I3534f3ab89ebbdd919c02120328013e42d2894f4
CRs-Fixed: 2623124
2020-02-18 01:53:50 -08:00
nshrivas
5a34a1c830 Release 5.2.0.171N
Release 5.2.0.171N

Change-Id: I5bb1751514201fea1df134bee2417085916020aa
CRs-Fixed: 774533
2020-02-17 21:21:19 -08:00
Vulupala Shashank Reddy
e96d28ed64 qcacld-3.0: Register/deregister packet capture callbacks
Register/deregister packet capture callbacks.

Change-Id: I16e2c61349fc26d1166ac4b06dc160871c383846
CRs-Fixed: 2619312
2020-02-17 21:21:19 -08:00
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
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
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
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
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
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
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
nshrivas
3c9f90ae6f Release 5.2.0.170P
Release 5.2.0.170P

Change-Id: Ia3d0a54440a46228c3cab849700453e8053e89bc
CRs-Fixed: 774533
2020-02-14 09:02:00 -08:00
Chaoli Zhou
803ea570f6 qcacld-3.0: Set pcie addr flag for IPA tx/rx ring
As for WDI2 over gsi, IPA driver adds is_txr_rn_db_pcie_addr
and is_evt_rn_db_pcie_addr in ipa_wdi_pipe_setup_info and
ipa_wdi_pipe_setup_info_smmu these two structures to check
if doorbell address is PCIe mapped address or not. So, it
need to set such flag from wlan host driver for IPA transfer
and event rings.

Change-Id: Ic71a460c6e87f5b77be737fa9a8e860ab7424e82
2020-02-14 09:02:00 -08:00
Sourav Mohapatra
eb7227cc06 qcacld-3.0: Add param to configure channel avoidance indication from FW
Currently, when WWAN channel changes, the list of WLAN channels that
needs to be avoided is given to WLAN FW. WLAN FW indicates the list
to host. Upon receiving Channel avoidance indication, host switches
the operating-channel of SAP (if any and conflicting).

When there is a frequent channel change from WWAN side, it causes
frequent SAP disconnection. To mitigate this problem, as part of
this change send the configuration to the WLAN FW which delays
the channel avoidance indication before sending it to host.

Change-Id: If67775d59b9f61d3592a5f6609d3b002899e5daf
CRs-Fixed: 2615917
2020-02-14 09:01:44 -08:00
nshrivas
de91e16e18 Release 5.2.0.170O
Release 5.2.0.170O

Change-Id: I6bee39d22adc7b826cdbbfe050ec7306a0c09e1b
CRs-Fixed: 774533
2020-02-14 04:17:45 -08:00
Ashish Kumar Dhanotiya
15d3b0d7b2 qcacld-3.0: Add support to dynamically set dwell time for 2g
Currently there is no support to dynamically set dwell time
for 2g channels.
Add support in existing command SETDWELLTIME to dynamically
configure dwell time for 2g channels.
Along with set, add support to get dwell time for 2g channels
with the existing driver command GETDWELLTIME.

Change-Id: Ifb4722ff3fdb2671e02794fc5b691b06aad98256
CRs-Fixed: 2620366
2020-02-14 04:17:45 -08:00
nshrivas
47edb229f2 Release 5.2.0.170N
Release 5.2.0.170N

Change-Id: I7850c0e5bf4d2f84203628070d4007c1b912ceda
CRs-Fixed: 774533
2020-02-13 22:08:33 -08:00
Abhishek Singh
3c56fdd796 qcacld-3.0: Optimize logs in TX assoc req and RX assoc rsp
Optimize logs while sending assoc req and assoc rsp handling
frame by dumping the assoc req frame and not printing each
params separately. Also avoid multiple dump of same frame.

Change-Id: Ibcf2d9aa8de292b9b9f4b4c6a53a0f694d69475c
CRs-Fixed: 2619553
2020-02-13 22:08:33 -08:00
nshrivas
8ee26b9493 Release 5.2.0.170M
Release 5.2.0.170M

Change-Id: Ie3f7def48f41a0528d7f4ccdc7a3c3ecabd38f15
CRs-Fixed: 774533
2020-02-13 18:32:05 -08:00
Sourav Mohapatra
dee8db155c qcacld-3.0: Cleanup logs in HDD APF path
Cleanup logging in HDD APF path.

Change-Id: Iceb78d0decbeb8d4a7c1723681fe03b9a3427b02
CRs-Fixed: 2618579
2020-02-13 18:32:05 -08:00
Yeshwanth Sriram Guntuka
b9502644d0 qcacld-3.0: Update default value of dp_proto_event_bitmap
Update default value of dp_proto_event_bitmap to track all
the supported protocol pkt types.

Change-Id: Ib6355f43fa667f80b31418320f3bdb2373fdf9e1
CRs-Fixed: 2618474
2020-02-13 18:31:41 -08:00
nshrivas
5eabe837da Release 5.2.0.170L
Release 5.2.0.170L

Change-Id: I5184648444a0c0bd4d378f92c62d4a842ffb6839
CRs-Fixed: 774533
2020-02-13 16:54:00 -08:00
Amruta Kulkarni
68f42668f1 qcacld-3.0: Fix to not set HT/VHT caps during 6ghz unicast probe req
In 6ghz, host should not set HT/VHT caps when sending unicast
probe request.

Change-Id: Ib31a08d2bda3dcba9e5f1e16107552d2ba18bcf1
CRs-Fixed: 2619300
2020-02-13 16:54:00 -08:00
nshrivas
7d4014db17 Release 5.2.0.170K
Release 5.2.0.170K

Change-Id: I085ef9145131564fffa4efcee11c1d1de82721bd
CRs-Fixed: 774533
2020-02-13 13:04:50 -08:00
Venkata Sharath Chandra Manchala
de8bea9272 qcacld-3.0: Add support to request for hardware stats
As part of the vendor extended stats, add API to
request Rx hardware stats for a given vdev id.

Change-Id: I46d73de21724c4c5ebf4a78075b7b2c1d02fe92a
CRs-Fixed: 2605729
2020-02-13 13:04:49 -08:00
nshrivas
06e6767f2b Release 5.2.0.170J
Release 5.2.0.170J

Change-Id: Ib0dd6f57671fdd8557d6636c6c3ee58fa8e41a37
CRs-Fixed: 774533
2020-02-13 08:11:31 -08:00
nshrivas
70ae77c08b Release 5.2.0.170I
Release 5.2.0.170I

Change-Id: Iadaa7575a0aec26d493ef646cdb7a6095f99fc71
CRs-Fixed: 774533
2020-02-13 05:53:34 -08:00
Yu Wang
6c9129693d qcacld-3.0: add vendor cmd support for BT coex chain mode
Add a new qca sub command QCA_NL80211_VENDOR_SUBCMD_BTC_CHAIN_MODE.

This command is used to set BT coex chain mode via
WMI_COEX_CONFIG_BTCOEX_SEPARATE_CHAIN_MODE, it has 2 args:
arg1: BTC chain mode, including shared (0, default) and separated(1).
arg2: force restart flag. true means doing vdev restart after applying
      the new configurations; while false or NOT set means not.

CRs-Fixed: 2534768
Change-Id: I869096784e5089a6c90e94e76234cd13c9b1a13a
2020-02-13 05:53:34 -08:00
nshrivas
aa5ba4fedf Release 5.2.0.170H
Release 5.2.0.170H

Change-Id: Ia8ca9ea8c5f3832fb660bfbbc3a0ee6a666f4424
CRs-Fixed: 774533
2020-02-12 23:16:31 -08:00
Rajeev Kumar
e7bae1ec80 qcacld-3.0: Remove redundant wake-up reason code(int) logging
WoW wake-up reason code(string) is already logged and in some
cases wake-up reason code(int) is not populated by firmware
hence remove the redundant wake-up reason integer logging.

Change-Id: Ie8b21965bc9e56bcfe53a80893419a81bd0bed8c
CRs-fixed: 2619212
2020-02-12 23:16:31 -08:00
nshrivas
8575fab059 Release 5.2.0.170G
Release 5.2.0.170G

Change-Id: I56fd7685f19b0839b0f94effc5b03dd52206e320
CRs-Fixed: 774533
2020-02-12 20:10:52 -08:00
Karthik Kantamneni
d33455d6d4 qcacld-3.0: Call runtime pm sync resume when hif ctx is present
Currently if hif ctx is null hdd driver unload is returned without
proper cleanup where hif ctx is not required. To avoid this call
runtime pm sync resume only when hif ctx is present.

CRs-Fixed: 2619481
Change-Id: I761c96446024a175746ef377e1e31b593b93b616
2020-02-12 20:10:52 -08:00
nshrivas
89a5ec2bf2 Release 5.2.0.170F
Release 5.2.0.170F

Change-Id: Ib3024827920731a527b82cbd75b01bf2422ce269
CRs-Fixed: 774533
2020-02-12 11:57:26 -08:00
Manjunathappa Prakash
13dcee71cb qcacld-3.0: Return control after dropping NULL vdev msdus
Return control after dropping NULL vdev msdus and make sure to
NULL terminate the fisa_flow->head_skb.

Change-Id: I50e469f603b48cb578db30aaaaa9f974d469fde1
CRs-Fixed: 2613251
2020-02-12 11:57:26 -08:00
Manjunathappa Prakash
00cce59bcd qcacld-3.0: Check validity of dp_vdev while flushing
Validate vdev before delivering the packets for vdev.
Drop the packets if vdev is deleted.

Change-Id: If92d0fba04d96e3830bb4e6f04c395b4fcd54f84
CRs-Fixed: 2606760
2020-02-12 11:57:09 -08:00
Mohit Khanna
06cce797ed qcacld-3.0: Register FISA callback functions for delivery
Add FISA RX callback functions for fisa enabled case.

Change-Id: Iadd9a1b4e9763293153b1c8c2f263b0107c00c2c
CRs-Fixed: 2600268
2020-02-12 11:56:53 -08:00
Manjunathappa Prakash
db8c24946b qcacld-3.0: Aggregate the msdus of UDP flow
Aggregate the UDP flow msdu in to jumbo msdu and deliver to stack.
Stack handling of jumbo msdu saves the CPU mips.

Change-Id: I5a5d3fdbf3037d3b538f737bf4de8edc06260ab1
CRs-Fixed: 2600268
2020-02-12 11:56:17 -08:00
Manjunathappa Prakash
1fef6fba0c qcacld-3.0: Add logic to learn and program the flow in to FT
Check the HW TLVs to identify if the flow is already programmed.
If flow doesnot exist make an entry to SW and HW flow table.
Invalidate FSE cache to make fse read updated FT entry

Change-Id: I6acc539c5c7994e438ebb2af9cb3bb5ecbf6e120
CRs-Fixed: 2600268
2020-02-12 11:55:58 -08:00
Manjunathappa Prakash
77686579c1 qcacld-3.0: Allocate and initialize the FST for FISA
Add FST setup functions for allocating SW and DDR HW FT.

Change-Id: I13e7d5a40c7440f95d2308e0da5a883557b6b399
CRs-Fixed: 2600268
2020-02-12 11:55:44 -08:00
nshrivas
88492d1882 Release 5.2.0.170E
Release 5.2.0.170E

Change-Id: Ib15cc76500a7d3c31c3707b3a2a6f6e3450668b8
CRs-Fixed: 774533
2020-02-12 09:54:18 -08:00
Pragaspathi Thilagaraj
8a4ffccc02 qcacld-3.0: Replace stack alloc for struct tPmkidCacheInfo with heap alloc
Currently the strucutre tPmkidCacheInfo is allocated in stack
and used during pmksa operations. This structure takes up ~100
bytes of memory. This will cause stack corruption in low memory
devices.

Move allocations of structure tPmkidCacheInfo to heap.

Change-Id: Ibcf44bc331a9ef94499071af1899914edd75b3cf
CRs-Fixed: 2616488
2020-02-12 09:54:18 -08:00
nshrivas
a3f3606f00 Release 5.2.0.170D
Release 5.2.0.170D

Change-Id: If72b35e454ac789e1255842b8e5506a5b46c6ce2
CRs-Fixed: 774533
2020-02-12 08:01:42 -08:00
Amar Singhal
8bf9970419 qcacld-3.0: Remove DFS check after cac end notify
DFS check cannot be on atomic channel, but full channel width.

Change-Id: I6f7ea80923db6ea96c995d1d5a2faf8b4576950f
CRs-Fixed: 2615778
2020-02-12 08:01:42 -08:00
nshrivas
2768e99057 Release 5.2.0.170C
Release 5.2.0.170C

Change-Id: I0d1ca07441d0deb830dac9ea1757bce5218e8fa4
CRs-Fixed: 774533
2020-02-12 04:00:53 -08:00
Liangwei Dong
8f4c8c140c qcacld-3.0: Fix potential memory leak of stats_event
To free stats_event in the failure case of wlan_hdd_get_station_stats.

Change-Id: I679a6109ec2370f9126b0b3201b1035869cef14e
CRs-Fixed: 2618356
2020-02-12 04:00:51 -08:00
nshrivas
e48e7b4612 Release 5.2.0.170B
Release 5.2.0.170B

Change-Id: I7c7ba83b9a320d25c300a8b8df29a2f9ac9da1f6
CRs-Fixed: 774533
2020-02-11 18:43:31 -08:00
Vulupala Shashank Reddy
6e5c807513 qcacld-3.0: Add INI parameter for packet capture mode support
Add INI parameter for packet capture mode

"packet_capture_mode" - ini to set packet capture mode.

Change-Id: Ie60c142af753c65b44aa0018440e43a215e51a27
CRs-Fixed: 2614578
2020-02-11 18:43:31 -08:00
nshrivas
2e9da7605c Release 5.2.0.170A
Release 5.2.0.170A

Change-Id: I4154b81687f95766b54656837c430f41ff839391
CRs-Fixed: 774533
2020-02-11 11:04:41 -08:00
Ashish Kumar Dhanotiya
6b3041aed2 qcacld-3.0: Fix compilation issue in SAR limits file
There are compilation issues if feature FEATURE_SAR_LIMITS
is disabled.
Fix compilation issues relaterd to feature FEATURE_SAR_LIMITS.

Change-Id: Ifdb7c14ea3e973bc63560eb78edd084a53e28974
CRs-Fixed: 2619492
2020-02-11 11:04:28 -08:00
nshrivas
d14d7052b3 Release 5.2.0.170
Release 5.2.0.170

Change-Id: Ia6ca6f71f652afe27793dfd7c019548bd6cb06e2
CRs-Fixed: 774533
2020-02-11 09:16:30 -08:00
sheenam monga
e0e91c48d5 qcacld-3.0: vdev validation before sending unit test command
Currently, There is no check to validate vdev in function
wma_form_unit_test_cmd_and_send before sending command to
fw which may lead to fw crash due to invalid vdev id.

Fix is to add validation check for vdev before invoking
wmi_unified_unit_test_cmd and sme_send_unit_test_cmd.

Change-Id: I61db37417f05968365f210515c28eb6184279c77
CRs-Fixed: 2618295
2020-02-11 09:16:30 -08:00
nshrivas
d7921d0853 Release 5.2.0.169Z
Release 5.2.0.169Z

Change-Id: If51e78bc3c1364b715a6a2d58175f7bf11954a38
CRs-Fixed: 774533
2020-02-11 05:43:07 -08:00
Alan Chen
f32d8e8dcf qcacld-3.0: Add check for eHDD_DOT11_MODE_AUTO before updating umac
Currently, eHDD_DOT11_MODE_AUTO has not been checked, so if gDot11Mode
ini is set to 0, this would fail to update umac with the correct HE
capability. Add an if check for eHDD_DOT11_MODE_AUTO to check if it
has been enabled.

Change-Id: I5d26314f4bcfedcf1e913625ac946118ddb9a983
CRs-Fixed: 2619091
2020-02-11 05:43:07 -08:00
nshrivas
dff8b7357c Release 5.2.0.169Y
Release 5.2.0.169Y

Change-Id: I32cbe500f8db9bd5aedf394cd8821ef3b38a60df
CRs-Fixed: 774533
2020-02-11 04:14:21 -08:00
nshrivas
7ea4682d12 Release 5.2.0.169X
Release 5.2.0.169X

Change-Id: I9ad64bda41d364a242c075d0446faef79ada1aee
CRs-Fixed: 774533
2020-02-11 02:38:51 -08:00
nakul kachhwaha
964cd0e528 qcacld-3.0: Fix compilation issue on kernel v4.19
Removed ol_tx_hl_vdev_bundle_timer definition for
kernel v4.15 as __os_timer_shim will wrap the kernel
timer handler API prototype as per new definition for
kernel v4.15 and above.

Change-Id: I873ba706050ea8020e4af7133c86ef8aabb93d53
CRs-Fixed: 2602835
2020-02-11 02:38:51 -08:00
nshrivas
9b818b0624 Release 5.2.0.169W
Release 5.2.0.169W

Change-Id: I75adff37fc557547739a47584378a6f0fc088e9d
CRs-Fixed: 774533
2020-02-10 13:32:46 -08:00
Sourav Mohapatra
6eceafd4cb qcacld-3.0: Clean up logs in STATS path
Clean up logs in STATS request and response path.

Change-Id: I417100c021ef8b776e7bd800ab2df8eebe95d472
CRs-Fixed: 2618311
2020-02-10 13:32:46 -08:00
nshrivas
f10037c085 Release 5.2.0.169V
Release 5.2.0.169V

Change-Id: I78f70276ab2abb47da3631a6e6d7d44435a0d752
CRs-Fixed: 774533
2020-02-10 11:59:00 -08:00
Ashish Kumar Dhanotiya
b3ae646bf2 qcacld-3.0: Add support for the NAN config items
Currently there is no inis for NAN component:
1. To configure the keep alive period for the
NDI interface.
2. To enable/disable discovery of NAN cluster with
Master Preference (MP) as 0 when a new device is
enabling NAN.

Add ini support to configure above mentioned values.

Change-Id: I47b67eb89fb8849960a9f492d2909e45b96308f3
CRs-Fixed: 2617839
2020-02-10 11:58:46 -08:00
nshrivas
e5b9856f61 Release 5.2.0.169U
Release 5.2.0.169U

Change-Id: Iba1b3e13f41a5e5d03ca0b96f1cee5bc704235cd
CRs-Fixed: 774533
2020-02-10 10:14:50 -08:00
Kiran Kumar Lokere
63faa9b6b0 qcacld-3.0: Rename ioctl ldpc setting for SAP
Rename the ioctl ldpc setting for SAP to use same naming as
STA mode.

Change-Id: Iaebde9cf542637bd82dbc3812b96dec77683cc2c
CRs-Fixed: 2618149
2020-02-10 10:14:50 -08:00
Abhishek Ambure
293c2d3bf6 qcacld-3.0: Always append preferred roam scan channels
For ADDROAMSCANCHANNELS command, always append user given channels
into the existing preferred channels list in driver. If the preferred
channel list exceeds SIR_ROAM_MAX_CHANNELS i.e. 80 then overwrite
oldest entries with new channels.

Change-Id: Ifa12b1e4d75dd927bdbceea9a076ed1bcbd91f4f
CRs-Fixed: 2618318
2020-02-10 10:14:30 -08:00
nshrivas
e45298865b Release 5.2.0.169T
Release 5.2.0.169T

Change-Id: Ia6de100db07b9411edf3454831b29e7b9c7b165d
CRs-Fixed: 774533
2020-02-10 08:32:29 -08:00
Ashish Kumar Dhanotiya
f6871a8e8c qcacld-3.0: Resolve memleak in hdd_configure_sar index
In hdd configure sar index api if the FW supported version is not
SAR_VERSION_2, in that case there is a mem leak issue as the
memory is allocated for sar_command is before the fw sar version
check and in case of fw sar version check failed, memory allocated
for sar command is not freed.

To resolve above issue, move the version check before the memory
allocation for sar command.

Change-Id: I1d5e6bad63134c89ac456c3247eebad79e8f8c79
CRs-Fixed: 2618648
2020-02-10 08:32:29 -08:00
sheenam monga
65415d12d9 qcacld-3.0: Log optimization for NCHO
Currently there are unnecessary/duplicate logging. Identify and
reduce those logs that are not necessary.

Change-Id: I648b84786f9009d45e54fa67c21c834a1eae1608
CRs-Fixed: 2617648
2020-02-10 08:32:11 -08:00
nshrivas
a464d4d014 Release 5.2.0.169S
Release 5.2.0.169S

Change-Id: I3c51e82c98e9c55577c88649c8c8ec1075b96606
CRs-Fixed: 774533
2020-02-10 06:41:18 -08:00
nshrivas
c37f9e0261 Release 5.2.0.169R
Release 5.2.0.169R

Change-Id: If767eab636a6650c5b059832977383b0811d338b
CRs-Fixed: 774533
2020-02-10 04:31:34 -08:00
Surabhi Vishnoi
8333061e83 qcacld-3.0: Add pld API to get the audio timestamp
Add pld API to get audio timestamp needed in FTM wlan
timesync feature to synchronise the audio clocks of
master and slave devices

Change-Id: I6f08e33904e26728492286f516ce5a8074afd1ea
CRs-Fixed: 2616917
2020-02-10 04:31:33 -08:00
nshrivas
dcb6fb30c1 Release 5.2.0.169Q
Release 5.2.0.169Q

Change-Id: Ic1d0207ed0dd04b85181328cb2f529630441fe3f
CRs-Fixed: 774533
2020-02-10 02:31:49 -08:00
Sourav Mohapatra
5e4000bde8 qcacld-3.0: Remove validate_context check from wlan_resume
Presently, there is a very narrow race condition that causes
scheduler_thread to remain in a suspended state for undefined period of
time. The race condition occuers between idle_psoc_timeout and
wlan_hdd_cfg80211_resume_wlan.

As a part of idle_psoc_timeout, the driver calls hdd_wlan_stop_modules
that sets the flag "stop_module_in_progress" and checks if driver is in
suspended state. If yes, it resets the flag and returns. But in the case
of a race condition, before this reset and return is carried out,
wlan_hdd_cfg80211_resume_wlan is invoked. The validate_context inside
the resume function fails due to the above mentioned flag being set. As
a result, resume fails and the driver stays in suspended state. This
causes the driver to enter a infinite loop of stop_modules not being
successful.

To close this small window of contention, remove the validate_context
check. hdd_ctx is always guranteed to be valid and also DSC takes
care of synchronizing the operation, thus the check is redundant.

Change-Id: I723f78e4c33bdc531776c46eff2428dbd869493f
CRs-Fixed: 2616177
2020-02-10 02:31:49 -08:00
sheenam monga
724306fbed qcacld-3.0: Log optimization for beacon report
Currently there are unnecessary/duplicate logging. Identify and
reduce those logs that are not necessary.

Change-Id: I5473db8cf2406aa6aa2f8531cf5a0cc8b7bd2188
CRs-Fixed: 2614121
2020-02-10 02:31:35 -08:00
nshrivas
7ac4ced743 Release 5.2.0.169P
Release 5.2.0.169P

Change-Id: I41b5839be463d20244d8294c8b494e4bc4d82780
CRs-Fixed: 774533
2020-02-08 18:59:48 -08:00
Alan Chen
a507e41a87 qcacld-3.0: Add module enable check in pm_qos_notify
pm_qos_notify() should do nothing if WiFi module is not enabled.

Change-Id: I8eaf78f2ec547f33921c8337b9b3ae178c1709e1
CRs-Fixed: 2618148
2020-02-08 18:59:47 -08:00
nshrivas
426d193a9e Release 5.2.0.169O
Release 5.2.0.169O

Change-Id: Id68511f3faa7525721c890e5a986a8b127a1d7a0
CRs-Fixed: 774533
2020-02-08 02:07:04 -08:00
Amruta Kulkarni
fc875ea635 qcacld-3.0: Cleanup for function wlan_reg_is_dfs_ch()
Replace wlan_reg_is_dfs_ch() with wlan_reg_is_dfs_for_freq()

Change-Id: Ifa62248169ad7b8ff1c62cab44c92d99a8db0e45
CRs-Fixed: 2609311
2020-02-08 02:07:03 -08:00
nshrivas
db47e1d060 Release 5.2.0.169N
Release 5.2.0.169N

Change-Id: I89a85d84fb647da99f44c113cc227b786236245d
CRs-Fixed: 774533
2020-02-07 23:16:38 -08:00
Srinivas Dasari
a44ae3f2a3 qcacld-3.0: Send appropriate NDP peer mac address for remove peer
Currently, wma->peer_macaddr is passed as peer mac address for
NDP peer removal. This gets filled only when PEER_STATS_INFO is
queried from firmware. This is not the right mac address to be
sent for peer removal. Driver might attempt to remove an invalid
peer(or NULL) which leads to assertion in wma_remove_peer.
Get the peer mac address from tpDeleteStaParams which is
sent from lim and pass it to wma_remove_peer.

Change-Id: I90beb7edc1d6ad5790ed972dcb9d3ac42bc04ea7
CRs-Fixed: 2617918
2020-02-07 23:16:38 -08:00
nshrivas
7a562b0d3f Release 5.2.0.169M
Release 5.2.0.169M

Change-Id: I3f55700d58805c0d918e5ebe905248862350b4b1
CRs-Fixed: 774533
2020-02-07 17:21:37 -08:00
Ashish Kumar Dhanotiya
309af01f1d qcacld-3.0: Configure sar sleep index to FW
Currently there is no SAR index is configured to the FW
before device goes into suspend mode.
with the new requirement, configure the sleep mode index
as sar power limit to the FW before device goes into
suspend mode and configure safety mode index to the FW
on wakeup.

Change-Id: Icedbab047ec3bb252f0ed9c1b2baf04d2726a60e
CRs-Fixed: 2617102
2020-02-07 17:21:36 -08:00
nshrivas
751c9593b0 Release 5.2.0.169L
Release 5.2.0.169L

Change-Id: I2a8abb6fc8d07b03ec4c340a556b0d25d7243258
CRs-Fixed: 774533
2020-02-07 15:42:20 -08:00
gaurank kathpalia
385977d071 qcacld-3.0: Optimize log in connect path
Optimize log in connect path during phase. Remove duplicate logs
and combine scattered info.

Change-Id: I6f57405669987b35d5c0acb2f0b818e5e61bd7a9
CRs-Fixed: 2617508
2020-02-07 15:42:20 -08:00
nshrivas
fcdfa57793 Release 5.2.0.169K
Release 5.2.0.169K

Change-Id: I9302433333be5d10551841d13ce83931befcd778
CRs-Fixed: 774533
2020-02-07 14:13:03 -08:00
nshrivas
53f0eca883 Release 5.2.0.169J
Release 5.2.0.169J

Change-Id: Ib07138b8234c54a6056c759fb892e2a9229b5ca0
CRs-Fixed: 774533
2020-02-07 12:12:56 -08:00
Abhishek Singh
9e0b8cdc2e qcacld-3.0: Remove duplicate logs from sta_send_add_bss
lim_sta_send_add_bss_pre_assoc, sta_send_add_bss and
wma_send_peer_assoc have duplicate logs.

Also send_peer_assoc_cmd_tlv print all the required info with
flags and other params.

So remove the duplicate logs and keep only missing info in
sta_send_add_bss and wma_send_peer_assoc, which is not printed
anywhere.

Change-Id: Ic5aa63f1a4296553b584bcc768d8c5cb04ddddf3
CRs-Fixed: 2616910
2020-02-07 12:12:56 -08:00
Abhishek Singh
df747419bc qcacld-3.0: Optimize logging in wma peer create
Optimize logging in wma peer create

Change-Id: Iabaf73703336f3294a508f27c74a2df97b480eb7
CRs-Fixed: 2617006
2020-02-07 12:12:41 -08:00
nshrivas
62ef5a7b60 Release 5.2.0.169I
Release 5.2.0.169I

Change-Id: I25d65b07c4a4a2ea15b2954918b5156f7f1200d6
CRs-Fixed: 774533
2020-02-07 10:39:41 -08:00
Abhishek Singh
3be6fabc18 qcacld-3.0: Optimize logs while printing HT/VHT/HE MCS
Optimize logs while printing HT/VHT/HE MCS

Change-Id: Ie4953c25841b7940df101affa9cf5c4b4a9a099e
CRs-Fixed: 2616911
2020-02-07 10:39:41 -08:00
Alan Chen
c88bfc6f5a qcacld-3.0: Trigger runtime pm sync resume during driver unload
Runtime PM needs to be sync resumed during driver unload. Hence, call
runtime pm sync resume during driver unload.

Change-Id: I20423871a82f33fcbaa3a64d741022f128785075
CRs-Fixed: 2615676
2020-02-07 10:39:26 -08:00
nshrivas
1773a4618b Release 5.2.0.169H
Release 5.2.0.169H

Change-Id: If75d4d656e22fdf42869da67994e334e9565916d
CRs-Fixed: 774533
2020-02-07 09:04:10 -08:00
Ashish Kumar Dhanotiya
4f5c252a82 qcacld-3.0: Add SAR request-response event
Add support SAR request-response event. When
sar_unsolicited_timer expires driver sends
QCA_NL80211_VENDOR_SUBCMD_GET_SAR_LIMITS_EVENT event to
user space and expects user space to set sar power limits
with the vendor command
QCA_NL80211_VENDOR_SUBCMD_SET_SAR_LIMITS.

Add a request-response event to wait for
QCA_NL80211_VENDOR_SUBCMD_SET_SAR_LIMITS vendor command from
user space. If driver does not get
QCA_NL80211_VENDOR_SUBCMD_SET_SAR_LIMITS command from user space
for a specified number times, driver configures the sar safety
index to the FW.

Change-Id: Ic2b9e0b7fe06093ce849fb46df7bfce5da409ef6
CRs-Fixed: 2615519
2020-02-07 09:04:10 -08:00
nshrivas
cce65fc093 Release 5.2.0.169G
Release 5.2.0.169G

Change-Id: I8fe98dc64b51eecd9af13e0a7c8aca27d1e5cc0e
CRs-Fixed: 774533
2020-02-07 07:33:21 -08:00
Ashish Kumar Dhanotiya
3d5a742d5c qcacld-3.0: Add SAR unsolicited timer
Add SAR unsolicited timer to the driver. This timer starts
on every data tx (if not already running) and stops on
command QCA_NL80211_VENDOR_SUBCMD_SET_SAR_LIMITS.
If this timer expires, a vendor event
QCA_NL80211_VENDOR_SUBCMD_GET_SAR_LIMITS_EVENT is sent to the
user space to issue the QCA_NL80211_VENDOR_SUBCMD_SET_SAR_LIMITS
command.

Change-Id: Ic30e5ac606d2b6b0cbc9209174adcd5213eac08e
CRs-Fixed: 2615510
2020-02-07 07:33:20 -08:00
Ashish Kumar Dhanotiya
97de5e6d0b qcacld-3.0: Add SAR safety Timer
Add SAR safety timer to the driver. This timer starts
when first QCA_NL80211_VENDOR_SUBCMD_SET_SAR_LIMITS
vendor command is recived. This timer gets
reset on every sar set vendor command.
When this timer expires, configure sar safety index to
the FW and restart the timer.

Change-Id: I0536ab88baf962e1bc2aef39478380534e0e1401
CRs-Fixed: 2615442
2020-02-07 07:33:05 -08:00
nshrivas
378713290f Release 5.2.0.169F
Release 5.2.0.169F

Change-Id: I897f5995c30166dda58f1295eced4bfb2ff92289
CRs-Fixed: 774533
2020-02-07 04:32:12 -08:00
Ashish Kumar Dhanotiya
d2fef2cda4 qcacld-3.0: Add ini configs related to SAR safety feature
As part of new requirement add ini configurations
gSarsafetyTimeout, gSarSafetyUnsolicitedTimeout,
gSarSafetyReqResTimeout, gSarSafetyReqResRetry,
gSarSafetyIndex, gSarSafetySleepIndex,
gEnableSarSafety, gConfigSarSafetySleepIndex.

Change-Id: I18df23896b52aa1bbf8e071e27703d4e9e1738f1
CRs-Fixed: 2612843
2020-02-07 04:32:12 -08:00
nshrivas
a27dd7907b Release 5.2.0.169E
Release 5.2.0.169E

Change-Id: Iaa3fe0c4fa51db7bd7e75febe12036654053b41a
CRs-Fixed: 774533
2020-02-07 03:06:11 -08:00
Sourav Mohapatra
2cbc99c302 qcacld-3.0: Free link_layer_stats results properly
As per the logic implemented in the FW, it will send a dummy event for
link layer stats in case the buffer allocation fails. In this case,
there can occur a scenario in host wherein we are not properly freeing
the previously allocated memory.

In the event handler wma_unified_link_radio_stats_event_handler, if the
event is dummy, we are updating the value of the num_radios inside
wma_handle->link_layer_results. This num_radios is later used to free
any allocated memory. On setting it to zero, we are preventing that
memfree to occur; leading to a memleak.

To fix this, in case there is a dummy event, first free any possible
previous results before setting the num_radios to be zero.

Change-Id: Ibe4ddf1a137a33130100483cefb004b7dae4ce02
CRs-Fixed: 2610754
2020-02-07 03:06:11 -08:00
nshrivas
823052541b Release 5.2.0.169D
Release 5.2.0.169D

Change-Id: I74ba5bc49215ab82a8e138a327f8fccc8c298319
CRs-Fixed: 774533
2020-02-07 00:15:46 -08:00
Sourav Mohapatra
9243462d48 qcacld-3.0: Keep driver synced with proper dot11 mode as per INI
The INI param gDot11Mode is used to indicate the support that the driver
should advertise. Currently the behavior of the driver is out of sync
with the mode supported over the air and the mode provided to the
framework.

In one particular case, the driver sends VHT supported as
true to the framework even though the INI gDot11Mode is set to 11n only.
This results in the frames to be transmitted with 11n capabilities while
the mode advertised is different.

To rectify this, check for the dot11 mode before setting the
corresponding supported bit in the wiphy. The value being advertised
should be the intersection of gDot11Mode INI and the driver and
firmware capability.

Change-Id: Ic2f1558c72fc801df9d7ca6b3a0182619b93cf0d
CRs-Fixed: 2612620
2020-02-07 00:15:45 -08:00
nshrivas
8df8c5e314 Release 5.2.0.169C
Release 5.2.0.169C

Change-Id: Iead2b450db2b0ff178b88a419f3bbc797e2fe6f6
CRs-Fixed: 774533
2020-02-06 22:44:57 -08:00
Vevek Venkatesan
656edfa1f8 qcacld-3.0: add support to customize dscp-to-up map table
Add support to customize DSCP-to-UP map table and send the
customized map values to FW to update its corresponding
map table.

Change-Id: Ibe9704a90468c898dd2e60fdf83a271152f654ce
CRs-Fixed: 2616247
2020-02-06 22:44:57 -08:00
nshrivas
3ea423bf7e Release 5.2.0.169B
Release 5.2.0.169B

Change-Id: I3130a42aea4c3d8ae63f66ebf37521e966026e57
CRs-Fixed: 774533
2020-02-06 14:32:02 -08:00
Pragaspathi Thilagaraj
717afa5c0e qcacld-3.0: Remove unused roaming diag logs
Roaming logs are logging to kmsg, so unused diag log
sending API can be removed.

Remove unused roaming diag logs.

Change-Id: Idd5cfd2ad1f63394cb6b1872512bcc17307a78e6
CRs-Fixed: 2617079
2020-02-06 14:32:02 -08:00
Pragaspathi Thilagaraj
f088933247 qcacld-3.0: Refine csr_dump_connection_stats() with more info
Add following changes to refine csr_dump_connection_stats:
1. Remove unused argument and rename the function to reduce the
number of characters used.
2. Add self mac address information.
3. Rename Auth type to AKM. Print the AKM string instead of
existing diag auth type enum as it doesn't include new WPA3 and
FILS related AKM.
4. Print channel and channel bandwidth on the same line.

New format of log:
csr_connect_info: 3692: +---------CONNECTION INFO START------------+
csr_connect_info: 3692: VDEV-ID: 0 self_mac:18:23:73:36:23:0f
csr_connect_info: 3692: ssid: FILS_AP
csr_connect_info: 3692: bssid: c8:b3:73:36:a3:0f
csr_connect_info: 3692: rssi: -25 dBm
csr_connect_info: 3693: channel: 6 channel_bw: BW_20MHZ
csr_connect_info: 3695: dot11Mode: DOT11_MODE_11N
csr_connect_info: 3700: AKM: FILS-SHA384
csr_connect_info: 3701: Encry-type: ENC_MODE_OPEN
csr_connect_info: 3702: channel frequency: 5745
csr_connect_info: 3703: Qos enable: 1 | Associated: yes
csr_connect_info: 3704: +---------CONNECTION INFO END------------+

Change-Id: Ia87357dd607bfa0d9256c8129bf8e4448ae93104
CRs-Fixed: 2614465
2020-02-06 14:31:39 -08:00
nshrivas
3f50ba9b10 Release 5.2.0.169A
Release 5.2.0.169A

Change-Id: Ie9bfa49f16464d10ff8c21bfe3135cd41ab9cf60
CRs-Fixed: 774533
2020-02-06 12:42:34 -08:00
Pankaj Singh
074fdebe64 qcacld-3.0: Remove wext handler on mon mode adapter deinit
Wext handlers are not getting deregistered during the
interface down of monitor mode. So. After the idle shutdown
also the user can issue ioctls which can lead to system instability.

Fix is to remove the wext handler as part of adapter deinit.

change-ID: I49ab4b0cfa0125b253bc097f180226f2095d5df1
CRs-Fixed: 2615138
2020-02-06 12:42:33 -08:00
nshrivas
5fe5c58501 Release 5.2.0.169
Release 5.2.0.169

Change-Id: Id2ddd4d81eb6aefc878e172685224ff59bf69b5f
CRs-Fixed: 774533
2020-02-06 08:41:19 -08:00
sheenam monga
008dd2b326 qcacld-3.0: Log optimization for Roam Invoke
Currently there are unnecessary/duplicate logging. Identify and
reduce those logs that are not necessary.

Change-Id: I5ec0a7e06cdade73f0e99369ad89b0b677a9a96b
CRs-Fixed: 2615407
2020-02-06 08:41:19 -08:00
nshrivas
5e00974abd Release 5.2.0.168Z
Release 5.2.0.168Z

Change-Id: I48920b57ce7320e5eece88b928b007777a8e435d
CRs-Fixed: 774533
2020-02-06 07:10:56 -08:00
nshrivas
3308b7a0e1 Release 5.2.0.168Y
Release 5.2.0.168Y

Change-Id: Ie48342f23a2e37245fd741aa3107c7b40d3dd6b2
CRs-Fixed: 774533
2020-02-06 02:11:06 -08:00
gaurank kathpalia
02743447bd qcacld-3.0: Fix mem leak issue
Fix mem leak issue in power save config
path to FW.

Change-Id: I1ee8961774047f094406222170092e45965b6372
CRs-Fixed: 2615206
2020-02-06 02:11:06 -08:00
nshrivas
1025ad8b41 Release 5.2.0.168X
Release 5.2.0.168X

Change-Id: I1a9eaacd1f071a4fc19ae1726d27db52ba0edef8
CRs-Fixed: 774533
2020-02-05 19:58:54 -08:00
Pragaspathi Thilagaraj
2d0aebada0 qcacld-3.0: Set rmf capable if peer AP is MFP capable
Currently the driver sets rmf capability and encrypts
management frames only if peer advertises MFP required and the
sta is also MFP capable. The SAP marks the vdev as PMF enabled
if SAP is MFP capable. This will result in back to back connection
failures or STA performing SA query procedures after disconnecting
and connecting to the AP again.

Check for the AP MFP capability and STA MFP capability to enable
PMF.

Change-Id: Ie851f8dc6d08c46d5eec36c3eff34d322d37fac3
CRs-Fixed: 2612342
2020-02-05 19:58:53 -08:00
nshrivas
13717261c9 Release 5.2.0.168W
Release 5.2.0.168W

Change-Id: Ida3e1137edaa74a60f989c2e929696eff8ba6d48
CRs-Fixed: 774533
2020-02-05 12:31:19 -08:00
Abhishek Singh
4ec44a7db6 qcacld-3.0: Optimize logs in connect req in HDD and CSR
Remove redundant logs and optimize the logs for connect in
HDD and CSR.

Change-Id: I2d2d63aaaff814d91018e95a30869b81c1349a80
CRs-Fixed: 2615902
2020-02-05 12:31:18 -08:00
nshrivas
57f6b62fe9 Release 5.2.0.168V
Release 5.2.0.168V

Change-Id: I636be38812d3967f25c3ff2e694fcd3f62329d9e
CRs-Fixed: 774533
2020-02-05 05:45:27 -08:00
nshrivas
fe63a99a41 Release 5.2.0.168U
Release 5.2.0.168U

Change-Id: I829365b3521f886678ba38b418a6c0bd9e8d9fb3
CRs-Fixed: 774533
2020-02-04 19:34:08 -08:00
Kiran Kumar Lokere
681403ca0d qcacld-3.0: Support for auto rate LDPC configuration
Add support to configure auto rate LDPC setting to FW.

Change-Id: Ic2b707c7e2132f83b4ab8732b8e087742888725e
CRs-Fixed: 2613203
2020-02-04 19:34:07 -08:00
nshrivas
cda4436f79 Release 5.2.0.168T
Release 5.2.0.168T

Change-Id: I2eb18aba331a477ae8a6af659607a0bcc38a7fd0
CRs-Fixed: 774533
2020-02-04 17:18:10 -08:00
Govind Singh
041cf61139 qcacld-3.0: Add FTM TIME SYNC component
Add support for FTM TIME SYNC feature.

Change-Id: Idd022b3b105febd25b9353d7f7c4a046c9143585
CRs-Fixed: 2615242
2020-02-04 17:17:48 -08:00
nshrivas
eddfcbdd19 Release 5.2.0.168S
Release 5.2.0.168S

Change-Id: Iaf537e7a998e99834b5d2397986c0d0e12fd8875
CRs-Fixed: 774533
2020-02-04 14:15:54 -08:00
Abhishek Singh
48175fd4f7 qcacld-3.0: Optimize logs in scan path
Remove redundant logs and optimize the logs in scan path.

Change-Id: Ie6ff84b1a832a29d5fe01c649be4b8143bd13c94
CRs-Fixed: 2612637
2020-02-04 14:15:54 -08:00
nshrivas
d66b8a1761 Release 5.2.0.168R
Release 5.2.0.168R

Change-Id: I65bc87f42435b0809acfe1b3c1f1958e662d81a6
CRs-Fixed: 774533
2020-02-04 09:11:13 -08:00
gaurank kathpalia
ac1feea895 qcacld-3.0: Log enhancement in ACS
Enhance logs in ACS module to remove duplicate
prints and keep only useful logs to debug.

Change-Id: I2cf98fb8b4d7a8391617c9ce1baaa5ff6ad42114
CRs-Fixed: 2614609
2020-02-04 09:11:13 -08:00
nshrivas
488e880708 Release 5.2.0.168Q
Release 5.2.0.168Q

Change-Id: Ib945007b18386be418d03608c2e62349f21a7d0c
CRs-Fixed: 774533
2020-02-04 02:01:34 -08:00
gaurank kathpalia
16f2a47c11 qcacld-3.0: Optimize logs in serialization
Remove redundant logs in serialization.

Change-Id: Icaebd5ce800ec035f082210785e95372cf2e7e72
CRs-Fixed: 2612824
2020-02-04 02:01:34 -08:00
nshrivas
d70ac58e9e Release 5.2.0.168P
Release 5.2.0.168P

Change-Id: I86a72e36ae1a2a56b910aa5a988b2cf9de27fa86
CRs-Fixed: 774533
2020-02-04 00:33:19 -08:00
nshrivas
a8cb5601e8 Release 5.2.0.168O
Release 5.2.0.168O

Change-Id: I7f07e2209339c2250e18981555982565472fc61f
CRs-Fixed: 774533
2020-02-03 21:41:46 -08:00
Vulupala Shashank Reddy
9331f42f3e qcacld-3.0: Add support for packet capture mode
Add support for packet capture mode to monitor packets
on WLAN interface.

Change-Id: I8409479ef7855d51e303028d7e18e6bf89055407
CRs-Fixed: 2611293
2020-02-03 21:41:46 -08:00
nshrivas
2ce0391573 Release 5.2.0.168N
Release 5.2.0.168N

Change-Id: Iab426250aaca69788a10637490f639e4f55ee1a9
CRs-Fixed: 774533
2020-02-03 19:47:03 -08:00
sheenam monga
906b86fe3d qcacld-3.0: Save Beacon Report Error IE in Beacon Report Response
Currently, If STA doesn't send beacon report response to
AP, AP will not be able to know the reason why sta did not
send beacon report as no reason code is defined in
IEEE802.11-2016 standard.

Fix is to add Optional IE in Beacon Report Response which will be
populated based on err code and beacon_report_error_vsie ini.

Change-Id: I91ab0cdfadbe903bdc3085a94b38938a35b693e0
CRs-Fixed: 2614385
2020-02-03 19:47:03 -08:00
gaurank kathpalia
ca2ecc8a2a qcacld-3.0: Remove redundent logs from the Sta connect req
Remove redundant logs from the Sta connect req.

Change-Id: I0b0d455802b0df3509010c31b908737c54a861c7
CRs-Fixed: 2614594
2020-02-03 19:46:52 -08:00
nshrivas
28bba6aaec Release 5.2.0.168M
Release 5.2.0.168M

Change-Id: Icf179feb0d48c9170e774b2248d808a994948b99
CRs-Fixed: 774533
2020-02-03 09:39:06 -08:00
gaurank kathpalia
e7bd43280f qcacld-3.0: Set power save enable directly to FW
Currently, the driver schedules the message to set
power save enable/disable to FW as part of the
set power mgmt command received from the userspace.
This command is then scheduled and is sent via
the scheduler thread.
Generally, userspace sets the power save disable
when it starts the DHCP process and enables the
power save back when the DHCP is completed.
DHCP packets are sent through the Datapath and the
PS enable/disable command would be sent via the
control path explained above.
the Race could happen that the scheduler was busy
with some other task and the PS disable command
was in the queue and the DHCP process began.
This would result in DHCP packets going to the peer
with PS enabled.

The fix is to set the power save enable/disable directly
instead of using the scheduler path.

Change-Id: I0f2aed37f875c283f318fb44bcc40d0ab401413a
CRs-Fixed: 2611480
2020-02-03 09:39:06 -08:00
nshrivas
1aa225991d Release 5.2.0.168L
Release 5.2.0.168L

Change-Id: Ia0920e28149b972f597cb3c22538e14df093f408
CRs-Fixed: 774533
2020-02-03 06:04:40 -08:00
nshrivas
70130bb20e Release 5.2.0.168K
Release 5.2.0.168K

Change-Id: I4e785911ee66cddeac426fdc4bc0d0ea29b23c97
CRs-Fixed: 774533
2020-02-03 04:22:14 -08:00
nshrivas
6160b23dc3 Release 5.2.0.168J
Release 5.2.0.168J

Change-Id: I0c1695198c6c3b801d01fc4d7a517e4172acdd5d
CRs-Fixed: 774533
2020-02-01 00:44:09 -08:00
Abhishek Ambure
7b4b2ff625 qcacld-3.0: Reset roam configs to default while STA mode init
Reset roam configurations to default while station mode init.

Thus user gets default roam configuration with which STA mode is
initialized.

example: When STA connect to AP, user queries for default roam
scan home away time using following command of wpa_cli.
$wpa_cli
>driver GETSCANHOMEAWAYTIME
<OUTPUT is default value of gRoamScanHomeAwayTime INI>

Change-Id: If525e4a92fee6f4823996c1e1e34b9943fed0432
CRs-Fixed: 2607557
2020-02-01 00:44:09 -08:00
nshrivas
cf7f603866 Release 5.2.0.168I
Release 5.2.0.168I

Change-Id: I56e3cc4ab4e8e65d24a08ebbde4110e7be495d98
CRs-Fixed: 774533
2020-01-31 14:34:47 -08:00
Sandeep Puligilla
18b95ae3be qcacld-3.0: Add firmware service support for flush tids
Firmware advertises service capability bit
WMI_SERVICE_PEER_DELETE_NO_PEER_FLUSH_TIDS_CMD
when peer delete command takes care of flush
all tids functionality.
If this service bit is set advertised by FW
then host does not need to send the flush tid
command before sending the peer delete command.

Change-Id: I7838b1d0465fefd58eb8faf1d2d87beccf55134b
CRs-Fixed: 2609964
2020-01-31 14:34:47 -08:00
nshrivas
0817976378 Release 5.2.0.168H
Release 5.2.0.168H

Change-Id: Icbdde02f923d3a31aa47d5509bd0de469c0160de
CRs-Fixed: 774533
2020-01-31 12:45:29 -08:00