Commit Graph

21973 Commits

Author SHA1 Message Date
Utkarsh Bhatnagar
c0acad4bc6 qcacld-3.0: Add debug prints in SA query response
Add debug print to log the details sent in OCV frame
in SA query Response.
Also, remove additional line to print mac address of
peer.

Change-Id: Ia2114b69579d118b0ccc4fe9798caf2f855c895f
CRs-Fixed: 2860085
2021-01-28 08:52:10 -08:00
snandini
59346b290d Release 5.2.0.220K
Release 5.2.0.220K

Change-Id: I78224e424fb8f52ca35f38bd43aa6e991dec7e06
CRs-Fixed: 774533
2021-01-28 04:17:58 -08:00
Alan Chen
b52dadc0b5 qcacld-3.0: Split SAP and GO modes ini
Rename existing INI to enable_bus_suspend_in_sap_mode and define a
new enable_bus_suspend_in_go_mode. Also define new APIs
wma_is_vdev_in_sap_mode and wma_is_vdev_in_go_mode.

Change-Id: If38c4db7b3d1f7323df45d9a7d80a02a44e7ca41
CRs-Fixed: 2864596
2021-01-28 04:17:57 -08:00
snandini
de3787f386 Release 5.2.0.220J
Release 5.2.0.220J

Change-Id: I07f4b9fc1080d4422616fc372ff5db0ed8a64216
CRs-Fixed: 774533
2021-01-27 23:55:18 -08:00
Alan Chen
beb98ec261 qcacld-3.0: Define a new wakelock for WPS probe request wakeup
Define a new wakelock for WPS probe request wakeup.

Change-Id: Idd39664dc70db4dd15594f77846b74c36049659c
CRs-Fixed: 2863611
2021-01-27 23:55:18 -08:00
Alan Chen
67371d089e qcacld-3.0: Add a log for generic wake up reason
Add a log for generic wake up reason.

Change-Id: I83c3d89d334e3688529ff908e072ca681d0ad579
CRs-Fixed: 2863479
2021-01-27 23:55:14 -08:00
snandini
231d27d1ca Release 5.2.0.220I
Release 5.2.0.220I

Change-Id: I275616fbe4164ab5d4fa5b3e570f5059e4b7b1b8
CRs-Fixed: 774533
2021-01-27 21:50:52 -08:00
Yu Wang
d91ac3bd8e qcacld-3.0: increase the max supported number of MAC ACL
Extend type of the variables for the number of MAC addresses
in ACL, from 255(uint8_t) to 65535(uint16_t).
With this change, it can support up to 65535 MAC addresses in
theory, after modifying the MACRO 'MAX_ACL_MAC_ADDRESS'.

Change-Id: I32288e46ea4590ebaaa143b2cdca7cefd14997c4
CRs-Fixed: 2856707
2021-01-27 21:50:52 -08:00
Gururaj Pandurangi
8553c2b4d2 qcacld-3.0: Add TPE IE to beacon frame structure
Add TPE IE to beacon frame struct tDot11fBeacon.

Change-Id: Ibc6bf166ee2830cc253bde3788569f5a49225458
CRs-Fixed: 2864125
2021-01-27 21:50:48 -08:00
snandini
41028db94f Release 5.2.0.220H
Release 5.2.0.220H

Change-Id: If1aac62c5f2f2e3fd864e917c24ac248f877aaec
CRs-Fixed: 774533
2021-01-27 17:11:26 -08:00
Abhishek Ambure
467050ebbd qcacld-3.0: Save hlp info in mlme priv
Host moves hlp info from csr session to mlme priv object. Modules need
hlp info now use hlp info from mlme priv object

Change-Id: Ieffa749635239f72337af685707acccfd666a58a
CRs-Fixed: 2862315
2021-01-27 17:11:25 -08:00
snandini
4afda23e63 Release 5.2.0.220G
Release 5.2.0.220G

Change-Id: I35644f4c507fccabba527b619b6e570bff55aab8
CRs-Fixed: 774533
2021-01-27 12:56:25 -08:00
gaurank kathpalia
2eb497d7a3 qcacld-3.0: Fix fils connection and add debug
Fix fils connection and add debug.

Change-Id: I388d96290f4450c33270c37054fde8060f599f40
CRs-Fixed: 2864257
2021-01-27 12:56:24 -08:00
snandini
cfcebcd1af Release 5.2.0.220F
Release 5.2.0.220F

