Commit graph

23,231 commits

Author SHA1 Message Date
Surya Prakash Sivaraj
4249d3fa5f qcacld-3.0: Remove use-after-free of frame in tx mgmt send
The tx completion handler for the frame frees the buffer.
Therefore, usage of frame after tx completion causes undesired
effect.

Remove the dereference of tx frame buffer contents in
lim_tx_mgmt_frame() after the tx completion.

Mot-CRs-fixed: (CR)
CVE- fixed: CVE-2024-33069

Change-Id: I32211e1bce4f96ba920a2212ef65aa39831666ab
CRs-Fixed: 3772014
(cherry picked from commit 2b66fcb567197854c43d8323de564b2949dfb8f5)
Signed-off-by: Dharshan R <dharshan@motorola.com>
Reviewed-on: https://gerrit.mot.com/3073982
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Varun Shrivastava <varunshrivastava@motorola.com>
Reviewed-by: Daniel Finimundi <danielrf@motorola.com>
Submit-Approved: Jira Key
2024-11-05 00:00:56 -06:00
Aravind Kishore Sukla
b2d4835430 qcacld-3.0: Ignore CSA request for invalid channel
In present scenario, STA disconnects with AP if it receives
invalid channel in CSA IE. In this case STA shouldn't
disconnect with AP as this request may come from a spoof AP.

Ignore this CSA request as it might be from spoof AP and
if it is from genuine AP heart beat failure happens and
results in disconnection. After disconnection DUT may
reconnect to same or other APs.

Mot-CRs-fixed: (CR)
CVE-Fixed: CVE-2023-28584
Bug: 285903061
Change-Id: Ic46ac6d6fa633bd6dbcb188ce616265f297bdf44
CRs-Fixed: 3390251

Signed-off-by: Ashutosh Verma <ashverma@motorola.com>
Change-Id: Ic46ac6d6fa633bd6dbcb188ce616265f297bdf44
Reviewed-on: https://gerrit.mot.com/2704837
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-10-21 15:51:05 +08:00
Yue Sun
faf0133215 Revert "qcacld-3.0: Fix OOB issue when access wma_find_vdev_by_addr"
This reverts commit 8654c2c54d6a4668deaa89f754b6ae92716b10d3.

Change-Id: I7cd38fb66ed16a93247d5a2d4f983dbc84ff6d0f
Reviewed-on: https://gerrit.mot.com/2658097
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhilu Yin <yinzl1@motorola.com>
Submit-Approved: Jira Key
2023-10-21 15:51:05 +08:00
Wu Gao
f4d4ad9376 qcacld-3.0: Fix OOB issue when access wma_find_vdev_by_addr
The function 'wma_find_vdev_by_addr' returns pointer to cdp_vdev, so
should avoid to comapre with QDF_STATUS_SUCCESS.

Change-Id: I45716651c89a53341d09737d83556bc515858361
CRs-Fixed: 3346764

Mot-CRs-fixed: (CR)
CVE- fixed: CVE-2023-21669
QC-CR#3346764
Signed-off-by: Sipra Patel <siprap@motorola.com>
Change-Id: I45716651c89a53341d09737d83556bc515858361
Reviewed-on: https://gerrit.mot.com/2594404
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhengjie Zhu <zhuzj5@motorola.com>
Reviewed-by: Bin Liu <liubin7@motorola.com>
Submit-Approved: Jira Key
2023-10-21 15:51:05 +08:00
sunyue5
322920acd7 remove invoking "sock_from_file" function
As this symbol has still not been supported in the lastest GKI
abi symbol manifest file, we have to implement this function
by ourselves

Change-Id: I87aeaeaadb8423dbcf25ec7004b82ff8bd94971b
Signed-off-by: sunyue5 <sunyue5@motorola.com>
Reviewed-on: https://gerrit.mot.com/2245024
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhilu Yin <yinzl1@motorola.com>
Submit-Approved: Jira Key
(cherry picked from commit ab37ce5f1b5bb7268a3651eaf4ab75517dc8530d)
Reviewed-on: https://gerrit.mot.com/2246079
Reviewed-by: Bin Liu <liubin7@motorola.com>
Reviewed-by: Yue Sun <sunyue5@lenovo.com>
2023-10-21 15:51:05 +08:00
sunyue5
b813573e22 Print the process which is receiving data
Print the process name can easily help us to know which APP
is waking up the system, so that we can make some power consumption
improvment for this APP

