Commit Graph

26124 次程式碼提交

作者 SHA1 備註 提交日期
Madan Koyyalamudi
a3492b22c0 Release 5.2.1.24S
Release 5.2.1.24S

Change-Id: Ic545b04206c665eecf22a9d7bce835b9db64c66d
CRs-Fixed: 774533
2022-06-10 13:19:12 -07:00
Amruta Kulkarni
f8c534ee3b qcacld-3.0: Add link id information in ML probe req
When sending ML probe request in the per sta profile info
include link id field and set complete profile bit.

Change-Id: I71dbb81822a7e7a107247cef4fd07f4898117930
CRs-Fixed: 3212098
2022-06-10 13:19:12 -07:00
Dundi Raviteja
433730002e qcacld-3.0: Enable precac component
Enable pre cac component.

Change-Id: If013d802d8e921acd227544efb13a7929130814a
CRs-Fixed: 3216744
2022-06-10 13:19:07 -07:00
Gururaj Pandurangi
6e816ae090 qcacld-3.0: Add eMLSR HW mode support for ML STA
Add eMLSR HW mode support for ML STA. eMLSR mode
(Enhanced Multi-link Single-Radio) is a new HW mode within 802.11be
op mode. This change consists of the following
1) Handle the new eMLSR HW mode. FW sends this capability to host via
extended service ready event.
2) If FW supports this mode, then update the eMLSR capability sub-fields
in the Basic-variant MLO IE under the assoc request frame.
3) Provide peer info like eMLSR capability, transition timeout, and link
IDs to FW through WMI_PEER_ASSOC_CMDID.

Change-Id: Idc00f5f780b5617e513f307952b58277669dee85
CRs-Fixed: 3184708
2022-06-10 13:19:00 -07:00
Sheenam Monga
70c62c1728 qcacld-3.0: Restore deleted connection with total con count <= max count
Currently, deleted connections are not restored if current connection count
is geater than or equal to max no of allowed connection - no of deleted
connection which may cause issue when there are 4 connections and 2 ML sta
link got deleted temporarily for getting pcl list. As max no of connection
allowed are 4, deleted sta links should be restored. In check to restore
the deleted link comparison is done with < max no connection, so deleted
connections are not restored.

Fix is to add a check that current connection count + deleted connection
count should be less than or equal to MAX_NUMBER_OF_CONC_CONNECTIONS.

Change-Id: Ia21235ffb4d5ecc3500001f215bab5a3c48de90a
CRs-Fixed: 3216952
2022-06-10 13:18:55 -07:00
Madan Koyyalamudi
b24bfdaab9 Release 5.2.1.24R
Release 5.2.1.24R

Change-Id: I0d71405fcd0319f61fbbf88f1d683c3f3b8bcf1a
CRs-Fixed: 774533
2022-06-09 19:37:10 -07:00
Yu Ouyang
6b2b1cfb27 Revert "qcacld-3.0: Add the Full Power Down feature support"
This reverts commit I293647175c151da0fd6628345f98ea65c83b1bb3.

New solution idle shutdown in suspend prepare is better.

Change-Id: I69a0e7401c811e4a9656fcc8e3dd069f4317cc35
CRs-Fixed: 3213236
2022-06-09 19:37:09 -07:00
Yu Ouyang
3fbdeb8f84 Revert "qcacld-3.0: Idle shutdown in suspend"
This reverts commit I08818517d05e7866d50e3f92cfdc9fa1a4d0e63f.

New solution idle shutdown in suspend prepare is better.

Change-Id: I76b1ef8e6f945bbcba3955ff625484ebee727670
CRs-Fixed: 3213236
2022-06-09 19:37:03 -07:00
Yu Ouyang
6e1249d0ea Revert "qcacld-3.0: Avoid calling idle shutdown many times"
This reverts commit Ic701dce917288db09511f6ffc540cf8cf3eca5db.

New solution idle shutdown in suspend prepare is better.

Change-Id: I10aee75b2fee7026dfbb7173b66cddac24e313d7
CRs-Fixed: 3213236
2022-06-09 19:36:57 -07:00
Vinod Kumar Pirla
56d94c31da qcacld-3.0: Remove roam_ho_fail member in hdd_adapter
The roam_ho_fail member in the hdd_adapter structure has
no references in the driver so remove this obsolete variable.
The code that previously used this variable was removed by Change-Id:
I2934e4a867458561c50170b0e786e63f20f1af4a

