Commit Graph

23502 Commits

Author SHA1 Message Date
Madan Koyyalamudi
209ec7a4cf Release 5.2.0.242I
Release 5.2.0.242I

Change-Id: I2ea398a325edce893b50d95626a2419ca8db7bea
CRs-Fixed: 774533
2021-08-01 23:05:27 -07:00
Qun Zhang
d32b7f91fa qcacld-3.0: Use static memory allocation for DFS
In WLAN ON/OFF stress test, due to system memory fragment, it's hard
to dynamiclly allocate contiguous memory for DFS huge memory which
is greater than 64K. Normally memory allocations of order of 4 and
upwards are not recommended by memory team. So use static memory
allocation for DFS.

ROME and Hastings already changed, this change is for Geona.

Change-Id: I33aa3efd378518491f06b496344ed3034c4978d9
CRs-Fixed: 2851914
2021-08-01 23:05:27 -07:00
Madan Koyyalamudi
730ad09b16 Release 5.2.0.242H
Release 5.2.0.242H

Change-Id: Ic81936bad5a7447ad0218087e56c69ba1d456add
CRs-Fixed: 774533
2021-07-30 21:50:45 -07:00
Srinivas Dasari
f39f703609 qcacld-3.0: wma to target_if migration of roam_scan_ch list_event
Currently, wmi_roam_scan_chan_list_id data is extracted and
processing is also done in wma. This is not inline with component
model where target_if takes care of data extraction and handover
the extracted data to corresponding component(connection mgr in
this case). Add changes to support the same.

Change-Id: I8f59f9ebfe1bbdc7ef37ccc1f10178fe8128e912
CRs-Fixed: 2990376
2021-07-30 21:50:44 -07:00
Srinivas Dasari
a655f5e64e qcacld-3.0: wma to target_if migration of vdev_disconnect_event
Currently, wmi_vdev_disconnect_event_id data is extracted and
processing is also done in wma. This is not inline with component
model where target_if takes care of data extraction and handover
the extracted data to corresponding component(connection mgr in
this case). Add changes to support the same.

Change-Id: I2486cc3f63c4b35305b60ac55cd0a622c7185323
CRs-Fixed: 2990373
2021-07-30 21:50:40 -07:00
Srinivas Dasari
cb5b2dde46 qcacld-3.0: wma to target_if migration of btm_blacklist_event
Currently, wmi_roam_blacklist_event_id data is extracted and
processing is also done in wma. This is not inline with component
model where target_if takes care of data extraction and handover
the extracted data to corresponding component(connection mgr in
this case). Add changes to support the same.

Change-Id: I41d2ef6c228acd8f86f24107c02d11f1a8ac6dea
CRs-Fixed: 2990369
2021-07-30 21:50:35 -07:00
sandhu
a3c80b5790 qcacld-3.0: Modularizaton of monitor mode
adding Flags to support FR of Modularization of
monitor mode.

Change-Id: Idd4c963ab3132fb367b69b0fcaf2c8ddbeb2c571
CRs-Fixed: 2998547
2021-07-30 21:50:30 -07:00
Madan Koyyalamudi
78aa368f33 Release 5.2.0.242G
Release 5.2.0.242G

Change-Id: Iab986b49d9f7c91cd5953e532913265e2c3d0f9a
CRs-Fixed: 774533
2021-07-30 18:00:49 -07:00
Alan Chen
1ac361a668 qcacld-3.0: Set gRemoveTimeStampSyncCmd to 1 by default
Set gRemoveTimeStampSyncCmd ini to 1 by default so that even for more
than 60 seconds, the device can stay in RTPM WoW mode.

Change-Id: I560389dd9c7d5a33d01c092ad057a7a7aa6f7c37
CRs-Fixed: 3003718
2021-07-30 18:00:49 -07:00
Madan Koyyalamudi
9c00423b6c Release 5.2.0.242F
Release 5.2.0.242F

Change-Id: I28980fb4860ba39f2a5bed8e2f4adb071b828cf6
CRs-Fixed: 774533
2021-07-30 14:29:36 -07:00
Srinivas Dasari
78cb3008e6 qcacld-3.0: wma to target_if migration of wmi_roam_event
Currently, wmi_roam_event_id data is extracted and processing is
also done in wma. This is not inline with component model where
target_if takes care of data extraction and handover the extracted
data to corresponding component(connection mgr in this case).
Add changes to support the same. As the legacy CSR/LIM is not
yet converged, have a wrapper from connection mgr to wma to call
these legacy APIs.

Change-Id: I0e22bbccfe21200b90771a01f9ee7454f4ecb119
CRs-Fixed: 2990355
2021-07-30 14:29:36 -07:00
Madan Koyyalamudi
a011a54fee Release 5.2.0.242E
Release 5.2.0.242E

Change-Id: Ifa914563d2a63e1f4654066a3bf22d640d5f4851
CRs-Fixed: 774533
2021-07-30 09:20:35 -07:00
Gururaj Pandurangi
2234051a04 qcacld-3.0: Add populate and parse APIs for MLO IE for STA
Convert mlo probe response frame to struct for partner links.
Also, populate mlo IE for unicast probe request frame.

