Wykres commitów

25289 Commity

Autor SHA1 Wiadomość Data
Arun Kumar Khandavalli
2fa9d87942 qcacld-3.0: Configure the mld address wow pattern during vdev create
Currently mac address is getting configured as the wow pattern
while the vdev is getting created, configure the mld address also
during the vdev creation so during legacy connection or roaming
between the ml-legacy vice versa there wont be packet drops because
of pattern mismatch.

Change-Id: I9b98649bca132a6665f2e4dd94d9c6b840223827
CRs-Fixed: 3124115
2022-03-22 10:43:52 -07:00
Madan Koyyalamudi
53364d2cd0 Release 5.2.1.14Q
Release 5.2.1.14Q

Change-Id: Ie4eeb038ce38f5b72680103c15de0d7367efe459
CRs-Fixed: 774533
2022-03-22 08:44:06 -07:00
Utkarsh Bhatnagar
6462fb28ed qcacld-3.0: Set SA query Offload bit in Wiphy
For kernel 5.17 onwards, sa query offload bit
should be set which signifies that sa query is
offloaded to driver and userspace shall ignore
SA Query procedures and validations.
So, set SA query offload bit in ap_sme capability
flag.

Change-Id: Ie9911e6f122b63b76b5189973d302dec99050886
CRs-Fixed: 3146736
2022-03-22 08:44:05 -07:00
Madan Koyyalamudi
a6b08f4b68 Release 5.2.1.14P
Release 5.2.1.14P

Change-Id: I32f6e7bedd3985af2c1d79a1c48597c69b4c6a14
CRs-Fixed: 774533
2022-03-21 19:05:50 -07:00
Ananya Gupta
d38c336051 qcacld-3.0: Enable feature to deliver all OOR frames to stack
Enable feature DP_RX_DELIVER_ALL_OOR_FRAMES for lithium DP
which will allow all OOR frames to stack.

Change-Id: I3ad59fc3b3fc8e70b2f05a7cfa23e2646c1e03a4
CRs-Fixed: 3152334
2022-03-21 19:05:50 -07:00
Madan Koyyalamudi
9fd8b726a7 Release 5.2.1.14O
Release 5.2.1.14O

Change-Id: I5dc98285c8d921ebc5df70ea499f2417208209e6
CRs-Fixed: 774533
2022-03-21 17:05:03 -07:00
Utkarsh Bhatnagar
fea133e371 qcacld-3.0: Move MLO STA concurreny handling to Policy Mgr
Move MLO STA-SAP concurreny handling to Policy Mgr which
is present in CSR currently.
Also, Move MLO STA-STA concurreny handling to Policy Mgr
which was part of If Mgr currently.

Change-Id: I2b8de17c3d31b43ff1f6b81a7de07b88888d7fb5
CRs-Fixed: 3153393
2022-03-21 17:05:03 -07:00
Madan Koyyalamudi
8261bab489 Release 5.2.1.14N
Release 5.2.1.14N

Change-Id: I5070fc17a7c7e43381bf056a29f27b0d79b01ea9
CRs-Fixed: 774533
2022-03-21 13:08:37 -07:00
Bapiraju Alla
8c9f44fdec qcacld-3.0: Update VDEV MAC address for non-ML adapter as well
Currently when 11BE feature is enabled, VDEV MAC address is being
updated for link adapters of the ML adapter. But in ML STA + legacy
STA concurrency case, VDEV MAC address is not being updated for
legacy STA adapter. This is because legacy STA doesn't have link
adapters.

To resolve this, Update VDEV MAC address for non-ML adapters as well.

Change-Id: I681f879f47bc0f9c50ee7fb51f2742544e116cf7
CRs-Fixed: 3138464
2022-03-21 13:08:37 -07:00
David Oladunjoye
c9287e836d qcacld-3.0: TWT Logging Debug Enhancement
Peer MAC address is not specified when get_peer_by_mac fails.
We should print the peer MAC address with  debug message.

Change-Id: I9d75098784879ddecd447f8dbbcd61e6cdc1bf76
CRs-Fixed: 3153776
2022-03-21 13:08:30 -07:00
Madan Koyyalamudi
8c0e5cc7ff Release 5.2.1.14M
Release 5.2.1.14M

