Commit Graph

28505 Commits

Author SHA1 Message Date
Vinod Kumar Pirla
528031916a qcacld-3.0: Refactor VDEV opmode config during create
Refactor the hdd_vdev_create() API to move device mode
based VDEV config to a new API.
The new API calls required configuration functions
based on the device mode.

Change-Id: I54c5412577b70d92652cb16fcfb10e4d69e6f6fd
CRs-Fixed: 3445149
2023-03-27 21:07:40 -07:00
Madan Koyyalamudi
7ff7bac480 Release 5.2.1.60W
Release 5.2.1.60W

Change-Id: I36ad4a236f01d83670fd9523572034e4562294ec
CRs-Fixed: 774533
2023-03-27 19:33:15 -07:00
Karthik Kantamneni
e0cfa501a1 qcacld-3.0: Init-Deinit changes for WCN6450
Add changes to init-deinit WCN6450 from HDD layer

Change-Id: I0572fa109738326b469bd2b77b9e7c600ac672f8
CRs-Fixed: 3381728
2023-03-27 19:33:15 -07:00
Madan Koyyalamudi
51230dd9b8 Release 5.2.1.60V
Release 5.2.1.60V

Change-Id: Ia17e15dc5be8b4ee1287ef264ad21447b51d6a69
CRs-Fixed: 774533
2023-03-27 11:20:53 -07:00
Surya Prakash Sivaraj
83299d06fc qcacld-3.0: Add support for AKM25
Add support for FT-SAE-EXT-KEY AKM.

Change-Id: Ia013a81f67d204fed486ab130b3480654703f59c
CRs-Fixed: 3406625
2023-03-27 11:20:51 -07:00
Madan Koyyalamudi
9fee6143d7 Release 5.2.1.60U
Release 5.2.1.60U

Change-Id: I4ea22eb44f8f8b7c3cd3ccd3f94c0807c3afbcef
CRs-Fixed: 774533
2023-03-27 01:47:16 -07:00
Pragaspathi Thilagaraj
37a1c90ea3 qcacld-3.0: Add initial checks for TDLS concurrencies
Check if TDLS is allowed for the current existing concurrency
combination. In below combinations, TDLS is not allowed:
1. MCC on STA vdev
2. STA + STA
3. Total connection count > 3
4. No STA vdev exists

If existing TDLS connection exists when 4th port is coming up,
then teardown the TDLS connection and disable off channel.

Change-Id: Iabe174bedecfa6147bd9de3cb2a3716b63145456
CRs-Fixed: 3435864
2023-03-27 01:47:16 -07:00
Madan Koyyalamudi
c92b309cfa Release 5.2.1.60T
Release 5.2.1.60T

Change-Id: I2319ebbdfac46c74aa311703e31b95b98afab4e9
CRs-Fixed: 774533
2023-03-26 06:26:11 -07:00
Arun Kumar Khandavalli
ac1135e8ee qcacld-3.0: Configure SIFS burst post vdev create
Currently SIFS burst configuration is done from
osif layer though there isn't any dependency on
the osif layer.

Move the configuration of SIFS burst to post
vdev create.

Change-Id: Id1e6064164c0ea9d6ab5c5b1217c7c275fb45832
CRs-Fixed: 3297656
2023-03-26 06:26:11 -07:00
Madan Koyyalamudi
3b7e41c483 Release 5.2.1.60S
Release 5.2.1.60S

Change-Id: I6b7f0a3ab17b6855ae6ea5e204ed2f1840ea48ef
CRs-Fixed: 774533
2023-03-26 05:07:50 -07:00
Vinod Kumar Pirla
d49dbe42dc qcacld-3.0: Refactor ftm and rtt params init on vdev create
Introduce a new API to configure the rtt and ftm
parameters for the VDEV.

The API can later be used to configure the
rtt and ftm parameters on per VDEV of the adapter.