Change-Id: Iedd6359894433f216525a2e447f64fa665ed86e6
CRs-Fixed: 3213513
2022-06-09 19:36:51 -07:00
Vinod Kumar Pirla
092b4ef76a qcacld-3.0: Remove offloads_configured member in hdd_adapter
The offloads_configured member in the hdd_adapter structure
is currently only initialized but not referenced anywhere
in the driver so remove this obsolete variable.
The variable was introduced by Change-Id:
Icf598ca97da74f84bea607e4e902d1889806f507

Change-Id: I7af0679fe82e76f91f8c74aa674c72db17383e34
CRs-Fixed: 3213560
2022-06-09 19:36:45 -07:00
Madhvapathi Sriram
acb7e8644b qcacld-3.0: Command to configure peer tx queue flush
This enables configuration from user if and when the stale
packets from peer TID queues can be flushed.

Change-Id: Ic7427cdb8b70eeefea1b99d1f9be505a9cae76e6
CRs-Fixed: 3130419
2022-06-09 19:36:38 -07:00
Madan Koyyalamudi
1eadf54606 Release 5.2.1.24Q
Release 5.2.1.24Q

Change-Id: I84b9907027424817e4ffcfa3c3c1724932041918
CRs-Fixed: 774533
2022-06-09 11:42:52 -07:00
Deeksha Gupta
a556ae6e75 qcacld-3.0: Add support to encode and decode EHT operations IE
Currently parser code doesn't have support for packing and
unpacking of optional fields in EHT operation IE which are
dependent on HT op, VHT op and HE op IE.

To achive this, add API to encode and decode EHT op IE and include
the generated EHT operation IE bytes in beacon and assoc response
frames.

Change-Id: Iab955903a3112cdbe4c9acb6e59eca4ea31bdabe
CRs-Fixed: 3197354
2022-06-09 11:42:52 -07:00
Deeksha Gupta
56108bc0f0 qcacld-3.0: Update EHT IEs handling as per new definitions
EHT capabilities and EHT operation IE definitions are updated as per
new draft version D1.5. Update corresponding IE handling as per new
definitions.

Change-Id: I16b8c578e28c8d9fd24383879291e6e976da2efa
CRs-Fixed: 3197353
2022-06-09 11:42:45 -07:00
Deeksha Gupta
f7630164fa qcacld-3.0: update EHT capabilities IE as per draft 1.5
Update dot11f EHT capabilities IE definitions as per 11be draft 1.5
specification.

Change-Id: I0694587f006225539330a9beac19824ea7a1a708
CRs-Fixed: 3197352
2022-06-09 11:42:38 -07:00
Deeksha Gupta
fe52433b9d qcacld-3.0: update EHT operation IE as per draft 1.5
Update dot11f EHT operation IE definitions as per 11be draft 1.5
specification.

Change-Id: If0027436148c6a88dbef7caf42a6a11a9cf3a5bf
CRs-Fixed: 3197295
2022-06-09 11:42:31 -07:00
Arun Kumar Khandavalli
5e29697d88 qcacld-3.0: Add EHT bitrate support
Add EHT MCS to rate mapping for NSS 1 and NSS 2.

Update TX/RX bitrate for EHT connection depending on current MCS/NSS
configuration.

Change-Id: I0c55beab2c6b9a9609d5a2e454a0c0e8c1312d09
CRs-Fixed: 3181127
2022-06-09 11:42:24 -07:00
Amit Mehta
b389b5b1bd qcacld-3.0: Add vdev lock to dp component
Add vdev lock to DP component to protect against
vdev parallel delete while accessing vdev from
DP interface, also introduce get and put APIs.

Change-Id: I4ee838e1dea0caf9936ced13d6ddce6646333f6b
CRs-Fixed: 3198876
2022-06-09 11:42:18 -07:00
Madan Koyyalamudi
cbb51199af Release 5.2.1.24P
Release 5.2.1.24P

Change-Id: I875b2553a74135d924af4d7ef088c487acf25e00
CRs-Fixed: 774533
2022-06-09 08:23:46 -07:00
Vinod Kumar Pirla
a4b59b1b08 qcacld-3.0: Remove acs_pending_work member in hdd_adapter
The acs_pending_work member in the hdd_adapter structure has
no references in the driver so remove this obsolete variable.
The code that previously used this variable was removed by Change-Id:
I439398b406e9371a8e443f5409bd3f25b3062501

