커밋 그래프

23477 커밋

작성자 SHA1 메시지 날짜
Jyoti Kumari
87fb1e3c33 qcacld-3.0: Mismatch of TWT responder bit in HE caps and EXT caps
In a beacon template, there is a mismatch of twt responder bit in
HE caps and extended caps.

During start BSS, there is a kernel flag related with twt
responder. Intersect this kernel flag and service bit capability
before calling twt enable/disable api in start BSS.

Change-Id: I0725fc560904c622cc47f43958bcd490daacfa2f
CRs-Fixed: 2995538
2021-07-28 04:30:24 -07:00
Madan Koyyalamudi
1c65d903db Release 5.2.0.241Z
Release 5.2.0.241Z

Change-Id: I03269f4b0e0dac5d4052cfd9730dfe7faacd8cd8
CRs-Fixed: 774533
2021-07-27 21:50:43 -07:00
Gururaj Pandurangi
dd0c6a7a29 qcacld-3.0: Deprecate the ini gEnableOverLapCh
Deprecate the ini gEnableOverLapCh as it is no
longer in use.

Change-Id: I79b0a2789409964c1ce56641fecdf3ae3ec4e053
CRs-Fixed: 2903153
2021-07-27 21:50:42 -07:00
Madan Koyyalamudi
fd8a23c6d9 Release 5.2.0.241Y
Release 5.2.0.241Y

Change-Id: I717a418e4862c6ea93683647ee353d2f50d42d00
CRs-Fixed: 774533
2021-07-27 11:41:58 -07:00
Yu Ouyang
580e7eac43 qcacld-3.0: Not advertise wiphy_wowlan_support when registering wiphy
If WoW not support, not advertise wiphy_wowlan_support when
registering wiphy device. To make sure wiphy_suspend can follow
the flow of WoW not support.

Both function wlan_hdd_cfg80211_init() and hdd_wiphy_init() set
wiphy->wowlan. Change I4bbaec9ba4268099507567b4e03cee51ee1d11f7
already fixed it in function hdd_wiphy_init(). This change fixed
it in function wlan_hdd_cfg80211_init().

And, not advertise wiphy_wowlan_support even kernel version less
than 3.11.

Change-Id: Ia68d1a8bae85d9ec891b81634b9704e8500587cd
CRs-Fixed: 2989891
2021-07-27 11:41:58 -07:00
Madan Koyyalamudi
791f5ce982 Release 5.2.0.241X
Release 5.2.0.241X

Change-Id: I4be2eaa32f03d303fca65fdbd761bd1420f6a634
CRs-Fixed: 774533
2021-07-27 09:24:11 -07:00
bings
91843d4948 qcacld-3.0: API to provide all link info to mlo mgr
Mlo peer mgr needs all link info including the assoc peer information.
Provide all link info to mlo mgr.

Change-Id: If44572834cbed020cc52366d09e4e8bbb618ee2f
CRs-Fixed: 2999477
2021-07-27 09:24:11 -07:00
Surabhi Vishnoi
a8dd8d7845 qcacld-3.0: Fix compilation error due to change in hal api
HAL_RX_DESC_GET_80211_HDR is replaced by hal_rx_desc_get_80211_hdr
api. Due to this compilation error is seen.

Fix this by using new api hal_rx_desc_get_80211_hdr instead of
HAL_RX_DESC_GET_80211_HDR.

Change-Id: I52bbae9d1a58cb13c8e6706a47e300db824251f3
CRs-Fixed: 2992548
2021-07-27 09:24:04 -07:00
Madan Koyyalamudi
1a79df2ce0 Release 5.2.0.241W
Release 5.2.0.241W

Change-Id: I988c6724c3b04f34e429dcd63cead87d25c248ee
CRs-Fixed: 774533
2021-07-27 04:58:33 -07:00
Zhaoyang Liu
7b302f0c1c qcacld-3.0: pdev suspend is not supported for qcn7605
Add check for device type QCN7605 before suspend target.
QCN7605 FTM mode firmware doesn't support pdev suspend.