Change-Id: Ib45ac56a0ed4d090eea7b5bd8ba5ecefd2b9ce2f
Signed-off-by: sunyue5 <sunyue5@motorola.com>
Reviewed-on: https://gerrit.mot.com/2243470
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xianglong Liao <liaoxl@motorola.com>
Reviewed-by: Bin Liu <liubin7@motorola.com>
Submit-Approved: Jira Key
2023-10-21 15:51:05 +08:00
zhuzj5
c292b7a664 fix wifi reconnect issue
fix DUT does not reconnect to wifi
network while call is active

Change-Id: Ib136b1bc771715be1ac464465e0170d2fbacbcc9
Reviewed-on: https://gerrit.mot.com/2241233
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Bin Liu <liubin7@motorola.com>
Submit-Approved: Jira Key
2023-10-21 15:51:05 +08:00
sunyue5
7d0323ae53 wlan: Support loading moto specific ini configurations
In order to reuse hardware to save cost, our projects have gradually
begun to use different software but the same set of hardware.
Therefore, we have been unable to override some specific ini
configurations in the driver according to the different hwid.
Now we introduce a new file WCNSS_mot_cfg.ini which will be packaged
into different software and be read by the driver to override some
specific configurations

Change-Id: I954497039b69af2b193b9fcd9bf278d9ed3b06a2
Signed-off-by: sunyue5 <sunyue5@motorola.com>
Reviewed-on: https://gerrit.mot.com/1870064
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhilu Yin <yinzl1@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/2065834
Reviewed-by: Qiu Du <duqiu2@motorola.com>
Reviewed-by: Bin Liu <liubin7@motorola.com>
2023-10-21 15:51:05 +08:00
hurui1
d7e0109a63 Revert "qcacld-3.0: Change PCL for throughput case in case of STA+GO"
In SCC/MCC test for non-DBS devices
when STA is on 24G, and P2p is on 5G
it will bring a high TP in p2p side
But sometimes the cast devices showed blurred screen
and the 24G TP is low in Sta mode
so we decide to revert qcom's patch
and use the scc mode when STA is on 24G

MOT-CRs-fixed:(CR)

This reverts commit a1e965e789.
Change-Id: I0Montana38dbed809ad98972b04c50be5301e0a80c9f
Reviewed-on: https://gerrit.mot.com/2013222
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yue Sun <sunyue5@lenovo.com>
Reviewed-by: Prashanth Chakravarthy <a19110@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/2037720
Reviewed-by: Bin Liu <liubin7@motorola.com>
2023-10-21 15:51:05 +08:00
Liyun Zhang
502bd40118 : Revert "qcacld-3.0: Add support to flush fragments for a particular peer"
This reverts commit bdbe877e66d021e8fd5ab2516658e45c0adf3db1.

Fix already present as part of folowing commit.
commit d7600941a3
Author: Yeshwanth Sriram Guntuka <ysriramg@codeaurora.org>
Date:   Mon Feb 1 13:37:00 2021 +0530

    qcacld-3.0: Add support to flush fragments for a particular peer

    Add support for flushing fragments for a particular peer.

    CRs-Fixed: 2860131

Change-Id: Ib7dc3889a2aa48793ac4d2c0b479f8b70ebdb7a6
Reviewed-on: https://gerrit.mot.com/2016597
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Bin Liu <liubin7@motorola.com>
Submit-Approved: Jira Key
2023-10-21 15:51:04 +08:00
Yeshwanth Sriram Guntuka
8d230089bd qcacld-3.0: Modify check to ensure consecutive PN for frags
Modify check to ensure packet number is consecutive for
fragments and drop the fragments if the check fails.