Change-Id: Ie4526b2a10e6642f2094ac12508df71fb9b787b6
CRs-Fixed: 2973865
2021-07-30 09:20:35 -07:00
Madan Koyyalamudi
12ddcfdae2 Release 5.2.0.242D
Release 5.2.0.242D

Change-Id: If41317216886478f807680886422b060dd797ec5
CRs-Fixed: 774533
2021-07-30 04:04:38 -07:00
Liangwei Dong
64495d32af qcacld-3.0: Fix unnecessary log of sme_roaming_in_progress
During enumeration all adapters, if adapter is not "up",
it is unnecessary to check connecting or not. Otherwise,
the vdev is not created for the adapter and the
sme_roaming_in_progress will output "ROAM: incorrect vdev ID"
error message.

Change-Id: I3df5379a7d0b88c439d49711c36000717c7a433b
CRs-Fixed: 3002674
2021-07-30 04:04:37 -07:00
Jingxiang Ge
7595083c64 qcacld-3.0: Replace RET_IP with rtpm_dbgid for runtime pm api
Current it use __RET_IP to get caller in rtpm resume
function, if it print info by %ps, it will do a
symbol lookup which takes time.

Change as replacing __RET_IP with rtpm_dbgid, so it is
still able to get caller information and avoid time
cost here.

Change-Id: Ic9465fba1a8e6a6a2289303ed6994a22b393a4e4
CRs-Fixed: 3001693
2021-07-30 04:04:32 -07:00
Madan Koyyalamudi
e298e22803 Release 5.2.0.242C
Release 5.2.0.242C

Change-Id: I26615ff74df638e9455c1269a5edfdda9eb7521e
CRs-Fixed: 774533
2021-07-29 22:44:50 -07:00
Mohammed Ahmed
7f3cf46f40 qcacld-3.0: Adding policy manager check in roam done
In ROAM DONE event handling, policy mgr restart sap is not invoked after
updating the connection info and hw mode info thus not restarting the sap
after roam sync

To solve this, adding policy manager check after updating the policy
manager connection table.

Change-Id: Ifb8a5eecb98c05166986052ccc32422dbbe3bef7
CRs-Fixed: 2991721
2021-07-29 22:44:50 -07:00
Mohammed Ahmed
5f42bacd93 qcacld-3.0: Fixed datatype for channel frequency
In __iw_setnone_getnone api, fix the datatype from uint8_t
to qdf_freq_t for channel frequency.

Change-Id: Icc34c7e0ac2072707dae2046187c7a845cdb3a4b
CRs-Fixed: 2978017
2021-07-29 22:44:45 -07:00
Bapiraju Alla
d6935c4f9a qcacld-3.0: Add sysfs entry to configure fixed rate for 11be
Currently there is no provision to configure fixed rate for 11be.
Add sysfs entry to configure fixed rate for 11be.

To set 11be rate, write 1 byte value to the sysfs entry as below.
In this 1 byte, MSB 3-bits represents NSS and LSB 5-bits represents
MCS. For e.g. the below command will configure the 11be rate to MCS
7 and NSS 2.

echo 0x47 > /sys/class/net/wlan1/11be_rate

Change-Id: I96a328c0844e2fe20053a26acf1824e048a74fed
CRs-Fixed: 2999842
2021-07-29 22:44:40 -07:00
Madan Koyyalamudi
25415a423f Release 5.2.0.242B
Release 5.2.0.242B

Change-Id: I83d334283a7b5986d6c118c2bed18c2be0245137
CRs-Fixed: 774533
2021-07-29 07:41:09 -07:00
Srinivas Dasari
b22c118d2a qcacld-3.0: Increase the NDP_END wait timeout to 4 seconds
Currently, host driver expects NDP_END indication from firmware
within 2 seconds after sending request to firmware. Driver shall
timeout and cleanup the corresponding NDP entry if no response is
received within 2 seconds. But firmware may take upto 2.5 seconds
to exhaust the NDP_END frame retries.
So, increase the timeout to 4 seconds to accommodate these retries
and to be inline with current NAN_DISABLE timeout.

Change-Id: Ida1abc25b4ff64aea810c88dbf36f9577b23ffd8
CRs-Fixed: 3002176
2021-07-29 07:41:09 -07:00
Madan Koyyalamudi
9fabc5a5d1 Release 5.2.0.242A
Release 5.2.0.242A

Change-Id: I67e91a3bade34e9b6ef884adee9efc4be7de33d8
CRs-Fixed: 774533
2021-07-28 19:02:22 -07:00
Liangwei Dong
825502e89f qcacld-3.0: Fix channel width mismatch in ROAM SYNC
Some AP has different HT ch width setting in beacon/assoc resp.
FW uses assoc response to decide the BW of HT AP in Roaming sync.
Fix by overwrite beacon HT BW setting from assoc resp frame to
keep sync with FW.

Change-Id: I784e4b1735f4f217713f65c30092bac2ad6cb698
CRs-Fixed: 2995520
2021-07-28 19:02:21 -07:00
Madan Koyyalamudi
80911c76cd Release 5.2.0.242
Release 5.2.0.242

Change-Id: I8f4aa23c555bdadc13afc076d96383655de28c06
CRs-Fixed: 774533
2021-07-28 04:30:24 -07:00
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