Change-Id: Ib5d96e437726aac63286a0f46d530d903308059a
CRs-Fixed: 774533
2021-01-27 10:50:03 -08:00
Ashish Kumar Dhanotiya
500b5daf3f qcacld-3.0: Send connect info diag event for connection manager also
Currently connection manager code flow does not send connect info
diag event, to achieve this update csr connect info api in such a
way that connectoin manager code flow can also use it to send
connect info diag event.
Also update the function csr_get_sta_cxn_info to get the required
information from vdev instead of roam profile.

Change-Id: Ib9bb3f06052416f6edb168767dbe2a4c80fae765
CRs-Fixed: 2862244
2021-01-27 10:50:03 -08:00
snandini
dfc7112702 Release 5.2.0.220E
Release 5.2.0.220E

Change-Id: Iac9c540ee68f4fc4c065f114b4da7fd782897b33
CRs-Fixed: 774533
2021-01-27 06:10:51 -08:00
Bapiraju Alla
346fc2e70f qcacld-3.0: Don't unregister vdev sync after pre CAC success
Currently , pre CAC adapter will be closed during SAP interface down.
But pre_cac vdev sync is being unregistered after pre CAC success.
Because of this, pre CAC adapter close will fail and the same pre CAC
adapter context will be retained for subsequent SAP start. As a result
pre CAC request may fail after SAP restart.

To address this, don't unregister vdev sync after pre CAC success.

Change-Id: I2d5969274de290bd86cd510ed2a3ff4e095042b0
CRs-Fixed: 2861298
2021-01-27 06:10:51 -08:00
snandini
8c09389ea0 Release 5.2.0.220D
Release 5.2.0.220D

Change-Id: I8a1b22cbe3b3024a4a1542acc8a9426b928cbfa9
CRs-Fixed: 774533
2021-01-26 22:31:42 -08:00
Utkarsh Bhatnagar
f100fb9de7 qcacld-3.0: Don't use Auto API to get Op class from freq
Use wlan_reg_freq_width_to_chan_op_class() instead of
wlan_reg_freq_width_to_chan_op_class_auto() to convert freq
to Operating class.
As the auto API forces the non-6Ghz channel to use the channel
map class. With auto API, in case of 6Ghz band, only those classes
specified in global operating class can be used

For OCV validation , always use global opclass as mandated by spec

Change-Id: I8ae776199f3b886f3c9cec83070294fca2135b50
CRs-Fixed: 2848638
2021-01-26 22:31:42 -08:00
snandini
cbb04c6242 Release 5.2.0.220C
Release 5.2.0.220C

Change-Id: Iefee2b770fc9d12dd4f1c1b252626b99ee1d7744
CRs-Fixed: 774533
2021-01-26 19:55:19 -08:00
Liangwei Dong
7f80d9f64b qcacld-3.0: Revert wdev->mtx lock in channel switch
Revert wdev->mtx locking in commit
I0dd415a5576d29e3a7729768c8482205677ca3e7.
For STA eCSR_ROAM_STA_CHANNEL_SWITCH message, the sme_global_lock
is acquired in schedule thread alreadly. If we acquire wdev->mtx
in same thread, it will break the lock order and cause deadlock
issue. That is because the kernel -> Driver hdd request will
acquire wdev lock and then sme lock.

Change-Id: I6737040b596161c57589a5b2aac1a53754a8cba5
CRs-Fixed: 2862879
2021-01-26 19:55:19 -08:00
Min Liu
35fc367436 qcacld-3.0: Clear acs_in_progress flag when it is completed
Clear acs_in_progress flag when DCS initiated ACS is completed.

Change-Id: I2e77aa30e4ae6aedf047dab3b4f59741e06ea0fc
CRs-Fixed: 2855089
2021-01-26 19:55:14 -08:00
snandini
00143d237b Release 5.2.0.220B
Release 5.2.0.220B

Change-Id: I915c2f70ff4e94198b7ecc49bc325f2566383125
CRs-Fixed: 774533
2021-01-26 10:55:42 -08:00
Pragaspathi Thilagaraj
6b23b6076c qcacld-3.0: Strip the fixed fields of assoc req/rsp in connect result
Driver sends the assoc request and association response frame to
the kernel/userspace on connection success & association failure
cases. In successful connection case, the driver strips the fixed
fields and sends only the Association request/response IEs. But
in association failure case driver includes the Fixed fields in
the connect result.

Don't include the fixed fields in the association request/
response frame sent in the connect result.

Change-Id: I2e17df1669a8790253b1dde91f5ed100c1d3e6d9
CRs-Fixed: 2856213
2021-01-26 10:55:42 -08:00
snandini
4bd915e008 Release 5.2.0.220A
Release 5.2.0.220A

