Commit-Graf

17723 Incheckningar

Upphovsman SHA1 Meddelande Datum
nshrivas
569b31cec2 Release 5.2.0.158U
Release 5.2.0.158U

Change-Id: I71ce13de01a6b439add6d7b1ccf83bab42662cd3
CRs-Fixed: 774533
2019-11-26 22:00:17 -08:00
Liangwei Dong
d4a91a6f12 qcacld-3.0: Refine wma_get_caps_for_phyidx_hwmode
The current function doesn't handle "hw_mode" parameter.
And if band is specified the function needs to find the
correct "phy cap" in mac_phy_cap list.
The "supported_bands" can be a bit mask of
(WLAN_2G_CAPABILITY | WLAN_5G_CAPABILITY), use "&" to find
the phy cap of requested band.
Remove unused API wma_get_phyid_for_given_band.

Change-Id: I4b120d681b820e2a6e2b82f33d67fbcf6136af09
CRs-Fixed: 2571400
2019-11-26 22:00:17 -08:00
nshrivas
cb6c24411d Release 5.2.0.158T
Release 5.2.0.158T

Change-Id: I018365499fe11ce255628f068fd26a3f4076d848
CRs-Fixed: 774533
2019-11-26 15:47:40 -08:00
Amruta Kulkarni
0eb81451b3 qcacld-3.0: Fix out of bound memory access
In wma_link_status_event_handler() check added to fix
out of bound access.

Change-Id: Iea8346d82b5d766dca5da117f415f6fbe2f40706
CRs-Fixed: 2558009
2019-11-26 15:47:39 -08:00
Abhishek Singh
ec2dbe23e2 qcacld-3.0: Log vdev id and opmode while creating pesession
While pesession is created, the vdev id and opmode is not
logged. Thus it become difficult to check for which vdev the
session is created.

Add logs to print vdev id and opmode while creating pesession.

Change-Id: Ie550630c96342a812994fa6cb00b30427d3f5e93
CRs-Fixed: 2573242
2019-11-26 15:47:28 -08:00
nshrivas
3a5ca969df Release 5.2.0.158S
Release 5.2.0.158S

Change-Id: Iac04bddf202968fcf800e769f5b9b1292f7e1489
CRs-Fixed: 774533
2019-11-26 11:44:51 -08:00
Subrat Dash
42155f64d6 qcacld-3.0: Add support to retry gpio sync for capturing tsf
When the chip is power save mode it misses the gpio strobe
from the host platform. The TSF is not latched is not latched
in this case. As a result the reported TSF in the
WMI_VDEV_TSF_REPORT_EVENTID is not correct.

Fix this by adding a retry mechnism when the reported TSF is not proper.

Change-Id: Ica2d5c796e9d021b65e898ee3defe88d62183911
2019-11-26 11:44:50 -08:00
nshrivas
239b4fe9b5 Release 5.2.0.158R
Release 5.2.0.158R

Change-Id: I4186ab8485039482b232b68ef50480093a70a861
CRs-Fixed: 774533
2019-11-26 10:09:52 -08:00
Kiran Kumar Lokere
2f8a36092f qcacld-3.0: Validate peer HE mcs map before configuring to FW
Validate the HE mcs map in assoc response frame while sending it
in peer assoc command to FW. If the valid MCS is not found in assoc
response frame then populate HE mcs map from beacon HE caps as the
session Nss is derived from beacon capabilities.

Change-Id: Icea452bc23b86f8a45f6096ffcacbc6f8545aab5
CRs-Fixed: 2566959
2019-11-26 10:09:52 -08:00
nshrivas
2b81089239 Release 5.2.0.158Q
Release 5.2.0.158Q

Change-Id: I190b367ea0e071fa2626bd3a5fefa229b89ead8e
CRs-Fixed: 774533
2019-11-26 08:42:08 -08:00
Rachit Kankane
e599de301c qcacld-3.0: Add check ongoing deauth message
There are two path in code to deauth a associated STA in SAP mode:
1. Deauth issued from user space
2. Deauth issued from peer

