Commit Graph

16388 Commits

Author SHA1 Message Date
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
Abhinav Kumar
dafd2a637b qcacld-3.0: Add an ini for separate iface support for NAN
Add a new INI parameter "nan_separate_iface_support" to
indicate firmware that the host driver supports separate
interface for NAN Discovery.

Change-Id: I6fb313b02c5f3a05638e85494051fb003b2dd867
CRs-Fixed: 2612006
2020-01-31 00:57:02 -08:00
nshrivas
b683a25b33 Release 5.2.0.168A
Release 5.2.0.168A

Change-Id: I76cd9f5d4013318bb62ba70a5695ee4b9987db88
CRs-Fixed: 774533
2020-01-30 19:38:28 -08:00
Pragaspathi Thilagaraj
a96bd37936 qcacld-3.0: Handle roam stats event with neighbor report tlv alone
Currently, the driver rejects the roam stats event if any of the
roam trigger or roam scan or roam results tlv is not present.
Now the firmware will send neighbor report immediately after the
neighbor report response is received from AP instead of buffering
it.

So, handle roam stats event with neighbor report tlv alone and no
other tlv is present. Also update documentation for some static
functions

Change-Id: I8a697cda9945a7611930823dd7515bc36223f32a
CRs-Fixed: 2610358
2020-01-30 19:38:09 -08:00
nshrivas
e397b29833 Release 5.2.0.168
Release 5.2.0.168

Change-Id: Iaae5725039ee232b9060ba7b984cc56db2a12b04
CRs-Fixed: 774533
2020-01-30 17:59:38 -08:00
Alok Kumar
a73938f684 qcacld-3.0: Disable peer_unmap_conf_support for FTM mode
In FTM mode, no peer is created in the host. Currently, since
peer_unmap_conf_support feature is enabled, FW is expecting
WMA_SEND_PEER_UNMAP_CONF from host to remove the peer Id from AST.
But host never send this WMI CMD in FTM mode.

Disable peer_unmap_conf_support in FTM mode which allow FW to
delete the peer Id without any WMI CMD expectation from host.

Change-Id: Idf9082adc81187346563f3aedf1f1657164f03cc
CRs-Fixed: 2608929
2020-01-30 17:59:38 -08:00
nshrivas
ef3a58101b Release 5.2.0.167Z
Release 5.2.0.167Z

Change-Id: I3a4870513fd5c64f4a91cf0104a315ffaef1cf80
CRs-Fixed: 774533
2020-01-30 15:13:12 -08:00
Alan Chen
1b89e783de qcacld-3.0: Use the hif api for doing PM idle operations
wlan_hdd_pm_qos_notify() is currently directly calling the kernel runtime
pm operation functions. Use the hif api functions to perform these
operations instead.

Change-Id: I8b13a8dd0d5a89f2208b4f319e71b4ffc217ae5c
CRs-Fixed: 2607715
2020-01-30 15:13:12 -08:00
nshrivas
cc3b969389 Release 5.2.0.167Y
Release 5.2.0.167Y

Change-Id: Ibf69626ec28fd4f52b78af7bba73f7ff9b531e96
CRs-Fixed: 774533
2020-01-30 10:01:27 -08:00
Amruta Kulkarni
04fc674134 Revert "qcacld-3.0: follow ref-ap edca if ref-ap and sta intersection is 11ax"
This reverts commit I707409d242ec6f91bbf6620862120747d697af92.

Change-Id: I47b0233998636f2bee0a34dfa8d9124ec21339da
CRs-Fixed: 2612393
2020-01-30 10:01:27 -08:00
nshrivas
fec092f4b2 Release 5.2.0.167X
Release 5.2.0.167X

Change-Id: I2a8d13344418fbbf54353b11b97c5d8778bea794
CRs-Fixed: 774533
2020-01-30 00:32:33 -08:00
Alan Chen
4ea561fa80 qcacld-3.0: Disable ARP_NS and GTK offload for NaN mode
arp_ns_offload and gtk offload command are being issued for NaN mode
vdev. NaN mode vdev does not support ARP_NS and GTK off load features,
so disable them when in NaN mode.

