Commit Graph

21213 Commitit

Tekijä SHA1 Viesti Päivämäärä
Madan Koyyalamudi
f7c93a3579 Release 5.2.0.248E
Release 5.2.0.248E

Change-Id: I1fede316cb2148471aebd9606131959610b653f0
CRs-Fixed: 774533
2021-09-17 16:53:26 -07:00
Gururaj Pandurangi
98f9fe57f4 qcacld-3.0: Reduce log level of certain error logs
Reduce log level of a few error logs to reduce
excessive logging.

Change-Id: I3e93d033bc29a7dfee5c5ef18d52cded54fc1cbb
CRs-Fixed: 3035970
2021-09-17 16:53:25 -07:00
Madan Koyyalamudi
062e9de50c Release 5.2.0.248D
Release 5.2.0.248D

Change-Id: I5ebba1f3c41f99fde3c586ba7edf2493f84c5864
CRs-Fixed: 774533
2021-09-17 13:47:53 -07:00
Pragaspathi Thilagaraj
612fe2eca2 qcacld-3.0: Add infrastructure for connect/roam logging
Add new files for connect/roam logging. Add changes to
initialize the logging buffer.
Make changes to support enqueue/dequeue log.
Define enums for MAIN_TAG, Sub TAG, category.
Add structure definitions for logging buffer.

Change-Id: I1d283fcf464da90d4f5533214d480ddda156ec27
CRs-Fixed: 3013486
2021-09-17 13:47:47 -07:00
Madan Koyyalamudi
a508e25951 Release 5.2.0.248C
Release 5.2.0.248C

Change-Id: I63468fa7763704bba2f30086436c0c0964d70d9f
CRs-Fixed: 774533
2021-09-17 11:28:50 -07:00
Ashish Kumar Dhanotiya
6e6c8ad277 qcacld-3.0: Update HE connection width correctly
Currently driver does not update HE connection width
correctly when it indicates about assoc indication from
lim to hdd. Which results in incorrect indication of chwidth
to hdd.

To address this issue update HE connection width correctly
from lim to hdd.

Change-Id: I9ccc4435dc621ed3698f944fd2821afd648f2d1a
CRs-Fixed: 3028799
2021-09-17 11:28:50 -07:00
Sandeep Puligilla
8adfd4347f qcacld-3.0: Higher Bandwidth support 80/80+80/160 in 2.4G Band
Higher Bandwidth support 80/80+80/160 is enabled on 2.4G Band.

Modififed the population of peer capability logic to disable
80+80/160 based on the band.

Change-Id: I8319ef3fcd93676bca1115a088a926a772545d24
CRs-Fixed: 3030837
2021-09-17 11:28:45 -07:00
Ashish Kumar Dhanotiya
7195028bb7 qcacld-3.0: Create dump in progress wifi kobject under feature flag
Currently wifi creates kobject for dump in progress feature without
any feature flag, since this kobject is for dump is progress
feature and there is already feature flag available for this
feature so move this code under feature flag.

Change-Id: Ib1155194dbec434c3ecd9949514c6c9931e3e661
CRs-Fixed: 3036752
2021-09-17 11:28:40 -07:00
Madan Koyyalamudi
33380818b0 Release 5.2.0.248B
Release 5.2.0.248B

Change-Id: Ie3f931d4cfa3358ad3979bb5f5ad77f32d0e7503
CRs-Fixed: 774533
2021-09-17 08:45:11 -07:00
Madan Koyyalamudi
6eb4789d87 Release 5.2.0.248A
Release 5.2.0.248A

Change-Id: Icc4b20923b1498c2c3c41d7fff62aabd26f5c46c
CRs-Fixed: 774533
2021-09-17 03:40:47 -07:00
Madan Koyyalamudi
62e29ab7ec Release 5.2.0.248
Release 5.2.0.248

