Commit graph

22,398 commits

Author SHA1 Message Date
sheenam monga
e68ec2e798 qcacld-3.0: Add fature flag to get usable channels
Add feature flag for the feature to get usable channels.

Change-Id: I6dd2360284c395747b55f806caab2a5a44089866
CRs-Fixed: 2947180
2021-07-29 05:41:38 -07:00
sheenam monga
b0e4624557 qcacld-3.0: Send response of SUBCMD_USABLE_CHANNELS
Send response of SUBCMD_USABLE_CHANNELS to upper layer.

Change-Id: I3f7d0a9f28fcf60141fec86561524882ce4e3095
CRs-Fixed: 2946928
2021-07-29 05:41:32 -07:00
sheenam monga
65f0b4a87a qcacld-3.0: Handle command to get usable channels
Handle command to get usable channels for
provided mode, band and con filter.

Change-Id: I20133ea1a93c9153ec7252dcd34a0a160715d8a6
CRs-Fixed: 2946908
2021-07-29 05:41:24 -07:00
Madan Koyyalamudi
4d0d5fe197 Release 2.0.8.22A
Release 2.0.8.22A

Change-Id: I35b09833a1eba11c313015f72ed5bb6b21dbd1c1
CRs-Fixed: 774533
2021-07-28 21:37:22 -07:00
Liangwei Dong
f4e6dd2f71 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 21:37:22 -07:00
Madan Koyyalamudi
ca234dc708 Release 2.0.8.22
Release 2.0.8.22

Change-Id: Ibdb50e663a5181c6722f4e53410822f253a8cf85
CRs-Fixed: 774533
2021-07-28 17:00:29 -07:00
Balaji Pothunoori
9f440d1d00 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-28 17:00:28 -07:00
Madan Koyyalamudi
3c5f60e2a4 Release 2.0.8.21Z
Release 2.0.8.21Z

Change-Id: Ia782375afebb7cf3f95e04f442b830e27b830e29
CRs-Fixed: 774533
2021-07-28 06:47:34 -07:00
Utkarsh Bhatnagar
bec1873dff qcacld-3.0: Update TDLS peer he capability based on selfDot11mode
Update peer HE capability in TDLS hash node only when 11ax
is supported in seflDot11mode capability.

Change-Id: Ia6776224ee91a6da2f0ba299b0fe5d46e241c093
CRs-Fixed: 2935305
2021-07-28 15:57:20 +05:30
Madan Koyyalamudi
888882f2b0 Release 2.0.8.21Y
Release 2.0.8.21Y

Change-Id: I8661038f107cf903b3101b7ba8dc6c5fe723221a
CRs-Fixed: 774533
2021-07-27 22:53:31 -07:00
Liangwei Dong
df66b0f224 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-27 22:53:31 -07:00
Madan Koyyalamudi
0fc7a5809b Release 2.0.8.21X
Release 2.0.8.21X

Change-Id: I38bddf88869a5401ab8ce2717afdb468fb70bfb8
CRs-Fixed: 774533
2021-07-27 17:41:59 -07:00
Ashish Kumar Dhanotiya
fcf5fb5a75 qcacld-3.0: Move dump in progress feature to separate file
With this change introduce featurization for dump in progress
and move implementation related to this feature to new files.

Change-Id: I4614aecde57a9c5ffec765f3afaa943c58956132
CRs-Fixed: 2979226
2021-07-27 17:41:59 -07:00
Madan Koyyalamudi
ee337f5b97 Release 2.0.8.21W
Release 2.0.8.21W

Change-Id: Ic43425844a50cd5f8fd601105c267c91b218b68e
CRs-Fixed: 774533
2021-07-27 00:48:48 -07:00
Utkarsh Bhatnagar
cb9224df64 qcacld-3.0: Change EDCA ini from CFG_STRING to CFG_INI_STRING
Change ini type of all ini related to  edca_ani, edca_wme,
edca_etsi. Also, use cfg_get instead of cfg_default for
fetching these.

Change-Id: Iba252f81d236c5b217e1d86c6511bbc52c2900b7
CRs-Fixed: 2952537
2021-07-27 00:48:48 -07:00
Madan Koyyalamudi
c9933dd547 Release 2.0.8.21V
Release 2.0.8.21V

Change-Id: Ic3a01e3ac227f6df73dd3a6dd13f5b7b40329465
CRs-Fixed: 774533
2021-07-26 07:00:30 -07:00
Karthik Kantamneni
3ed15b23a6 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-26 07:00:29 -07:00
Madan Koyyalamudi
7dcd9caaa1 Release 2.0.8.21U
Release 2.0.8.21U