Change-Id: I64ed789ad0d0751cc683f48bd859b9d600c11f6e
CRs-Fixed: 3213562
2022-06-09 08:23:46 -07:00
Karthik Kantamneni
5b7f718dad qcacld-3.0: Fix DP component Rx packet drop in MLO case
Currently in MLO use case DP component interface is not
mapped to netdev registered to ip stack and also Rx packet
over nl interface is broken.

Fix these issues by attaching DP component interface
to netdevice which is registered to ip stack for TX/RX.
Fix Rx packet over nl interface by checking
corresponding ops properly.

Change-Id: Ibf9cb03565a9e2d5cd02091995259376e1069790
CRs-Fixed: 3200617
2022-06-09 08:23:40 -07:00
Vinod Kumar Pirla
225716a360 qcacld-3.0: Remove tx_action_cnf_event member in hdd_adapter
The tx_action_cnf_event member in the hdd_adapter structure has
no references in the driver so remove this obsolete variable.
The code that previously used this variable was removed by Change-Id:
Idaaacac4fdaf1b964432c33c10b1c86f8a591c2d

Change-Id: Idad017aa5568a3f2e49849522443dd2483562a66
CRs-Fixed: 3213565
2022-06-09 08:23:33 -07:00
Vinod Kumar Pirla
31b8ef667d qcacld-3.0: Remove offchannel_tx_event member in hdd_adapter
The offchannel_tx_event member in the hdd_adapter structure has
no references in the driver so remove this obsolete variable.
The code that previously used this variable was removed by Change-Id:
Idaaacac4fdaf1b964432c33c10b1c86f8a591c2d

Change-Id: Icf51105e0c3e04ec2e1b26aa6c7a36a017b4c573
CRs-Fixed: 3213567
2022-06-09 08:23:27 -07:00
Madan Koyyalamudi
eb6180b9a6 Release 5.2.1.24O
Release 5.2.1.24O

Change-Id: Ica6cd3a8f5ffe34f0d91bf3ccd205f090d276bdf
CRs-Fixed: 774533
2022-06-09 05:37:44 -07:00
Jeff Johnson
be9f081b3f qcacld-3.0: Set upper bound for nested composite image support
The Android Common Kernel (ACK) accepted change [1] to 5.10.20 which
enables support for nested composite objects in the Kbuild
system. This was introduced to fix the "Argument list too long" error
that can occur when there are too many filenames passed by the build
system to the "ar" command.

The expectation at that time was that this patch would be maintained
for all future ACK kernels. However the ACK maintenance team has
decided not to maintain this patch beyond the 5.10 kernel, so update
the logic that determines if an ACK kernel has support for the
feature.

Subsequent changes will need to be made to address the "Argument list
too long" error when using an ACK that does not have this support.

[1] 21c713f8e8

Change-Id: Ief9a74a24d58796a90e19bd86fa269e64bcf4c73
CRs-Fixed: 3139401
2022-06-09 05:37:44 -07:00
Jinwei Chen
877541166c qcacld-3.0: Fix TX data no DSCP to user priority mapping issue
(1) is_critical pointer flag in hdd_wmm_classify_pkt is not referred
properly which then hdd_wmm_get_user_priority_from_ip_tos() is skipped.
(2) CONFIG_WLAN_CUSTOM_DSCP_UP_MAP is only configured when
CONFIG_REMOVE_PKT_LOG is 'n', so if CONFIG_REMOVE_PKT_LOG is set to 'y',
CONFIG_WLAN_CUSTOM_DSCP_UP_MAP will no chance to be enabled,
then hdd_custom_dscp_up_map() dummy function is invoked always.

CONFIG_WLAN_CUSTOM_DSCP_UP_MAP should not be tied with
CONFIG_REMOVE_PKT_LOG, move it out of CONFIG_REMOVE_PKT_LOG,
also fix is_critical flag referring issue.

Change-Id: Iac6e7ccb41270677298d152498ad7a9c0c66ff14
CRs-Fixed: 3205745
2022-06-09 05:37:38 -07:00
Ashish
8dfceee8ac qcacld-3.0: Set sar safety req resp event before unsolited work stop
Currently when sar safety unsolited timer expires, driver schedules
a work to send sar safety unsolited events to user space. When driver
receives sar set command from user space it tries to stop this work
with delayed work stop sync. This delayed work stop sync API waits for
work to get complete and then it stops the work, because of this,
work runs the complete for loop and sends extra sar safety unsolicited
events even after receiving sar set command.