Change-Id: I40fcb66526db547975e26ab914ac81Montanaabc4d36
CVE-Fixed: CVE-2020-26146
Mot-CRs-fixed: (CR)
CRs-Fixed: 2860242
Reviewed-on: https://gerrit.mot.com/1929643
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Bin Liu <liubin7@motorola.com>
Submit-Approved: Jira Key
2023-10-21 15:51:04 +08:00
Yeshwanth Sriram Guntuka
5df7339711 qcacld-3.0: Drop mcast and plaintext frags in protected network
Multicast frames should not be fragmented and plaintext
frags should not be reassembeld in protected network.

Fix is to drop mcast frags and plaintext frags received
in protected network.

Change-Id: I6629c2351884b880525c10cf9259d506af89dd10
CVE-Fixed: CVE-2020-26145
Mot-CRs-fixed: (CR)
CRs-Fixed: 2860245
Reviewed-on: https://gerrit.mot.com/1929644
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Bin Liu <liubin7@motorola.com>
Submit-Approved: Jira Key
2023-10-21 15:51:04 +08:00
Yeshwanth Sriram Guntuka
e95eba2bdd qcacld-3.0: Flush frags for peer on add key request
Fragments are not flushed as part of rekey which
could result in fragments encrypted under different
keys to be reassembled.

Fix is to flush fragments for the peer for which add
key request is received.

Change-Id: I5ab88fd1bc5936e2aa0910f859fa222873d4e295
CVE-Fixed: CVE-2020-24587
Mot-CRs-fixed: (CR)
CRs-Fixed: 2875950
Reviewed-on: https://gerrit.mot.com/1929642
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Bin Liu <liubin7@motorola.com>
Submit-Approved: Jira Key
2023-10-21 15:51:04 +08:00
Yeshwanth Sriram Guntuka
ee511154a8 qcacld-3.0: Add support to flush fragments for a particular peer
Add support for flushing fragments for a particular peer.

Change-Id: I2f66036ebb30bcd16c6a88d7d0729d084ebf75a1
CVE-Fixed: CVE-2020-24587
Mot-CRs-fixed: (CR)
CRs-Fixed: 2860131
Reviewed-on: https://gerrit.mot.com/1929641
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Bin Liu <liubin7@motorola.com>
Submit-Approved: Jira Key
2023-10-21 15:51:04 +08:00
zhangly19
b6e40b1076 use NONHLOS_PLATFORM_COMMON_PATH
Mananr.LA.1.0 and Mannar.LA.1.1 will coexist from r1.0_00026
so we use NONHLOS_PLATFORM_COMMON_PATH to distinguish the dirs.

Change-Id: I605b6467f611d7b76891e53b6728dc87b5a2187c
Reviewed-on: https://gerrit.mot.com/1950741
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Bin Liu <liubin7@motorola.com>
Submit-Approved: Jira Key
2023-10-21 15:51:04 +08:00
liaoxl
37d89e17f0 sm4350: Store WLAN Unstripped and ELF in build archives
Copy qca_cld3_wlan.ko.unstripped and WLAN_MERGED.elf files to out
symbols folder during build time. This will save significant time
to fetch the unstripped and elf files during Kernel panic analysis
by avoiding repo Sync and rebuilding the image on which issue happened.

Change-Id: I5b0a7ca71eb4bd909fcec5b0bc676a5b296b0eec
Reviewed-on: https://gerrit.mot.com/1805423
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Bin Liu <liubin7@motorola.com>
Submit-Approved: Jira Key
2023-10-21 15:51:04 +08:00
liaoxl
45eeff1822 fix compile errors
changes in kernel  & QCom wlan driver API, so we need these to
meet API requirement.

Change-Id: I3bf93eeacf8ab0451db72296f3dc5ba6f5f75030
2023-10-21 15:51:04 +08:00
sunyue5
9428557149 prop (CR) the MAC address more appropriately
1. Compatible with utag that only has one MAC address
2. For the generated MAC address from serialno, set the provisioned mac
address as the custom mac address

