커밋 그래프

28949 커밋

작성자 SHA1 메시지 날짜
Madan Koyyalamudi
625081f295 Release 5.2.1.66T
Release 5.2.1.66T

Change-Id: Ibb3021eab99e09ab62e820c127f4d3035af4eaf7
CRs-Fixed: 774533
2023-05-18 04:35:14 -07:00
Asutosh Mohapatra
63d4988c35 qcacld-3.0: Reject asymmetric nss config if not connected
Currently driver process SET_TX_ANT_CONFIG command for
asymmetric tx/rx nss values, but it's not correct to
have asymmetric tx/rx nss values before connection
as connection will always happen in 1x1 or 2x2.

To address this issue, reject SET_TX_ANT_CONFIG cmd
if TX nss and RX nss values are different.

Change-Id: Id6f3ff57ae3a991192b76bd476034867a799d95e
CRs-Fixed: 3485059
2023-05-18 04:35:14 -07:00
Amit Mehta
c6ad6f2fe0 qcacld-3.0: Print wow_nack reason code
Currently, Fw did not set NACK reason code
to Host when Fw is not ready for WoW.

As part of the new change, Fw will send NACK
reason code along with WoW NACK to host.
Make changes in host to store and print
NACK reason code.

Change-Id: Ic978af9572c8de37df3fb926083aac5e6ddefda7
CRs-Fixed: 3481177
2023-05-18 04:35:09 -07:00
Madan Koyyalamudi
d82a7c1fc4 Release 5.2.1.66S
Release 5.2.1.66S

Change-Id: Ibcbe566176cd730e88e7137cd393a1ed809f7403
CRs-Fixed: 774533
2023-05-18 02:32:47 -07:00
Vinod Kumar Pirla
d88f5412f8 qcacld-3.0: Use link_info pointer to get SAP context
As part of single netdev multi vdev changes, AP context is
now per link. To get the SAP context pointer from AP context,
pass link_info pointer instead of adapter.
The existing callers are moved to deflink pointer.

Change-Id: If49ce9dcbf58710d8184dfbef1d0a99567f3111b
CRs-Fixed: 3448342
2023-05-18 02:32:47 -07:00
Madan Koyyalamudi
3401d72cea Release 5.2.1.66R
Release 5.2.1.66R

Change-Id: Ic35874445fa7585996db260e67e233cb4fbc4ffc
CRs-Fixed: 774533
2023-05-17 21:29:30 -07:00
chunquan luo
57696567aa qcacld-3.0: Get tx power value from each mac
When user space use "iw dev" to get tx power info,
driver send WMI_REQUEST_STATS_CMDID to fw,
fw update tx power info with two events, usually we
parse the last event, and maybe get invalid value.
Filter invalid value for each event, and get valid
tx power value from the mac which the AP/STA mode work.

Change-Id: I2411bb87e03fe385759852b028819e19a055b7f3
CRs-Fixed: 3474361
2023-05-17 21:29:30 -07:00
Madan Koyyalamudi
8d82bbedc1 Release 5.2.1.66Q
Release 5.2.1.66Q

Change-Id: I7e47f4601992db881c99a9f34ad82deb8364097b
CRs-Fixed: 774533
2023-05-17 16:11:15 -07:00
Tiger Yu
a8d57a4bf7 qcacld-3.0: Enable tracepoints for qca6390 module
Enable the tracepoints for qca6390 module in the wlan host for latency
debugging.

Change-Id: I9f69a5d9cc08a63185961bf2a88d403bb62799e8
CRs-Fixed: 3497709
2023-05-17 16:11:15 -07:00
Alan Chen
47d7e7e3d4 qcacld-3.0: Fix typo for ENABLE_HAL_SOC_STATS
There is a typo for the feature flag ENABLE_HAL_SOC_STATS. Thus,
correct it to -DENABLE_HAL_SOC_STATS.

Change-Id: Idc7e478480e799659c971e42962e9d527960a9da
CRs-Fixed: 3492601
2023-05-17 16:11:10 -07:00
Madan Koyyalamudi
462e4ca9da Release 5.2.1.66P
Release 5.2.1.66P

Change-Id: I1fd8e5a6b6c45540bd37fab6d0679f2a85a98e9b
CRs-Fixed: 774533
2023-05-17 08:34:19 -07:00
Abhishek Singh
868f852f2e qcacld-3.0: Fix the bandwidth switch while handling CSA WBW IE
While handling CSA Wide BW IE to switch freq, driver update the
PE session bandwidth and limit the switch to existing bandwidth.

