Граф коммитов

27934 Коммитов

Автор SHA1 Сообщение Дата
Madan Koyyalamudi
dffe842be4 Release 5.2.1.52L
Release 5.2.1.52L

Change-Id: I29764c46cdbbc796d6ba2cb8fbae07acfb41c537
CRs-Fixed: 774533
2023-01-19 09:30:38 -08:00
Rahul Gusain
3ba0586a80 qcacld-3.0: Increase the bad BSSID threshold counter max value
"bad_bssid_counter_thresh" is an ini parameter to specify the threshold
after which the BSSID is in the avoid list should be moved to
deny list, assuming that the AP or the gateway with which the data
stall happened has not recovered, and now the STA got the NUD
failure again with the BSSID.
Currently, in driver sets max value for this ini param as 10.
But for some new requirement, this value is required to 100 as
user does not want any BSSID in reject list.
So, to enable this feature, increase the max value for this param
as 100.

Change-Id: I80e908c82ea74801bfcb04a9669cc4b4589f0dec
CRs-Fixed: 3382136
2023-01-19 09:30:38 -08:00
Madan Koyyalamudi
215cc78776 Release 5.2.1.52K
Release 5.2.1.52K

Change-Id: Iad30614040f18918913f551525d18d1b0ef9dc22
CRs-Fixed: 774533
2023-01-19 02:54:06 -08:00
Rakesh Pillai
61df77a203 qcacld-3.0: Add pre-alloc entries for datapath cfg event history
Add pre-alloc entries for datapath config events
history, so that the memory for this history is
pre-allocated and not freed on every wifi off.

Change-Id: Iae1013c68a77d7da719400579af43369d9663163
CRs-Fixed: 3379157
2023-01-19 02:54:06 -08:00
Rakesh Pillai
56c9e8a47c qcacld-3.0: Enable datapath config events history
Enable datapath config events history for debug builds.

Change-Id: If76a5592177ba844736a1ec01e82a8cbe20e408f
CRs-Fixed: 3379155
2023-01-19 02:53:59 -08:00
Paul Zhang
ae8bda23bc qcacld-3.0: Add log category setting for T2LM
Currently, T2LM log is not printed by default. Setting
category_verbose_mask to QDF_TRACE_LEVEL_ALL.

Change-Id: If3f347b922d916b2594182067c3e4021e66fa3e0
CRs-Fixed: 3381636
2023-01-19 02:53:53 -08:00
Madan Koyyalamudi
afc641b327 Release 5.2.1.52J
Release 5.2.1.52J

Change-Id: I357e7373c0a3c14846998a291c46c5e125fccba8
CRs-Fixed: 774533
2023-01-18 06:00:10 -08:00
Asutosh Mohapatra
dee1c76bd6 qcacld-3.0: Add new INI to separate scan policy for rest of world users
Currently host drops an AP from scan list if host country is set to
US and AP country is non-US. This implementation violates our
standard regulatory scan policy.

To address this issue, introduce a new INI to differentiate
between our standard regulatory policy with others.

Change-Id: Ie6bd2d1925048aef427136b34d00d361955f40b2
CRs-Fixed: 3377242
2023-01-18 06:00:09 -08:00
Madan Koyyalamudi
e6dff08dac Release 5.2.1.52I
Release 5.2.1.52I

Change-Id: If821e1074b311407bf38ba175bf66ba7a97c372c
CRs-Fixed: 774533
2023-01-17 21:04:31 -08:00
Asutosh Mohapatra
46e7eb6701 qcacld-3.0: Do not allow connection if STA VLP not supported
If country code for AP and STA are same and if STA does not
support VLP mode for a particular channel and if AP power
type is misconfigured to VLP mode, do not allow connection
to that AP as per regulatory guidelines.

Change-Id: I5c9759d1e8077e83f7b28985253be871213c8385
CRs-Fixed: 3375815
2023-01-17 21:04:31 -08:00
Roopavathi Lingampalli
38bf757799 qcacld-3.0: Add Component APIs for required ucfg APIs in DP component
When component dependent functions calling from higher
modules or any other components, it uses ucfg APIs pattern.
Calling ucfg dependent APIs is acceptable for higher modules
like HDD, OSIF but for another components like DP to avoid
using ucfg APIs here, implementing component APIs for existing
ucfg APIs to other components like NAN, vdev_mgr in DP
component module.

Change-Id: Ia5431c7de7fc944aacf5c8a328072a8ec31e8f3f
CRs-Fixed: 3351496
2023-01-17 21:04:25 -08:00
Madan Koyyalamudi
641268b2d3 Release 5.2.1.52H
Release 5.2.1.52H

Change-Id: I7303e3cce374ea1f87bc0e1814acb0869686d6fc
CRs-Fixed: 774533
2023-01-17 16:41:07 -08:00
abhinav kumar
86c6a13b8e qcacld-3.0: Sort roam channel list in descending order
Host receives channel list via an event
WMI_ROAM_SCAN_CHANNEL_LIST_EVENTID as
getroamscanchannels command response on disconnection.

As per the new requirements:
1. Restrict Maximum Channel Count to MAX_RCL_CHANNEL_COUNT(30),
   in supplicant VendorEvent, if the driver/firmware has more
   than MAX_RCL_CHANNEL_COUNT channels.
2. Sort the channel list in descending order before sending
   the list to the supplicant.

Change-Id: I27eb8c625d6d38634b3b18eacbf593a5be9671bc
CRs-Fixed: 3376549
2023-01-17 16:41:07 -08:00
Vijay Raj
e224946712 qcacld-3.0: Add support for beacon report logging
Add support for beacon report request and beacon report
response connectivity logging.

Create api wlan_diag_log_beacon_rpt_req_event() to send
Beacon report request event logs and api
lim_beacon_report_response_event() to send beacon
report response event logs.

Change-Id: Ibd7a840dfb33b1f3d321113741725f487d5acebd
CRs-Fixed: 3370902
2023-01-17 16:41:01 -08:00
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