Change-Id: I80e96dd906c32411a42e875447504baadd66d4b6
Signed-off-by: sunyue5 <sunyue5@motorola.com>
Reviewed-on: https://gerrit.mot.com/1744536
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Sireesha Kosuri <sireeshak@motorola.com>
Reviewed-by: Zhilu Yin <yinzl1@motorola.com>
Submit-Approved: Jira Key
2023-10-21 15:51:04 +08:00
Daniel Finimundi
7547f8bb94 lito: Update FW version for R
7250 products will use the same WLAN version on R WLAN.HL.3.3.1.
Only copy this version.

Change-Id: I8d97d00a5271f23b7723020d5740e4677f51a338
Signed-off-by: Daniel Finimundi <danielrf@motorola.com>
Reviewed-on: https://gerrit.mot.com/1687654
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yinjun Chen <a7301c@motorola.com>
Submit-Approved: Jira Key
2023-10-21 15:51:04 +08:00
Mark Reed-MREED1
291dff86c1 - Update wifimacaddr command line arg
Remove wifimacaddr from android ro.boot property set as this property
is not required and just leaks information.

Change-Id: If097394bc4e9dff819fd871bcff66575a4db04c7
Reviewed-on: https://gerrit.mot.com/1714017
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Sireesha Kosuri <sireeshak@motorola.com>
Reviewed-by: Prashanth Chakravarthy <a19110@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2023-10-21 15:51:04 +08:00
liaoxl
9f9347eab4 add wifi tx pwr limit cmd for mimo device
(CR) add wifi tx pwr limit cmd for mimo device
(CR) add wifi mimo tx pwr limit cmd under softap mode

Per RF team req, add cmd to call QCom wmi api, so we can change
TX power limit values of each ANT channel.

add sub ioctl for wifi mimo tx pwr limit settings under softap mode

reworked for Android R.

Change-Id: Ibafe21c99b6f91e6ddf881a6109cb1a478e9284f
2023-10-21 15:51:03 +08:00
liubin7
2d15eaf507 use bt_coex_mode_set to deterministically signify the DHCP start / Stop
In the current infrastructure , “setPowerSave false” is known for DHCP
start and “setPowerSave true” for DHCP stop. Thus, the BT Coex will give
preference to Wi-Fi during this period of DHCP start – stop.
This setPowerSave false / true interface is not only triggered on DHCP
start / stop but this is also a public API which can be triggered by the
applications when they want the Wi-Fi system to go in to
WIFI_MODE_FULL_HIGH_PERF. Thus , the “setpowersave false“ will be
triggered but not the corresponding “true” . As a result , the BT Coex
module shall assume that the DHCP is still in progress and keeps giving
preference to Wi-Fi.
and WifiNative.setBluetoothCoexistenceMode() is invoked only when DHCP
start & stop, hence we can use bt_coex_mode_set to deterministically
signify the DHCP start / Stop and send DHCP start / stop indication to FW

Change-Id: If5cca595aec22b7a10af4b127a5f75118d1ddc26
Signed-off-by: liubin7 <liubin7@motorola.com>
Reviewed-on: https://gerrit.mot.com/1464100
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
2023-10-21 15:51:03 +08:00
K Purushotham Reddy
7e7dbea388 Store WLAN Unstripped and ELF in build archives
Copy qca_cld3_wlan.ko.unstripped and WLAN_MERGED.elf files to out
symbols folder during build time. This will save significant time
to fetch the unstripped and elf files during Kernel panic analysis
by avoiding repo Sync and rebuilding the image on which issue happened.

This is a squash for all Helium products.

Change-Id: I5a4ce7b77e9ead134ae969efa46bbecedc0f9d37
2023-10-21 15:51:03 +08:00
vineetv
dfb5d709fb : Disable CH14 for JAPAN
We do not enable CH14 for JAPAN on all of our
products and have disabled it on 8998 as well.

QC SR : 04679882

Change-Id: Ibd37d238877c81b180dcd1e3e72e84ef4d868592
Signed-off-by: vineetv <vineetv@motorola.com>
Reviewed-on: https://gerrit.mot.com/1642393
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Prashanth Chakravarthy <a19110@motorola.com>
Submit-Approved: Jira Key
2023-10-21 15:51:03 +08:00
K Purushotham Reddy
afb3706a7e Prop (CR): Store WLAN Unstripped in build archives
Copy qca_cld3_wlan.ko.unstripped to out symbols folder during build time.
This will save significant time to fetch the unstripped during Kernel panic analysis
by avoiding repo Sync and rebuilding the image on which issue happened.