Change-Id: I67f3db0c952ca2a2a449c5e7b4b2e635e6093d59
CRs-Fixed: 774533
2022-03-21 07:03:12 -07:00
Ashish
b565844200 qcacld-3.0: Cache station info correctly
When a station associates to a SAP and SAP registers
the sta info correctly, it tries to cache station info.
Newly added MLO changes breaks this path as if host
driver fails to register MLD sta it does not cache the
station info which is not correct. When user space queries
this information host driver can not find this inforamation
as it is not cached and it does not return this information.

To address this issue, cache the station information if SAP
registers the station correctly irrespective of the MLD sta
registration status.

Change-Id: I1a83d6521b27d36d580067b2628c78d3f1c66f76
CRs-Fixed: 3138429
2022-03-21 07:03:12 -07:00
Madan Koyyalamudi
7f1734190a Release 5.2.1.14L
Release 5.2.1.14L

Change-Id: I4dfb7193a003a9de62a71a76617b20149a694b4a
CRs-Fixed: 774533
2022-03-21 03:16:53 -07:00
chunquan
8f4ed84d9d qcacld-3.0: Replace blacklist abbreviation bl for dl
Replace blacklist abbreviation bl for denylist dl.

Change-Id: Ibbefba66f27cde8711c8c171f821cf668ba350ba
CRs-Fixed: 3153291
2022-03-21 03:16:52 -07:00
Madan Koyyalamudi
6b9d61cf4d Release 5.2.1.14K
Release 5.2.1.14K

Change-Id: Ice3bf33c1bb310a64dfdedf8c5c7f6c3a300e191
CRs-Fixed: 774533
2022-03-20 22:48:38 -07:00
Madhvapathi Sriram
ecafcc060d qcacld-3.0: Honor local EDCA parameters configured by user
When local EDCA parameters are reconfigured, any user set local
TXQ or EDCA parameters are over written.
Modify to honor the user set EDCA parameters.

Change-Id: I3f04b5c4538822d8c9bae98132dafa272fa6bc71
CRs-Fixed: 3150599
2022-03-20 22:48:37 -07:00
Madan Koyyalamudi
e3cf99a371 Release 5.2.1.14J
Release 5.2.1.14J

Change-Id: Id09932ca5d865c57e39dee3918fbbb27d2d20bea
CRs-Fixed: 774533
2022-03-20 07:24:26 -07:00
VIJAY RAJ
ebe3c21573 qcacld-3.0: Enable full scan logging in cm_roam_scan_info_event
In the api cm_roam_scan_info_event(), only for partial
roam scan the frequencies are logged in logcat. For full scan,
the expectation is to print the frequency count as the number
of characters for scanning all frequencies exceed 255.

Enable Roam full scan logging in api cm_roam_scan_info_event()

Change-Id: Ib644a4e8d85e434e8b826c7656cda1251134c4fa
CRs-Fixed: 3131791
2022-03-20 07:24:25 -07:00
Madan Koyyalamudi
d7dc1883ba Release 5.2.1.14I
Release 5.2.1.14I

Change-Id: I9279ec14149dfe5f92f9b804cb7082a8d798f06e
CRs-Fixed: 774533
2022-03-20 02:53:28 -07:00
Jianmin Zhu
6b42a0b420 qcacld-3.0: Avoid back2back peer delete/create
When met IoT AP ESS and IBSS caps both are set in the beacon CAPs,
CAPs check failed, connect failed, and peer was deleted, but host didn't
wait for peer delete rsp and try next candidate immediately, back2back
peer delete/create wmi cmd are sent to firmware, assert will happen.

To fix it, allow connect the IoT AP. If last candidate failed to
connect,  don't try next candidate until peer delete rsp received.

Change-Id: Ia52df7aec36ab4b8e31702b55118ab6377f6ca24
CRs-Fixed: 3149991
2022-03-20 02:53:28 -07:00
Madan Koyyalamudi
e144080be7 Release 5.2.1.14H
Release 5.2.1.14H

