Commit Graph

25089 Commits

Author SHA1 Message Date
Madan Koyyalamudi
8a4a12f09f Release 5.2.1.9K
Release 5.2.1.9K

Change-Id: I9bb22005a210cdd0aed6e215703db04592d8339b
CRs-Fixed: 774533
2022-02-03 09:29:06 -08:00
VIJAY RAJ
3d11cb41da qcacld-3.0: Add OFDM Scrambler seed ini support
Add "gEnableUpdateScramSeed" ini support to send
WMI_PDEV_PARAM_EN_UPDATE_SCRAM_SEED command to firmware
to enable OFDM scrambler seed.

Change-Id: Ie5c244a7ea418eec0af1f576e8521804ee85a665
CRs-Fixed: 3106348
2022-02-03 09:29:06 -08:00
Madan Koyyalamudi
73a8b41fd9 Release 5.2.1.9J
Release 5.2.1.9J

Change-Id: I01278f7a18f316dc09c7e308fba93f37094441f8
CRs-Fixed: 774533
2022-02-03 03:03:02 -08:00
Arun Kumar Khandavalli
d36c7f4773 qcacld-3.0: send the thermal mitigation level to fw after idle-restart
When the modules are closed and thermal mitigation level of the system
is not honored by the wlan subsystem. So, during the wifi restart
query the thermal level of the system and configure the same to the
firmware.

Change-Id: I9edf4748475b85fe094c68ae067d81f578ccb40f
CRs-Fixed: 3101901
2022-02-03 03:03:02 -08:00
Madan Koyyalamudi
d48f291295 Release 5.2.1.9I
Release 5.2.1.9I

Change-Id: I246d7d3e2405a296e997ef19d4a775e2658fd848
CRs-Fixed: 774533
2022-02-02 18:20:05 -08:00
Jyoti Kumari
ffe9db4483 qcacld-3.0: Don't disable NAN if MLO connection presents
Don't disable NAN if MLO connection presents.

Change-Id: I698fdd69b14f9992cf9c2becfd50c80ec376a784
CRs-Fixed: 3120663
2022-02-02 18:20:04 -08:00
Jyoti Kumari
9236a22a04 qcacld-3.0: Change max concurrent connection in hmt
Currently, host allow maximum 3 concurrent connection.

Change the maximum concurrent connection to 4 to allow
MLO STA + NAN + NDP combination.

Change-Id: I82b8b018488f2f85e4d5431b8b23b1dd90a844b9
CRs-Fixed: 3119918
2022-02-02 18:20:00 -08:00
Madan Koyyalamudi
e4e6b153cd Release 5.2.1.9H
Release 5.2.1.9H

Change-Id: Icbdcd91e802519a32d7f1ce65439025b0a29e6f2
CRs-Fixed: 774533
2022-02-02 17:11:11 -08:00
Jyoti Kumari
b5c156c697 qcacld-3.0: Check MLO STA + NAN + NDP concurrency support
Check MLO STA + NAN + NDP concurrency support. Allow this
combination only If service cap and mlo sta presents.

Change-Id: I6fd0cae227eb8c4096444160b2450ad65dc51c30
CRs-Fixed: 3120645
2022-02-02 17:11:11 -08:00
Jyoti Kumari
e5b79679ef qcacld-3.0: Add MLO STA + NAN + NDI service cap support
Add MLO STA + NAN + NDI service cap support

Change-Id: I736a68552502f5fc1fb498cfd8db6bad99a75b5e
CRs-Fixed: 3120620
2022-02-02 17:11:06 -08:00
Madan Koyyalamudi
b8a4685538 Release 5.2.1.9G
Release 5.2.1.9G

Change-Id: I7c5efad61b69aaf9d341948839ea29baec39f3ec
CRs-Fixed: 774533
2022-02-02 05:39:14 -08:00
Abhishek Singh
301881e1c4 qcacld-3.0: Remove temporary comments from if_mgr API
Remove temporary comments from if_mgr_disable_roaming_on_vdev
and optimize it.

