Commit Graph

27920 Commits

Author SHA1 Message Date
Vijay Raj
0a934e2617 qcacld-3.0: Add support for Neighbor report Logging
In api cm_roam_stats_print_11kv_info(), neighbor report
logging was not supported.

Add support for Neighbor report connectivity logging
through api cm_roam_neigh_rpt_req_event() for Neighbor
report request event and api cm_roam_neigh_rpt_resp_event()
for Neighbor report response event.

Change-Id: If9d93584d4030f76b5175d361dfd34fce3b5b5b1
CRs-Fixed: 3370797
2023-01-17 16:40:55 -08:00
Madan Koyyalamudi
05af3948f7 Release 5.2.1.52G
Release 5.2.1.52G

Change-Id: Icbd4c525c4714066af3f666642253fc98c81035e
CRs-Fixed: 774533
2023-01-17 07:33:48 -08:00
Ashish Kumar Dhanotiya
21ec244877 qcacld-3.0: Trigger SSR on wakeup from pagefault
According to new requirement, use INIs
max_pagefault_wakeups_for_ssr,
interval_for_pagefault_wakeup_counts and
ssr_frequency_on_pagefault
to trigger SSR if host wakes up because of pagefault.
For ex: If max_pagefault_wakeups_for_ssr = 30,
interval_for_pagefault_wakeup_counts = 180000 (3 mins) and
ssr_frequency_on_pagefault = 3600000 (1hr), in this case host
will trigger the SSR if it receives 30 wakeups because of
pagefaults in 3 mins, host will trigger SSR only once in 1 hr.
Once the SSR is triggered, host will not trigger next SSR for
next 1 hr even if it receives 30 wakeups from fw because of
pagefaults. This 1 hr time is getting monitored from last SSR.

Change-Id: Ia06f87aff6d1552e37c582e7464f1b2451543502
CRs-Fixed: 3378502
2023-01-17 07:33:48 -08:00
Liangwei Dong
32b0fee858 qcacld-3.0: Check STA present for SAP unsafe channel CSA
ML STA connected on 2437 MHz and 5825 MHz (unsafe channel), GO started
on 5180 MHz. SAP was started on 5825 MHz for SCC with ML STA, but SAP
channel was changed from 5825 MHz to 5240 MHz after CSA.
At present after SAP start or CSA channel changed, the api
sap_fsm_handle_check_safe_channel will check the unsafe flag
for SAP operation channel. But it doesn't check the STA present
on the channel, SAP is allowed SCC with STA on unsafe channel
when g_sta_sap_scc_on_lte_coex_chan = 1.
Fix by use policy_mgr_is_sap_freq_allowed to check SAP channel unsafe
and wlansap_set_channel_change_with_csa to do more validation on
target channel.

Change-Id: I8ce56195c804156bd7c2a54c60144402636f5b06
CRs-Fixed: 3371880
2023-01-17 07:33:41 -08:00
Madan Koyyalamudi
191344751f Release 5.2.1.52F
Release 5.2.1.52F

Change-Id: I93c24c95b5455001bceb23747b34d501d52f68f5
CRs-Fixed: 774533
2023-01-17 05:29:19 -08:00
David Oladunjoye
6baed2b783 qcacld-3.0: Return error when unpermitted character is parsed in ini
Currently, when an unpermitted character is added to ini, driver
flags as an unknown config item and continues parsing. This could
be an issue. Change is to return error when invalid character is
parsed in ini.

Change-Id: I275c5093866906d5424dcd80d1cdecc98744b7ec
CRs-Fixed: 3366214
2023-01-17 05:29:18 -08:00
Balaji Pothunoori
92af7ea7b3 qcacld-3.0: Set 160 MHz chan width for 6 GHz band channel
Currently 160 MHz chan width set for 6 GHz band channel is not
allowing.
This change is to set 160 MHz chan width if 6 GHz band channel support.

Example cmd: hostapd_cli DRIVER CHANNEL_SWITCH <Channel> <BW>