To addrerss above issue, set the sar safety request response event
before delayed work stop sync to complete the work.

Change-Id: I3485e4b1ea600393ff2d9512a055de92d0a3d612
CRs-Fixed: 3213334
2022-06-09 05:37:33 -07:00
Madan Koyyalamudi
c627cb250e Release 5.2.1.24N
Release 5.2.1.24N

Change-Id: I9c08d365fd3df31aef5455a56a79db3a7ccde5ab
CRs-Fixed: 774533
2022-06-08 19:07:25 -07:00
Aditya Kodukula
e92560b70c qcacld-3.0: Add support to enable WLAN HW
As part of protected dynamic interface control feature,
if the user space disables WiFi, then the platform driver
disables the WLAN HW as well. Until the user enables WiFi,
the WLAN HW stays disabled.

So, add support to enable the WLAN HW, when the WiFi is
enabled by user space.

Change-Id: If6b90ae57c4471f4c613ead8310fd0a7ada818f3
CRs-Fixed: 3215335
2022-06-08 19:07:24 -07:00
Vinod Kumar Myadam
b4520fdd7d qcacld-3.0: Add support for OEM async event from FW
Add handle for OEM data async event from FW sends to userspace

Change-Id: I8104dde974f3b4b4eb9a409235b3b0da4cc97857
CRs-Fixed: 3216034
2022-06-08 19:07:17 -07:00
Madan Koyyalamudi
2b9d264bf3 Release 5.2.1.24M
Release 5.2.1.24M

Change-Id: I192e362e4128315e110eb8dd0d9421ce55177f75
CRs-Fixed: 774533
2022-06-08 15:16:18 -07:00
Jianmin Zhu
7ab6928044 qcacld-3.0: Limit mlo link num and band by cfg
Limit mlo link num and band by psoc sta cfg mlo_support_link_num and
mlo_support_link_band.
If mlo_support_link_num is 1, only permit 1 mlo link, don't permit
partner link.
Disable both assoc link and partner link on disallowed band too.

Change-Id: I04f0725ceb0fb4e0bd14ca44ff1a870702b62285
CRs-Fixed: 3211973
2022-06-08 15:16:18 -07:00
Madan Koyyalamudi
0004663e83 Release 5.2.1.24L
Release 5.2.1.24L

Change-Id: I368bc6f290faa080d7675828e58b109f44c73ac7
CRs-Fixed: 774533
2022-06-08 11:47:21 -07:00
Bing Sun
46f01746b9 qcacld-3.0: Add max link number cfg and band bitmap cfg
Add cfg to configure the max number of links supported for mlo sta
connection.
Add cfg to configure the band bitmap that mlo sta connection supports.

Change-Id: I6b27a7eb13eff026c5123e4bd24ba2424dba781d
CRs-Fixed: 3202029
2022-06-08 11:47:21 -07:00
Madan Koyyalamudi
2923851b5e Release 5.2.1.24K
Release 5.2.1.24K

Change-Id: I764722e5f40b0a3ccf9d1131819f52eb791af49b
CRs-Fixed: 774533
2022-06-08 09:44:10 -07:00
Divyajyothi Goparaju
bf5a756cb2 qcacld-3.0: Add separate debug print for RSSI,SNR
Currently target_if_cp_stats_extract_vdev_summary_stats
function prints bcn SNR which can be RSSI as well based on
whether firmware supports reporting rssi or not.

Add check for firware support to print RSSI/SNR

Change-Id: Ifef7bfad7d79c1a1bb84641bc1d3632f6d683252
CRs-Fixed: 3209907
2022-06-08 09:44:10 -07:00
Madan Koyyalamudi
36324c4f61 Release 5.2.1.24J
Release 5.2.1.24J

Change-Id: I4d50a8cdb7630b5e3ed15c3415b6f38118fc22b9
CRs-Fixed: 774533
2022-06-08 07:35:17 -07:00
VIJAY RAJ
26ad4c366c qcacld-3.0: Optimize logs in wlan_cm_is_roam_sync_in_progress
In api wlan_cm_is_roam_sync_in_progress(), the roam_sync
status is checked for every instance of
wlan_cm_is_roam_sync_in_progress resulting in excessive
printing of cm_is_vdev_roam_sync_inprogress logs