Change-Id: I041dbe76efaa9cbb1a6e78c3ae691041a424e532
CRs-Fixed: 774533
2021-07-26 05:12:10 -07:00
abhinav kumar
bd1641c16f qcacld-3.0: SAP not following STA channel
With below INI configuration, SAP is not following the STA
channel. It's forming STA + SAP MCC instead of Forced SCC.
1. gWlanMccToSccSwitchMode = 4
   (QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNE)
2. gEnableSAPManadatoryChanList=1

When channel switch mode is
QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNE and if STA
is on 5ghz and SAP also comes on 5ghz then driver considers
the HW mode as DBS capable and it allows SAP to form
MCC which is not favorable.

For non_DBS target, the fix is to allow SAP to
do force SCC if the channel switch mode is
MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNE.

Change-Id: I4b945dc1831909caff72f8398c959f4450765f2b
CRs-Fixed: 2972273
2021-07-26 05:12:10 -07:00
Madan Koyyalamudi
4218c7e968 Release 2.0.8.21T
Release 2.0.8.21T

Change-Id: I8bb016f4a2427101fa393cac29504ee254312db1
CRs-Fixed: 774533
2021-07-25 23:02:04 -07:00
Yeshwanth Sriram Guntuka
86cdedd5e0 qcacld-3.0: Enable flag to skip MSI cfg for mon rings
Enable config flag to skip MSI configuration for
monitor status and destination rings in MISSION
mode.

Change-Id: If295a5afc6731bbec1ad7182590e0015f3a911ba
CRs-Fixed: 2992169
2021-07-25 23:02:03 -07:00
Madan Koyyalamudi
4de6d51250 Release 2.0.8.21S
Release 2.0.8.21S

Change-Id: I43ef126aeae8b5a5a1163e102c4ce4b3dcbc0706
CRs-Fixed: 774533
2021-07-24 12:57:52 -07:00
Jia Ding
2e58b983dc qcacld-3.0: Enable to parse user configured edca params
Currently only default values of local edca params are used for
WME and ETSI profiles. Therefore expose them as INI config options
so that driver is able to parse user configured edca params used
locally by SAP.

Change-Id: I81759570160a67e26f68501576d71a5fd3568cd7
CRs-Fixed: 2976143
2021-07-24 12:57:52 -07:00
Madan Koyyalamudi
10b319d465 Release 2.0.8.21R
Release 2.0.8.21R

Change-Id: Ib9781fafd1486b5b3438c4363c44e25585df8691
CRs-Fixed: 774533
2021-07-24 02:10:36 -07:00
Jianmin Zhu
d6ce9875c0 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-24 02:10:36 -07:00
Madan Koyyalamudi
62e8a64831 Release 2.0.8.21Q
Release 2.0.8.21Q

Change-Id: Ib65169a9af683a88d319471b933bc2f1751f4b0a
CRs-Fixed: 774533
2021-07-23 20:21:15 -07:00
Ashish Kumar Dhanotiya
07a4b80777 qcacld-3.0: Add synchronizatoin for flush log completion
Currently there is no synchronization for flush log completion
between fw and userspace. When host driver receives command to
flush logs, it sends the command to fw and releases the control
of the userspace thread, it does not wait for the flush log
completion event from the fw and because of which user space
does not know when the host and fw completes the log flush.

To address above issue add a logic to wait for fw event of
flush log completion before host returns control to userspace.

Change-Id: I04fa0aead146d2b7b8627e4101c6dcd99d3947e9
CRs-Fixed: 2983375
2021-07-23 20:21:14 -07:00
Madan Koyyalamudi
2b679e3ec7 Release 2.0.8.21P
Release 2.0.8.21P

Change-Id: I6e3c03b0760204c4df16d471bc71c5c766e821a8
CRs-Fixed: 774533
2021-07-23 14:38:28 -07:00
Bapiraju Alla
51fabd458a qcacld-3.0: Assert when failed to parse at least one INI param
INI parameters are configured based on requirement. It is expected
that atleast one parameter should be configured through INI file.

To mandate this, trigger assert when failed to parse atleast one INI
parameter from INI file.

Change-Id: Ia94f9ae9ce91d7e57f7a6be6c6f955de5ba860a4
CRs-Fixed: 2881695
2021-07-23 14:38:28 -07:00
Madan Koyyalamudi
249826d04e Release 2.0.8.21O
Release 2.0.8.21O