Change-Id: I9d7411fa76520b0a1876f38c27122a14a91826b7
CRs-Fixed: 3297665
2023-03-26 05:07:50 -07:00
Vinod Kumar Pirla
eb199818a9 qcacld-3.0: Refactor station context initialization
Introduce a new API and use it to configure
the station context of the adapter.

Change-Id: Iee2af060ec3c74782127bd0f202719b4bfe3dab2
CRs-Fixed: 3297636
2023-03-26 05:07:42 -07:00
Deeksha Gupta
ce1b422f26 qcacld-3.0: Move rssi and snr fields to per link
Currently, rssi, rssi_send, rssi_on_disconnect and snr members
are part of hdd_adapter.

Move following fields to link info
1) rssi
2) snr
3) rssi_on_disconnect
4) rssi_send

Change-Id: Iec76cdf51ed72adefacc4b77a6a2d1d8a28e96b6
CRs-Fixed: 3294941
2023-03-26 05:07:35 -07:00
Madan Koyyalamudi
e22d0da202 Release 5.2.1.60R
Release 5.2.1.60R

Change-Id: I7f9f68d06c5f4d378660e0b8bb43f5c12ab4c2f2
CRs-Fixed: 774533
2023-03-25 19:09:06 -07:00
Surya Prakash Sivaraj
d24935c6f4 qcacld-3.0: Set proper SSID in the external auth req
In SAE roam offload case, the SSID of the candidate is
retrieved from the roam candidate frame, and this SSID
is sent to the userspace for initiating SAE authentication.

However, if roam candidate frame is an MBSS beacon and the
candidate BSSID is present in non-tx profile, still the
SSID from tx profile is sent to the userspace, which leads
to authentication failure.