Change-Id: I73ab53d8f20086b535edfd00617620e1b667772b
CRs-Fixed: 2993110
2021-07-27 04:58:33 -07:00
Madan Koyyalamudi
38188dd804 Release 5.2.0.241V
Release 5.2.0.241V

Change-Id: I0d788f8422f870c64438dd8d46da08b75c939a97
CRs-Fixed: 774533
2021-07-26 13:54:00 -07:00
bings
e4b737f105 qcacld-3.0: Rename API to wlan_peer_mlme_is_assoc_peer
wlan_peer_mlme_get_assoc_peer is renamed to wlan_peer_mlme_is_assoc_peer
Relace wlan_peer_mlme_get_assoc_peer with wlan_peer_mlme_is_assoc_peer

Change-Id: I2b3d98a359d2b8e4e7f3f5016be3ca7a7f3f888f
CRs-Fixed: 2999486
2021-07-26 13:54:00 -07:00
Madan Koyyalamudi
24921334cd Release 5.2.0.241U
Release 5.2.0.241U

Change-Id: I3abf3816ccf8d747ca9c49651441454a5684f09d
CRs-Fixed: 774533
2021-07-26 11:35:15 -07:00
Surya Prakash Sivaraj
6fb7b93c61 qcacld-3.0: Cleanup usage of csr_roam_profile in SAP module
Remove the usage of csrPersona from csr_roam_profile
and the unused wlan_sap_get_roam_profile function.

Change-Id: Ic7621c5e178a141b7e6e9d820d71fadfbff071ed
CRs-Fixed: 2998988
2021-07-26 11:35:14 -07:00
Madan Koyyalamudi
31992e3438 Release 5.2.0.241T
Release 5.2.0.241T

Change-Id: If460696577398816b8594ed11e9c69896897501e
CRs-Fixed: 774533
2021-07-26 09:14:05 -07:00
Yeshwanth Sriram Guntuka
1827b94fc3 qcacld-3.0: Don't reset tcp_adv_win_scale if any adapter is conn
In connected STA scenario, tcp_adv_win_scale is reset to 1
on runtime suspend. If any TCP connection gets initiated, the
SYN packet will cause a runtime resume. The bus bandwidth
work gets scheduled ~100msecs after resume is done. This
can result in a smaller TCP window value to get used for
the TCP connection initially and the window size does not
increase even with tcp_adv_win_scale updated to 2 as part
of bus bandwidth work.

Fix is to not reset the tcp_adv_win_scale config if any
adapter is connected on runtime suspend.

Change-Id: If10a1e1fd0efc8217f8136a60cfb01b03485a21d
CRs-Fixed: 2969041
2021-07-26 09:14:05 -07:00
Yeshwanth Sriram Guntuka
ec5f52c2ad qcacld-3.0: Revert change to use TP_LOW lvl to reset tcp_adv_win_scale
tcp_adv_win_scale value does not get reset to the default
value by cnss daemon for WLAN_SVC_TP_LOW throughput level.
This could result in undesired behavior if the tcp param
value is used for TCP connections after disconnection or
wifi turn off.

Fix is to use the previous WLAN_SVC_TP_NONE level to
reset the tcp_adv_win_scale parameter.

Change-Id: I3d312abc2a873a7b35d8a411c60bce7832742c4b
CRs-Fixed: 2995589
2021-07-26 09:13:58 -07:00
Madan Koyyalamudi
8cf3d66952 Release 5.2.0.241S
Release 5.2.0.241S

Change-Id: Ifb681a74305b70d81be2767b46591004dc28bb10
CRs-Fixed: 774533
2021-07-26 06:55:21 -07:00
Surya Prakash Sivaraj
5188b216f1 qcacld-3.0: Cleanup usage of channel and frequency
from csr_roam_profile

In the SAP module, remove the usage of ch_params and
op_freq from csr_roam_profile. Instead, the SAP module
uses ch_params and chan_freq from sap_ctx.

Change-Id: I26ff00286b8e0cec33d3a63098f93d4000684df0
CRs-Fixed: 2998985
2021-07-26 06:55:21 -07:00
Surya Prakash Sivaraj
2958513686 qcacld-3.0: Cleanup usage of phyMode from csr_roam_profile
In the SAP module, remove the usage of phyMode from
csr_roam_profile. The SAP module uses phyMode from
the sap_ctx directly.