Change-Id: I5955ba524d3e77fb49d7acf4098fd0c564e138b0
CRs-Fixed: 3356605
2023-01-17 05:29:13 -08:00
Asutosh Mohapatra
89c2d25ba1 qcacld-3.0: Use mac_addr pointer as constant
Use mac_addr pointer as constant in wlan_hdd_ml_sap_get_peer,
hdd_set_mld_address and use the same for consecutive APIs.

Change-Id: Ie1b959b14d42b4040b7f960ee3a13b355210e6fd
CRs-Fixed: 3331292
2023-01-17 05:29:07 -08:00
Madan Koyyalamudi
cf84960372 Release 5.2.1.52E
Release 5.2.1.52E

Change-Id: I837449ce58f5d3273f38de310d3f0bbb40a88127
CRs-Fixed: 774533
2023-01-16 09:13:17 -08:00
Sachin Ahuja
30dec8b155 qcacld-3.0: Increment the set feature version
Currently the set feature version is 2. There is a change in
min sleep period for TWT.

So increment the set feature version from 2 to 3

CRs-Fixed: 3378350
Change-Id: Iacee2a208b01144ced6b64834cbb3f6a5bedff20
2023-01-16 09:13:16 -08:00
Madan Koyyalamudi
133b1b4b45 Release 5.2.1.52D
Release 5.2.1.52D

Change-Id: Iebca17ad3d016176f067193c883cc5ff0a2ff8bb
CRs-Fixed: 774533
2023-01-16 04:34:28 -08:00
Amruta Kulkarni
38e2b1f38d qcacld-3.0: Handle t2lm ie after connection complete
Change done to handle t2lm ie after MLO connection
is completed and save tsf value received in beacon.
Also fix to not select link if tid mapping is not present.

Change-Id: Ie2ce1fcfa50a4e14a083a508b268dfebb308d3ad
CRs-Fixed: 3342807
2023-01-16 04:34:27 -08:00
Madan Koyyalamudi
4e115d2c55 Release 5.2.1.52C
Release 5.2.1.52C

Change-Id: I571583c79adaa3a5ed7291eaab7900afa8ae5791
CRs-Fixed: 774533
2023-01-15 10:13:34 -08:00
Liangwei Dong
4a18155583 qcacld-3.0: Add phy regulatory frequency range check
If phy regulatory capability doesn't support high or low
frequency indicated by MACRO such as HIGH_5GHZ_FREQ,
LOW_5GHZ_FREQ, we should not hard code to the MACRO.
The change adds new mlme API wlan_mlme_get_phy_max_freq_range
to get phy regulatory ranges from target info.

Change-Id: I95f48296ca093c20b1391d7657204eecfb418908
CRs-Fixed: 3376402
2023-01-15 10:13:33 -08:00
Madan Koyyalamudi
bea97be080 Release 5.2.1.52B
Release 5.2.1.52B

Change-Id: If0a416e36222467dd91db7f29d16496d7fd57bdd
CRs-Fixed: 774533
2023-01-15 07:08:13 -08:00
Gururaj Pandurangi
8859328749 qcacld-3.0: Add support for T2LM action frame handling
Add support for T2LM action frame handling.
- Add an API to parse T2LM negotiation request action frame
and accept or reject T2LM mapping based on ML link info.
If accepted, store the new info in peer level context
and send it to FW.
- Add an API to send T2LM response action frame to
acknowledge request action frame with status code.
- Add wrapper API to invoke T2LM deliver event.

Change-Id: I10d440bd1713740ab8b9f1fe46439bea92e179db
CRs-Fixed: 3367425
2023-01-15 07:08:12 -08:00
Gururaj Pandurangi
2d198ceb4e qcacld-3.0: Add dot11f support to handle t2lm action frames
Add dot11f support to handle t2lm negotiation action frames
such as negotiation request, negotiation response, and
teardown action frames.

Change-Id: I4ddb40267da09a27cfe6cb686a0037867943602e
CRs-Fixed: 3367423
2023-01-15 07:08:06 -08:00
Madan Koyyalamudi
58ec133f9b Release 5.2.1.52A
Release 5.2.1.52A