Change-Id: I674f0f2ecf3317d05b5ab3f1cb2da395e07fb68f
CRs-Fixed: 774533
2021-09-17 01:18:27 -07:00
sheenam monga
265f8960fa qcacld-3.0: Enhance g_enable_go_force_scc for liberal mode
INI g_enable_go_force_scc states the force MCC to SCC mode.
Mode 1-strict: Implement force scc strictly as part of start bss
Mode 2-liberal: Turn on p2p go on provided channel and move
first p2p go to the new p2p go channel after set key.

Currently for p2p-GO forceSCC, support is present where no matter
what is the GO negotiated channel in start_bss, driver will force
the other GO/STA/GC channel (on the same band) to the current GO
channel. This is force SCC strict mode where value 1 is used for
g_enable_go_force_scc ini. In this mode GC will have to do full
scan as the GO channel may be different from actual negotiated
channel. DUT may see some issues if GC dosent do full scan in
this mode.

As part of this change, add support for value 2(Liberal mode)
in g_enable_go_force_scc ini. As part of this liberal mode,
driver will allow the GO to start in MCC mode and after set key,
it will check any other concurrent GO and will do forceSCC for
that GO to the newly formed GO channel.

Change-Id: Ifc7beb06335616c51dc064f48a78b825dbdbda25
CRs-Fixed: 2992098
2021-09-17 01:18:27 -07:00
Will Huang
5936edf256 qcacld-3.0: Add H2E require flag to extended support rate
If SAE/H2E required by hostapd configure, it must populate in
supported rate or extended support rate set, add host driver support
to check this flag and populate it in extended support rate set.

Change-Id: Id75b5743e93a1a0f1d13150d5436d256e2ca117c
CRs-Fixed: 3016492
2021-09-17 01:18:06 -07:00
Madan Koyyalamudi
20a00e8cab Release 5.2.0.247Z
Release 5.2.0.247Z

Change-Id: I71c55fdfdc90349b62c7e41ca40be2295e3126a4
CRs-Fixed: 774533
2021-09-16 10:47:25 -07:00
Pragaspathi Thilagaraj
6d69abef11 qcacld-3.0: Fix invalid bss descriptor length check
bss_descriptor->length is calculated as:
bss_desc->length = ie_length + sizeof(*bss_desc) -
                   sizeof(bss_desc->len)