Change-Id: I6ca484901f29dfa35405dcdcb88e25cc09f498d6
CRs-Fixed: 2998982
2021-07-26 06:55:14 -07:00
Madan Koyyalamudi
54fcc092f8 Release 5.2.0.241R
Release 5.2.0.241R

Change-Id: I198eefa0fb416b23ce79f05e02a6ddf1c7ebf3dd
CRs-Fixed: 774533
2021-07-25 23:26:22 -07:00
Jia Ding
ff7ff1ca4e qcacld-3.0: Populate EHT PHY and MAC caps from target
Populate EHT PHY and MAC capabilities from target to
tDot11fIEeht_cap structure.

Change-Id: Idf0af3c78afafcd5682760cdfd23bacd3c1dff76
CRs-Fixed: 2998861
2021-07-25 23:26:21 -07:00
Jia Ding
3b5b3b6af5 qcacld-3.0: Properly populate EHT PHY and MAC caps to wiphy
If EHT cfg is not present, there's no need to populate EHT PHY
and MAC caps to wiphy.

Change-Id: If4d002976f23d1fb847c7976cce6d2c1d5c42260
CRs-Fixed: 2998476
2021-07-25 23:26:16 -07:00
Jia Ding
cdba1cd4af qcacld-3.0: Update EHT cap IE fields based on D1.0 spec
Update the EHT capability IE fields based on the
802.11be D1.0 spec

Change-Id: Ie36a4e1c99383e7694bcb73cf4a627d80ba3bc44
CRs-Fixed: 2997329
2021-07-25 23:26:09 -07:00
Madan Koyyalamudi
d15e867401 Release 5.2.0.241Q
Release 5.2.0.241Q

Change-Id: I46acd4ea14f0c01a041eeca19607486ce878985e
CRs-Fixed: 774533
2021-07-24 03:14:44 -07:00
Liangwei Dong
d294cd7a6f qcacld-3.0: Fix unexpected 2.4G channel selected
In sap standalone on 5G channel, when LTE unsafe event
shows the SAP working on unsafe channel, SAP moves to
2G channel because the current logic will select
safe channel from ACS list.
The preference is 5G safe channel if available.
This change will select safe channel in same band firstly
from the list.

Change-Id: Ibc45a05845692b0dd8a02fd98aef2f7b15d00729
CRs-Fixed: 2996401
2021-07-24 03:14:43 -07:00
Madan Koyyalamudi
37620b10a5 Release 5.2.0.241P
Release 5.2.0.241P

Change-Id: I5aa3d8837a9591a896117d9f8b58be05d27093a1
CRs-Fixed: 774533
2021-07-23 20:17:21 -07:00
Jianmin Zhu
d793245323 qcacld-3.0: Don't compare original value when set tx max power
For STA+P2P concurrency case, once p2p disconnect, STA max tx power is
updated in F/W too per SAR by design,  app can't correct it since reconfig
same max tx power as original is refused by driver.

Fix by not comparing cached max tx power for each vdev in driver when set
max tx power, can set same value as original again to F/W directly.

Change-Id: Ic417946006f07be40aa34f1dc022d7fb5c4aa213
CRs-Fixed: 2996316
2021-07-23 20:17:21 -07:00
Wu Gao
cd08fde85a qcacld-3.0: Correct the definition of CONFIG_AR900B
There is wrong logic and won't define CONFIG_AR900B for HSP platform.
So add this change to correct the logic and define CONFIG_AR900B
properly.

Change-Id: I60e3bf0a0f9778a821bbe89289cf88f4dbc432e0
CRs-Fixed: 2996497
2021-07-23 20:17:16 -07:00
Madan Koyyalamudi
007df6a08f Release 5.2.0.241O
Release 5.2.0.241O

Change-Id: I92164e63b4b842c7f6a10ac9ea41af3e964c85fe
CRs-Fixed: 774533
2021-07-23 18:01:40 -07:00
Utkarsh Bhatnagar
91d6eaf0fd qcacld-3.0: Use wlan_cm_is_vdev_roaming() API in wma
Use wlan_cm_is_vdev_roaming() API in wma, instead of
wma->interfaces[vdev_id].roaming_in_progress.