Change-Id: I9b1833c3afb7222a2f4da8279316a834a60a2269
CRs-Fixed: 774533
2021-07-23 01:55:38 -07:00
Srikanth Marepalli
721bdf6a27 qcacld-3.0: Invalid pmkid in the FT-EAP disconnection case
During FT-EAP roaming after session timeout if the FTIE received
in the EAPOL of full EAP is improper, the supplicant would
disconnect the AP with the reason FTIE mismatch.
During this disconnection supplicant flushes all the existing PMK
cache entries and eventually the framework would add these cache
entries again (apparently, the current entry would be with the
older PMK). On this addition to the driver, there is no connected
profile and thus no MDID is associated to this PMKSA entry(AP1-PMK1).
Further, on the fresh (Full EAP) connection to the AP2 with the
same MDID, a new cache entry gets added and thus MDID from the
connected profile gets associated with the PMKSA cache entry. At
this point of time, there are two PMKSA cache entries (AP1-PMK1
without MDID and AP2-PMK2 with MDID).
Adding further, if the incorrect PMK (without MDID / stale entry)
i.e. PMK1 is given to the firmware on the RSO command for the
specific BSSID (here AP1) during roam, further roams shall be
calculated with this PMK1 and result in to the invalid pmkid
issue.
Thus, avoid this situation by removing that stale PMKSA entry in
the driver and this entry can be deleted only when it is associated
with the MDID. Driver on the new pmksa addition shall check for the
matching pmksa cache entry with the MDID and delete the earlier ones.
To associate the MDID, this commit checks for the same from the scan
entry of the BSSID, if there is no connected profile for the same
(this happened when the framework has added the cache entry when in
the disconnected state).

Change-Id: If81d66059173dda8d7a2940ca10dc96ef16e125c
CRs-Fixed: 2972115
2021-07-23 01:55:37 -07:00
Madan Koyyalamudi
e0d55a659a Release 2.0.8.21N
Release 2.0.8.21N

Change-Id: I1e31b1384f9a3787ceb1614c052dd3a621cf35e9
CRs-Fixed: 774533
2021-07-22 11:20:59 -07:00
Utkarsh Bhatnagar
432c544f43 qcacld-3.0: Donot access invalid wiphy band
In wlan_hdd_get_wiphy_channel(), Donot access
60 Ghz which are not part of wiphy.

Change-Id: Ie8249bdcc7c4fb66744a9b16f2c194e9ab60dd1b
CRs-Fixed: 2984046
2021-07-22 11:20:58 -07:00
Madan Koyyalamudi
2d64189997 Release 2.0.8.21M
Release 2.0.8.21M

Change-Id: Ife2ec0e354c72a290b44a1ab3062b550afa5c068
CRs-Fixed: 774533
2021-07-22 02:34:48 -07:00
abhinav kumar
6ad08b955a qcacld-3.0: Enable SAE roaming with same PMK INI by default
Enable SAE Roaming with same PMK feature INI
sae_single_pmk_feature_enabled by default.

Change-Id: I5be1b24fd77f5296574276af02b0098ac86d9730
CRs-Fixed: 2985116
2021-07-22 02:34:48 -07:00
Jyoti Kumari
aa81137989 qcacld-3.0: Send firmware internal error to userspace
Send error to userspace if ack status is not successful due to
firmware internal error

Change-Id: Id3fbbc2099fbdf597e4aebf6b532086c47a07943
CRs-Fixed: 2991060
2021-07-20 11:13:19 -07:00
Jyoti Kumari
797927d86a qcacld-3.0: Add support for TWT ack event
In case if TWT command (i.e setup, terminate, pause, resume,
nudge) comes from userspace and if the firmware is in below mode
1. scan in progress
2. roam in progress
3. CSA is in progress
4. any other error
then the command needs to be rejected in userspace context

Synchronize the TWT commands so that whenever command goes from
driver to firmware, then driver will receive ack event first
followed by respective event (i.e add dialog, delete dialog,
pause, resume, nudge) with below condition
1. If driver receives the ack event as successful then driver
   waits for this ack event, respective event with status of the
   TWT action frame over the air is expected.
2. If driver receives the ack event as failure then it will
   reject the TWT command request in userspace context.

Change-Id: Ib68b89b74b5e44f28106884efd7412cee49f5bd8
CRs-Fixed: 2987978
2021-07-20 23:41:17 +05:30
Madan Koyyalamudi
238f7a9e7b Release 2.0.8.21L
Release 2.0.8.21L