Add check to verify roam_sync status for STA mode which
results in trimming of cm_is_vdev_roam_sync_inprogress()
logs.

Change-Id: If0228edb90d718c7fde2b8f34e0003256cfd139b
CRs-Fixed: 3211915
2022-06-08 07:35:16 -07:00
Madan Koyyalamudi
f6acad4ed0 Release 5.2.1.24I
Release 5.2.1.24I

Change-Id: I176704a5a3b8394c90513efb8618fbfe5a2d9ac7
CRs-Fixed: 774533
2022-06-08 03:12:05 -07:00
Wu Gao
ef79dea58f qcacld-3.0: Allow SAP+SAP+STA SCC
This is about SAP+SAP+STA case. Restart third SAP failed after start
up and then 5/6 GHz disabled. This change allows SAP+SAP+STA SCC on
same mac and avoid third SAP restart fail.

Change-Id: I691b2e03132acfb8f724fc2f75b3816d17eb4d17
CRs-Fixed: 3198977
2022-06-08 03:12:04 -07:00
Liangwei Dong
b6713569bc qcacld-3.0: Handle HW mode transition event early for offload case
In hw mode change offload case, update the mac id and
frequency range in hw mode transition event handler
instead of post msg to lim and sme to avoid the
information updating delay.

Change-Id: I3dc1d37880691148c4cffd8e1f5d46172f03cb0d
CRs-Fixed: 3211683
2022-06-08 03:11:59 -07:00
Madan Koyyalamudi
3ad3e3c34f Release 5.2.1.24H
Release 5.2.1.24H

Change-Id: I0b3fcc790591cb16cd9d35acf4293b0d5e7db5d5
CRs-Fixed: 774533
2022-06-08 01:08:12 -07:00
Rakesh Pillai
4723186244 qcacld-3.0: Allow 320Mhz channel bandwidth for monitor mode
Allow 320Mhz channel bandwidth for monitor mode,
when 802.11BE is supported.

Change-Id: I57da128526bcd83feb1180a9decc83970199772a
CRs-Fixed: 3214411
2022-06-08 01:08:12 -07:00
Rakesh Pillai
a3392b9562 qcacld-3.0: Fix compilation error when shadow config v3 is unsupported
For targets not supporting shadow config v3, the compilation
may fail since the definition for shadow config v3 will not
be available.

Featurize the shadow config v3 properly to avoid any
compilation errors for targets not supporting this feature.

Change-Id: I6d968ff98776159319ec5edad1ada1b6d888f87e
CRs-Fixed: 3214412
2022-06-08 01:08:06 -07:00
Madan Koyyalamudi
8b6ea934fb Release 5.2.1.24G
Release 5.2.1.24G

Change-Id: I73fefe3b35b2f2ce659a6b0d8559608fc7315e69
CRs-Fixed: 774533
2022-06-07 23:08:09 -07:00
Wu Gao
a4864947dd qcacld-3.0: Move AP AP MCC allow check to policy mgr
This is requirement about moving AP AP MCC allow check to policy manager.

Change-Id: I2ac147e1a4ebdd42dfbcdcd6f8df98cc5c269cc9
CRs-Fixed: 3200011
2022-06-07 23:08:09 -07:00
Wu Gao
a076eddc21 qcacld-3.0: Check SAP+SAP SCC override with freq_seg0 and freq_seg1
Start one SAP on 5 GHz and one SAP on 2 GHz, and start third SAP with ACS
on 2 GHz band. Then, 3 SAP have different freq_seg0 after disable 5 GHz and
6 GHz band. Raise this change to check AP_AP SCC override with freq_seg0
and freq_seg1.

Change-Id: I720aff19a20e3d5ab9a2a31246e47308f7d09d0e
CRs-Fixed: 3165082
2022-06-07 23:08:03 -07:00
Madan Koyyalamudi
be454847a9 Release 5.2.1.24F
Release 5.2.1.24F

Change-Id: I056a728870aec1356c2eb72a38141a23afa37b42
CRs-Fixed: 774533
2022-06-07 17:30:00 -07:00
Amruta Kulkarni
6c288d47e6 qcacld-3.0: Send correct EHT IE contents to FW
Currently EHT IE is sent with contents 0, fix is
to send read EHT IE info from mlme config if session
is NULL.

Change-Id: I7da0d98c2ef7b34ee50d306a95fa7c80e9a5739a
CRs-Fixed: 3207350
2022-06-07 17:29:59 -07:00