Change-Id: Icb88246b2c45c052a1d42dece4983b1e534fe608
CRs-Fixed: 2993180
2021-07-23 18:01:40 -07:00
Huashan Qu
a850dab66d qcacld-3.0: Fix pe session leak
Preauth ROC timer is LIM_FT_PREAUTH_SCAN_TIME which is 50 ms, while
the preauth timeout is 1 second, in case of offchannel operation
scan complete firstly before auth resp frame received, host doesn't
stop the preauth timer or indicate that preauth req is processed,
before sending resp(failure) to connection manager. Thus if auth
resp is received after scan complete, it is processed and create
pe session which won't be deleted later.

Fix is to not initiate the failure from scan ROC complete but let the
preauth timer take care of the failure.

Change-Id: Ib93b4d2c6c6f0044535a8f41af0ef4baeaf468f6
CRs-Fixed: 2992079
2021-07-23 18:01:34 -07:00
Karthik Kantamneni
dd234699a9 qcacld-3.0: Wait for reg work completion before EP access state transistion
Currently intermediate EP vote access is set without checking
for previous state and reg work handler completion.
In some of the error scenarios when resume is triggered from
suspend path, EP vote access is still enabled and work handler
will be scheduled for register updates.
So make sure reg work is completed before setting intermediate access.

Change-Id: I7a1e55c188b9a9e85309dd44ac03651181499674
CRs-Fixed: 2994039
2021-07-23 18:01:30 -07:00
Huashan Qu
2d73ab6ebe qcacld-3.0: Disconnect the preauth session if no session with bssid found
In case of deauth received when HO disconnect is in progress,
the pe session for BSSID may not be found and thus the disconnect
returns without cleaning up the ft session.

So check and cleanup the ft session before returning.

Change-Id: I2661b987d0d2498d8ceaefedcc6b945a7c033f30
CRs-Fixed: 2994624
2021-07-23 18:01:25 -07:00
Madan Koyyalamudi
937f7ab10c Release 5.2.0.241N
Release 5.2.0.241N

Change-Id: I4c356510300fd7ef3d1b5572a400fcb00c6958b3
CRs-Fixed: 774533
2021-07-23 14:41:09 -07:00
Ben Wang
d413a78a15 qcacld-3.0: Add CONFIG_MOBILE_ROUTER for SA415M Platform
Enable CONFIG_MOBILE_ROUTER SA415M Platform for Rome Genoa
and Hasting, same as SA515 Platform

Change-Id: I7f0899c562ea8447296f3ddd1b237ea0d6a1b962
CRs-Fixed: 2924075
2021-07-23 14:41:09 -07:00
Balaji Pothunoori
1aeba20330 qcacld-3.0: initialize color bss values during channel change
Currently color bss is disabled if color bss is set before
channel change.

This change is to reinitialize color bss values to trigger
color bss detection in firmware.

Change-Id: If5688519e147b2b8a88b622090861ba4cac9067f
CRs-Fixed: 2992617
2021-07-23 14:41:00 -07:00
Madan Koyyalamudi
ddf0fc61ed Release 5.2.0.241M
Release 5.2.0.241M

Change-Id: I4581888de7eefe38050f697ed424265419d2f26a
CRs-Fixed: 774533
2021-07-23 05:34:24 -07:00
Li Feng
190d2a6c89 qcacld-3.0: Enable host/fw logs in ftm mode
Enable host/fw logs in ftm mode for debugging in ftm testing.

Change-Id: Ia8fc1aeb06f7a1bcb7b0baac3243b198f5b7c01e
CRs-Fixed: 2995841
2021-07-23 05:34:24 -07:00
Pragaspathi Thilagaraj
4543b8e423 qcacld-3.0: Update pmk cache only for connected BSSID
In OKC enabled cases, when multiple pmk entries exist, the user
space sends set_pmksa command for BSSID other than the connected
bssid. In that case driver updates the global pmksa cache with
the new PMK received for the non-connected BSSID. This results
in invalid pmk sent to firmware.