Change-Id: Iab36aff4779ac5761216e5abc596c8e980f9b059
CRs-Fixed: 3122127
2022-02-02 05:39:14 -08:00
Madan Koyyalamudi
cbe69651e0 Release 5.2.1.9F
Release 5.2.1.9F

Change-Id: I3870ddb3dba4662d64e325b802b3f22243642172
CRs-Fixed: 774533
2022-02-01 23:35:36 -08:00
Aditya Kodukula
e4b5c8fbdc qcacld-3.0: Add runtime sync resume before idle shutdown
WLAN Host timeout waiting for resume event from FW seems to
happen due to race condition between psoc idle shutdown and
runtime resume. So, to avoid that, add runtime sync resume
before calling the pld_idle_shutdown.

Change-Id: Ie4734e66e4cc887681262b596aa2e1c400aa6e43
CRs-Fixed: 3091738
2022-02-01 23:35:36 -08:00
Divyajyothi Goparaju
df1aa31d4b qcacld-3.0: move wlan_cfg80211_mc_cp_stats.h file from cmn to qcacld
Currently wlan_cfg80211_mc_cp_stats.h file is present at
qca-wifi-host-cmn/cmn/os_if/linux/cp_stats/inc.
With this change, move file to 	qcacld-3.0/os_if/cp_stats/inc
as this file contain MCC specific code.

Change-Id: Ia531094fb15ae86f5afab2b9c3bdde197feaac6c
CRs-Fixed: 3108266
2022-02-01 23:35:31 -08:00
Madan Koyyalamudi
3c49bafa00 Release 5.2.1.9E
Release 5.2.1.9E

Change-Id: I9ad6b682cac760e4ba8101bc1164a3a0cde5ce8c
CRs-Fixed: 774533
2022-02-01 21:04:07 -08:00
Srinivas Dasari
f2d0d8a5c8 qcacld-3.0: Vote for up/down only if add/remove peer is successful
Currently, wma_add_sta status is not considered while voting for
link up in case of NDI. But if wma_add_sta fails to add a peer,
this link vote leads to stale link vote up.
Same is the case for wma_delete_sta and the return status is not
considered. This leads to a vote down of link for a non-existing
peer if peer is not present.

Below scenario leads to this situation,
1. Enable NAN and have an NDP connection between two devices.
2. Try to establish another NDP between the same devices but
   don't respond for the request on the responder side.
3. NDP timeout happens in firmware and firmware sends an
   NDP CONFIRM failure with timeout reason. This event carries
   number of NDP-peers on the peer also and firmware sends
   this as 0.
4. Driver removes the peer entry as firmware mentioned
   no.of peers left as 0. It shall vote down the link also.
5. Firmware sends NDP_END for the first NDP connection and host
   tries to delete the peer entry as part of this. But the peer
   got deleted @step-4 already and wma_delete_sta returns a
   failure now.
   As the peer is not present, corresponding link vote-down also
   should be skipped.

To avoid these, consider the return status of wma_add_sta for
link vote up and consider the return status of wma_delete_sta for
link vote down.

Change-Id: Iea40961366307f57b4f969245c0732d685d5e415
CRs-Fixed: 3108455
2022-02-01 21:04:06 -08:00
Madan Koyyalamudi
f4cd247e50 Release 5.2.1.9D
Release 5.2.1.9D

Change-Id: I375905b102ed8a429e283a744e0b1b85583ca588
CRs-Fixed: 774533
2022-02-01 19:44:17 -08:00
Jyoti Kumari
c2d69895dd qcacld-3.0: Modify pcl table to allow MLO STA + NAN + NDP combo
Modify pcl table to allow MLO STA + NAN + NDP combination

