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

27979 Коммитов

Автор SHA1 Сообщение Дата
Mohammed Ahmed
b083b726aa qcacld-3.0: Fix keepalive enum
Currently gStaKeepAliveMethod and station_keepalive_method are not
mapped properly due to an offset of one. Fix this by updating enum
definition.

Change-Id: I572ee472b0b45816bf26830060d2b0707c90f387
CRs-Fixed: 3385907
2023-01-25 19:35:12 -08:00
Mohammed Ahmed
2200834742 qcacld-3.0: add peach flag in kbuild
Current code does not have peach flag, fix by adding peach flag
in kbuild

Change-Id: Ica003b2b0a12ab688f50702844c09e183dfc3fda
CRs-Fixed: 3387064
2023-01-25 19:35:04 -08:00
Mohammed Ahmed
e5a9e48766 qcacld-3.0: Adding peach device id
Adding peach device id.

Change-Id: I33cdacd7c18f461ebcc69abf2aa3c83f100eb4e9
CRs-Fixed: 3386937
2023-01-25 19:34:58 -08:00
Madan Koyyalamudi
d5df7985e5 Release 5.2.1.53A
Release 5.2.1.53A

Change-Id: I61c02d1d1d50f6f6715f7716fe59cb74fec8da9d
CRs-Fixed: 774533
2023-01-25 16:36:08 -08:00
Vinod Kumar Pirla
80f1799d9b qcacld-3.0: Allow add peer on same ML dev context
A 802.11be MLD device can have one of the links
address same as MLD address. On add peer for this
MLD peer the validation for existing peers with same
MAC address may fail as a match with existing peer
will be found.

If an existing peer with new peer's MLD address
is found, then allow new peer if both existing peer
and new peer are in same ML dev context, if both
are on different ML dev context, reject the peer
add request.

Change-Id: I30c53032f228f166a1011b330ca245581dfe468b
CRs-Fixed: 3381720
2023-01-25 16:36:08 -08:00
Madan Koyyalamudi
245cb7d35f Release 5.2.1.53
Release 5.2.1.53

Change-Id: Id7b1923190ddcd7bcc9e8d04c285fe167ed72445
CRs-Fixed: 774533
2023-01-24 19:12:41 -08:00
Jeff Johnson
d57d4bbb66 qcacld-3.0: Fix core/pld documentation
There are quite a few documentation issues in core/pld:
- Documentation of implementations instead of interfaces
- Duplicate documentation
- Syntatically incorrect kernel-doc

Fix all of these issues.

Change-Id: Ia6ef2fda239e9021c879bc4672c9e80ec5c93921
CRs-Fixed: 3386837
2023-01-24 19:12:41 -08:00
Surya Prakash Sivaraj
d6df82c2b6 qcacld-3.0: Add ini to disable beacon protection
Some legacy STA doesn't recognize the EXT CAP IE with
length greater than 8bytes. Therefore, these STA cannot
associate with hotspot broadcasting newer capabilities
in the extended IE.

To fix this, add an ini which would override the beacon
protection config in host driver.

Based on this ini, the beacon protection would be disabled
only for non-6 GHz and non-11be SAP profiles, as beacon
protection is mandatory in 6 GHz and 11be cases.

Change-Id: I672b707f6955fa31938aebba5e25461dd40cee4e
CRs-Fixed: 3378974
2023-01-24 19:12:33 -08:00
Mohammed Ahmed
e51f225258 qcacld-3.0: Change peach chip version number
Change chip version number from 2 to 1.

Change-Id: I1f424acd23937647b06666f9acf20884d64fb6e0
CRs-Fixed: 3386952
2023-01-24 19:12:26 -08:00
Madan Koyyalamudi
defc48ef3a Release 5.2.1.52Z
Release 5.2.1.52Z

Change-Id: Ia512d148e26560a57b93b2af0d3d30edf7483e67
CRs-Fixed: 774533
2023-01-24 11:38:52 -08:00
Jeff Johnson
e050889528 qcacld-3.0: Fix core/cds documentation
There are quite a few documentation issues in core/cds:
- Documentation using legacy Doxygen format instead of kernel-doc format
- Documentation of implementations instead of interfaces
- Duplicate documentation
- Syntactically incorrect kernel-doc

Fix all of these issues.

Change-Id: I7ffdea9027278c75975a826466da2d7204a25d0c
CRs-Fixed: 3386190
2023-01-24 11:38:52 -08:00
Madan Koyyalamudi
1b3fb02cbb Release 5.2.1.52Y
Release 5.2.1.52Y