Change-Id: Ia6acf6bc5955445f19aa56c4127fb24ae990fec0
CRs-Fixed: 774533
2022-03-18 19:09:14 -07:00
Lincoln Tran
2e6b1a67ed qcacld-3.0: Add pointer check before dereferencing
Make sure the parsed association request array is valid at the
association ID index, before dereferencing it. This will prevent NULL
pointer deref. There is already a check for the beginning of the parsed
assoc req array, but it is not checking at the assoc ID index.

Change-Id: Icac3b2a4a0646dec4c64a2224e3271b0842a8194
CRs-Fixed: 3147273
2022-03-18 19:09:13 -07:00
CNSS_WLAN Service
7e61f523c5 Merge changes I75556848,Ib1695962,If033fdb2 into wlan-cld3.driver.lnx.2.0
* changes:
  Release 5.2.1.14G
  qcacld-3.0: Send BMISS disconnection event after roam result event
  Release 5.2.1.14F
2022-03-18 07:50:46 -07:00
Madan Koyyalamudi
857475a549 Release 5.2.1.14G
Release 5.2.1.14G

Change-Id: I75556848504e6684343377c3ba469fcd3c69861b
CRs-Fixed: 774533
2022-03-17 11:18:48 -07:00
Pragaspathi Thilagaraj
54fee51319 qcacld-3.0: Send BMISS disconnection event after roam result event
Currently the beacon miss disconnection is sent when host
wlan driver triggers disconnect and roam result is printed
after the roam stats event is received. Since roam
stats event is received after host triggers disconnect,
the order of prints is BMISS_DISCONN -> ROAM SCAN ->
ROAM_SCAN_DONE-> ROAM_RESULT.

But the expected order is ROAM_SCAN->ROAM_SCAN_DONE->ROAM_RESULT
->BMISS_DISCONN.
So send beacon miss disconnection event after roam result.

Change-Id: Ib1695962bc1613fa4101cebf28b188db42fb5ab5
CRs-Fixed: 3152370
2022-03-17 11:18:48 -07:00
CNSS_WLAN Service
b57122c064 Merge "qcacld-3.0: Provide correct status code in case of no ack" into wlan-cld3.driver.lnx.2.0 2022-03-17 07:25:06 -07:00
Madan Koyyalamudi
00b8c44109 Release 5.2.1.14F
Release 5.2.1.14F

Change-Id: If033fdb286c695869c8e02d41956a66156cd85ee
CRs-Fixed: 774533
2022-03-17 03:44:37 -07:00
Sheenam Monga
1ac1276b1a qcacld-3.0: Provide correct status code in case of no ack
Currently, LIM_ACK_NOT_RCD is not handled while filling
status code due to which STATUS_UNSPECIFIED_FAILURE is
updated as part of default handling instead of
STATUS_AUTH_NO_ACK_RECEIVED. Don't overwrite previous
status code in case no ack received from peer.

Fix is to Handle LIM_ACK_NOT_RCD case while filling status
code and consider previous status code when no ack received
from peer.

Change-Id: I366d63ee3ff6abf8a36300451e7f0c46fcf47e39
CRs-Fixed: 3151992
2022-03-17 03:44:36 -07:00
Madan Koyyalamudi
4545a7885a Release 5.2.1.14G
Release 5.2.1.14G

Change-Id: I4ec73e729b31e23e328aef99fe56b5881f27030e
CRs-Fixed: 774533
2022-03-16 22:01:29 -07:00
Jianmin Zhu
24bfb9a343 qcacld-3.0: Fix assert for wmi cmd for invalid vdev
During vdev creating, RTPM suspend/resume may happen, after vdev
created in host, if ITO config wmi cmd is sent to firmware
before vdev create wmi cmd, firmware will assert for invalid
vdev.

To fix it, only config ITO when vdev is up.

Change-Id: I3d744d7fffd9afc7780d3a19c92613a94556cfa0
CRs-Fixed: 3152034
2022-03-16 22:01:28 -07:00
Madan Koyyalamudi
8055c254ff Release 5.2.1.14F
Release 5.2.1.14F

