Commit Graph

16421 Commits

Author SHA1 Message Date
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
Pankaj Singh
50e40422d1 qcacld-3.0: Add support for WLAN thermal mitigation
As part of new requirement WLAN subsystem needs to perform thermal
mitigation action as per the thermal state of the device. The
wifi hal sends vendor command QCA_NL80211_VENDOR_SUBCMD_THERMAL_CMD
with the thermal level parameter and wlan host performs the required
appropriate action. wlan host driver maps the thermal level to
corresponding duty cycle off percent value and duty cycle value,
send WMI_THERM_THROT_SET_CONF_CMDID cmd to FW.

Make changes to perform vendor command handling, mapping thermal level
to duty cycle value and communicating the thermal information to FW.

change-ID: I77175048c817ab755cdb838018e414ef3ee0b112
CRs-Fixed: 2610395
2020-01-31 12:45:29 -08:00
nshrivas
5f1c7172e1 Release 5.2.0.168G
Release 5.2.0.168G

Change-Id: I3742d9e86f92a06f0963f3aded017eabddb7a298
CRs-Fixed: 774533
2020-01-31 11:21:51 -08:00
nshrivas
7de4e83367 Release 5.2.0.168F
Release 5.2.0.168F

Change-Id: I1dce3c361361ea0515536ff32c3497b9b2922fa8
CRs-Fixed: 774533
2020-01-31 09:57:59 -08:00
Abhishek Ambure
f4e994656f qcacld-3.0: Handle ch cnt and number of channels for SETROAMSCANCHANNELS
To set specific channels, user give SETROAMSCANCHANNELS command with
channel count followed by number of channels.
Ex. SETROAMSCANCHANNELS 2 1 11, here 2 is count and 1 & 11 are the
channels.

If channel count is more than the number of channels, driver rejects
SETROAMSCANCHANNELS command and if number of channels are more than
the channel count, driver ignores excess channels in the list.

Change-Id: I276b84b4994bdf25abf36298dc212dcd54ce0dbb
CRs-Fixed: 2609788
2020-01-31 09:57:59 -08:00
nshrivas
362a08680e Release 5.2.0.168E
Release 5.2.0.168E

Change-Id: Iafb5a57d1336359e091d0d23ed276663ac9a8e5f
CRs-Fixed: 774533
2020-01-31 07:12:57 -08:00
Abhishek Singh
4dfc0eec9b qcacld-3.0: Optimize logs in serialization
Remove redundant logs and optimize the logs in serialization.

Change-Id: Iab3f6dce6067ceac94ca53fe36ca9027b6d9ca50
CRs-Fixed: 2612824
2020-01-31 07:12:57 -08:00
nshrivas
38811d599b Release 5.2.0.168D
Release 5.2.0.168D

Change-Id: I8cf99a4fd929a289be65e09c7693a60a15821959
CRs-Fixed: 774533
2020-01-31 05:36:36 -08:00
Sourav Mohapatra
762ed1e51a qcacld-3.0: Prevent possible OOB access in hdd_sendactionframe
In the function hdd_sendactionframe, the parameters passed include the
payload and the corresponding payload length; payload being generic
pointer. The payload is then typecasted into the destination structure
of type tpSirMacVendorSpecificFrameHdr. If the size of the payload
specified in payload_len is less than the size of the destination
structure, there is possiblility of OOB read while accessing the same.

To prevent this security vulnerability, add a sanity check for the
payload_len against the size of the destination structure.

Change-Id: Ib0e7b7bfcf78412d81f18cf887e5296d80272598
CRs-Fixed: 2517858
2020-01-31 05:36:36 -08:00
nshrivas
c26c742df3 Release 5.2.0.168C
Release 5.2.0.168C

Change-Id: I3f985477e727fc4e5fffdb94ea529baf1de83d79
CRs-Fixed: 774533
2020-01-31 02:33:31 -08:00
Alok Kumar
66f247de8c qcacld-3.0: Configure pktlog buffer size from INI
Configure buffer size for packet log through INI

Change-Id: I8102aefbd154da9f8db7e9065ccb6d7da2d27e5e
CRs-Fixed: 2611411
2020-01-31 02:33:31 -08:00
nshrivas
fa348d69cd Release 5.2.0.168B
Release 5.2.0.168B

Change-Id: I82449fd58dc78aa25605e2ce6c249a725aa1b1be
CRs-Fixed: 774533
2020-01-31 00:57:02 -08:00