To avoid this, update the pmk cache only for connected BSSID.

Change-Id: I006595ea5b913d439007a8fb9d767454a71eeac1
CRs-Fixed: 2937182
2021-07-23 05:34:19 -07:00
Madan Koyyalamudi
2f7dee265c Release 5.2.0.241L
Release 5.2.0.241L

Change-Id: I1cc57b88311da4dd8f26eade17072aaa1f0eb460
CRs-Fixed: 774533
2021-07-23 01:55:15 -07:00
Rajeev Kumar
e2405723d9 qcacld-3.0: Add IPA dependency note in SAP/GO D3 WoW feature INIs
SAP/GO clients connected D3 Wow feature is only supported when IPA
is disabled and hence add dependency note to display the dependency
between SAP/GO client connected D3 WoW feature and IPA.

Change-Id: Icca4de1082090f5d740acf3b2b449b425b19ffce
CRs-Fixed: 2996992
2021-07-23 01:55:15 -07:00
Pragaspathi Thilagaraj
5c04f676f5 qcacld-3.0: Fix null pointer dereference in cm_roam_switch_to_init()
In cm_roam_switch_to_init(), vdev returned from the api
wlan_objmgr_get_vdev_by_id_from_psoc_debug() could be NULL.
Vdev is dereferenced without NULL check.

Validate vdev against NULL before dereference.

Change-Id: I42ff6943e568f16b78290a3310a8999d26c15af9
CRs-Fixed: 2996914
2021-07-23 01:55:09 -07:00
Jia Ding
5a32f6baad qcacld-3.0: Add build option for uplink delay feature
Add CONFIG_WLAN_TSF_UPLINK_DELAY option for uplink delay feature
and enable it on WAIPIO.

Change-Id: I91f8433e853efb177bb1d9aea42cdc7f625a0d4e
CRs-Fixed: 2996368
2021-07-23 01:55:02 -07:00
Madan Koyyalamudi
2b7375bd87 Release 5.2.0.241K
Release 5.2.0.241K

Change-Id: Ib2cb6cbd2d0d0b53638d5256fe830ccf6f23a617
CRs-Fixed: 774533
2021-07-22 15:11:22 -07:00
Yue Ma
229bd545ea qcacld-3.0: Add proper check to include qcom-iommu-util.h
qcom-iommu-util.h is a QCOM only file for MSM platforms, so only
include it when MSM_PLATFORM is defined to avoid build issues
from other non-QCOM platforms like X86.

Change-Id: I5f32fbe05abe4d7aff451031f0859f774ce1c507
CRs-fixed: 3721214
2021-07-22 15:11:22 -07:00
Madan Koyyalamudi
c8cb9c3fe4 Release 5.2.0.241J
Release 5.2.0.241J

Change-Id: I2afef9d4cc73ac6b869f128a51edd29db623a74a
CRs-Fixed: 774533
2021-07-22 12:53:02 -07:00
Ananya Gupta
466dc616fe qcacld-3.0: Enable HIF_CPU_CLEAR_AFFINITY flag
Enable CONFIG_HIF_CPU_CLEAR_AFFINITY flag to
change rx_err_ring irq cpu affinity.

Change-Id: I3d2475210ffd5ac6acef7e0418eef26cf92e1302
CRs-Fixed: 2950630
2021-07-22 12:53:01 -07:00
Madan Koyyalamudi
ed9d97a799 Release 5.2.0.241I
Release 5.2.0.241I

Change-Id: I8d30db9c220423e9a8d0ad81a47b73e24d112064
CRs-Fixed: 774533
2021-07-22 03:56:55 -07:00
Lin Bai
703bacc657 qcacld-3.0: Update CAC duration before chan switch
For ETSI, CAC duration is different between DFS and weather channel.

Update cac_duration_ms and dfs_regdomain in sap_ctx before
switch to new channel, to avoid DFS CAC duration used for
weather channel, or vice versa.

Change-Id: Ie83779b9948bdd3bd212994c2438257793a9e347
CRs-Fixed: 2995526
2021-07-22 03:56:55 -07:00