Change-Id: I4cbb8d8f38aa91a96f17799274dd9224e25e389e
CRs-Fixed: 774533
2023-01-24 09:39:31 -08:00
Amruta Kulkarni
87f1a94226 qcacld-3.0: Handle 1x roaming case
In case of 1x MLO roaming, 4 way handshake is offloaded to supplicant
and link vdev is down in FW. Host has to bring up link vdev post
set key installation.

Add handling in host for following:
- During roam sync indication handle only assoc link.
- Save reassoc response and link information.
- After keys are installed bring up link vdev by
queueing connect req on link vdev.
- Enable roaming after all links are up.

Change-Id: I9c0722f88e950ba05ec3dd7f44883bedf568f97d
CRs-Fixed: 3287316
2023-01-24 09:39:31 -08:00
Rahul Gusain
6e78070bc6 qcacld-3.0: extract NAN vdev_id from mgmt BSSID
Currently, driver finds PASN peer from BSSID in mgmt auth frame
and with help of this peer, it extracts the vdev_id. It uses this
vdev_id to retrieve the adapter in hdd.
But for NAN iface, there is no PASN peer and driver drops the
auth mgmt frame as no valid vdev_id available.

The NAN Cluster ID is a MAC address that takes a value from
50-6F-9A-01-00-00 to 50-6F-9A-01-FF-FF and is carried in the A3
field of some of the NAN frames.
So, to fix this, compare the first four bytes BSSID with
"50-6F-9A-01" and extract the vdev from vdev_list for NAN opmode.

Change-Id: Ie4f15549e3bd8378e362538da4d7ec49e84ad138
CRs-Fixed: 3382962
2023-01-24 09:39:23 -08:00
Jyoti Kumari
691d7b7ba2 qcacld-3.0: Remove unwanted print from ll_sap api
Remove unwanted print from policy_mgr_get_ll_sap_freq()
to get the freq.

Change-Id: I05d5f02ba4df378483500ab1ccb699fcd9954b03
CRs-Fixed: 3386626
2023-01-24 09:39:17 -08:00
Madan Koyyalamudi
79f9f18a65 Release 5.2.1.52X
Release 5.2.1.52X

Change-Id: I60cc07f00a070147b573d77321b9755d8b3598f0
CRs-Fixed: 774533
2023-01-24 06:54:36 -08:00
Jyoti Kumari
a2c2827bad qcacld-3.0: Remove passive/dfs acs channel for LL SAP
Remove passive/dfs acs channel which are configured through
userspace for LL SAP.

Change-Id: If5d3abe920b93af6cb9be02344618e484c3b0778
CRs-Fixed: 3370658
2023-01-24 06:54:35 -08:00
Madan Koyyalamudi
fba8294c83 Release 5.2.1.52W
Release 5.2.1.52W

Change-Id: Ie746a3a3917234f537b908e0eec9a22639177107
CRs-Fixed: 774533
2023-01-24 01:33:48 -08:00
Jeff Johnson
423944bb56 qcacld-3.0: Fix core/bmi documentation
The kernel-doc script identified some documentation errors in the
core/bmi folder, so fix them.

Change-Id: I1ec447b56eb38358c4d875d9e0f1ecbe935be57e
CRs-Fixed: 3385916
2023-01-24 01:33:48 -08:00
Madan Koyyalamudi
9a279313fa Release 5.2.1.52V
Release 5.2.1.52V

Change-Id: Ic97b2f49df666d30735b9a82941b73b00e1a2796
CRs-Fixed: 774533
2023-01-22 07:12:45 -08:00
Asutosh Mohapatra
7b08e108e0 qcacld-3.0: Allocate skb size according to destination attribute sizes
In hdd_get_station_info skb buffer gets allocated an
arbitrary large size.

To address this issue, allocate skb buffer size based
upon the destination attribute sizes.

Change-Id: Ie36b0bb67562e302a3abe6d60d0e323ce172236e
CRs-Fixed: 3363955
2023-01-22 07:12:44 -08:00
Madan Koyyalamudi
7460e2b439 Release 5.2.1.52U
Release 5.2.1.52U

Change-Id: I0b286943ee75523c55b49d87abc16c4a2d52ae1a
CRs-Fixed: 774533
2023-01-21 02:55:33 -08:00
Sheenam Monga
188ac8c5b7 qcacld-3.0: Don't reject SR command if threshold not provided
As per current implementation, SR(Spatial Reuse) commands are
rejected if STA is not connected or connected to AP that doesn't
support SR which causes issue because SR Enable/Disable command
shouldn't reject if STA is not connected instead of rejection
same configuration should be applied when SR AP connects to STA.

Fix is to not to reject SR command if PD threshold is not provided
along with enable command, so that enable command can be accepted and
applied when AP that supports SR connects to station.