Change-Id: Iab11c92bb5da4004b62e642342a386f532832509
CRs-Fixed: 2608618
2020-01-30 00:32:33 -08:00
nshrivas
09aeb2cc35 Release 5.2.0.167W
Release 5.2.0.167W

Change-Id: Ica4715d7b2e65eabf11b443d39cf2687c42eb85c
CRs-Fixed: 774533
2020-01-29 19:30:26 -08:00
Tushnim Bhattacharyya
36b1a8a769 qcacld-3.0: Use exact values from PCL in GET_PREFERRED_FREQ_LIST
Instead of returning the whole valid channel list, just return the
PCL to QCA_WLAN_VENDOR_ATTR_GET_PREFERRED_FREQ_LIST.

Change-Id: I2be4357f1c25732b9d1098f3d16259217fa46b8e
CRs-Fixed: 2607890
2020-01-29 19:30:26 -08:00
nshrivas
a05a6cbe0a Release 5.2.0.167V
Release 5.2.0.167V

Change-Id: Iaa741a303f27e30fc0964a0ecdb5c4c2dccc02d0
CRs-Fixed: 774533
2020-01-29 12:56:32 -08:00
Abhishek Ambure
82302fc938 qcacld-3.0: Update result for GETROAMSCANCHANNELS command
User can configure roam scan channels using SETROAMSCANCHANNELS and
ADDROAMSCANCHANNELS command.

As the result of GETROAMSCANCHANNELS command, driver returns the list
of channels configured by user.

Change-Id: I847215c8319f819f8db60690842ef50037fe6aaf
CRs-Fixed: 2610136
2020-01-29 12:56:32 -08:00
nshrivas
29d46a3045 Release 5.2.0.167U
Release 5.2.0.167U

Change-Id: Iea9334d92ead529c0c3a51e1cf1812cb20aae8f0
CRs-Fixed: 774533
2020-01-29 06:01:15 -08:00
nshrivas
7eeea2e69f Release 5.2.0.167T
Release 5.2.0.167T

Change-Id: I4b5c00bbcd6a40f8ff800dd81bd5f44d7a0b6645
CRs-Fixed: 774533
2020-01-29 04:40:25 -08:00
Bapiraju Alla
779675f974 qcacld-3.0: Selectively reduce the wma logs
Reduce some of wma logs from info/error to debug.

Change-Id: I2f63adc4c521c59a63a3d792ce8cfef7cebaa7c0
CRs-Fixed: 2607146
2020-01-29 04:40:25 -08:00
nshrivas
8ae412a992 Release 5.2.0.167S
Release 5.2.0.167S

Change-Id: Iaf03d3f5bb6b9dd502ab4a2ee24db5d8b4de1e58
CRs-Fixed: 774533
2020-01-28 20:44:58 -08:00
Pragaspathi Thilagaraj
acdf340ee1 qcacld-3.0: Add beacon report related logging to kmsg
Below beacon report/NEIGH rpt related details needs to be logged into kmsg:
i. Beacon Report Request
	1. Token, Class, Channel list, Duration, Mode, BSSID wildcard, SSID
ii. Beacon Report Response
	1. Token, Scanned AP Number
	2. Reason – If Beacon Report could not proceed.
iii. Neighbor Report request
	1. Sent from Mobile
iv. Neighbor Report Response
	1. Channel list

Add the required details in beacon/neighbor report TX/RX path

Change-Id: I719863ecd4ac607d65dbbfde806921fe7214ce10
CRs-Fixed: 2610596
2020-01-28 20:44:58 -08:00
nshrivas
6255ee9de5 Release 5.2.0.167R
Release 5.2.0.167R

Change-Id: I4b826fcd5a18817348f93d306d4ec8662557e821
CRs-Fixed: 774533
2020-01-28 12:44:07 -08:00
Srinivas Dasari
20bc5c6a43 qcacld-3.0: Reduce excessive logging in NAN/NDP
Driver/firmware may not support NAN in some platforms. But when
framework tries to enable NAN/NDP, driver returns an error and
logs the failure with error level. This is causing excessive
logs in dmesg. Reduce the log level to debug in order to avoid
spamming dmesg.