Change-Id: I1fc720560e0f74178Montana0ef604413e5b553dbd2f
Reviewed-on: https://gerrit.mot.com/1119046
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Prashanth Chakravarthy <a19110@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/1456501
Submit-Approved: Raja Phani K <a16821@motorola.com>
2023-10-21 15:51:03 +08:00
jmng34
dd78410f07 : generate 2 mac address based on serial number
For the concurrency mode sta+sap , we need 2 mac addresses
DUT is generating only 1 mac address based on serial number
added the code to generate the remaining mac addresses

Change-Id: I6d2880f746656d332ace67417edb29ad8b97b44a
Reviewed-on: https://gerrit.mot.com/1481319
Reviewed-by: Prashanth Chakravarthy <a19110@motorola.com>
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
2023-10-21 15:51:03 +08:00
Abhay Kumar
8fe4176085 : demsg error logs cleaup
Moving this log as debug logs by Motorola as
Qualcomm need to support multiple configuration.

Change-Id: Ic7dbfe906b844d23f159e73d2795159158e4dbcc
Reviewed-on: https://gerrit.mot.com/1469662
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Prashanth Chakravarthy <a19110@motorola.com>
Submit-Approved: Jira Key
2023-10-21 15:51:03 +08:00
Prashanth Chakravarthy
6eaa516707 prop (CR) Dont initialise ACL list
Dont initialise ACL list when soft ap turns on,
Qsap sends ioctl command to set the list.

Change-Id: Iaee9a7c85dcb12798b7ec871bffc6f006c9ab4fb
Reviewed-on: https://gerrit.mot.com/1073553
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Coverity Analysis <coverity@motorola.com>
Reviewed-by: Ishwara J A <ishwara@motorola.com>
Reviewed-by: Ranjeet Gupta <ranjeetgupta@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/1463706
Reviewed-by: Prashanth Chakravarthy <a19110@motorola.com>
2023-10-21 15:51:03 +08:00
jmng34
865c90e3b6 : Restructure (CR): Use copy_from_user function
Since we use wrqu structure to pass data from
qsap, use copy_from_user function to avoid
data corruption.

Change-Id: Ic5f4f8631246c932432fc2317829534b521ec438
Reviewed-on: https://gerrit.mot.com/1456951
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Prashanth Chakravarthy <a19110@motorola.com>
Submit-Approved: Raja Phani K <a16821@motorola.com>
2023-10-21 15:51:03 +08:00
jmng34
efab238c44 get correct tx power from ioctl
Propogate (CR) : get correct tx power from ioctl.
Restructured based on the 8250 files

Change-Id: I2216a0442cbb8dbb7fd9a1fcbbed5be9bec177ac
Reviewed-on: https://gerrit.mot.com/1456950
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Prashanth Chakravarthy <a19110@motorola.com>
Submit-Approved: Raja Phani K <a16821@motorola.com>
2023-10-21 15:51:03 +08:00
jmng34
7e47137436 Prop (CR) WLAN Clark Enable extended iwpriv cmnds
Enable hostapd ioctl handling fore new iwpriv range added in Rome 2
     driver

Change-Id: I04ea509aede003fa987f4ebbb012f674eb33a185
Reviewed-on: https://gerrit.mot.com/1456949
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Prashanth Chakravarthy <a19110@motorola.com>
Submit-Approved: Raja Phani K <a16821@motorola.com>
2023-10-21 15:51:03 +08:00
Santhosh Gillella
89f884deab prop (CR) ioctl called from Motcode
The ioctl handling needs to be differentiated between
calls made by Mot code and iwpriv code since they
fill in different parameters.

Change-Id: If5276c14e20f87c88123c8d3c68849ac8f4e6173
Reviewed-on: https://gerrit.mot.com/1456948
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Prashanth Chakravarthy <a19110@motorola.com>
Tested-by: Jira Key
Submit-Approved: Raja Phani K <a16821@motorola.com>
2023-10-21 15:51:03 +08:00
jmng34
2152b3eff4 :(CR):Not able to disconnect any connected device
Ioctls value was being filled up with wrq data structure in
    softap sdk, but extra parameter was being read from driver.
    Fix to read the wrq data structure in driver