This result in failure while checking if new bandwidth is same
as previous bandwidth and thus bandwidth change fails in this
case.

To fix do not update PE session while handling CSA Wide BW IE and
do not limit the switch to 80 MHz. Also add current Bandwidth
info in logs.

Change-Id: Icb1f169b17f711df91fd10230d6fdfd9a3d30274
CRs-Fixed: 3498943
2023-05-17 08:34:18 -07:00
Surya Prakash Sivaraj
7bb5bb0420 qcacld-3.0: Abort connection upon auth failure
Host driver sends deauth to AP BSS if the ML Info
IE is not present in the auth frame, but doesn't
abort the connection. Later, upon auth failure timeout
the connection gets terminated.

Instead of waiting till timeout, abort the connection
if the authentication fails.

Change-Id: I61e429baf29c49e4b28f379a9f4870dac7de5217
CRs-Fixed: 3497640
2023-05-17 08:34:13 -07:00
Madan Koyyalamudi
20516aa39a Release 5.2.1.66O
Release 5.2.1.66O

Change-Id: Icd571c03b7d1a6850500eaf3d525964536bb64d3
CRs-Fixed: 774533
2023-05-17 00:37:54 -07:00
Gururaj Pandurangi
6f178f75ef qcacld-3.0: Reset UL MU MIMO capability for ML STA
The UL MU MIMO capability is neither supported by SAP nor
STA. In the case of ML STA, reset UL MU MIMO capability on
all its vdevs.

Change-Id: I14ba48aceade0ac4fd85aa66a6dda54748c89a03
CRs-Fixed: 3487893
2023-05-17 00:37:54 -07:00
Jianmin Zhu
8fee440021 qcacld-3.0: STA handle beacon puncture update
1. When handle STA CSA, find only puncture bitmap changed, primary freq and
bandwidth not changed, still continue CSA.

2. When Updated beacon has no eht op info, need look up he/vht op to get
channel info.

Change-Id: Ib5270a1245e0dd9ba095c63f2bea959dd9ddac44
CRs-Fixed: 3499067
2023-05-17 00:37:49 -07:00
sandhu
934aa6c4ee qcacld-3.0: Enable BTM in ML IE ext
Enable BTM ML ie ext capability if roaming is allowed

Change-Id: I064cd11ec5d33c050657cdc2fb2c0a41a3f5451b
CRs-Fixed: 3492992
2023-05-17 00:37:43 -07:00
Gururaj Pandurangi
9c54d84369 qcacld-3.0: Fix the EHT MCS rates for 5 GHz testbed STA
Fix the EHT MCS rates for 5 GHz 20 MHz-only testbed STA.
This allows for the required MCS rates 0-7 and 8-9 to be
enabled that were currently reset in set EHT testbed
defaults API.

Change-Id: I13555882c68e5b5454415d5a63cc02d12be5f43a
CRs-Fixed: 3487863
2023-05-17 00:37:38 -07:00
Madan Koyyalamudi
7c3178dba9 Release 5.2.1.66N
Release 5.2.1.66N

Change-Id: I3e33047f8d187b37b3770250c97ddffe9de7c0c0
CRs-Fixed: 774533
2023-05-16 17:33:08 -07:00
Vinod Kumar Pirla
487b917705 qcacld-3.0: Toggle MSB to avoid MAC address collision
Toggle the MSB of last byte while deriving the link MAC address to
increase the MAC address range and avoid deriving duplicate MAC
addresses.

Change-Id: I2ba1d8bcfaa95fd5291202316106d9b0dd74766b
CRs-Fixed: 3499105
2023-05-16 17:33:07 -07:00
Rakesh Pillai
a265a33e91 qcacld-3.0: Add config for number of perf clusters in SoC
Kbuild changes to define the number of perf clusters
in an SoC.

Change-Id: Ibbc58dbe425ac560c86a56d63ed39e4ac80acfa4
CRs-Fixed: 3498169
2023-05-16 17:33:03 -07:00
Arun Kumar Khandavalli
49da2461fe qcacld-3.0: ENABLE 11BE draft-3.0 support
Enable the 11be draft-3.0 support through WLAN_SUPPORT_11BE_D3_0.

Change-Id: Ibcb27ecc392f0bfed1a249833b338188e53116f0
CRs-Fixed: 3496133
2023-05-16 17:32:58 -07:00
bings
9c5e33d034 qcacld-3.0: Don't skip PCL set when MLO link vdev is disconnected
When STA roams from multi link AP to single link AP, because MLO link
vdev is not disconnected yet, PCL is updated according to MLO station
connection and SLO station connection concurrency scenario.