Change-Id: I9fdf53df47f0e040fdd3368112095a7582f8f163
CRs-Fixed: 3120648
2022-02-01 19:44:17 -08:00
Madan Koyyalamudi
9e1fbb08c3 Release 5.2.1.9C
Release 5.2.1.9C

Change-Id: I2b55f8fe00f58aab4b93346d62f7041ab3f2ea44
CRs-Fixed: 774533
2022-02-01 11:50:56 -08:00
Amruta Kulkarni
5452c309d5 qcacld-3.0: Add check before mem free
During legacy to mlo roaming,lim join req memory
is malloced and new pe session is created for
link vdev. In success case, pe_roam_sync_callback(),
deletes the old pe session and lim_join_req
memory will be freed.

In lim_cm_fill_link_session() free lim_join_req
only in case of failures.

Change-Id: I1b156a0dd778880c3a9664fa333d34eb18afcee1
CRs-Fixed: 3121153
2022-02-01 11:50:56 -08:00
Madan Koyyalamudi
dc4ee05e65 Release 5.2.1.9B
Release 5.2.1.9B

Change-Id: I3b8b3afb2c6186e677c64c98733ecdfde405fd2f
CRs-Fixed: 774533
2022-02-01 10:40:17 -08:00
Rachit Kankane
0b6247975c qcacld-3.0: Add support for EasyMesh ACS
Add support for below EasyMesh specific commands

1. To set user specified channels in the acs channel list
2. To trigger ACS
3. To get the ACS report

Change-Id: I1090b9a86d62eddc9954b70835c7496e5a614757
CRs-Fixed: 3080222
2022-02-01 10:40:17 -08:00
Madan Koyyalamudi
402d32c920 Release 5.2.1.9A
Release 5.2.1.9A

Change-Id: I619b4f86f8fe285d73629e14c2b1fcec18761a24
CRs-Fixed: 774533
2022-01-31 17:38:47 -08:00
Srinivas Dasari
d045b6f8d5 qcacld-3.0: Update roam complete to modules only for MLO sta vdev
MLO roam sync happens first for link vdevs and then for sta vdev.
Update roam_sync-complete data to other modules(if_mgr, osif,
TDLS, P2P, firmware,..) only for sta vdev. Skip the same for all
link vdevs.

Change-Id: Ib01c7cd8d9c0bd0e7b4b48914576410aea6baa5c
CRs-Fixed: 3104553
2022-01-31 17:38:47 -08:00
Madan Koyyalamudi
3647ac5aec Release 5.2.1.9
Release 5.2.1.9

Change-Id: Ie6cb0f2ff004585d3ef7264e9bfdd2f107c2810b
CRs-Fixed: 774533
2022-01-31 12:55:06 -08:00
Srinivas Dasari
6d7dd83436 qcacld-3.0: Abort roaming on link as well for MLO
Currently, roaming is not aborted in failure cases on
the link vdev and it's aborted only on primary vdev.
It results in link vdev not being cleaned up when roaming
fails due to some reason.

Change-Id: I0eb4b1da06a295935ff95be38228a5cacf127a73
CRs-Fixed: 3096648
2022-01-31 12:55:06 -08:00
Srinivas Dasari
071e0d2559 qcacld-3.0: Send LINK_DOWN event to CM upon MLO to legacy roaming
Host driver creates two vdev as part of initial connection.
If the connected AP supports MLO, both(sta and link) of the vdevs
would be moved to UP state.
Firmware sends roam sync indication to host when it roams to a
new AP. The event carries new AP info and the new AP could be
legacy AP. If the current AP is MLO and new(roamed) AP is non-MLO
AP, move the link vdev state to INIT as it's in UP state.

Change-Id: Idd9638ea446306b0309e5127f08e3dbc1ec9edc2
CRs-Fixed: 3106038
2022-01-31 12:55:00 -08:00
Madan Koyyalamudi
ef1131d272 Release 5.2.1.8Z
Release 5.2.1.8Z