Rectified the check for ongoing deauth before queuing for another.

Change-Id: Ib3f45968c770b1df25c77aed9fd1e3bc8edd6e72
CRs-Fixed: 2567087
2019-11-26 08:42:08 -08:00
nshrivas
524b578311 Release 5.2.0.158P
Release 5.2.0.158P

Change-Id: Ie26a5d3be60063cbb7b279b5a11bda31f8670e15
CRs-Fixed: 774533
2019-11-26 07:10:18 -08:00
Pragaspathi Thilagaraj
c051588e64 qcacld-3.0: Add support for RSNXE IE for SAE
SAE key derivation requires use of a secret element, PWE. This
element is deterministically discovered by repeatedly hashing
the password with some additional information until the
resulting hash is the abscissa of a point on the elliptic curve
(for ECC) or by exponentiating the hash digest to a constant to
produce an element (for FFC). This "hunting-and-pecking" loop
method is prone to side channel attacks.

To avoid this, a direct hashing to element technique in SAE is
introduced in IEEE P802.11-REVmd/D3.0. Support new RSNX IEEE
as part of the hash to element PWE derivation. The user space
sends the RSNX IE in the connect request.

Add support to save RSNXE from connect request and pack this IE
over SAE assoc request. Also send the IE in assoc IEs in RSO
commands.

Change-Id: I8eb756840400753794b1b80befe3a20f7d7c7705
CRs-Fixed: 2569596
2019-11-26 07:10:17 -08:00
nshrivas
f61ec0cc0e Release 5.2.0.158O
Release 5.2.0.158O

Change-Id: Ide25dcbf9d3575a131bfed47daa6c803c3f62a86
CRs-Fixed: 774533
2019-11-26 05:30:19 -08:00
Abhishek Singh
cc02c9b51b qcacld-3.0: Rename sme_sessionid to vdev_id in LIM APIs
Rename sme_sessionid to vdev_id in LIM APIs.

Change-Id: I93ff5c9fa7a7d045753bf4321fa0501f2ecef84d
CRs-Fixed: 2573439
2019-11-26 05:30:18 -08:00
Sourav Mohapatra
2a67b0ed24 qcacld-3.0: Add driver command to request ANI level
The ANI level determines how well the device is coping with interference
in the wireless environment. Add support in the driver to query the ANI
level from the firmware and populate it for userspace entities to use.

Change-Id: I54934f670aa11737e11eca4d64e12f9dffb4f430
CRs-Fixed: 2554674
2019-11-26 05:30:13 -08:00
Abhishek Singh
f554e7a205 qcacld-3.0: Remove unused csr serialization APIs
Remove unused csr serialization APIs.

Change-Id: I80b126abbb3c52aa854343dcad6834835ae53038
CRs-Fixed: 2573395
2019-11-26 05:30:00 -08:00
Abhinav Kumar
335074e703 qcacld-3.0: Set wdev for vendor event BEACON_REPORTING_INDEX
Currently host sends wdev as NULL to cfg80211_vendor_event_alloc,
this allows userspace to process nl_cmd for
QCA_NL80211_VENDOR_SUBCMD_BEACON_REPORTING_INDEX event with P2P
interface instead of WLAN.

Set wdev with proper value to avoid processing nl_cmd with P2P
interface by userspace.

Change-Id: If0b99efdc76c1f89b6b07ee72edc6c5e2994a90c
CRs-Fixed: 2568776
2019-11-26 05:29:47 -08:00
Chaoli Zhou
a8ed32b5ed qcacld-3.0: Support coex parameter set to fw although chainmask set failure
In the adapter start phase, if meet chainmask configure
failure, and it should not block other parameters set
to fw, like some coex parameters that still needed.

Change-Id: I3c47ec233efc774e70205b27d2e0b5c6815bfe82
CRs-Fixed: 2572001
2019-11-26 05:29:31 -08:00
nshrivas
38a529c2ec Release 5.2.0.158N
Release 5.2.0.158N