Change-Id: I23214bb792d53ab2f4528627e3706876adf4dc03
CRs-Fixed: 774533
2022-03-16 19:33:46 -07:00
abhinav kumar
4e2cc50408 qcacld-3.0: Send kernel time to userspace
Send kernel timestamp to userspace via a
new vendor attribute
QCA_WLAN_VENDOR_ATTR_DIAG_KERNEL_TIMESTAMP.

Change-Id: I085a1f140b5036895249723f6a5b34b18d9aa574
CRs-Fixed: 3146742
2022-03-16 19:33:46 -07:00
Madan Koyyalamudi
7da020bc16 Release 5.2.1.14E
Release 5.2.1.14E

Change-Id: I9e9c71fbc06b1165561af721848d8f960dc61eaa
CRs-Fixed: 774533
2022-03-16 12:25:57 -07:00
Surabhi Vishnoi
7a4b7a5f92 qcacld-3.0: Fix null pointer dereference in bus suspend related code
Fix hdd_ctx null pointer derefernce issue in hdd bus suspend
related code by addition of hdd_ctx null check before its use.

Change-Id: Iea92dcdf8591e61853af233f8e28fe7e0f9ec4bf
CRs-Fixed: 3144126
2022-03-16 12:25:56 -07:00
Madan Koyyalamudi
f86c9aedc5 Release 5.2.1.14D
Release 5.2.1.14D

Change-Id: Id4ba0edba47c166ec911cd47d9413ee7d9ccb555
CRs-Fixed: 774533
2022-03-15 22:09:17 -07:00
Bing Sun
ebd3d8258e qcacld-3.0: Fix build error for SON module
Fix some build errors for SON module when SON Macro is enabled

Change-Id: I2d7336e551870e91024a259698c740319dd1b639
CRs-Fixed: 3150082
2022-03-15 22:09:17 -07:00
Madan Koyyalamudi
86c5675869 Release 5.2.1.14C
Release 5.2.1.14C

Change-Id: I3346900da74769fcdf48d8d2a8ece6f20a3347f7
CRs-Fixed: 774533
2022-03-15 20:43:56 -07:00
chunquan
abefa5a8b4 qcacld-3.0: Rename folder of blacklist_mgr
Rename folder of blacklist_mgr.

Change-Id: I426d1150d91a8fc97fc483836c954b742e8c8211
CRs-Fixed: 3102372
2022-03-15 20:43:56 -07:00
Ashish
ba7faf192a qcacld-3.0: Return EBUSY instead of EAGAIN from __dsc_vdev_can_trans
Currently driver returns EAGAIN as error code if vdev transition is
not possible, driver is not able to process this vdev transition
because some other PSOC/PDEV transition is going on.
On receiving EAGAIN error code userspace retries the same operation
immediately which again leads to failure as existing transition is
still in progress.

In current scenario, for STA+P2P case, if station is connected to
some ap and for p2p if DUT becomes p2p go, now if SSR is triggered,
host driver gets interface down for sta for change mac address as
station gets disconnected as part of SSR and this interface down
is cached as SSR is in progress. Once reinit gets complete, driver
processes this cached interface down as part of SSR and in this
process driver gets the change interface for p2p go, which it
rejects the error code as EAGAIN from __dsc_vdev_can_trans as
SSR is going on and change interface fails to get dsc op.
When user space gets EAGAIN as error code it immediately tries
the change interface again which driver again rejects as SSR is
still in progress. Also, on receiving EAGAIN error code, userspace
retries the change iface operation only once.

To address above issue, return error code as EBUSY, on receiving
EBUSY as erorr code, user space addds some wait before invoking
the same operation again and also it tries this operation 10 times
if it gets EBUSY as error code, this gives sufficient time to
complete the ongoing transition at driver.

Change-Id: I96ec94432e7624546363cda190abfc9970ab1eb9
CRs-Fixed: 3126558
2022-03-15 20:43:51 -07:00
Pragaspathi Thilagaraj
c5e40fc31a qcacld-3.0: Make PASN events as wakeable
PASN peer create request event and deauth events need
host actions and notifying the userspace.

So register for PASN events to wake up host.

