Commit graph

18,383 commits

Author SHA1 Message Date
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
Alok Kumar
5b1cf615b6 qcacld-3.0: Add Kbuild configuration for QCA6750
Add Kbuild configuration for QCA6750

Change-Id: Ic196a4ea23cd637734412788f8463e3dd6f43c60
CRs-Fixed: 2603029
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
Ashish Kumar Dhanotiya
92a6a75a8b qcacld-3.0: Add feature flag for SAR safety feature
Add support to featurize SAR safety feature.

Change-Id: I21695ec3f9dca9da6f02eb7a1435366943a8a621
CRs-Fixed: 2612950
2020-02-05 11:38:52 +05:30
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
8302d1bcd2 qcacld-3.0: Enable FTM time sync feature
Add the config to enable FTM time sync feature.

Change-Id: Ia157ad6277c8755bb80d6b81d41c2e1f74d09662
CRs-Fixed: 2615281
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
Sravan Goud
d257bd19de qcacld-3.0: For system suspend do dp wow ack process
In case of successful wow enable ack from FW for system
suspend call cdp wow ack response process, so that dp
layer will take care of required operations before system
goes to suspend.

Change-Id: Ibc5bf8d62aa055c9c8c7242c00abc3b696bb0051
CRs-Fixed: 2608980
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
Abhinav Kumar
36b42d3545 qcacld-3.0: Make nan_separate_iface_support enable by default
Make nan_separate_iface_support feature enable by default

Change-Id: I0651a47ce68421b0108ab65295a0341cbb22393e
CRs-Fixed: 2613584
2020-02-03 06:04:40 -08:00