Change-Id: Ie4a973053b79d0d5931bcc2520da42f9aab93089
CRs-Fixed: 3350451
2023-01-21 02:55:33 -08:00
Madan Koyyalamudi
f2532afb48 Release 5.2.1.52T
Release 5.2.1.52T

Change-Id: Ib29906e8c5785d3ba78250567c51023055dce982
CRs-Fixed: 774533
2023-01-20 22:11:19 -08:00
Bing Sun
da40c120fc qcacld-3.0: Update RRM capability for SAP
lim_update_rrm_capability is only called in lim_fill_pe_session,
which is for station mode.
If only SAP interface exists, mac_ctx->rrm.rrmPEContext.rrmEnable
will not be set.

Call lim_update_rrm_capability for SAP mode.

Change-Id: Icc5e3a960a372b26943987c377ec292c5cf2eb8c
CRs-Fixed: 3380748
2023-01-20 22:11:19 -08:00
Paul Zhang
6c0f977367 qcacld-3.0: Don't acquire wakelock for initial connection
In function hdd_cm_connect_success_pre_user_update, the
variable is_auth_required is true by default. During roaming,
it should acquire wakelock if key installation is pending.
But during initial connection, it does not need to acquire
wakelock for initial connection in this function.

Change-Id: I967e6d97dd9c7a40d111b0040ee53876b7be6192
CRs-Fixed: 3383907
2023-01-20 22:11:14 -08:00
Madan Koyyalamudi
d228acd392 Release 5.2.1.52S
Release 5.2.1.52S

Change-Id: Ie13e98af4477d618fb1f3f4f8ab60c9a53bb0d24
CRs-Fixed: 774533
2023-01-20 19:08:09 -08:00
Vijay Patil
155532b250 qcacld-3.0: Add a log to print the supported features bitmap
Driver sets the bit mask for supported feature to turn on or
set the feature flag for the requested feature. 

Add a log to print the supported features bitmap in the driver.

Change-Id: I1a47697f605a62807a9612b2c5bd04491a67cedc
CRs-Fixed: 3383080
2023-01-20 19:08:09 -08:00
Madan Koyyalamudi
49097abc79 Release 5.2.1.52R
Release 5.2.1.52R

Change-Id: Ib150ca52c59078a9a16da6746cf2c92c6c85396f
CRs-Fixed: 774533
2023-01-20 05:18:11 -08:00
Prakash Manjunathappa
a633ef49c1 qcacld-3.0: Querry HTT_DBG_EXT_STATS_PDEV_RX stats to get rxdma errors
Get sum of complete rxdma stats handled by host and FW.

Change-Id: I6e1af21c37fe2cd71b7c613bcdfc0a02136cf988
CRs-Fixed: 3382454
2023-01-20 05:18:11 -08:00
Madan Koyyalamudi
e41d20365b Release 5.2.1.52Q
Release 5.2.1.52Q

Change-Id: I1ad2353035f880643f665354ff2412dcafac598b
CRs-Fixed: 774533
2023-01-20 03:31:32 -08:00
Jianmin Zhu
9addca6e47 qcacld-3.0: Fix pe session id is used as vdev id issue
When handle deauth, if req peer mac isn't session bssid, pe session id is
used as vdev id wrongly, then deauth rsp is dropped in CSR, disconnect cmd
isn't removed from serialization queue, assert will happen.

Change-Id: I35c2805ae3ea904b2306b2a210c2284498330c04
CRs-Fixed: 3378250
2023-01-20 03:31:31 -08:00
Madan Koyyalamudi
826a967663 Release 5.2.1.52P
Release 5.2.1.52P

Change-Id: If808102fb5701d0ff87b9d7851b97be0b692875b
CRs-Fixed: 774533
2023-01-19 23:33:03 -08:00
Srinivas Dasari
45ebbef48c qcacld-3.0: Allow fixed channel CSA even if it's unsafe channel
Currently, CSA on an unsafe channel is not allowed.
Allow CSA even if it's unsafe channel when user tries to set
a fixed channel (i.e. reason = CSA_REASON_USER_INITIATED)
and firmware supports the capability
WMI_COEX_FIX_CHANNEL_CAPABILITIES.

Change-Id: I5ba26faabe05fbf1a79dc92360400ec2c6d71b2d
CRs-Fixed: 3381395
2023-01-19 23:33:03 -08:00
Srinivas Dasari
b8db5ef04a qcacld-3.0: Handle SAP restart case in fixed chan SAP
Currently, unsafe channels are avoided when SAP restart happens.
If WMI_COEX_FIX_CHANNEL_CAPABILITIES is advertised by firmware
and if the SAP is started in a fixed channel, don't restart even
if the current operating channel is unsafe.