To fix this:
a) Save the BSSID in addition to the SSID during the roam
candidate frame extraction.
b) During roam auth offload event, get the SSID from the
scan cache only if the existing BSSID cache(filled in #a)
doesn't match with the BSSID received in roam offload event.

This would prevent the time expensive scan table lookup
operation for non-MBSSID cases.

Change-Id: Ib8cc0408cba7ccfc8c2b3e2d657f7b40f8a4d421
CRs-Fixed: 3437698
2023-03-25 19:09:05 -07:00
Madan Koyyalamudi
80f840d639 Release 5.2.1.60Q
Release 5.2.1.60Q

Change-Id: I742a315a2e53bd34a55132c965bd653f207f36cf
CRs-Fixed: 774533
2023-03-25 16:07:13 -07:00
Amruta Kulkarni
2514a9e8bd qcacld-3.0: Add roaming source and bssid check before issuing disconnect
When fast reassoc command is received with bssid
and channel frequency set to zero, if no candidate
found, STA DUT should disconnect.
Currently STA is disconnecting from current AP but
the also when FW aborts roam.

To fix this add additional check for roaming source and bssid.

Change-Id: I6ee3f5cea6ef3976b9cc5549ab113e4af30484d7
CRs-Fixed: 3441770
2023-03-25 16:07:12 -07:00
Madan Koyyalamudi
0e81b157fb Release 5.2.1.60P
Release 5.2.1.60P

Change-Id: I024b3fd44097cdb55a4d2b649df168fe1b02e3b0
CRs-Fixed: 774533
2023-03-25 13:35:48 -07:00
Aditya Kodukula
84325c35fd qcacld-3.0: Refactor mc_cp_station_stats function
Refactor tgt_mc_cp_stats_send_raw_station_stats into
vdev_mc_cp_stats and peer_mc_cp_stats functions to
improve code readability.

Change-Id: I5b313a84f4dd758d0b166940f055153bfae345a6
CRs-Fixed: 3442881
2023-03-25 13:35:48 -07:00
Madan Koyyalamudi
d4b20c62ee Release 5.2.1.60O
Release 5.2.1.60O

Change-Id: Id7b63479dfef54e17faeee13eeb3a070d2f436d0
CRs-Fixed: 774533
2023-03-25 11:16:25 -07:00
Vinod Kumar Myadam
32de2c9044 qcacld-3.0: Fix to power save for non associated vdev in ml connection
In multi link connection, for partner link vdev power save
is not set if not associated.

So, check if the adapter is multi link instead of the vdev and
set power save for partner link vdev's as well.

Change-Id: I483a75ed0ab631e535d06d9bd4d08b8de986cd07
CRs-Fixed: 3417368
2023-03-25 11:16:25 -07:00
Vinod Kumar Myadam
01153f2605 qcacld-3.0: Fix in parsing INI macro
In CFG_SAP_PS_WITH_TWT and CFG_DISABLE_SAP_BCN_PROT,
passing value as string instead of numeric.
Causes wrong value while macro expansion.

Passing enum value of false in CFG_SAP_PS_WITH_TWT and
CFG_DISABLE_SAP_BCN_PROT.

Change-Id: Ib8b297ef69cebb71c1e6645f49a75e79393b8c94
CRs-Fixed: 3440741
2023-03-25 11:16:20 -07:00
Madan Koyyalamudi
d31f3339ff Release 5.2.1.60N
Release 5.2.1.60N

Change-Id: I36a1e2510766a924891bbf93409c190b7c9156f1
CRs-Fixed: 774533
2023-03-24 23:26:45 -07:00
Aditya Kodukula
177a026707 qcacld-3.0: Update correct vdev_id for the peers in peer_ll_stats
Currently in wma_unified_link_peer_stats_event_handler, the host
updates peer's rx_mpdu value by querying dp_peer stats, using
peer mac address and vdev_id sent by firmware.

In case of MLO connection, the dp_peer stats query fails for
partner link peer, since the vdev_id sent by firmware is for
assoc link. So, the rx_mpdu value for partner link peer is not
updated. To fix this issue, update correct vdev_id for the peer.

Change-Id: I5f45f1cba6399c6ab810d3d94272d035259317a8
CRs-Fixed: 3438061
2023-03-24 23:26:45 -07:00
Madan Koyyalamudi
37bdb328da Release 5.2.1.60M
Release 5.2.1.60M

Change-Id: Ib912f94b5bcce40bb23b1377840bb7fa7c13a1ab
CRs-Fixed: 774533
2023-03-24 19:21:47 -07:00
Rachit Kankane
4eec1b8e78 qcacld-3.0: Restart SAP / GO before STA
In STA + SAP / GO DFS SCC concurrency, switch SAP / GO's operating
channel before STA's switch upon received very first CSA on STA
interface from peer AP.

Once STA moves to new channel, enforce SCC with existing SAP / GO
if its in MCC. This is done to allow traffic on SAP / GO side
during CSA period.

Change-Id: Icb4a15ad21ae96faff1fe338985aa734a4398cd2
CRs-Fixed: 3431386
2023-03-24 19:21:47 -07:00
Madan Koyyalamudi
8c8aae44eb Release 5.2.1.60L
Release 5.2.1.60L

Change-Id: Ibfaba5a08f08d773b3c6bf16692efd9bbec42439
CRs-Fixed: 774533
2023-03-24 05:46:55 -07:00
Vinod Kumar Pirla
de515fcd94 qcacld-3.0: Move VDEV specific fields to per link struct
To support multiple VDEVs in single adapter, the VDEV
specific fields in hdd_adapter needs to be moved to
link specific data structure.

Move the following fields from hdd_adapter structure to
wlan_hdd_link_info structure.
 1) vdev_id
 2) vdev_lock
 3) vdev
 4) vdev_destroy_event

Change-Id: I80d0ed167ca31bff7445b9c7788c86ef6f776018
CRs-Fixed: 3291070
2023-03-23 03:48:51 -07:00
Deeksha Gupta
9864be8a5a qcacld-3.0: Create per link data structure in hdd_adapter
To support multiple links in single adapter, create a new
structure to hold per link info inside the hdd_adapter.
Create a new member in hdd_adapter to point to link zero
of this array of link info.

Move STA and AP context fields into per link info.