Change-Id: Id7b991bced0bd76e3212cf40f8d08d949e0028ed
CRs-Fixed: 774533
2021-07-20 08:17:58 -07:00
Utkarsh Bhatnagar
7d5d5cbcb7 qcacld-3.0: Add support for TDLS 11AX for 6Ghz band
Add support for TDLS 11AX for operations on 6Ghz
band.

Change-Id: I56e27f1e3560cd4374ba186f161bbc2ad945fe1d
CRs-Fixed: 2990682
2021-07-20 08:17:58 -07:00
Utkarsh Bhatnagar
c152bc38e4 qcacld-3.0: Add 6Ghz band HE capabilities for TDLS frames
Add 6Ghz band HE capabilities for TDLS setup request and
setup response frames.

Change-Id: I02e8da12acc6832ad39d7166961c1c6546c8ad49
CRs-Fixed: 2994066
2021-07-20 08:17:53 -07:00
Madan Koyyalamudi
10e018f628 Release 2.0.8.21K
Release 2.0.8.21K

Change-Id: Ia55388688c17cc8260d57b279d8df978ef6a1361
CRs-Fixed: 774533
2021-07-20 05:16:32 -07:00
Jyoti Kumari
dc1ddf5e3b qcacld-3.0: Add TWT service bit capability support for ack event
Add TWT service bit capability support to check whether firmware
supports ack event or not. If firmware doesn't support ack event
then service bit capability will become 0 and  whenever the TWT
command comes, host will not wait for ack event and sends command
in a legacy way

This support is mainly added to handle new host and old firmware
combination.

Change-Id: I556d8edf0b505b774d756d6d904dd445418837bf
CRs-Fixed: 2987966
2021-07-20 05:16:31 -07:00
Madan Koyyalamudi
f2be8b8bf6 Release 2.0.8.21J
Release 2.0.8.21J

Change-Id: Ie2289dbbd2c9e169e1adb70ccb2bc9a337711a82
CRs-Fixed: 774533
2021-07-20 02:32:11 -07:00
Liangwei Dong
190e2d9118 qcacld-3.0: Add policy mgr conn list validation
Add policy mgr connection list validation such as duplication
entry error. Flush the drv log and pause the logging
if error happens so that the issue log can't be overwritten
in stress test.

Change-Id: I037863de0bc5ecb8118c5792b6d73c3e200dd5c6
CRs-Fixed: 2991983
2021-07-20 11:58:55 +08:00
Madan Koyyalamudi
4dda0be0ff Release 2.0.8.21I
Release 2.0.8.21I

Change-Id: I93a1699f5b179fab4d36ca39dc6f50cdca8a6801
CRs-Fixed: 774533
2021-07-19 14:06:06 -07:00
Utkarsh Bhatnagar
d56e5f350b qcacld-3.0: Add ini to configure BLE scan policy
Add gConfigBleScanCoexPolicy which can be used to
control performance of ble scan case.
’0’ to place more emphasis on BLE Scan results
‘1’ to place more emphasis on WLAN performance

Change-Id: I46c735d8695523d14f6372bc5e47d1d1f51589ae
CRs-Fixed: 2935051
2021-07-19 14:06:06 -07:00
Madan Koyyalamudi
5cc22e8314 Release 2.0.8.21H
Release 2.0.8.21H

Change-Id: I93b67e02c02a8343b422e4e7d4e61b78bce7f2ea
CRs-Fixed: 774533
2021-07-19 08:34:10 -07:00
Deeksha Gupta
5c19f06a88 qcacld-3.0: Check NULL value of params
In hdd_sap_twt_get_session_params(), check NULL value of
params variable before it's used.

Change-Id: I47e57cbe98d7a0ee7015ab628d665037bf0b9853
CRs-Fixed: 2989510
2021-07-19 08:34:10 -07:00
Madan Koyyalamudi
49e0ae2c7d Release 2.0.8.21G
Release 2.0.8.21G

Change-Id: I0d972a60a8c40f359ce4d7e143924cc97622bba9
CRs-Fixed: 774533
2021-07-18 08:12:08 -07:00
sheenam monga
3a3d32c5e2 qcacld-3.0: Check valid freq for non-beaconing entities
Currently, In Reassoc and fast reassoc command host
validates freq from secondary channel list that may
cause issue for some frequencies which may be valid
for sta but invalid for sap.

Fix is to validate freq from valid channel list

Change-Id: I1ee81212425f7b4f997568b4fd92153231e349e8
CRs-Fixed: 2991541
2021-07-16 05:11:39 -07:00