Change-Id: I06d8be4e3665bad937614fcb579c36f5f1159e10
Reviewed-on: https://gerrit.mot.com/1456947
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Prashanth Chakravarthy <a19110@motorola.com>
Submit-Approved: Raja Phani K <a16821@motorola.com>
2023-10-21 15:51:02 +08:00
jmng34
4d67856a2a : Fix iwpriv panic
iwpriv tool uses extra parameter whereas Mot
    ioctl uses wrqu data structure. Need to differentiate
    between the two to resolve panic

Change-Id: Icb1c9e4f75ad1f89f43ff2be5fc7f551f3176851
Reviewed-on: https://gerrit.mot.com/1456946
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Prashanth Chakravarthy <a19110@motorola.com>
Submit-Approved: Raja Phani K <a16821@motorola.com>
2023-10-21 15:51:02 +08:00
Prashanth Chakravarthy
4de485412c : prop (CR): Add new sysfs entries for SAR cutback
Create sar_mhs and sar_sta sysfs entries for recording wlan states
for SAR cutback. The WLAN driver does not care about these entries
but they are needed as IPC over to the mdmcutback daemon.

Change-Id: I277f7c68e3b74557edb6ff82fa0224d1f470fd95
Reviewed-on: https://gerrit.mot.com/1264155
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Binesh Balasingh <binesh@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/1456500
Reviewed-by: Prashanth Chakravarthy <a19110@motorola.com>
Submit-Approved: Raja Phani K <a16821@motorola.com>
2023-10-21 15:51:02 +08:00
jmng34
a4bc69de91 : Resolve compilation issues
changes in the interface of APIs related to generating mac address

Change-Id: I440e07452c2ffb7b3cb15528e7777d6db0012909
2023-10-21 15:51:02 +08:00
hurui1
8473475c52 update NOTICE for vendor/qcom/opensource/wlan/qcacld-3.0$
Change-Id: I4e04919006ea6ba01f0e395259251e0e9a32126f

Signed-off-by: hurui1 <hurui1@motorola.com>
Change-Id: Iecc20e489869bb2380016fb59f0fe429c3126f1f
Reviewed-on: https://gerrit.mot.com/1038433
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hongcheng Xia <xiahc1@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/1077672
Reviewed-by: Ranjeet Gupta <ranjeetgupta@motorola.com>
2023-10-21 15:51:02 +08:00
jmng34
a2dd989ad8 prop (CR) STA+MHS concurrency mode
Add the code to read the 2nd MAC address from the utag for SAP
    to support STA+SAP concurrency

Change-Id: Ibb884c39a3751569429aabff1f757783eb4f76c8
2023-10-21 15:51:02 +08:00
Santhosh Gillella
9683861d89 : Rework reading MAC address from UTAG
In WLAN driver for Helium family, QC has updated hdd_context_t
structure and removed intfMacAddr variable. As a result,
with Motorola MAC address changes, compilation was failing.

Replaced intfMacAddr with new provisioned and derived variables
to read and use MAC address from UTAG properly.

Updated the MOT OUI with latest MOT OUI values.

Change-Id: I78e942aefc5b802e6297402c796d5d002b6d955a
Reviewed-on: https://gerrit.mot.com/1196122
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Prashanth Chakravarthy <a19110@motorola.com>
Submit-Approved: Yun Ma <yunma@motorola.com>
2023-10-21 15:51:02 +08:00
liaoxl
96ee88b19b WLAN: Implement reading of MAC address from UTAG for sm6150
- Read MAC Address from UTAG
 - Generate new MAC address from serial number, if UTAG
   is not programmed with MAC addresses in Factory.

 Port changes from (CR) to new Helium platform(sm6150).