After MLO link vdev is disconnected, PCL should be updated again
according to SLO station connection scenario.

Change-Id: I6a297c05a605fefe27c20a90d36e419819e6415d
CRs-Fixed: 3497055
2023-05-16 17:32:53 -07:00
Madan Koyyalamudi
5ee6596ef8 Release 5.2.1.66M
Release 5.2.1.66M

Change-Id: I003e933d00ce0189bd4897f9fd97c092e098eede
CRs-Fixed: 774533
2023-05-16 11:42:49 -07:00
Surabhi Vishnoi
e413c1a012 qcacld-3.0: Test PKT_CAPTURE_REGISTER_EVENT bit before processing packets
Currently, packet capture packets are processed until the mon list
is empty. There can be situation that while mon list is not empty and
mon thread is running, mon interface is deleted and as part of it 
PKT_CAPTURE_REGISTER_EVENT is cleared. After clearing the bit, interface
deletion will wait for completion of mon_register_event and flush the
remaining packets in mon list without processing them. In this case 
as mon thread is already running and processing the packets from mon list
without check for PKT_CAPTURE_REGISTER_EVENT bit, it may lead to
timeout in deletion of mon interface in case of high throughput scenarios.

To avoid this situation, add a check to test PKT_CAPTURE_REGISTER_EVENT
each time before processing a packet from mon list.

Change-Id: I21e7adc0149c2330f6008d54db8576ca705f2b55
CRs-Fixed: 3475349
2023-05-16 11:42:49 -07:00
Shailendra Singh
4bfe79ebff qcacld-3.0: Change to set proper tx power for Auto case
Tx power not set in case when user sets tx power as auto.
When user set tx power as auto now, host will configure
the tx power as max regulatory power allowed for
that channel. It signifies that it is the upper
limit for tx power used while transmission.

Change-Id: I98e53e417fa72c58ef8b22017a9a622ba8ccb257
CRs-Fixed: 3478243
2023-05-16 11:42:44 -07:00
Madan Koyyalamudi
5119ff43e0 Release 5.2.1.66L
Release 5.2.1.66L

Change-Id: I8e5a41c2efd017ad407ca1c7551d030a4bb830a8
CRs-Fixed: 774533
2023-05-16 09:15:50 -07:00
Amruta Kulkarni
282ef0220d qcacld-3.0: Fixes in populate T2LM frame and clear negotiation
1. While populating t2lm ie use dynamic memory allocation
instead of static and free after usage.

2. If AP rejects T2LM action req frame, sends status code
anything other than 0(success) or 134(preferred mapping),
clear ongoing negotiation.

Change-Id: I50fbf34f3e95bbeaf13c2e1a74374b22837dffa8
CRs-Fixed: 3496677
2023-05-16 09:15:50 -07:00
Srinivas Dasari
9769f70f13 qcacld-3.0: Don't enable eMLSR STA link when concurrent AP is UP
Currently, host driver disables eMLSR STA link when a SAP is
coming UP. Once the SAP is UP, host driver evaluates the current
concurrencies and re-enables the link if it can. This allows the
driver to bring UP disabled link(if any) as the SAP would do SCC
with one of the ML-STA links. But this is not applicable for
eMLSR STA. No other concurrency can co-exist with eMLSR STA
currently. So, one link has to be force-disabled always to let
the firmware not enter into eMLSR mode.
So, don't allow the validation of current concurrencies in
policy_mgr_handle_sap_cli_go_ml_sta_up_csa() eMLSR API
policy_mgr_handle_emlsr_sta_concurrency() takes care of
eMLSR concurrencies.

Change-Id: I78a15447a8ea5a3a98146d9c9b577095bb8496de
CRs-Fixed: 3492030
2023-05-16 09:15:44 -07:00
Madan Koyyalamudi
faaa08dcc3 Release 5.2.1.66K
Release 5.2.1.66K

Change-Id: If3b02c0fbf26e0ad8075467d34aa48834afc2fcf
CRs-Fixed: 774533
2023-05-15 21:46:53 -07:00
Arun Kumar Khandavalli
52d83220cc qcacld-3.0: Set the 11be in feature set based on capability
Currently the 11be capability is set to true from host if the
11be macro is enabled intersect the same with the ini configuration
and update the feature set accordingly.

