Commit Graph

23532 Commits

Author SHA1 Message Date
Madan Koyyalamudi
df1b55aa7b Release 5.2.0.242V
Release 5.2.0.242V

Change-Id: If980ff2f19529676cf2ccecf9b66cbbd28a681fc
CRs-Fixed: 774533
2021-08-04 18:04:19 -07:00
Ashish Kumar Dhanotiya
f1c443c22a qcacld-3.0: Update last auth type correctly
Currently driver does not update last auth type for big data stats
because of which it reports incorrect auth type to user space when
it receives big data query.

To address above issue, update last auth type correctly for big
data logging.

Change-Id: I170714cef1d3ec95c47db84e77d9c3adbdf8cd39
CRs-Fixed: 3001629
2021-08-04 18:04:19 -07:00
Madan Koyyalamudi
cae4cc0094 Release 5.2.0.242U
Release 5.2.0.242U

Change-Id: I083da795388286862e5ceafdde6c74d36660476d
CRs-Fixed: 774533
2021-08-04 12:57:03 -07:00
Yeshwanth Sriram Guntuka
1ff2f766d9 qcacld-3.0: Disable FISA history for debug builds
Memory allocation for FISA history could possibly
happen from the cnss prealloc pool.

Fix is to disable FISA history until the allocation
is moved to DP prealloc.

Change-Id: I6c2e42d129d6642601ae59e08294c214907f5faf
CRs-Fixed: 3006138
2021-08-04 12:57:02 -07:00
Madan Koyyalamudi
91353b137c Release 5.2.0.242T
Release 5.2.0.242T

Change-Id: I7c846cc505bb4959b02245e50a403a6b4a6dc9ca
CRs-Fixed: 774533
2021-08-04 03:41:50 -07:00
Utkarsh Bhatnagar
82165af468 qcacld-3.0: Fix null ptr issue in send_conc_params_update()
Fix null ptr issue in lim_send_conc_params_update()

Change-Id: I032cf16a64bbc40f79add2268a75595b0e9eae3c
CRs-Fixed: 2996906
2021-08-04 03:41:50 -07:00
Madan Koyyalamudi
e4e5598f7c Release 5.2.0.242S
Release 5.2.0.242S

Change-Id: I0704f8dae5948001883da92f3f84a7d107c20909
CRs-Fixed: 774533
2021-08-03 22:12:20 -07:00
Manjunathappa Prakash
c8e7eeb61a qcacld-3.0: Enable monitor mode config for HMT
Enable monitor mode support config on HMT.

Change-Id: I798f4035b71b1f73bc6100d6437e1811a211fe62
2021-08-03 22:12:20 -07:00
Manjunathappa Prakash
f568f2f627 qcacld-3.0: Prevent HELIUMPLUS from getting enabled for BERYLLIUM chips
Enabling CONFIG_ICNSS2 is enabling CONFIG_ICNSS2_HELIUM for BE chips.
Prevent it by making dependency on !CONFIG_BERYLLIUM.

Change-Id: Ifd5b5bb07cd753dec4da3c1f063a9e2739288f1c
2021-08-03 22:12:16 -07:00
Madan Koyyalamudi
ddf126bdc9 Release 5.2.0.242R
Release 5.2.0.242R

Change-Id: I8913853ffc0b0c32b6b9e410207f67a4c0e91d95
CRs-Fixed: 774533
2021-08-03 19:54:32 -07:00
Zhaoyang Liu
6f4f7adc22 qcacld-3.0: Keep recovery in progress flag for ssr without pld support
For platform without pld support, SSR would do rmmod operation, which tries
to do suspend target, there is no ACK from crashed firmware during SSR.
Keep the recovery in progress flag to skip suspend target command.

Change-Id: Ic6b8f4ebacbf9dc5798730b253eae239fe30c159
CRs-Fixed: 3005884
2021-08-03 19:54:31 -07:00
Abhishek Singh
19c5bff34a qcacld-3.0: Enable OBSS scan for open mode after connection
Enable OBSS scan for open mode after connection and optimize the
logs in OBSS path.

Change-Id: I91eefc2fe368f5f92e7345aed87591a8b3fdd913
CRs-Fixed: 3006209
2021-08-03 19:54:27 -07:00
Madan Koyyalamudi
f266faaba5 Release 5.2.0.242Q
Release 5.2.0.242Q

Change-Id: Ia61c3004c2981700091ed2318c9b7703bff20c2a
CRs-Fixed: 774533
2021-08-03 17:33:56 -07:00
sheenam monga
28269c5b53 qcacld-3.0: Don't process csa request immediately for P2P GO
If STA is connected to one channel and p2p is up on same channel,
and sta moves to another channel then p2p go also tries to switch
to sta channel immediately in case g_enable_go_force_scc is enabled.
But Go can't send channel switch announcement as go sends 1.5 sec
of NOA during sta connection with new channel due to which p2p may
get disconnect.

Fix is to not try to move to sta channel immediately. P2P Go will
try to switch channel only after NOA completion which is 1.5 seconds.
Add delay work queue of 3 seconds to handle worst case scenario when
BT is on and P2P tries to switch channel.

Change-Id: I557940dfc79da4922694ed24a573e41aae75c09a
CRs-Fixed: 2989207
2021-08-03 17:33:56 -07:00
Madan Koyyalamudi
83b0e36120 Release 5.2.0.242P
Release 5.2.0.242P

Change-Id: I31682ff3967aa51697e052168c420972b520e45c
CRs-Fixed: 774533
2021-08-03 15:13:25 -07:00
bings
a36ce05b39 qcacld-3.0: Add WMMInfoStation for mlo IE
Add WMMInfoStation sub IE for mlo IE.

Change-Id: I61a2d7b66e7f4fa0437b928dbed9a02d1dc08697
CRs-Fixed: 2999825
2021-08-03 15:13:25 -07:00
Madan Koyyalamudi
753c1575e6 Release 5.2.0.242O
Release 5.2.0.242O

Change-Id: Ia66558aff338a1ff2a50cf79026e7eb28321a232
CRs-Fixed: 774533
2021-08-03 10:03:00 -07:00
bings
16cb641204 qcacld-3.0: Get correct auth type for mlo ap partner link
The auth type of mlo ap partner link is the same with assoc link.
When getting sta_ds of assoc peer, provide correct pe session of
assoc link.

Change-Id: I0af8fe62d8e4109ed4770e49a173b22ac639f2ec
CRs-Fixed: 3004104
2021-08-03 10:02:59 -07:00
Madan Koyyalamudi
5edf59fe35 Release 5.2.0.242N
Release 5.2.0.242N

Change-Id: I2dc66578d43a8245640e90945e7e51d25f0d962c
CRs-Fixed: 774533
2021-08-03 06:54:30 -07:00
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