In wlan_get_ielen_from_bss_description(), the bss_desc length is
validated as below to return failure if ie_length is 0:
=> (bss_desc->length - sizeof(bss_desc->len)) <= ieFields_offset
Since the bss_desc->length already has the sizeof(bss_desc->len)
subtracted while it was populated.
So this could return failure, if the SSID IE length is less than
or equal to 4.
To avoid this, change the failure condition as below:
(bss_desc->length <= (ieFields_offset - sizeof(bss_desc->len))

Change-Id: Ib0af8e967c26ff0ca9a3b8c44107be4e80378e01
CRs-Fixed: 3022657
2021-09-16 10:47:24 -07:00
Ashish Kumar Dhanotiya
33ec87f37a qcacld-3.0: Add feature flag for connection roaming ini
Currently driver don't have any feature flag for connection
roaming ini config and it directly tries to read the connection
roaming ini file, on some of the platforms if this ini file is
not present it returns failure message but some of the platforms
results in timeout which results in unexpected behavior.

To address above issue add a feature flag to read connection
roaming ini config.

Change-Id: Ica4159533e46ca5cc2048bf50eab2290bf5ae7d5
CRs-Fixed: 3035148
2021-09-16 10:47:19 -07:00
Madan Koyyalamudi
994d6cf5e2 Release 5.2.0.247Y
Release 5.2.0.247Y

Change-Id: I15860f2bd2adf3f108bde2cc3298a79e6d96056c
CRs-Fixed: 774533
2021-09-16 08:28:20 -07:00
Alan Chen
b876624d30 qcacld-3.0: Change log level of ns offload print
Change the failed to cache ns request log level from error to debug.

Change-Id: Idc5799f41d831c238efd6061e1363a9fd58b63c5
CRs-Fixed: 3037768
2021-09-16 08:28:20 -07:00
Madan Koyyalamudi
4046d9f920 Release 5.2.0.247X
Release 5.2.0.247X

Change-Id: Ide576a7e325c109b57a07266ae9d9a0df6eec014
CRs-Fixed: 774533
2021-09-16 05:09:24 -07:00
Kiran Kumar Lokere
ede9944e73 qcacld-3.0: Fix the issue with HE mcs map config
Supported HE Rx MCS map is disabled if the intersected Tx MCS
map has no supported MCS. Derive the Rx MCS map with self Tx and
peer Rx MCS map.

Change-Id: I27281c168dd507edc97b1e6a4085037c508a5b96
CRs-Fixed: 3030433
2021-09-16 05:09:23 -07:00
Madan Koyyalamudi
f81d4dc850 Release 5.2.0.247W
Release 5.2.0.247W

Change-Id: Icf995b5283509a79de2c0fd1b024d2fff3f78aeb
CRs-Fixed: 774533
2021-09-15 21:40:58 -07:00
Madan Koyyalamudi
3e89fb67ba Release 5.2.0.247V
Release 5.2.0.247V

Change-Id: I99ccf561ab2aa65ec4fb584d1a7a69e07519f260
CRs-Fixed: 774533
2021-09-15 18:51:20 -07:00
Bapiraju Alla
a258356ca1 qcacld-3.0: Don't set link id info present in ML probe request
Don't set link id info present bit in the ML IE of the probe request

Change-Id: I62a04969c8c6f731ab8c68f6af2cb29219a19cb2
CRs-Fixed: 3035997
2021-09-15 18:51:20 -07:00
Madan Koyyalamudi
f28e14bfa2 Release 5.2.0.247U
Release 5.2.0.247U

Change-Id: Iefff8b899fa8c39d97f448cf41b5cb78f912a217
CRs-Fixed: 774533
2021-09-15 10:49:51 -07:00
Madan Koyyalamudi
b5bc501181 Release 5.2.0.247T
Release 5.2.0.247T

Change-Id: I13cd281baef7d65597bca060d8131d144259d41a
CRs-Fixed: 774533
2021-09-15 08:40:19 -07:00
Madan Koyyalamudi
9e8cf68953 Release 5.2.0.247S
Release 5.2.0.247S

Change-Id: I23c331141fdcc09d93f498dc97394fb162a97dfe
CRs-Fixed: 774533
2021-09-15 06:12:52 -07:00
Bing Sun
9a4383eb29 qcacld-3.0: Change mlo sta state when changing state of a SAP station
Peer state of mlo sta info is not changed to OL_TXRX_PEER_STATE_AUTH
while Peer state of link sta info is changed to OL_TXRX_PEER_STATE_AUTH

Peer state of mlo sta info should be changed together with link sta info.
When change the state of a SoftAP station, do it for mlo sta info.

Change-Id: I6c157d1381543637d9ce82c9a45864eed6de4396
CRs-Fixed: 3032861
2021-09-15 06:12:52 -07:00
Madan Koyyalamudi
e98cec0d27 Release 5.2.0.247R
Release 5.2.0.247R

Change-Id: I12dbefc9db1fa05383b20e10bb9a7c38f1718aa4
CRs-Fixed: 774533
2021-09-15 00:49:07 -07:00
sheenam monga
dd9481c12a qcacld-3.0: change mode to p2p device for p2p interface
Currently, mode of p2p virtual interface with type managed
is added as sta mode. This may cause issue during p2p find
as in function p2p_vdev_check_valid probe response frames
are dropped for sta mode.

Fix is to convert mode to P2P DEVICE mode from STA mode in
case added interface string contains p2p substring.

Change-Id: I9bf9d8c44af940b42c38cd7819bcdb9c00a90a26
CRs-Fixed: 3036500
2021-09-15 00:49:07 -07:00
Madan Koyyalamudi
cc9e61c9d9 Release 5.2.0.247Q
Release 5.2.0.247Q

Change-Id: I4b2624a4b3c2e44fc2533c4bc2921a24001f8a76
CRs-Fixed: 774533
2021-09-14 16:51:57 -07:00
Madan Koyyalamudi
e81a59f4eb Release 5.2.0.247P
Release 5.2.0.247P

Change-Id: I2f2c53d02f5aea0d45a9318e7947b2786c155a67
CRs-Fixed: 774533
2021-09-13 17:03:03 -07:00
Alan Chen
ea9938f5e4 qcacld-3.0: Fine tune PM QOS vote for allowing/preventing RTPM
For CPU, the enter & exit latency of the deepest LPM mode(CXPC) is
about ~10ms. So long as required QoS latency is longer than 10ms,
CPU can enter CXPC mode. Add 10 ms threshold for allowing and
preventing dynamic RTPM from PM QOS callback.

Change-Id: I8e3026e0e1bab548ab727a52569de9cb17fb5918
CRs-Fixed: 3032657
2021-09-13 17:02:57 -07:00
Madan Koyyalamudi
57b1e2ca70 Release 5.2.0.247O
Release 5.2.0.247O

Change-Id: I5de3d4f601d0371ec1a5c33ca1aaf73f753c72b4
CRs-Fixed: 774533
2021-09-12 01:12:17 -07:00
Aditya Kodukula
ac2783819c qcacld-3.0: Move MDNS offload changes to a new file
Add a new file and move mdns offload changes into it.

Change-Id: I6b42dd7abfbf91952ca2b7e6a89b46df269ff32f
CRs-Fixed: 3032927
2021-09-12 01:12:17 -07:00
Madan Koyyalamudi
922be5af48 Release 5.2.0.247N
Release 5.2.0.247N

Change-Id: I0a59784d1f7834eff477139e0fabaf69d1a9a619
CRs-Fixed: 774533
2021-09-11 00:45:37 -07:00
Madan Koyyalamudi
dabb722661 Release 5.2.0.247M
Release 5.2.0.247M

Change-Id: I0583048b1cfe9c22bdfb34e146f534ceeabfae5c
CRs-Fixed: 774533
2021-09-10 22:28:47 -07:00
Bing Sun
b2416f839e qcacld-3.0: Set mlo enable in WMI_PEER_CREATE_CMDID
Driver should set mlo parameters with mlo enable of mlo parameters in
WMI_PEER_CREATE_CMDID

Change-Id: I023578dd87ffec3388ada3bf66c6d58c093047dc
CRs-Fixed: 3033220
2021-09-10 22:28:47 -07:00
Bing Sun
a66ea3121c qcacld-3.0: Populate mlo IE in assoc response only for mlo connection
Populate mlo IE in assoc response only for mlo connection.
Mlo IE in assoc response should be the last IE to pupulate.

Change-Id: Ibcf63159bde942d6e08eb544c1a799203f0360f3
CRs-Fixed: 3033878
2021-09-10 22:28:42 -07:00
Madan Koyyalamudi
24c3e1a25e Release 5.2.0.247L
Release 5.2.0.247L

Change-Id: I18d824a2bc5b277bd6e53c9fab099fcb728b85df
CRs-Fixed: 774533
2021-09-10 20:09:35 -07:00
abhinav kumar
3173789d99 qcacld-3.0: Add new BT Coex roam trigger reason
Send additional roam trigger TLV for BTC in
WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID
command, to support a new roaming trigger
"WMI_ROAM_TRIGGER_REASON_BTC".

Change-Id: Ib767bd6bcf005c187b0fb58986ad287fe8753c1b
CRs-Fixed: 3009788
2021-09-10 20:09:34 -07:00
Madan Koyyalamudi
f577368da6 Release 5.2.0.247K
Release 5.2.0.247K

Change-Id: I714374488aaa268ea2dcd881620642514e65d838
CRs-Fixed: 774533
2021-09-10 17:51:48 -07:00
Lincoln Tran
1922e2a9b5 qcacld-3.0: Move regulatory wait to restart path
The current logic to wait for the regulatory update is set in
hdd_wlan_start_modules. However, this function is called in both normal
startup and in idle restart. The regulatory event only comes to the
driver on idle restart. Set the flag in the idle restart path only.

Change-Id: I52ac1f2d84650fd3757133c9bc28e87ee2b903cb
CRs-fixed: 3030575
2021-09-10 17:51:48 -07:00
Yu Wang
8a23dab257 qcacld-3.0: Refine BW for SAP for concurrent case
When concurrent STA is present and DBS is capable:
If the concurrent channel is DFS channel, make sure
the maximum SAP BW is equal or less than BW of STA;
If it's NOT, and the maximum SAP BW to be set is 160MHz,
reduce it to 80MHz.

Change-Id: Id2460b9d316bf7b91175611687bada0da11d5a93
CRs-Fixed: 3032225
2021-09-10 17:51:43 -07:00
Madan Koyyalamudi
8c92576203 Release 5.2.0.247J
Release 5.2.0.247J

Change-Id: I6c7f354ca72348a60be327dcc7aaad4de059cf1f
CRs-Fixed: 774533
2021-09-10 15:36:14 -07:00
Yu Wang
a4791d8279 qcacld-3.0: add build flag for network package timestamping
Network package timestamping is optional for TSF feature,
to make it configurable, add a new build flag
WLAN_FEATURE_TSF_PLUS_SOCK_TS.
This flag will be set only when CONFIG_WLAN_SYNC_TSF_PLUS
is enabled and CONFIG_WLAN_SYNC_TSF_PLUS_DISABLE_SOCK_TS
is not.

Change-Id: I413e85fadf93264cd41c2739b6d870aa08d60efb
CRs-Fixed: 3027378
2021-09-10 15:36:13 -07:00
Yu Wang
cfeefec851 qcacld-3.0: add fallthrough statement to fix compile error
Add fallthrough statement to identify intentional fall-through case.

Change-Id: I563cec88808a8e72e136e67ca81de1a0105c8e60
CRs-Fixed: 3033125
2021-09-10 15:36:06 -07:00
Kiran Kumar Lokere
7ef82b2370 qcacld-3.0: Fix the TWT suspend operation command failure
TWT params are optional attributes for TWT suspend operation.
Do not mandate the check for TWT params for TWT suspend command.
Parse the TWT params if attribute is present in the suspend
command else use the default value.

Change-Id: I62fa5e0e8a9c0346957184b9578bdd273017df21
CRs-Fixed: 3027776
2021-09-10 15:35:54 -07:00
Chaoli Zhou
c4e53f966a qcacld-3.0: Return EBUSY instead of EINVAL in SSR case
In the SAP + p2g go SSR case, wpa_supplicant
will receive INTERFACE_UNAVAILABLE while driver
is doing SSR, then it will triger wpa_supplicant
to remove the p2p go from the interface and
change the mode from NL80211_IFTYPE_P2P_GO to
NL80211_IFTYPE_STATION. But it has the possibility
that switch mode failure due to qdf_is_recovering
is true from __dsc_vdev_can_trans, then
wpa_supplicant will get error code -EINVAL from
wlan_hdd_cfg80211_change_iface.
But current wpa_supplicant just only support
mode switch retry in the EBUSY case, so change the
return value from EINVAL to EBUSY if driver is
in recovery state to let wpa_supplicant has the
chance to do mode switch retry in the SSR case.

Change-Id: Id0f959a1e8386061d0258f520dba17e9efae1d08
CRs-Fixed: 2929212
2021-09-10 15:35:47 -07:00
Madan Koyyalamudi
bbe908f881 Release 5.2.0.247I
Release 5.2.0.247I

Change-Id: I0ff0b2b15fa85051f5131074c6d139d3131cde8c
CRs-Fixed: 774533
2021-09-09 13:09:13 -07:00
Bing Sun
3947022a92 qcacld-3.0: Fill csa offset in mlo IE when sending beacon template
Fill csa/ecsa offset in mlo IE when sending beacon template wmi cmd
to FW

Change-Id: If097bdfbf36a8d1d6ff41daf571ac8e3567ab45d
CRs-Fixed: 3023049
2021-09-09 13:09:13 -07:00