Change-Id: If6d2e532907ff0cd267262710b3c694bf73c9129
Reviewed-on: https://gerrit.mot.com/1257719
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Bin Liu <liubin7@motorola.com>
Submit-Approved: Jira Key
2023-10-21 15:51:02 +08:00
Ranjeet Gupta
091070f5ac :prop (CR) for 12M WLAN Radiated Power test
Changes based on new TLV2 format to support 12M wlan radiated
power test on Production SW.

Change-Id: I90e2dfe8d2828f054cb5f540d51e3ef71d5112a5
Reviewed-on: https://gerrit.mot.com/983481
SLTApproved: Slta Waiver <sltawvr@motorola.com>
SME-Granted: SME Approvals Granted
Reviewed-by: Santhosh Kumar Gillella <santhoshg@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
2023-10-21 15:51:02 +08:00
Linux Build Service Account
4df10933a8 Merge 74058400d1 on remote branch
Change-Id: I425a3a495f7c7d26ba0d16e1345add8d5798ca26
2023-10-02 21:15:52 -07:00
Rahul Choudhary
74058400d1 Release 2.0.8.33V
Release 2.0.8.33V

Change-Id: Ie2a0206ac7f2da32e14c70f8d924ffb55d855a07
CRs-Fixed: 774533
2023-09-26 08:34:55 -07:00
Balaji Pothunoori
3de98015b1 qcacld-3.0: Do not allow SAP SCC on non-PSC/non-VLP channels
SAP is allowed to come up on SCC with a STA operating
in 6 GHz only if the STA is on a PSC channel in VLP mode.
Therefore, filter out all 6 GHz channels from the PCL if
the STA operates on any non-VLP mode. Also, in case of
VLP mode, filter out non-PSC channels.

Change-Id: I37d9a510db3647fc07858af99eb614ebe824cc78
CRs-Fixed: 3206471
2023-09-26 08:34:54 -07:00
Rahul Choudhary
c5827e1fec Release 2.0.8.33U
Release 2.0.8.33U

Change-Id: Ie06814bddbd448823e9259523ddd556a22658459
CRs-Fixed: 774533
2023-09-20 08:10:33 -07:00
Abhishek Singh
825f5aa55d qcacld-3.0: Fix cb mode calculation for 2.4 GHz
If user configure to not use 40 MHz in 2.4 GHz, then avoid setting
40 MHz capability and use cb mode as
WNI_CFG_CHANNEL_BONDING_MODE_DISABLE for 2.4 GHz.

Change-Id: I4e9153e211e02f6b959e16dad4573c2b490cb215
CRs-Fixed: 3584510
2023-09-20 08:10:33 -07:00
Huashan Qu
9c63678288 qcacld-3.0: Add extended capabilities IE length check
When send assoc req frame, if the length for extended capabilities
IE is zero, but present field is non-zero, it will cause assoc req
frame malformed issue.

Fix is to set present field value to zero when the length for
extended capabilities IE is zero.

Change-Id: Ie8826e6cfb1fc3a44ee52115ad4482e040f2c38a
CRs-Fixed: 3085943
2023-09-20 08:10:26 -07:00
Lincoln Tran
7983019735 qcacld-3.0: Modify condition to send 6GHz HE caps
The 6GHz HE capability macros were backported from kernel version 5.8
into 5.4, so change the check for kernel version to simply check for
the macro definition itself.

Change-Id: I86a9dfa964356ba65bd21ffef802042d442356bc
CRs-fixed: 2960286
2023-09-20 09:20:15 +08:00
Lincoln Tran
e5213aa282 qcacld-3.0: Send 6G HE caps to userspace
New checks have been added in userspace to verify the 6GHz HE
capabilities before allowing the connection. These capabilities
are not currently being shared by host. Add logic to send the
6GHz HE capabilities to userspace.
Also, add APIs to get capabilities from MLME component.

Change-Id: I3d2bbe0d87be6094b6fc74ce01d0e418873cbc6f
CRs-fixed: 2931130
2023-09-19 01:29:31 -07:00
Rahul Choudhary
ba323a20eb Release 2.0.8.33T
Release 2.0.8.33T

Change-Id: I2606195171c2fa37116b8df62417c11c1926c7fc
CRs-Fixed: 774533
2023-09-13 01:08:03 -07:00