Change-Id: Ied8f06fadc3b68a9fc3657e31679b71a3807737e
CRs-Fixed: 2608564
2020-01-28 12:44:07 -08:00
nshrivas
c15644c911 Release 5.2.0.167Q
Release 5.2.0.167Q

Change-Id: I48fea685997b9dbcd2a7ec5a0754106d4302f79a
CRs-Fixed: 774533
2020-01-28 11:01:58 -08:00
Abhishek Ambure
843ece96eb qcacld-3.0: Block ADDROAMSCANCHANNELS if specific channels configured
User configures specific channel using SETROAMSCANCHANNELS command
and preferred channels using ADDROAMSCANCHANNELS command.

For roam scanning, "specific channels list" is preferred over
"preferred channel list". Hence if user configured specific channels
then block ADDROAMSCANCHANNLES command.

Change-Id: Ib4e2c9ed7ca1e44c0c7e287e2ac350c3d4f3540e
CRs-Fixed: 2610133
2020-01-28 11:01:58 -08:00
Srikanth Marepalli
72213318bd qcacld-3.0: Make WMI_ROAM_PMKID_REQUEST_EVENTID event as wakable
Add support to make event WMI_ROAM_PMKID_REQUEST_EVENTID as
wakable in FIPS case.
In FIPS Enabled case, for roaming Firmware sends PMKID request
to host as firmware is not supposed to do crypto functionality
with FIPS enabled.

Change-Id: I09b6b68f77ba75f9e5519ff18017c95d16771f52
CRs-Fixed: 2513790
2020-01-28 11:01:38 -08:00
nshrivas
4eaa5d66ba Release 5.2.0.167P
Release 5.2.0.167P

Change-Id: I4e599e9337d1a3065b07207f454d4ced2d33e9c1
CRs-Fixed: 774533
2020-01-28 05:30:43 -08:00
nshrivas
50909490a5 Release 5.2.0.167O
Release 5.2.0.167O

Change-Id: I69527cfe59995cde3f9f99acc860d439a585448f
CRs-Fixed: 774533
2020-01-27 23:32:11 -08:00
Kiran Kumar Lokere
8bb8b28622 qcacld-3.0: Configure vdev HE Tx beamform settings to FW
Configure vdev HE Tx beamforming parameters to FW.

Change-Id: I990d9a9cb84300b07dd6acf67bbddf72abaf80b5
CRs-Fixed: 2609937
2020-01-27 23:32:11 -08:00
nshrivas
77ccdbfdf3 Release 5.2.0.167N
Release 5.2.0.167N

Change-Id: I3e3430f215d3792007011b5e1efe2bd1b93dab49
CRs-Fixed: 774533
2020-01-27 21:59:27 -08:00
Alan Chen
7890bebcbc qcacld-3.0: Add sta connection check in NUD stats
Add check for sta connection during NUD stats request because FW may
assert if NUD stats request is sent to FW when the station is disconnected.

Change-Id: I0521356f677154cd5f4f0ae08b5fcfec2e9cef56
CRs-Fixed: 2610267
2020-01-27 21:59:26 -08:00
nshrivas
6e5cce7b18 Release 5.2.0.167M
Release 5.2.0.167M

Change-Id: I469ee990f61cdf50a4075a6fcc0030b94cce45d1
CRs-Fixed: 774533
2020-01-27 19:05:28 -08:00
Alan Chen
876fa6f2f9 qcacld-3.0: Pass a double pointer to sta_info in hdd_sta_info_detach()
Data abort is happening while accessing unmapped sta_info in
hdd_softap_stop_bss(). When calling hdd_sta_info_detach() through
hdd_softap_deregister_sta(), sta_info is not being set to NULL since
a single value only passes a copy of sta_info, so the actual sta_info
is not actually being set to NULL. To fix this, pass a double pointer to
sta_info instead of a single pointer so that it can be set to NULL.

Change-Id: I96f4c7e1563e53498a86c95263dc62a8d3d68e21
CRs-Fixed: 2610763
2020-01-27 19:05:28 -08:00
nshrivas
d2ec73e26d Release 5.2.0.167L
Release 5.2.0.167L

Change-Id: I03336e29a58cc7604cd01d6bcb9622a44a36aba3
CRs-Fixed: 774533
2020-01-27 17:36:34 -08:00