Change-Id: Ic83f10984d4e4d5ee0f1e8a5d7c4fbc321395a26
CRs-Fixed: 3150120
2022-03-15 20:43:47 -07:00
Madan Koyyalamudi
aa39ba1d48 Release 5.2.1.14B
Release 5.2.1.14B

Change-Id: I9fa379dfd790f39e141a656d8590893ea0398c36
CRs-Fixed: 774533
2022-03-15 19:16:44 -07:00
Deeksha Gupta
620ca069f1 qcacld-3.0: Add support for allowed_authmode
Currently, STA doesn't support roam between WPA2 to WPA3
security or vice versa. To support this feature, host sends
list of allowed_authmode. So that Firmware will check and
roam on those authmode.

Fix, add support for allowed_authmode list in ap_profile.

Change-Id: I438a133a434ea12ec34680997ace358fd4910028
CRs-Fixed: 3113219
2022-03-15 19:16:43 -07:00
Madan Koyyalamudi
d0ea2dff70 Release 5.2.1.14A
Release 5.2.1.14A

Change-Id: I74bb35063ba53b30ed8a1c8132050875efa55a8e
CRs-Fixed: 774533
2022-03-15 17:24:50 -07:00
Bapiraju Alla
8120c5e78e qcacld-3.0: Save connection info to assoc link adapter
Currently, both ML adapter and assoc link adapter are mapped to same
VDEV. Hence STA connection info is expected to be same. But,
connection info is getting updated in only in ML adapter but not in
assoc link adapter. As a result, connection info is wrongly interpreted
when it is accessed through assoc link adapter.

To resolve this, update connection info in assoc link adapter with
the connection info present in ML adapter.

This change also includes 11BE mode conversion support from cfgdot11mode
to 80211mode.

Change-Id: Idb8371a6bcf7fc9e2dcc5972d0504d326d9e0aca
CRs-Fixed: 3121835
2022-03-15 17:24:49 -07:00
Madan Koyyalamudi
e7b024a157 Release 5.2.1.14
Release 5.2.1.14

Change-Id: I68642411798f44f711e91d6ca9bfe387479ebede
CRs-Fixed: 774533
2022-03-15 12:15:03 -07:00
Sachin Ahuja
b7dae4ffb4 qcacld-3.0: Check Thermal throttle service caps for get temp
Currently when get temperature is queried, both
gThermalMitigationEnable ini and WMI_SERVICE_THERM_THROT service caps are
checked in the driver.
gThermalMitigationEnable ini means the thermal throttling will be done
by driver if enabled and will be done by FW if disabled.

So, set this ini as 0 by default in the driver as thermal throttling
is done by FW and check only WMI_SERVICE_THERM_THROT service while
get temperature is queried.

CRs-Fixed: 3139693
Change-Id: I28e2b6cfca6ea7bf60d81045ba267e019143f3a8
2022-03-15 12:15:03 -07:00
Madan Koyyalamudi
e9151c4241 Release 5.2.1.13Z
Release 5.2.1.13Z

Change-Id: I58eeee95718cb66549eff376fd30d3357f702d3c
CRs-Fixed: 774533
2022-03-15 07:37:42 -07:00
David Oladunjoye
a26ed5042c qcacld-3.0: Send TWT teardown if power save mode is disabled
When power save mode is disabled, TWT is also disabled. All existing
TWT sessions must be removed.

Change-Id: I7c1ceb7abbfea0205e65a038fdf8d574b797685e
CRs-Fixed: 3147231
2022-03-15 07:37:42 -07:00
Madan Koyyalamudi
0c515a99a8 Release 5.2.1.13Y
Release 5.2.1.13Y

Change-Id: Id3c77d873026f3871fdcd9c65bbe4de52d704826
CRs-Fixed: 774533
2022-03-15 00:10:30 -07:00
Wu Gao
f508db20c0 qcacld-3.0: Enable CFR support for KIWI
This change adds CFR support for KIWI.

Change-Id: I24be320cb74df03b278e2752f7c8386b70fcfb94
CRs-Fixed: 3119029
2022-03-15 00:10:30 -07:00