Change-Id: Ia1f01865277c3e08254f44a39ba6675a9fea6c65
CRs-Fixed: 3354572
2023-03-23 03:48:19 -07:00
Madan Koyyalamudi
95d7e1d7fc Release 5.2.1.60K
Release 5.2.1.60K

Change-Id: Id9881214be7aa2395cc8e60f0219aa333d844649
CRs-Fixed: 774533
2023-03-22 22:16:42 -07:00
Liangwei Dong
c72ac1a9e4 qcacld-3.0: Avoid SBS channels missing in scan filter
In dual STA case, driver will avoid selecting candidates causing
MCC, but the current hw mode may have some delay updated from firmware.
So the API policy_mgr_are_2_freq_on_same_mac may not get correct
DBS or SBS channel state of two channel frequency.
Fix it by do not depending on current hw mode by using API
policy_mgr_2_freq_always_on_same_mac to check potential MCC or
not of two channel frequency.

Change-Id: I7d5382e786c421d5f99578e08b62b07864f48974
CRs-Fixed: 3441024
2023-03-22 22:16:42 -07:00
Madan Koyyalamudi
75164a148e Release 5.2.1.60J
Release 5.2.1.60J

Change-Id: I1850bd4804f2e7da30b7f5d98639f93a816e0438
CRs-Fixed: 774533
2023-03-22 13:55:23 -07:00
Pragaspathi Thilagaraj
36f994680f qcacld-3.0: Fix wrong subnet_change_status derivation after roam
Subnet change status field is obtained from bits 4 & 5 of the
roam_reason field in roam synch indication. But in
cm_fill_roam_info() the subnet_change_status is received from
the masked roam reason field and is always 0. So after
roaming to AP with different subnet wrong subnet change
indication is sent to userspace and ultimately NUD failure is
triggered.

Get the subnet_change_status directly from the roam synch
indication

Change-Id: I708276750c0aa3f1586cf9501f55f742d42ebf3f
CRs-Fixed: 3438725
2023-03-22 13:55:22 -07:00
Madan Koyyalamudi
1e1c0f31b9 Release 5.2.1.60I
Release 5.2.1.60I

Change-Id: I2990f2f81361bc98fd1f6da84d4fe07a059319bb
CRs-Fixed: 774533
2023-03-22 10:29:32 -07:00
Zhaoyang Liu
afa9a28c32 qcacld-3.0: change dutycycle level array size to correct value
As now throttle level is extended to THROTTLE_LEVEL_5,
previous array 'dutycycle_level' of size 4 may use index
value 4..5 during initialization. Change the array size to
THROTTLE_LEVEL_MAX to avoid out of bound accessing.

Change-Id: I5f9f8cb15e6fbdd8e5b4deccddca954fc73cd8e3
CRs-Fixed: 3433333
2023-03-22 10:29:31 -07:00
Madan Koyyalamudi
6ef880ad52 Release 5.2.1.60H
Release 5.2.1.60H

Change-Id: Icda6343efc9114388bbf30db155c5c9a26170949
CRs-Fixed: 774533
2023-03-22 00:40:19 -07:00
Jyoti Kumari
4ea4347be1 qcacld-3.0: Pass vdev_id as an argument in policy_mgr_get_pcl()
Pass vdev_id as an argument in policy_mgr_get_pcl()

Change-Id: If016b2ad1e47d1d8364037e44bd984e5b95c8d6f
CRs-Fixed: 3412927
2023-03-22 00:40:19 -07:00
Madan Koyyalamudi
5c43a42b63 Release 5.2.1.60G
Release 5.2.1.60G

Change-Id: I4ab281ea5058613416c4e092b5b88cc1668fa56a
CRs-Fixed: 774533
2023-03-21 13:51:59 -07:00
Gururaj Pandurangi
328c3811f4 qcacld-3.0: Add missing dot at the end of copyright header
Add the missing period at the end of the copyright header.

Change-Id: I9d11ab5e35ae8682340288b1f45a324b5d0dde21
CRs-Fixed: 3439213
2023-03-21 13:51:58 -07:00
Madan Koyyalamudi
d4a66c9799 Release 5.2.1.60F
Release 5.2.1.60F