Change-Id: If5f64e8ed94672393c244764b60d6b4d9a73ec59
CRs-Fixed: 774533
2023-01-15 00:36:28 -08:00
Karthik Kantamneni
5b66893892 qcacld-3.0: Configure RX ring size based on supported data mode
Configure RX refill ring size based supported nss mode.
In 1x1 mode throughput supported will be less,
it does not require higher RX refill ring size so
in 1x1 mode use reduced refill ring configuration.

Change-Id: Iab1db3e99b1a30cf1dd3d584192363cbffa84ec1
CRs-Fixed: 3376948
2023-01-15 00:36:27 -08:00
Madan Koyyalamudi
734a1c1075 Release 5.2.1.52
Release 5.2.1.52

Change-Id: I429b04252438e60f10f7d914a0ffb4bf25de988d
CRs-Fixed: 774533
2023-01-14 18:15:50 -08:00
Ashish Kumar Dhanotiya
062cb174f2 qcacld-3.0: Add INIs to trigger SSR for wakeup on pagefault
According to new requirement, add INIs
max_pagefault_wakeups_for_ssr,
interval_for_pagefault_wakeup_counts and
ssr_frequency_on_pagefault to trigger SSR if host wakes up
because of pagefault.

For ex: If max_pagefault_wakeups_for_ssr = 30,
interval_for_pagefault_wakeup_counts = 180000 (3 mins) and
ssr_frequency_on_pagefault = 3600000 (1hr), in this case host
will trigger the SSR if it receives 30 wakeups because of
pagefaults in 3 mins, host will trigger SSR only once in 1 hr.
Once the SSR is triggered, host will not trigger next SSR for
next 1 hr even if it receives 30 wakeups from fw because of pagefaults.
This 1 hr time is getting monitored from last SSR.

Change-Id: Ic122a7d8e8749870bfa5d28e74f6e9ee19493d04
CRs-Fixed: 3378492
2023-01-14 18:15:50 -08:00
Madan Koyyalamudi
92a4edab4c Release 5.2.1.51Z
Release 5.2.1.51Z

Change-Id: I8b2148bf31c46cabe0cd6774f06badb703a52753
CRs-Fixed: 774533
2023-01-14 01:12:30 -08:00
Paul Zhang
2e183b559f qcacld-3.0: correct logic for parsing t2lm ie
Adding extn_ie_header and the invoking function
wlan_mlo_parse_t2lm_info because dot11f logic
removed the ie header.

Change-Id: I957c574ecf6323bfd6fb488f417ab1f738b4ee37
CRs-Fixed: 3362726
2023-01-14 01:12:29 -08:00
Madan Koyyalamudi
f36e98bbd0 Release 5.2.1.51Y
Release 5.2.1.51Y

Change-Id: Ie7e06a1962ff0ae8f0c655954d22750ffd0d7d31
CRs-Fixed: 774533
2023-01-13 23:20:22 -08:00
Aditya Kodukula
b561685fe2 qcacld-3.0: Add peach defconfig file
Add peach_defconfig configuration file for peach device.

Change-Id: I5be7e29c544defbef33a7bd8efcb28f9fbb17980
CRs-Fixed: 3360828
2023-01-13 23:20:21 -08:00
Vinod Kumar Myadam
096eb8ce07 qcacld-3.0: Add support to disable concurrency
Add feature flag to disable concurrency

1. STA+P2P+P2P
2. STA+SAP+P2P
3. SAP+P2P
4. P2P+P2P
5. SAP+NAN
6. STA+SAP
7. STA+NAN

Change-Id: Ibbdfa866e5cdefc036ea7f401997a8ab71e0629b
CRs-Fixed: 3345359
2023-01-13 23:20:16 -08:00
Madan Koyyalamudi
41604b3685 Release 5.2.1.51X
Release 5.2.1.51X

Change-Id: I0c1a08a416eecf870fe3ce139aa15925e77cac8e
CRs-Fixed: 774533
2023-01-13 20:23:14 -08:00
Aditya Kodukula
a0878dc902 qcacld-3.0: Remove unused config flag
Remove legacy unused config flag from defconfig files.

