Wykres commitów

23513 Commity

Autor SHA1 Wiadomość Data
Amruta Kulkarni
14ef4d1333 qcacld-3.0: Create and delete ML peer context
Create mlo peer context after BSS peer create response and
delete mlo peer context before deleting bss peer.

Change-Id: I322ea83ebe0572b0d593a8988ff6c11e205b0f96
CRs-Fixed: 2972564
2021-08-03 06:54:30 -07:00
Amruta Kulkarni
46d873e37a qcacld-3.0: Generate assoc resp for MLO links
- Generate association response for secondary MLO links
- Update pe session and connect resp with partner link info

CRs-Fixed: 2977970
Change-Id: I17a820abef4f4df082c1f219f35599f669142670
2021-08-03 06:54:26 -07:00
Madan Koyyalamudi
43709382b1 Release 5.2.0.242M
Release 5.2.0.242M

Change-Id: I2b6fbb3d1a472b507b4dd01171d3cd95ea3efd7e
CRs-Fixed: 774533
2021-08-03 04:36:09 -07:00
Arun Kumar Khandavalli
25235f2440 qcacld-3.0: Reset the wiphy suspended flag at the end of SSR
During the wakeup sequence if there is any firmware recovery
the resume would be rejected and the flag "is_wiphy_suspended"
would not be reset in the system resume.

So, at the end of the SSR reset the flag since the system has
already resumed completely.

Change-Id: I86b0adade1dfb5710df2f86a3922320308407fe9
CRs-Fixed: 3005606
2021-08-03 04:36:08 -07:00
Madan Koyyalamudi
f0e51546b6 Release 5.2.0.242L
Release 5.2.0.242L

Change-Id: Ic32b5f4b658b16e720db6aa8489d0a8a3b1b22e4
CRs-Fixed: 774533
2021-08-02 23:01:26 -07:00
Deeksha Gupta
bb656065c2 Revert "qcacld-3.0: Remove radar event if dfs_channel_switch is disable"
This reverts commit I977d93e47ee35026662d55a8e292c8790ddc7d31.

Change-Id: Iaadad6b737243228974ed75b126bf4a245313727
CRs-Fixed: 3002003
2021-08-02 23:01:26 -07:00
Madan Koyyalamudi
f9672a24e4 Release 5.2.0.242K
Release 5.2.0.242K

Change-Id: I40c0ded88e297d276527da07aac25863e0943408
CRs-Fixed: 774533
2021-08-02 13:38:57 -07:00
Jia Ding
49613d626f qcacld-3.0: Populate EHT MAC and PHY Caps to peer_assoc_params
Populate EHT MAC and PHY Caps to peer_assoc_params based on D1.0
definitions.

Also refine EHT MAC and PHY Caps logging.

Change-Id: I405ae01a1452e884137e368cceaf13ef2c670530
CRs-Fixed: 3001664
2021-08-02 13:38:57 -07:00
Madan Koyyalamudi
b0fb70e5dc Release 5.2.0.242J
Release 5.2.0.242J

Change-Id: I6687fe3f0410ff907dec7ef9c8ed246429edd2df
CRs-Fixed: 774533
2021-08-02 01:59:01 -07:00
Pragaspathi Thilagaraj
2c4afe8c59 qcacld-3.0: Disable hi-rssi roam trigger when roamed to 6Ghz band
Host driver enables hi-rssi roam trigger when STA roams to 6Ghz
AP. But hi-rssi trigger should be enabled only for 2.4Ghz AP
else it will cause frequent roams even though connected to
good candidate AP.

Disable hi-rssi roam when roamed to 6Ghz band AP.

Change-Id: I2ea2d06634963c1190aa1ca0d466b0873e36fbfe
CRs-Fixed: 3001090
2021-08-02 01:59:01 -07:00
Kiran Kumar Lokere
564b82acb5 Revert "qcacld-3.0: Fix the TWT suspend command parse failure"
This reverts Change-Id: I6078c2e199ed13433c3dea532e3bbe396dd6ad8a

Change-Id: Id215025fc81346259932063f3203f67763690cac
CRs-Fixed: 3001632
2021-08-02 01:58:57 -07:00
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