Change-Id: I26788f59246ab54b9b3d481f2732886f95c444e7
CRs-Fixed: 774533
2023-03-21 11:50:56 -07:00
Lin Bai
1c7d1fd54a qcacld-3.0: Enable FEATURE_OEM_DATA on sdxpinn
Enable CONFIG_FEATURE_OEM_DATA on sdxpinn target.

Change-Id: I494c68152e998983a4d6e4ced7bed7f0b2ba3907
CRs-Fixed: 3440053
2023-03-21 11:50:56 -07:00
Pragaspathi Thilagaraj
06be2cbc56 qcacld-3.0: Add support to disable TDLS offchannel completely
Add support for new TDLS off-channel mode type:
DISABLE_ACTIVE_CHANSWITCH. With this
off channel mode, the TDLS off-channel will be disabled
completely without passive disable mode.
DISABLE_CHANSWITCH -> Passive channel switch can be done i.e if
peer requests channel switch then firmware can do channel switch
DISABLE_ACTIVE_CHANSWITCH -> Disable all off-channel switches.

Add support to send peer channel lists based on concurrency
combination. Override the ini configured frequency to the
supported frequency based on the current concurrency.

Change-Id: Ie3210178eb8b57d6ab126a730ed91895b70edaa1
CRs-Fixed: 3416213
2023-03-21 11:50:51 -07:00
Madan Koyyalamudi
9d72a8fc92 Release 5.2.1.60E
Release 5.2.1.60E

Change-Id: I36421155909ba00f6b2dca1a6b0c428b602ab3d8
CRs-Fixed: 774533
2023-03-21 10:13:37 -07:00
Karthik Kantamneni
a506f01514 qcacld-3.0: Enable compilation for new dp_rings_main.c file
Add support to compile new dp_rings_main.c file.
This new file is having refactored code of all the DP rings.

Change-Id: I7cd467df8d3f7c4b60d448c88b5cedc76cd62b07
CRs-Fixed: 3423636
2023-03-21 10:13:37 -07:00
Madan Koyyalamudi
f67e32418c Release 5.2.1.60D
Release 5.2.1.60D

Change-Id: I6090834fb0148b07707ae0f756d3046f0f15b4c7
CRs-Fixed: 774533
2023-03-21 07:50:35 -07:00
Jinwei Chen
9b10ef6737 qcacld-3.0: enable SRNG pointer register writing history
enable SRNG pointer register writing history for DEF build.

Change-Id: I8426eb7f81cb47633dbe3d1c9efea541f9781a04
CRs-Fixed: 3438306
2023-03-21 07:50:34 -07:00
David Oladunjoye
1cfdd7c3dc qcacld-3.0: Add a missing dot at the end of copyright header
Add a missing dot at the end of the copyright header.

Change-Id: I1e09eab9d6207c482fb1c4204793442c9cad1ff5
CRs-Fixed: 3439436
2023-03-21 07:50:28 -07:00
Madan Koyyalamudi
46491e2681 Release 5.2.1.60C
Release 5.2.1.60C

Change-Id: I53af9fc74bb6812a60b76937041bc231e4dc3a83
CRs-Fixed: 774533
2023-03-20 17:47:00 -07:00
Arun Kumar Khandavalli
12ddad6b03 qcacld-3.0: validate wmi_handle before dereferencing
wmi_handle is retrieved from psoc handle, validate the same before
dereferencing to avoid any invalid access.

Change-Id: I58c566e1b94c5ba2cd4d74ad4406545ffb39e36e
CRs-Fixed: 3434869
2023-03-20 17:46:59 -07:00
Madan Koyyalamudi
3c1ae745c5 Release 5.2.1.60B
Release 5.2.1.60B

Change-Id: I2913d7a26c84fb2aadf1c15c961acceaae39b9ce
CRs-Fixed: 774533
2023-03-20 13:16:49 -07:00