Change-Id: I20be9d79d951f7b5f614c6f4ae8e97a4281ccb9a
CRs-Fixed: 774533
2022-01-31 10:58:52 -08:00
Nirav Shah
fe4c865386 qcacld-3.0: Send correct tx_chain/rx_chain value
Send correct tx_chain/rx_chain value to hdd_populate_vdev_chains
in hdd_set_dynamic_antenna_mode.

Change-Id: I836e70e989024be49d0bceadc0497368e87e3901
CRs-Fixed: 3118832
2022-01-31 10:58:52 -08:00
Madan Koyyalamudi
447d98504f Release 5.2.1.8Y
Release 5.2.1.8Y

Change-Id: I3319fb965e6ddef316230031c3770f010e905e58
CRs-Fixed: 774533
2022-01-30 11:04:16 -08:00
Divyajyothi Goparaju
2b18be53ba qcacld-3.0: Remove repeated memfree
Currently inside wlan_cfg80211_mc_infra_cp_free_bmiss_stats
memfree of cp_stats along with bmiss_cp_stats is present,
again after the wlan_cfg80211_mc_infra_cp_free_bmiss_stats
function repeated memfree of cp_stats is present

Remove cp_stats free from wlan_cfg80211_mc_infra_cp_free_bmiss_stats
function.

Change-Id: I306e06455ef1ac92043ee8412cf1cecd01e9dfbb
CRs-Fixed: 3115379
2022-01-30 11:04:15 -08:00
Madan Koyyalamudi
3327d240fa Release 5.2.1.8X
Release 5.2.1.8X

Change-Id: Ie454fab28ba84203c33067354cb0718298062863
CRs-Fixed: 774533
2022-01-28 20:53:50 -08:00
Amruta Kulkarni
a0d98934c7 qcacld-3.0: Handle more than one ROAM_SYNC_FRAME event
FW can send more than one wmi_roam_sync_frame_event_id before
roam sync event,change done in host code to handle this scenario.

Change-Id: I1ab02ed3e984948b8e57a2f9a2000b9f9493629c
CRs-Fixed: 3116569
2022-01-28 20:53:50 -08:00
Madan Koyyalamudi
c506dd0386 Release 5.2.1.8W
Release 5.2.1.8W

Change-Id: I64a2142fdc048eaf8f7cb0e0f266324e17cbd9b8
CRs-Fixed: 774533
2022-01-28 10:58:05 -08:00
Surabhi Vishnoi
ef01f40bf7 qcacld-3.0: Reduce the log level to optimise the roam time
TWT initialisation will fail for each non 11ax connection
so an error log is not needed if peer object for TWT is not found.

Also, RIC data is not mandatory in FT session, so if its not
present, log a debug level print instead of error level.

Change-Id: I7fec9f88aa68b2ae947e34a1aede311e9fed2d05
CRs-Fixed: 3117535
2022-01-28 10:58:05 -08:00
Madan Koyyalamudi
bd69fc5b82 Release 5.2.1.8V
Release 5.2.1.8V

Change-Id: I55bb06ff8c20ec1ca033adce7b4a68a6a70ee601
CRs-Fixed: 774533
2022-01-28 08:59:37 -08:00
nakul kachhwaha
0926ff1de3 qcacld-3.0: Add son os_if APIs to trigger object create and destroy
Add and export os_if APIs to trigger object creation and deletion.
SON module will invoke these APIs during load/unload.

Change-Id: I1fe6ab335862b2b67affc5201ac6eae972b0a863
CRs-Fixed: 3104096
2022-01-28 08:59:36 -08:00
Madan Koyyalamudi
18ed71b69f Release 5.2.1.8U
Release 5.2.1.8U

Change-Id: I0af3c4c8dc857d0859bb0264a13d4487f358553d
CRs-Fixed: 774533
2022-01-28 07:39:40 -08:00
Balaji Pothunoori
2274d7f8ee qcacld-3.0: update sap interface enum check to bit mask
This change is to update sap interface restriction mask
enum check to NL80211_IFTYPE_AP bit mask.