Change-Id: Iba633f80c4799e92c9b662a48ca955ea78c499b6
CRs-Fixed: 774533
2021-01-25 11:59:50 -08:00
Balaji Pothunoori
5e62199346 qcacld-3.0: fix indentation for compilation warning
Fix indentation for compilation warning

Change-Id: I74e5994c6aacef0f02883e49a8ab502ea7ee0463
CRs-Fixed: 2862473
2021-01-25 11:59:50 -08:00
snandini
9640c1261e Release 5.2.0.220
Release 5.2.0.220

Change-Id: I1801dc132782b831a1de3c3cb3f56cc9fe5b956f
CRs-Fixed: 774533
2021-01-25 07:02:17 -08:00
Ashish Kumar Dhanotiya
fef818649e qcacld-3.0: Use connection manager api to get connection state
Currently api hdd_conn_get_connection_state does not use
connection manager to get the connection state. With this
change use connection manager api to get the connection
state.

Change-Id: I313e353cf1ae8f233044645daeab9fb5bdb6b64e
CRs-Fixed: 2859574
2021-01-25 07:02:17 -08:00
snandini
b1bbae313d Release 5.2.0.219Z
Release 5.2.0.219Z

Change-Id: Ib69b43c40d029ac8eaddf356e894921f522b9a14
CRs-Fixed: 774533
2021-01-25 04:22:22 -08:00
Lihua Liu
eda3d92415 qcacld-3.0: Dump wmi/event record after FW down
On third party platforms. there is no crashdump.
Such logs are helpful for analysis of crash issue.
For debuging purpose, dump wmi cmd/event/credit
record history when PLD_FW_DOWN event is received.

CONFIG_DUMP_LOG_BUF_CNT is used to limit the number
of logs. it's 0 by default on the platforms like LA
where crashdump is available.

Change-Id: I136e39322b32ff43b88765f390a7393432ca7daa
CRs-Fixed: 2857691
2021-01-25 04:22:22 -08:00
snandini
09efc3a707 Release 5.2.0.219Y
Release 5.2.0.219Y

Change-Id: I73ee131b5687ede50659942f1dfea69b3dcd200c
CRs-Fixed: 774533
2021-01-25 02:17:49 -08:00
Pragaspathi Thilagaraj
0fef58d6fb qcacld-3.0: Allow TWT teardown after roaming
Allow TWT teardown event from firmware after roaming or peer
initiated teardown to indicate the value to userspace. Also
make changes to send the wake duration value in microseconds
scaled with the TWT wake duration multiplication factor.

Change-Id: Ibcd0c51b1930094e0efc3832db5b8aadaa5748ea
CRs-Fixed: 2859775
2021-01-25 02:17:49 -08:00
snandini
9098dd34ca Release 5.2.0.219X
Release 5.2.0.219X

Change-Id: Ic8e8fc4a39cbf8383bb1eaa317fcee5607fa37c9
CRs-Fixed: 774533
2021-01-25 00:06:09 -08:00
Srinivas Dasari
6090d2a171 qcacld-3.0: Allow/reject WAPI concurrency based on firmware support
Currently, host driver rejects any concurrent session with other
security modes(e.g. NAN) when WAPI is present. This is due to a
limitation on older platforms. But newer platforms(e.g. Lithium
architecture) support WAPI+other security modes concurrently.
Firmware advertises service capability WAPI_CONCURRENCY_SUPPORTED if it
supports other security modes when WAPI is active. Get the capability
and accept/reject concurrent sessions.

Change-Id: I0e004e1220afd9c42869589364606c9f729798f7
CRs-Fixed: 2844799
2021-01-25 00:06:09 -08:00
snandini
efa4a606cb Release 5.2.0.219W
Release 5.2.0.219W

Change-Id: I74e5994c6aacef0f02883e49a8ab502ea7ee04a2
CRs-Fixed: 774533
2021-01-24 02:52:02 -08:00
hqu
46d7e82b98 qcacld-3.0: Move code from csr to rso for 11k offload
Move code from csr to rso for 11k offload.

Change-Id: I8930ca381a8af45e39d3ed69cb1614ccc363f766
CRs-Fixed: 2861183
2021-01-24 02:52:02 -08:00
snandini
5fe53b2b73 Release 5.2.0.219V
Release 5.2.0.219V

Change-Id: I893af5309daca372860a5ef8deafb97177ad4878
CRs-Fixed: 774533
2021-01-23 21:39:11 -08:00
Alan Chen
a9a470290f qcacld-3.0: Add PMO config for PCIe bus suspend in beaconing mode
By default, PCIe bus suspend is not allowed in beaconing modes
(SAP/P2PGO/NDP) with one or more clients connected. Some OEMs need
PCIe bus suspend in this mode. Hence, add a config item to serve
both types of requests.

