コミットグラフ

24923 コミット

作成者 SHA1 メッセージ 日付
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
Madan Koyyalamudi
b18b021d05 Release 5.2.1.8P
Release 5.2.1.8P

Change-Id: If5a6748425502b1f27654a2e6bfa0e5c2b8555d9
CRs-Fixed: 774533
2022-01-26 20:47:11 -08:00
Yu Ouyang
675b9de61a qcacld-3.0: Idle shutdown in suspend
To support shutdown WLAN when system goes into suspend, add idle shutdown
in cfg80211 suspend function.

Before suspend/shutdown, user space should stop adapter. And after resume,
user space should restart adapter. This can ensure user and kernel space
to sync adapter state.

Idle shutdown must be processed in system active, so schedule delayed
work to execute it. After calling schedule, retrun EAGAIN directly to PM.

Change-Id: I08818517d05e7866d50e3f92cfdc9fa1a4d0e63f
CRs-Fixed: 3081480
2022-01-26 20:47:11 -08:00
Madan Koyyalamudi
f115d21941 Release 5.2.1.8O
Release 5.2.1.8O

Change-Id: I65897f0c25f22283e8055ea26aa34fe06be2f828
CRs-Fixed: 774533
2022-01-26 01:04:12 -08:00
Wu Gao
5924885bea qcacld-3.0: Set vdev tx data callback properly
When WLAN_FEATURE_DYNAMIC_MAC_ADDR_UPDATE enabled and user space sets
mac address, host will detach vdev and attach again without setting
vdev tx data callback. Then host tx TDLS discovery request timeout
since lim_mgmt_tdls_tx_complete isn't called, finally TDLS link
establish failed. This change set vdev tx data callback after dp vdev
detach and attach done.

Change-Id: Iada58ba2df0612a92503ccfa5f246f7cca9db9ad
CRs-Fixed: 3112831
2022-01-26 01:04:12 -08:00
Jingxiang Ge
60b9b77da6 qcacld-3.0: Enable ce debug history always
Always enable ce debug history feature, but there
is difference for perf&debug build.
On perf build, only ce2/ce3 histroy is enabled.
And for ce debug history memory init/deinit happens
when driver is loading&unloading, even it use when start
module, this will help to check some cases when
stop_module happens.

Change-Id: I4b825f91bc9ede8372291f9d94cb7fae23942a49
CRs-Fixed: 3058735
2022-01-26 01:04:06 -08:00
Madan Koyyalamudi
918cee19d2 Release 5.2.1.8N
Release 5.2.1.8N

Change-Id: I0257d65208a677616e70ba5354c38dd82d66fb16
CRs-Fixed: 774533
2022-01-25 14:57:07 -08:00
Mohit Khanna
2edfcd8f2c qcacld-3.0: Set TX_NOTIFY_COMP flag for all STA pkts
Currently the flag QDF_NBUF_CB_TX_EXTRA_FRAG_FLAGS_NOTIFY_COMP is being
set selectively. Set this flags for all TX  packets in station mode to
allow TDLS packet accounting in TX completion path.

Change-Id: I6f5e3ccad079275bbf8aacd121a3b67f9eaf9e4b
CRs-Fixed: 3111051
2022-01-25 14:57:07 -08:00
Madan Koyyalamudi
bdf5f4a924 Release 5.2.1.8M
Release 5.2.1.8M

Change-Id: I19a8cb5f8eb01965604c3be83696f046429a5082
CRs-Fixed: 774533
2022-01-25 10:54:06 -08:00
Utkarsh Bhatnagar
8edf9f4099 qcacld-3.0: Remove RL for policy_mgr_init_sbs_fw_config() logs
Remove Rate limited for logs in policy_mgr_init_sbs_fw_config()
when updating FWconfig bits.
This function is called at the time initialization and will only
be called once when Fw config Bits are updated with SBS
capabilities.

Change-Id: I68c7d76f85f12d220f85a46dca78ad8463bb5576
CRs-Fixed: 3116571
2022-01-25 10:54:06 -08:00
Ashish
e6da9ca017 qcacld-3.0: Resume all components in case of suspend failure
Currently if driver suspends all the components and after that
if host suspends fails it does not resume all the suspended
components which leads in failure of the operations from these
components.

In current issue driver suspends all the components and it
fails to suspend dp rx refill thread and because of which host
suspend fails. Driver suspends scan component as well as part
of all component suspend which is leading scan requests failures.

TO address above issue, resume all components in case of suspend
failure.

Change-Id: I693049a0c4089eb440f459ed3a066e741e8594fe
CRs-Fixed: 3111885
2022-01-25 10:54:01 -08:00
Madan Koyyalamudi
c771b7a7fc Release 5.2.1.8L
Release 5.2.1.8L

Change-Id: Ibd42d42e7b5331c091508deac895ccf3725eb860
CRs-Fixed: 774533
2022-01-25 06:57:41 -08:00
Bing Sun
3e6513e3b8 qcacld-3.0: Implement beamforming configuration for EHT
Intersecting EHT beamforming configuration from ini and FW
indication, then save it to eht caps of mlme.
For sta, update mlme EHT beamforming configuration to FW
through WMI_VDEV_PARAM_SET_EHT_MU_MODE directly.
For ap, intersecting mlme EHT beamforming configuration and user
configuration, then send result to FW.

Change-Id: I3d6185896af9fc58eb1fb6db913d4a425f72c696
CRs-Fixed: 3113235
2022-01-25 06:57:40 -08:00
Madan Koyyalamudi
5ecded6e1f Release 5.2.1.8K
Release 5.2.1.8K

Change-Id: Id11f9c6bf8843597f7a30eb3222a60751464573d
CRs-Fixed: 774533
2022-01-25 03:21:24 -08:00
Surya Prakash Sivaraj
79c1885686 qcacld-3.0: Cleanup the CSR API
Cleanup csr_get_cfg_dot11_mode_from_csr_phy_mode API by removing
unused parameters and use vdev id instead of profile.

Change-Id: Id2c8b52845d5e928e315b3af0a3d1289e81b2e7e
CRs-Fixed: 3113395
2022-01-25 03:21:24 -08:00
Madan Koyyalamudi
f0c77a55cd Release 5.2.1.8J
Release 5.2.1.8J

Change-Id: Ia979e9ba252d9305e88722d92952d6d12dd2ab0a
CRs-Fixed: 774533
2022-01-24 19:19:44 -08:00
Bapiraju Alla
7dd230773f qcacld-3.0: Fix MLO compilation issue when kernel doesn't support MLO
Currently, ML adapter info is being accessed only 11BE_MLO feature macro.
This will result in compilation error when, 11BE_MLO is enabled in the
driver but not in the kernel.

To resolve this, check for kernel support for 11BE along with driver
support for MLO.

Change-Id: If3a1f0837483229b94de4036eea5dc08f76f0754
CRs-Fixed: 3115872
2022-01-24 19:19:43 -08:00