Change-Id: Id6e563210418712d8c45c7e16bb05812166c0102
CRs-Fixed: 774533
2019-11-26 02:14:27 -08:00
Alok Kumar
939ca50cf2 qcacld-3.0: Update Datastall callbacks definition
Update definitions for datastall callback which posts
DataStall Events.

Change-Id: I1aadb438afeafe1f13114b1472b2280f0f713db4
CRs-Fixed: 2563194
2019-11-26 02:14:27 -08:00
Alok Kumar
a6bdc6f28d qcacld-3.0: Add feature flag for DataStall
Add feature flag WLAN_SUPPORT_DATA_STALL to
support host datastall.

Change-Id: I263da2de9af1f2a1d17027601fc625c31d5ad76d
CRs-Fixed: 2564310
2019-11-26 02:14:14 -08:00
Venkata Sharath Chandra Manchala
06f1f1225b qcacld-3.0: Enable Force wake
Enable Force wake feature through Kbuild
to access address range greater than BAR+4K
at runtime.

Change-Id: Ibe3c3b9b765c256493b1d5f9258e462760d45dc6
CRs-Fixed: 2557978
2019-11-26 02:13:59 -08:00
nshrivas
d21e90a057 Release 5.2.0.158M
Release 5.2.0.158M

Change-Id: Ia50a00c524815c9f958822c13433aeda645034ea
CRs-Fixed: 774533
2019-11-25 16:14:57 -08:00
Rakesh Pillai
e9c7f1d89b qcacld-3.0: Check vdev handle before returning opmode
The query for an interface opmode returns the opmode
of a particular interface without checking if that
particular virtual interface handle is valid or not.

Fix this by checking the virtual interface handle
before trying to get the operation mode for that
particular interface.

CRs-Fixed: 2572981
Change-Id: I05b5f88455d6374adb41a037d3c5dda905de1497
2019-11-25 16:14:56 -08:00
Wu Gao
6fc2b727cc qcacld-3.0: Register spectral to DBR in hdd_wlan_start_modules
Since it will takes long time to register spectral to Direct Buffer RX
component, and it will affect wmi ready event handling in pdev open.
So register spectral to dbr after wmi ready event handled.

Change-Id: I51844a708ed69144618e5b0846747601d4d96a9d
CRs-Fixed: 2560822
2019-11-25 16:14:41 -08:00
nshrivas
f888d1b161 Release 5.2.0.158L
Release 5.2.0.158L

Change-Id: I3256038a1a476e33a8b96706cab3decbfc48cc61
CRs-Fixed: 774533
2019-11-25 13:43:14 -08:00
hqu
19f7c76165 qcacld-3.0: Convert SME code legacy channel ID usage
Add op_freq info for structure host_log_ibss_pkt_type and
host_event_wlan_connection_stats before indicate diag event.

Change-Id: Icbb69c0d93062654984b63e11969d0819818c56e
CRs-Fixed: 2554198
2019-11-25 13:43:13 -08:00
nshrivas
e6e71d1d34 Release 5.2.0.158K
Release 5.2.0.158K

Change-Id: If7d24584b9ca7f212988823b0be36d241149a155
CRs-Fixed: 774533
2019-11-25 03:56:59 -08:00
Min Liu
818395d83e qcacld-3.0: Fix race condition when disconnecting
Fix one more scenario which is not covered by the change
Ib6a30057469d60efcc905d97b5234ea5a0e097a8

For some timing issue, HDD conn state is set to disconnecting
after hdd_association_completion_handler is called. So
hddDisconInProgress is not set and disconnect_comp_var will not
be completed in hdd_association_completion_handler.

To fix this issue, QDF_STATUS_CMD_NOT_QUEUED should be set only
when scan for ssid is in progress, with pSession->scan_info.profile
we can check if scan for ssid is in progress. So set
QDF_STATUS_CMD_NOT_QUEUED only when pSession->scan_info.profile
is set.

Also if disconnect from LIM was already in progress (i.e.
csr_is_conn_state_connected and
csr_is_roam_command_waiting_for_session are false and
pSession->scan_info.profile is set), return failure and wait for
WLAN_WAIT_DISCONNECT_ALREADY_IN_PROGRESS ms for the disconnect
to be completed.