Change-Id: Ia2d990f17f605036d43db75ecd4df57701b4ba1f
CRs-Fixed: 2860495
2021-01-23 21:39:11 -08:00
snandini
000b53fb15 Release 5.2.0.219U
Release 5.2.0.219U

Change-Id: Ie9d2c9c0c56e81c280fef5fde7e72510acafc387
CRs-Fixed: 774533
2021-01-23 04:48:36 -08:00
Rajasekaran Kalidoss
09157aa43a qcacld-3.0: Add support for TWT clear statistics
Add support to send TWT clear statistics request
to firmware.

Change-Id: I435b743955d44a02235b92f98beb302a6a21f036
CRs-Fixed: 2855624
2021-01-23 04:48:36 -08:00
snandini
87e90432e3 Release 5.2.0.219T
Release 5.2.0.219T

Change-Id: If4dc498f30989c8fa9bb65dec265dbc1c243e660
CRs-Fixed: 774533
2021-01-23 00:51:31 -08:00
gaurank kathpalia
a033b3aad7 qcacld-3.0: Fill WPA and WAPI IE in LIM
Fill WPA and WAPI IE in join req in LIM
if profile matches with the same.

Change-Id: I4dafa57ab4a5bfa717f94138bd3b0b91700fada8
CRs-Fixed: 2861566
2021-01-23 00:51:31 -08:00
snandini
d3eaca2a66 Release 5.2.0.219S
Release 5.2.0.219S

Change-Id: I7b13d1ff89d4ffea108de5ae0916ee13610d8354
CRs-Fixed: 774533
2021-01-22 18:22:29 -08:00
Ashish Kumar Dhanotiya
203218df88 qcacld-3.0: Set sme power stats response cb and context to NULL
Currently if the power stats command is invoked from multiple
threads, then the thread which invokes the command at the last
will overwrite the request manager cookie in the mac context.
Now when host gets response for these multiple requests, hdd
calback hdd_power_debugstats_cb will be invoked for each response
with the same cookie. in hdd_power_debugstats_cb host allocates
memory for the private data and this memory will also be
allocated multiple times and the last allocations will overwrite
the initial memory allocs which will lead to the memory leaks.

To address above issue set the sme power stats response cb and
context to NULL so that the callback is invoked only once.

Change-Id: I6fae0f96771ba505f06c1be14a8907b56efede24
CRs-Fixed: 2857855
2021-01-22 18:22:29 -08:00
snandini
9e4a67af2d Release 5.2.0.219R
Release 5.2.0.219R

Change-Id: I42567c7906a70f971821066860bd8391ef23395b
CRs-Fixed: 774533
2021-01-22 16:12:07 -08:00
Surabhi Vishnoi
a3e7261f12 qcacld-3.0: Add support for RX offload pkts in packet capture mode
Add support to process RX offload packets in lithium for
packet capture mode.

Change-Id: Ic307d83f579bf53a025b4b4c159e24de97e2dde6
CRs-Fixed: 2856783
2021-01-22 16:12:07 -08:00
snandini
49b52bf5a0 Release 5.2.0.219Q
Release 5.2.0.219Q

Change-Id: I61175d8c236441768062934c33e70b1b75e33508
CRs-Fixed: 774533
2021-01-22 14:10:58 -08:00
gaurank kathpalia
4532215ea4 qcacld-3.0: Fill SSID and vht ch width in connected profile
Fill SSID and vht ch width in connected profile.

Change-Id: I3bd8629ea043c39d18adb35611b09235d2b1d4a5
CRs-Fixed: 2861195
2021-01-22 14:10:57 -08:00
Bapiraju Alla
f73c0ba653 qcacld-3.0: Do not allow pre cac during CSA
After pre cac succeeds, driver triggers regulatory change
to user space then starts CSA process. As a result hostapd
triggers another pre cac to driver while SAP performs CSA,
this makes unexpected state in driver, therefore subsequent
pre cac will not be correctly performed.

To address this, reject the pre cac request during CSA.

Change-Id: I82187d64bf94d3bdfab84b873c2ab438a4037ea9
CRs-Fixed: 2859289
2021-01-22 14:10:52 -08:00
gaurank kathpalia
bb393cba13 qcacld-3.0: Add logic to send RSO start/stop from conenction manager
Add logic to send RSO start and stop from conenction manager.

Change-Id: I6a592e977641d47345233732ed54d356e0ea6a28
CRs-Fixed: 2860870
2021-01-22 14:10:47 -08:00