Change-Id: I5f7d632bcc00a1b5351dad64aca0ce16f1057537
CRs-Fixed: 3381394
2023-01-19 23:32:58 -08:00
Madan Koyyalamudi
10d604294f Release 5.2.1.52O
Release 5.2.1.52O

Change-Id: Idfb7f58f9d91758969c41fa9c5c96e27fc1bac30
CRs-Fixed: 774533
2023-01-19 20:43:33 -08:00
Mohammed Ahmed
776c4cc10e qcacld-3.0: add SSR host log collection API usage
Current code does not use the SSR host log collection API.
Fix this by adding SSR host log collection API usage.

Change-Id: I364bd6281e886e8c50dfd6f45f78fb98e822f962
CRs-Fixed: 3339953
2023-01-19 20:43:32 -08:00
Madan Koyyalamudi
61e5d16a43 Release 5.2.1.52N
Release 5.2.1.52N

Change-Id: I93f290b58fa884161b3869106ac5272fe7ea014f
CRs-Fixed: 774533
2023-01-19 16:41:51 -08:00
Amruta Kulkarni
16faad0a70 qcacld-3.0: Fix T2LM validation check
During T2LM validation to pick assoc link, only check if
operation mode is station and if t2lm ie is valid.

Change-Id: Id31f83fabd22ae0e434e2720df773f778c7bb448
CRs-Fixed: 3370578
2023-01-19 16:41:51 -08:00
Srinivas Dasari
cdf374387b qcacld-3.0: Don't check if a channel is safe if it's coex fixed chan SAP
Currently, SAP start is aborted if the channel is marked as unsafe
due to COEX, irrespective of it's an ACS/fixed channel SAP.
There is a requirement to allow the SAP in a fixed channel even
if the channel is marked as unsafe. Firmware advertises
WMI_COEX_FIX_CHANNEL_CAPABILITIES in such targets.
Check for this capability and allow the SAP in fixed channel even
it it's unsafe.

Change-Id: Ie3947058d8854823a718b833ec788c5c8a14b903
CRs-Fixed: 3375254
2023-01-19 16:41:45 -08:00
Madan Koyyalamudi
12c64abe46 Release 5.2.1.52M
Release 5.2.1.52M

Change-Id: I3339ea4d9beb1b616bfcfec156651c0197aae5cd
CRs-Fixed: 774533
2023-01-19 12:27:14 -08:00
Liangwei Dong
b9383fb56a qcacld-3.0: revert "qcacld-3.0: Cancel scan before set mac address"
This reverts commit I440bcfbc3b9699ab42d4304535cc2d86d702d21d.
The "Roc delay set mac issue" is fixed by change
If53d5ee446fc5f4df2fcf117a436133116270b9e

Change-Id: Ica97a9d829e74a8b43030086d478bbfb125a371e
CRs-Fixed: 3381663
2023-01-19 12:27:13 -08:00
Rahul Gusain
54ba526abe qcacld-3.0: Set feature version for 11KV
Whenever driver add new feature, it increments the feature version
and send it to firmware.
Due to new 11KV feature update, increments the feature version.

Change-Id: Ia840faf85c06a4f33f68f59dadda400c8e91804c
CRs-Fixed: 3381243
2023-01-19 12:27:07 -08:00
Rahul Gusain
4d22da60ff qcacld-3.0: Add print log for new roam scan type
Firmware sends the roam scan info tlv to driver during roaming.
Currently, in this tlv, firmware fills scan type as (0-3) and
driver log this as "PARTIAL", "FULL", "NO SCAN" and "Higher Band"
But with new requirement, idle roaming shall only roam to higher band
(2.4 GHz < 5 GHz < 6 GHz) than current band.
1. If current band is 2.4 GHz, it cannot roam to 2.4 GHz.
It can roam to 5 GHz and 6 GHz.
2. If current band is 5 GHz, it cannot roam to 2.4 GHz and 5 GHz.
It can roam to 6 GHz.
So, to add this requirement, firmware introduces new scan type 4 for
which driver need to log.

Change-Id: I80d1c47a434da5009aed4cab08c6eae91bda5b0e
CRs-Fixed: 3379468
2023-01-19 12:27:01 -08:00
Rahul Gusain
81ba2c92d4 qcacld-3.0: Optimize the free connect response
API to free the roaming info, fils ie and connect ies is now
present in cmn. Reuse of the same API to optimize the code.

Change-Id: I63b416323b4882ee589941e9b06f45a094b3f800
CRs-Fixed: 3378946
2023-01-19 12:26:54 -08:00
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