Change-Id: Iec3c760be7e6cf2cc789d6bd916642e922ae43a1
CRs-Fixed: 3380334
2023-01-13 20:23:14 -08:00
Bing Sun
1c4eb765df qcacld-3.0: Add API to notify channel switch to EasyMesh
When the channel of AP is changed, notify the new channel to
EasyMesh.

Change-Id: If38306110d5b69cb4d5211b49ea484ce4f6626bb
CRs-Fixed: 3371337
2023-01-13 20:23:08 -08:00
Madan Koyyalamudi
a476ae0197 Release 5.2.1.51W
Release 5.2.1.51W

Change-Id: I0fa591cb22de4e9bbf2125be861c80cc3d52a96d
CRs-Fixed: 774533
2023-01-13 16:37:47 -08:00
Divyajyothi Goparaju
7f3dd1a81f qcacld-3.0: Use proper param type
Currently in the host in wma_set_sap_keepalive API
using incorrect param type i.e uses MLME_PDEV_PARAM
for vdev set param, hence host sends vdev params
as pdev params,pdev_id as vdev_id causes crash.

This fixes the MLME_PDEV_PARAM to MLME_VDEV_PARAM
for wma_send_multi_pdev_vdev_set_params in
wma_set_sap_keepalive.

Change-Id: Iae35211aa5057d2bb3a69b8f5caca6a548f9ed2f
CRs-Fixed: 3379012
2023-01-13 16:37:46 -08:00
Bing Sun
8080b13968 qcacld-3.0: Do not change home channel when update phymode from SON
When updating the phymode of SAP required from SON, do not change current
home channel. Currently hdd_restart_sap uses the channel information
from sap_config to do SAP restart. For SON, we need override the
sap_config channel information with desired channel information in vdev.

Change-Id: Ie01a5dc9c3cd6bbae1bbe246e6f17a329189be50
CRs-Fixed: 3371361
2023-01-13 16:37:41 -08:00
Divyajyothi Goparaju
3a74cf4544 qcacld-3.0: Fix NULL pointer dereference issues
Currently in wma_send_multi_pdev_vdev_set_params,
wma_validate_txrx_chain_mask APIs there is no NULL
check before dereferencing the pointer
in wma_dev_if.c

Add NULL check before dereference in
wma_send_multi_pdev_vdev_set_params and
wma_validate_txrx_chain_mask APIs

Change-Id: Ifa8e6dbdd9421145970a95f9c73794e79a41f8c3
CRs-Fixed: 3378273
2023-01-13 16:37:36 -08:00
Madan Koyyalamudi
1a2f2a543d Release 5.2.1.51V
Release 5.2.1.51V

Change-Id: I1b055107ac5b7845656d32aa7a90e4cdeee557ff
CRs-Fixed: 774533
2023-01-13 12:48:22 -08:00
sandhu
e0f030a157 qcacld-3.0: Remove check for num of partner links
Remove check for num of partner links before adding
ml ie element and eht capabilities. Single link be
connection should have ml ie element.

Change-Id: Ib88472f551af0971ef7d729f7c953bdc0aa7c89c
CRs-Fixed: 3376377
2023-01-13 12:48:21 -08:00
Madan Koyyalamudi
503331463b Release 5.2.1.51U
Release 5.2.1.51U

Change-Id: I3131ba14cc0964a89463b09baa39a38f50a25835
CRs-Fixed: 774533
2023-01-13 10:38:22 -08:00
Amruta Kulkarni
da2a5ddc15 qcacld-3.0: Fix maximum number of simultaneous links for ML connection
While populating assoc request for mlo connection, the maximum number
of simultaneous links is always set as 1.

Fix this by checking the number of partner links from pe session
join request.

Change-Id: Ia091f4d31f8fe684de06afc5ece5f5d69646d6e4
CRs-Fixed: 3376719
2023-01-13 10:38:21 -08:00
Jeff Johnson
7909bafb0f qcacld-3.0: Fix Pre-CAC Documentation
The kernel-doc script identified a few documentation issues in
components/pre_cac, so fix them.