Change-Id: Ifbd4207a5113fafe5e8ebb87c6b7fce6c2a29eff
CRs-Fixed: 3495617
2023-05-15 21:46:53 -07:00
Madan Koyyalamudi
134302eac7 Release 5.2.1.66J
Release 5.2.1.66J

Change-Id: Iacd4d0e9e44ab2babe1ff8499b00d70f4054e64d
CRs-Fixed: 774533
2023-05-15 19:39:13 -07:00
Ananya Gupta
a5d6751209 qcacld-3.0: Clear direct link config in stop modules
Currently, as part of wlan_hdd_stop_modules, direct link config
is not being cleared but hif link state vote is cleared, as a
result when hdd_close_adpater() is called, link state is already
cleared, resulting in crash, as config is still enabled.
To fix this, clearing config as part of direct link context
de-initialization.

Change-Id: I1a5de6f427b5bc4dc4fe4346e53354645ad53529
CRs-Fixed: 3495027
2023-05-15 19:39:13 -07:00
Madan Koyyalamudi
cade0cdcfe Release 5.2.1.66I
Release 5.2.1.66I

Change-Id: Ia3d65262216511d07ee1944a1c3d17022f924a3c
CRs-Fixed: 774533
2023-05-15 17:23:57 -07:00
Abhinav Kumar
a8f9ec8edf qcacld-3.0: Populate 6 GHz channel info in the hdd context
Currently, on receiving scan events from FW, the host is
unable to populate the channel info buffer.

Populate 6 GHz channel info in hdd context from wiphy
as per NL80211_BAND_6GHZ band.

Change-Id: I726a43d0f2bbf6c8dfc405cfa917f8dfc8a8e0cd
CRs-Fixed: 3488036
2023-05-15 17:23:57 -07:00
Rajeev Kumar
1ff8294469 qcacld-3.0: Fix deadlock for pre CAC adapter unregister
Vendor command pre_doit holds wiphy lock inside kernel and calls
into driver vendor command handler and from driver vendor command handler
if unregister_netdevice() is called it will try to acquire same wiphy lock
inside kernel cfg80211_netdev_notifier_call() and deadlock.

To fix this issue from driver vendor command handler for pre CAC adapter
stop call cfg80211_unregister_netdevice to avoid recursive wiphy locking.

Change-Id: Id939016c1baf730707346f2375d0b952017a48f5
CRs-Fixed: 3493940
2023-05-15 17:23:52 -07:00
Madan Koyyalamudi
f8ebc95aef Release 5.2.1.66H
Release 5.2.1.66H

Change-Id: Ibf4386db83e4430c7454dd6a0c81cac813576bac
CRs-Fixed: 774533
2023-05-15 15:11:34 -07:00
Liangwei Dong
c2b9737b8f qcacld-3.0: Avoid STA CSA to disallowed channel
STA is on 5 GHz 5260, SAP on 6 GHz 6415, GO on 5 GHz 5745.
STA receives CSA event to move to 5540. Then 3 vdevs are
MCC in 5 GHz high band which is not supported by target.
And we should avoid SAP+GO on same band MCC.
Fix by:
1. Check allow concurrency for STA CSA for more than 2 connection
case.
2. change SAP PCL to only includes SCC 5 GHz channel and 2.4
GHz channel to avoid SAP choosing 5 GHz MCC channel if STA+GO is in
SBS mode.

Change-Id: Iadf8cfd215393baf4823c0e7cb6aa3656d8004dd
CRs-Fixed: 3482252
2023-05-15 15:11:34 -07:00
Madan Koyyalamudi
611aef9b20 Release 5.2.1.66G
Release 5.2.1.66G

Change-Id: I2bd2a821d6464199cb4d0ce6e42a6f15c157cff4
CRs-Fixed: 774533
2023-05-15 10:05:57 -07:00
Will Huang
1635db1213 qcacld-3.0: Add back four SAP concurrency pcl rules
The four SAP concurrency pcl table is deleted by change:
I494e7a8d6ecc0a550027ff7f64de5deb11b987a9, it is still needed
for MDM platform, otherwise the 4th SAP will be rejected by
policy manager.

Add back original four SAP concurrency pcl rules.

Change-Id: Ib80c58f114f494a2c66fc15286b1a434d577dd26
CRs-Fixed: 3490580
2023-05-15 10:05:57 -07:00
Madan Koyyalamudi
e0e6d7ac5c Release 5.2.1.66F
Release 5.2.1.66F