Change-Id: Ib490021775a39614646f8e518860c878cc0fdaae
CRs-Fixed: 2564992
2019-11-25 03:56:58 -08:00
nshrivas
23b0263034 Release 5.2.0.158J
Release 5.2.0.158J

Change-Id: I0df6f9c715476239ffb6373e5685be2a026eeb82
CRs-Fixed: 774533
2019-11-24 22:34:33 -08:00
Sandeep Puligilla
425a583863 qcacld-3.0: Kbuild change to enable SCAN priority algorithm
Kbuild change to enable SCAN priority channel list algorithm.

Change-Id: I2dc24dd22e19da6db516332ae14edf4bc0f8cce4
CRs-Fixed: 2568889
2019-11-24 22:34:32 -08:00
Alan Chen
f1096fd358 qcacld-3.0: Replace calls to get_monotonic_boottime() with qdf wrapper
Some functions have been calling get_monotonic_bootime() directly, which
is now obsolete, having been replaced with ktime_get_boottime(). Change
calls to get_monotonic_boottime() with qdf_get_monotonic_boottime(),
which has now been updated to call ktime_get_boottime().

Change-Id: I9ce4bf2104077b6aacf841416997acb6f64b2841
CRs-Fixed: 2564544
2019-11-24 22:34:14 -08:00
nshrivas
ac14007074 Release 5.2.0.158I
Release 5.2.0.158I

Change-Id: Ia0f0581d13ce487021c6341f20af91524245e0ce
CRs-Fixed: 774533
2019-11-22 08:32:25 -08:00
gaurank kathpalia
44f1abad87 qcacld-3.0: Block 3 port concurrency for MCC
Currently the 3 port concurrency combinations
which are not PORed should not be allowed to
connect or beacon as it could lead to functional
issues.

Fix is to bloack the 3 port concurrency which are
not PORed.

Change-Id: I792d0484da96fc0ae994fafa2c6b3ac787016815
CRs-Fixed: 2567322
2019-11-22 08:32:25 -08:00
gaurank kathpalia
fa8b2e18be qcacld-3.0: Remove the logic to move ACS to pending
Currently in SAP+SAP scenario the second ACS request
is moved to pending and is completed when the first
ACS is completed, but since FW serializes the scan
so the reuest for second ACS if not kept in pending
and sent down to FW would automatically be serialized
which would reduce latency in second SAP bringup.

Remove the pending work logic and implementation
to improve latency in second ACS scan.

Change-Id: I439398b406e9371a8e443f5409bd3f25b3062501
CRs-Fixed: 2570259
2019-11-22 08:32:12 -08:00
nshrivas
da3581a25e Release 5.2.0.158H
Release 5.2.0.158H

Change-Id: I92b1adad76f2c3cf49863a835ecd17300879dddf
CRs-Fixed: 774533
2019-11-22 07:12:46 -08:00
Abhishek Singh
345be418c9 qcacld-3.0: Replace sme_session_id with vdev_id
Replace sme_session_id with vdev_id in SME and LIM.

Change-Id: I7a4a85c440d8d7d7a2a4163bc71776e288da0222
CRs-Fixed: 2569190
2019-11-22 07:12:45 -08:00
Abhishek Singh
5a2c42f803 qcacld-3.0: Replace smeSessionId with vdevid in SME, HDD and WMA
Replace smeSessionId with vdevid in SME, HDD and WMA files.

Change-Id: I3b2f5dd08dac2d107f89762cd763a032b4867d16
CRs-Fixed: 2569192
2019-11-22 07:12:28 -08:00
Arun Kumar Khandavalli
c1d2b4f520 qcacld-3.0: Detach peer deletion from vdev deletion
Self-peer holds a reference to the vdev object. As part
of new changes to send vdev delete to firmware as part
of vdev delete notification, the self peer reference needs
to be released 1st before sending the vdev delete to firmware.