Change-Id: Ie2a9be0c410e32c8e7ca5a86ed0dec7df5b62d25
CRs-Fixed: 3359794
2023-01-13 10:38:16 -08:00
Amit Mehta
3d43f1c6fe qcacld-3.0: Move TSF related variables to single structure
Move TSF related variables to single structure

Change-Id: Id358774d96c07162537407fbc04142b52b48e0e8
CRs-Fixed: 3366522
2023-01-13 10:38:11 -08:00
Jianmin Zhu
a8256d8add qcacld-3.0: Add check to avoid multiple disassoc on ML disconnect
When send disassoc, check if ML peer state is ML_PEER_DISCONN_INITIATED
that indicates the link vdev has sent disassoc frame to FW. If the
check is true, then do not send another disassoc for assoc vdev
to avoid FW assert.

Change-Id: I8ba98c98fa3af8f4a547f4b7e63c73a44e32df74
CRs-Fixed: 3379097
2023-01-13 10:38:06 -08:00
Madan Koyyalamudi
6e3a32df69 Release 5.2.1.51T
Release 5.2.1.51T

Change-Id: I424ca1b840978c79c7bc615ccef5daf8b82470dd
CRs-Fixed: 774533
2023-01-13 02:09:41 -08:00
Jeff Johnson
8da282a666 qcacld-3.0: Fix UMAC Documentation
The kernel-doc script identified a multitude of documentation issues
in components/umac, so fix them.

Change-Id: If30358cb83e90348e410cfea163353f2dd26b3fa
CRs-Fixed: 3360814
2023-01-13 02:09:41 -08:00
Madan Koyyalamudi
8a6e8cdf69 Release 5.2.1.51S
Release 5.2.1.51S

Change-Id: Icc55f84a6417b40f030f76d23f0944d03d2a37ed
CRs-Fixed: 774533
2023-01-12 06:25:15 -08:00
Asutosh Mohapatra
511a53387d qcacld-3.0: Print delayed packet information
Currently there is no information of delayed
wakeup packets when APPS is resumed because
of delayed wakeup.

Add the support to print the number of delayed
packets buffered in FW when resume happens.

Change-Id: Id76347f87f3c440b793f5d3bcb11270db8bdf061
CRs-Fixed: 3307262
2023-01-12 06:25:15 -08:00
Madan Koyyalamudi
2ac1678243 Release 5.2.1.51R
Release 5.2.1.51R

Change-Id: I87a047434c4dda511978949c5aae0f06c2de1495
CRs-Fixed: 774533
2023-01-11 17:23:43 -08:00
Bing Sun
5556d8cba7 qcacld-3.0: Get vdev phymode from vdev desired channel
sme_get_phy_mode does not return correct phymode for vdev.
For vdev, get phymode from vdev desired channel.

Change-Id: I316cd6cfb18427b25c10bbac68bda90857bf5922
CRs-Fixed: 3368679
2023-01-11 17:23:42 -08:00
Bingkui Liu
1b746c479c qcacld-3.0: Remove wowlAddPtrn input limit
wowl_add_ptrn sysfs interface can't accept the full length of
pattern command. This change fixes the problem through dynamic
memory allocation.

Change-Id: Iddeee56cf4ed675bc7578dd9ce976028fae77b3c
CRs-Fixed: 3358847
2023-01-11 17:23:37 -08:00
Madan Koyyalamudi
c5e1a62094 Release 5.2.1.51Q
Release 5.2.1.51Q

Change-Id: Iff9eb1cbc6f0fdb1b73a34f5d28f5d45d6a349b0
CRs-Fixed: 774533
2023-01-11 06:53:15 -08:00
Jeff Johnson
a38d67be64 qcacld-3.0: Fix Target Interface Documentation
The kernel-doc script identified some documentation issues in
components/target_if, so fix them.

Change-Id: Id925b899074b1e9491cc3b9a3066420512459770
CRs-Fixed: 3359868
2023-01-11 06:53:15 -08:00
Madan Koyyalamudi
884f011576 Release 5.2.1.51P
Release 5.2.1.51P

Change-Id: Ic8bf64ce93a97d26d35cf392ba2c7d4a782490fd
CRs-Fixed: 774533
2023-01-11 03:47:05 -08:00