Change-Id: I90b959d7928bb78e741013fc623bbf585b1069ee
CRs-Fixed: 774533
2023-05-15 07:58:56 -07:00
Vinod Kumar Pirla
0c086574b1 qcacld-3.0: Use link_info pointer to get hostapd context
As part of single netdev multi vdev changes, AP context is
now per link. To get the hostapd context pointer from AP context,
pass link_info pointer instead of adapter.
The existing callers are moved to deflink pointer.

Change-Id: I01ef675de40779b386b72a033e76806488bc36e7
CRs-Fixed: 3447737
2023-05-15 07:58:56 -07:00
Vinod Kumar Pirla
9d53fe7c0a qcacld-3.0: Use link_info pointer to get AP context
As part of single netdev multi vdev changes, AP context
is now per link. To get the AP context for a particular
link, pass the link_info pointer instead of adapter.

Change-Id: I0ffbafdf5c73c47d8ba335706d4065d55b7e45cb
CRs-Fixed: 3447599
2023-05-15 07:58:51 -07:00
Vinod Kumar Pirla
190f895657 qcacld-3.0: Test CONNECT_REQ_MLO_SUPPORT flag in connect req
The existing code do not check CONNECT_REQ_MLO_SUPPORT flag and
driver connects in MLO with ML capable APs. This leads to auth
timeout incase of SAE as the MAC address in auth frames are
different.

Userspace connect request params will enable CONNECT_REQ_MLO_SUPPORT
flag to indicate driver can connect to ML candidate for that connect
request, incase this flag is not set in the connect request the driver
shall downgrade to non-ML connection.

Change-Id: I1452c0b61d86d23103ccd84c142e99f79d2077f7
CRs-Fixed: 3477110
2023-05-15 07:58:46 -07:00
Madan Koyyalamudi
a47483d161 Release 5.2.1.66E
Release 5.2.1.66E

Change-Id: I0a3d125a24ec3296e63460cf2dbd42c74609c8d0
CRs-Fixed: 774533
2023-05-15 01:27:58 -07:00
Abhishek Singh
af1050ca98 qcacld-3.0: Avoid repetitive logs in beacon processing in LIM
Scan module already print the info of the beacon/probe response
Remove the repetitive logs from LIM which are not useful.

Change-Id: I609f229a7242c5d58081d44f2d9c1447e089c648
CRs-Fixed: 3490645
2023-05-15 01:27:58 -07:00
Asutosh Mohapatra
244ccb3411 qcacld-3.0: Reject SET_TX_ANT_CONFIG for invalid nss values
Currently when driver receives SET_TX_ANT_CONFIG command, it
doesn't check if tx/rx nss values are allowed for the
existing connection and sends chain mask configuration
command to fw.

To address this issue, reject SET_TX_ANT_CONFIG command,
if given tx/rx nss value is greater than connection's
intersected nss.

Change-Id: I58078d8dd6c9e04ccedad26b79a7dc3a040e9ef6
CRs-Fixed: 3476639
2023-05-15 01:27:52 -07:00
Madan Koyyalamudi
fc3584321e Release 5.2.1.66D
Release 5.2.1.66D

Change-Id: I98f02d3803f725088e6037af88c9c3d6b0261855
CRs-Fixed: 774533
2023-05-14 13:37:25 -07:00
Srikanth Marepalli
ccc0cee97d qcacld-3.0: Send the 6 GHz channel in WMI_ROAM_CHAN_LIST
When the Intra band INI is enabled and the STA connected in 6 GHz
band the channel count and frequency are not sent in the
WMI_ROAM_CHAN_LIST command as the band is not defined or unknown.
As a result of this DUT is unable to trigger partial roam scan in
the current connected 6 GHz channel and does a full roam scan.

Add the 6 GHz band check in the Intra band enabled case.

Change-Id: I765c233d1e6bf71cab186041ebd7df2293be6f05
CRs-Fixed: 3469197
2023-05-14 13:37:24 -07:00
Namita Nair
3f0a07d8ba qcacld-3.0: Enable SAP/GO D3 WOW for OPT_WIFI_DP case
Currently as IPA_OFFLOAD path is enabled for OPT_WIFI_DP
usecase, this causes SAP/GO D3 WOW to be disabled.
This change will add a check to ensure D3 WOW is
enabled when IPA path is set for OPT_WIFI_DP usecase.

Change-Id: Ibec94ca172646c80fa9ec7e6ff24e6e5f6fcad60
CRs-Fixed: 3472752
2023-05-14 13:37:20 -07:00