Hence detach the peer deletion from the vdev deletion.

Change-Id: I8169fdd6cc6acadea9a89baf38bd273797e8bc9b
CRs-Fixed: 2565315
2019-11-22 07:12:11 -08:00
nshrivas
fca07e060a Release 5.2.0.158G
Release 5.2.0.158G

Change-Id: I2ecf7f0c62df158639599d6edb9c768f4a1ba9db
CRs-Fixed: 774533
2019-11-22 05:35:46 -08:00
Alan Chen
c255b80855 qcacld-3.0: Use hdd_adapter_iterate() in hdd_is_connection_in_progress()
The function hdd_is_connection_in_progress() currently uses
hdd_for_each_adapter(), which is not working properly, resulting in it
checking for the NDI adapter only in an infinite loop. To solve this,
switch to using the newly created hdd_adapter_iterate() and its callback
function.

Change-Id: Ib6176ee268a3bf63ba9d29387d485cea6fc6c4fd
CRs-Fixed: 2561558
2019-11-22 05:35:45 -08:00
Sourav Mohapatra
60c3b2b014 qcacld-3.0: Add checks to NS and ARP offload requests
Currently the offloading of the NS and ARP to firmware is inefficient;
redundant caching is performed even if offload is not sent. This causes
wastage of resources and increases code complexity.

Introduce checks before caching and offload to ensure that the mentioned
inefficiencies are taken care of.

Change-Id: I6013810e1e08adb15c801f4fc21e1b50371bacda
CRs-Fixed: 2569763
2019-11-22 05:35:35 -08:00
Alok Kumar
6220137b8d qcacld-3.0: Populate correct RSSI value for Monitor packets
In Monitor Mode, RSSI is always -96 for packets in TCPDUMP.
Populate the correct RSSI value in Monitor Mode.

Change-Id: Iba9fe7091043d27828f4742058ed3d389cde7e26
CRs-Fixed: 2568129
2019-11-22 05:35:23 -08:00
Amruta Kulkarni
453c4e20ac qcacld-3.0: Replace channel id to freq in lim_get_rf_band()
In lim_get_rf_band() replace channel id  to frequency

Change-Id: I5250e75a98353ce6c20756474c5a228b169336fd
CRs-Fixed: 2557859
2019-11-22 05:35:12 -08:00
nshrivas
39c7d07ea1 Release 5.2.0.158F
Release 5.2.0.158F

Change-Id: I96623ad368223665b2a7493cd8457bb4fc544843
CRs-Fixed: 774533
2019-11-22 04:12:18 -08:00
bings
534c403cf9 qcacld-3.0: Call csr_set_ldpc_exception with channel frequency
csr_set_ldpc_exception is already used channel frequency as input
parameter.

Call csr_set_ldpc_exception with channel frequency.

Change-Id: I0a30b558e570ed0e14f925d23241bdaf1b6f8a44
CRs-Fixed: 2568321
2019-11-22 04:12:18 -08:00
Liangwei Dong
4547b89cb6 qcacld-3.0: Fix VHT IE Missing for 2G SAP
Use "CDS_BAND_2GHZ" to get 2G vht phy capabilities.
Also use "total_mac_phy_cnt" to enumerate mac_phy_cap
list to get correct 2G phy caps.

Change-Id: Ibced9b07370932b65a35f43aa579b3c28ea6e23b
CRs-Fixed: 2568539
2019-11-22 04:12:00 -08:00
Guisen Yang
398679d975 qcacld-3.0: Change wlan defconfig to support cnss2 as dlkm
Tune the configure items to support cnss2 as dynamic loadable
kernel module.

Change-Id: I848f22fe54e1c8539422c7d0b3f0f2868ed5ead9
CRs-Fixed: 2546266
2019-11-22 04:11:42 -08:00
nshrivas
f9c58dd922 Release 5.2.0.158E
Release 5.2.0.158E

Change-Id: I4d1e2b92b0562015793e2abc4e21114ba9315937
CRs-Fixed: 774533
2019-11-22 02:22:32 -08:00