Change-Id: If5a6748425502b1f27654a2e6bfa0e5c2b8554de
CRs-Fixed: 3118953
2022-01-28 07:39:40 -08:00
Madan Koyyalamudi
1310b9a71c Release 5.2.1.8T
Release 5.2.1.8T

Change-Id: I6021bf6ac71a4fb34fef9c28bb8e137d7cb4e498
CRs-Fixed: 774533
2022-01-28 05:20:33 -08:00
Ananya Gupta
33a6064363 qcacld-3.0: Disable IPA offload driver compilation
Disable WLAN IPA offload compilation in WLAN driver
for MSM platform.

Change-Id: I4e22126f785405dc20b0c87afb4d3594d2a9dfd1
CRs-Fixed: 3116333
2022-01-28 05:20:32 -08:00
Vishal Miskin
24af7b3137 qcacld-3.0: Limit STA connection in 80MHz BW for HE/VHT mode
Extend gStaPrefer80MHzOver160MHz ini to limit STA connection in
80MHz BW for HE/VHT mode. In case of XR use-case, higher
throughput is not needed but higher reliability is expected.
This ini helps in XR glass device to always connects in 80MHz.

Change-Id: Icefd2d54214351c04dd7420269c308cec2b5ae31
CRs-Fixed: 3117216
2022-01-28 05:20:27 -08:00
Madan Koyyalamudi
ef9fbdbc23 Release 5.2.1.8S
Release 5.2.1.8S

Change-Id: I055c28aead160a01bfbf99610943522886ab5b9b
CRs-Fixed: 774533
2022-01-27 23:00:38 -08:00
abhinav kumar
f653ddf2fa qcacld-3.0: Send channel list to fw in case of PNO
In case of PNO scan, If firmware supports
WMI_SERVICE_PNO_SCAN_CONFIG_PER_CHANNEL, it uses the
upper-12 bits(bit-20 to bit 32) of channel_list for
flags and lower 20-bits(bit-0 to bit-19) for frequency.
If firmware doesn't support it, then channel_list holds
the frequency value only.

Fix is to fill the flags and frequency accordingly.

Change-Id: I8473072069da4532406ce720a0070a665e29b1af
Crs-Fixed: 3103939
2022-01-27 23:00:38 -08:00
Jinwei Chen
e9e0ad3744 qcacld-3.0: use feature macro to enable PLD lock for window register
Use feature macro WINDOW_REG_PLD_LOCK_ENABLE to enable PLD lock for
window register accessing.

Change-Id: If839494691fa1e3093ddb762f525b934e818b62e
CRs-Fixed: 3116195
2022-01-27 23:00:32 -08:00
Madan Koyyalamudi
0d15c1d7aa Release 5.2.1.8R
Release 5.2.1.8R

Change-Id: I5a97054effe22c12b9a01516a0e44138ebf1036d
CRs-Fixed: 774533
2022-01-27 05:45:51 -08:00
Bing Sun
9bf9995b68 qcacld-3.0: Add print APIs for SON
Add print api definitions for SON

Change-Id: I87165523a7e3e4490ebf3eb4a50b3fe83784ee95
CRs-Fixed: 3059198
2022-01-27 05:45:51 -08:00
Madan Koyyalamudi
975aeefcc4 Release 5.2.1.8Q
Release 5.2.1.8Q

Change-Id: Ic4df1b2a60e90efdb9cc8e8d7bf0a0acfbb42ae2
CRs-Fixed: 774533
2022-01-27 03:12:29 -08:00
Surya Prakash Sivaraj
83e21ad43e qcacld-3.0: Compile mlme_utils files
Compile serialization API files under mlme_utils.

Change-Id: I81f3c4a9496f2c8d7e93c1cc745a6a83e4b4e98d
CRs-Fixed: 3113392
2022-01-27 03:12:29 -08:00