提交線圖

25883 次程式碼提交

作者 SHA1 備註 日期
Jia Ding
61191cedfc qcacld-3.0: Add 320 MHz support as per draft 1.5
This change is to add support for 320 MHz bandwidth based on
EHT Operation element defind in 11be draft 1.5.

Change-Id: Ie2e165493538991c331a856fea26d3ca518f04ad
CRs-Fixed: 3202962
2022-05-30 03:56:01 -07:00
Jia Ding
307406f111 qcacld-3.0: Properly check max supported EHT bandwidth
Per 11BE Spec, only 320 MHz support in 6 GHz is defined in EHT
PHY capabilities. Therefore when deciding max target supported
EHT bandwidth, 320 MHz support is first checked using target
advertised EHT phy caps. If 320 MHz is not supported, fall back
to VHT channel width supported, which includes 160 MHz and 80 MHz.

Change-Id: I26ddfa250db66d72ca55a3c9f966d71740cb0414
CRs-Fixed: 3190474
2022-05-30 03:55:56 -07:00
Madan Koyyalamudi
3e3577ec1a Release 5.2.1.23L
Release 5.2.1.23L

Change-Id: I3ddcfced5240bfb8b8d455c261c9fd7ca00ab722
CRs-Fixed: 774533
2022-05-29 22:52:03 -07:00
Dundi Raviteja
d346f272c2 qcacld-3.0: Move pre cac cleanup code to pre cac component
Move pre cac cleanup code from HDD to pre cac component.

Change-Id: I2839d447420e980941bfa271305685224b147cd8
CRs-Fixed: 3199949
2022-05-29 22:52:03 -07:00
Dundi Raviteja
a52b682bcb qcacld-3.0: Move pre cac failure code to pre cac component
Move pre cac failure code to pre cac component.

Change-Id: Ie27c93737fff89a4f5f3c2ceaa51223bd246e43b
CRs-Fixed: 3199950
2022-05-29 22:51:57 -07:00
Dundi Raviteja
2bbdc1835e qcacld-3.0: Move pre cac success code to pre cac component
Move pre cac success code to pre cac component.

Change-Id: I9d4f6c52ada96905e185fecef6556c59e05ab284
CRs-Fixed: 3199947
2022-05-29 22:51:50 -07:00
Madan Koyyalamudi
8ed92a56e6 Release 5.2.1.23K
Release 5.2.1.23K

Change-Id: I51720aadb42c3c2fefd4d403263541efe2b24b1e
CRs-Fixed: 774533
2022-05-29 16:49:27 -07:00
Surya Prakash Sivaraj
7da2ef6f88 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 6GHz only if the STA is on a PSC channel in VLP mode.

Therefore, filter out all 6GHz 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
2022-05-29 16:49:27 -07:00
Madan Koyyalamudi
c80cd311ca Release 5.2.1.23J
Release 5.2.1.23J

Change-Id: Iaa5a2a368383aabc2f5e48bd3c638168f446473c
CRs-Fixed: 774533
2022-05-29 06:03:57 -07:00
Pragaspathi Thilagaraj
142cab9c7e qcacld-3.0: Check for allowed frequency during set pcl
Sta is not allowed to connect/roam in 6 GHz frequency or indoor
frequency in non-DBS target if SAP is active.
But STA roams to 6 GHz AP when SAP is active since the PCL allows
6 GHz frequency.

While populating PCL to firmware, check if 6 GHz and indoor
frequencies are allowed for non-dbs target and set the
weight appropriately if the channels are not allowed

Change-Id: I0e5fdc5b3c4177283d91cdfc58359336cc11910d
CRs-Fixed: 3205494
2022-05-29 06:03:57 -07:00
Madan Koyyalamudi
90795d1395 Release 5.2.1.23I
Release 5.2.1.23I

Change-Id: I35f08f8e19ca23ec0b7b8c7cc6600c1ff26d8669
CRs-Fixed: 774533
2022-05-28 20:49:49 -07:00
Pragaspathi Thilagaraj
ad399448bc qcacld-3.0: Move SAP to STA channel during SAP start
When STA is connected to non-dfs, non-indoor channel and
SAP starts second with mandatory channel list enabled,
then SAP is moving to 2.4Ghz. But SAP should follow sta
and move to non-indoor, non-dfs channel.

Also when STA is connected on DFS channel and when SAP
is coming up with g_enable_sta_sap_scc_on_dfs_chan,
then SAP also should move to DFS channel

So when PCL channels are filtered based on mandatory
channel list, then allow dfs/indoor channels based on
concurrent STA frequency.

Change-Id: I2bcb81a8b014108b07db36a31d03d0a16fe49eb9
CRs-Fixed: 3207750
2022-05-28 20:49:48 -07:00
Madan Koyyalamudi
ec960bce39 Release 5.2.1.23H
Release 5.2.1.23H

Change-Id: I9a0744b78ce8a896dc353e05a635d93748428d8a
CRs-Fixed: 774533
2022-05-28 00:44:54 -07:00
Namita Nair
bea8ec9686 qcacld-3.0: Optimize code block under lock
Current code calls wlan_hdd_select_queue(dev, nbuf)
inside the netif_tx_lock(dev). But the logic does
not need to hold this lock.

Move the function call outside of the lock,
to optimize the critical section.

Change-Id: Id3b86ec82e9583e8d91b0a0f28f951ea192c3f06
CRs-Fixed: 3207147
2022-05-28 00:44:54 -07:00
Madan Koyyalamudi
a6e3a5d17a Release 5.2.1.23G
Release 5.2.1.23G

Change-Id: Ie6e93bd962eda19407acf0d310a526d1b4d9323a
CRs-Fixed: 774533
2022-05-27 19:36:58 -07:00
Paul Zhang
e4f054ce26 qcacld-3.0: Enhancement to parse ML IE fragmentation
The max IE length in the frame is 255, and the payload of Multi-Link
element is becoming more than 255 and fragmented. Add logic to defragment
the ML IE when parsing the rx frames.

Change-Id: I438972143b457072edcd3e5b13b7c043a445457f
CRs-Fixed: 3202402
2022-05-27 19:36:57 -07:00
Prakash Manjunathappa
1cf7befc57 qcacld-3.0: Add support for Kiwi flow search table in CMEM
For KIWI platform FST reside in CMEM. CMEM address is known at the
init time from platform driver. Use 16K of CMEM address for FST.
Increase MAX FISA FST entry size to 256, which is allowed max size with
16K of CMEM allocation for FISA FST.

Change-Id: I395ab884b9cc761ed3c4438434475d6f9908a62b
CRs-Fixed: 3199251
2022-05-27 19:36:52 -07:00
sandhu
051bc651bc qcacld-3.0: Add ini to enable FISA LRU eviction
Add ini to enable FISA LRU eviction.

Change-Id: I9930ec260bcab5ba8c8f1e594dbfde35965dff2e
CRs-Fixed: 3160269
2022-05-27 19:36:47 -07:00
Madan Koyyalamudi
36e0e2ab54 Release 5.2.1.23F
Release 5.2.1.23F

Change-Id: If7113d8fd3c9e66cd9fbdc0cfdf1d2c16b7bc713
CRs-Fixed: 774533
2022-05-27 18:06:14 -07:00
Paul Zhang
adc7c05154 qcacld-3.0: Add sanity check when get STA stats
If macro WLAN_FEATURE_11BE_MLO is enable, get_station_stats_cb for
TYPE_STATION_STATS is called only if last_req->ml_vdev_info.ml_vdev_count
none zero when WMI_UPDATE_STATS_EVENTID event comes back.

This causes timeout and fail to get station stats for legacy device or for
MLO device which does not set last_req->ml_vdev_info.ml_vdev_count.

To resolve this issue, add sanity check legacy device before invoking the
callback and set last_req->ml_vdev_info.ml_vdev_count if it is MLO device.

Change-Id: I8ca325482fc32de87cbedcba7d4af17d3876cbbc
CRs-Fixed: 3202588
2022-05-27 18:06:14 -07:00
Dundi Raviteja
71fc4f3fd4 qcacld-3.0: Move pre_cac start code to pre_cac component
Move pre_cac start code flow from hdd to pre_cac component.

Change-Id: Ia3bd7521bff9571dee18dbc20b28d08b76128944
CRs-Fixed: 3199948
2022-05-27 18:06:07 -07:00
Madan Koyyalamudi
2de118fa97 Release 5.2.1.23E
Release 5.2.1.23E

Change-Id: Ie8cdacdd22d28a58f76609054692f5f769043211
CRs-Fixed: 774533
2022-05-27 03:36:21 -07:00
Sheenam Monga
1d217e83de qcacld-3.0: Enance Logs to check disabled entry
Add log to check which mode, vdev and freq is
added as disabled ml link and dump disabled
links after moving vdev from connection table
to disabled link table and decrement session
count only if provided vdev entry is present
in connection table.

Change-Id: I19cd9323b7b66b29366f2ac930798da8ef91a709
CRs-Fixed: 3205975
2022-05-27 03:36:20 -07:00
Madan Koyyalamudi
4e7da8d82a Release 5.2.1.23D
Release 5.2.1.23D

Change-Id: I738424df8eb30d57d46b1175811e1c63ec5382f8
CRs-Fixed: 774533
2022-05-26 23:04:22 -07:00
Kiran Kumar Lokere
66056009ad qcacld-3.0: Fix the EHT Tx beamformee NSTS capability
Fix the EHT Tx beamformee NSTS capability setting in
management frames.

Change-Id: I0a4da6cdda15880178f37795ad7b105267814c24
CRs-Fixed: 3202438
2022-05-26 23:03:19 -07:00
Madan Koyyalamudi
21199f7730 Release 5.2.1.23C
Release 5.2.1.23C

Change-Id: Idd81b7bc2a7b317fd303bb63b96bed8afff4def9
CRs-Fixed: 774533
2022-05-26 21:20:25 -07:00
Srinivas Dasari
ed58b63609 qcacld-3.0: Fetch right vdev id to continue MLO link disconnect
When disconnected request started for an MLO connection,
link vdev gets disconnected first and then assoc vdev. So active
disconnect request is queued for link vdev first. As part of
RSO stop request-response handshake, the disconnect request is
cached and RSO stop request is sent to firmware. Disconnect is
supposed to resume for link vdev after getting the RSO stop
response . But currently, first MLO vdev gets checked if it
has active disconnect. This may fail to fetch the active
disconnect request if the first vdev in the list is assoc vdev
as it doesn't have active disconnect but link vdev has.
Check if it's a link vdev to resolve this and fetch active
disconnect req always.

Also, if there is only one link present(e.g. single link
connection or failed to connect the secondary link, etc.. ) in the
vdev_list, current release of vdev refs at the end of the API
wlan_cm_mlo_update_disconnecting_vdev_id() is not valid as it's
trying to release all links. Release only the links for which
reference is taken.

Change-Id: Idcb8a979dbdadafd4690e51a7301c4a7dfe82f73
CRs-Fixed: 3203969
2022-05-26 21:20:25 -07:00
Madan Koyyalamudi
e3b8bdb49c Release 5.2.1.23B
Release 5.2.1.23B

Change-Id: I8f2472c65377071590f2c21a4f85feb20e2b72ad
CRs-Fixed: 774533
2022-05-26 16:18:38 -07:00
Liangwei Dong
c2a3afb1d3 qcacld-3.0: Set vdev high throughput/low latency parameter
Add API ucfg_mlme_set_vdev_traffic_high_throughput &
ucfg_mlme_set_vdev_traffic_low_latency to configure the
high throughput and low latency to vdev. In MLO STA concurrency
cases, the host or target may disable a certain link
based on the flags.

Change-Id: Iaae7cfdeb55e0086572b071d83520278aa3425ea
CRs-Fixed: 3191501
2022-05-26 16:18:38 -07:00
Liangwei Dong
fd1c4024e5 qcacld-3.0: Move GO to 5 GHz for ACS 2.4 GHz preferred SAP
In SAP+GO concurrency, if GO is started on 2.4 GHz and SAP is
doing ACS with 2.4 GHz preferred channel list, then we will
move GO to 5 GHz band. The purpose is to have more choice
in SAP ACS instead of starting on GO home channel for SCC.
Add API hdd_handle_acs_2g_preferred_sap_conc for such
purpose.

Change-Id: I6f2b4bab526c7e1c9163b8437c40350d3bf10bab
CRs-Fixed: 3181419
2022-05-26 16:18:32 -07:00
Madan Koyyalamudi
1b18141d22 Release 5.2.1.23A
Release 5.2.1.23A

Change-Id: I877aa58b6277505af158e195745d3853c9f2a5f8
CRs-Fixed: 774533
2022-05-26 13:34:05 -07:00
Liangwei Dong
00c79e5785 qcacld-3.0: Add SAP P2P GO force SCC in same band
When SAP and GO home channels are in MCC in same band,
implement below requirement to avoid MCC:
1. SAP starts at first and GO starts later, then SAP will
  force SCC to GO's home channel after GO starts up.
2. GO starts at first and SAP starts later, then SAP will
  force SCC to GO's home channel during starting up.
3. SAP and GO SCC in same band, SAP changes channel to
  the other channel in same band, GO will follow SAP and
  move to SAP home channel.
4. SAP and GO SCC in same band, GO changes channel to the
  other channel in same band, SAP will follow GO and move
  to GO home channel.

And all the force SCC cases, if the target channel of force
SCC is not supported by the SAP or GO, then driver will
select other band's channel for the interface.

Change-Id: I7b24f3a972a401fd144a0c81dc19bd48ba224d85
CRs-Fixed: 3176087
2022-05-26 13:34:04 -07:00
Surabhi Vishnoi
d912895695 qcacld-3.0: Acquire wakelock during roaming if key installation is pending
Currently, wakelock is only taken during initial connection if
pairwise key installation is pending and not during roaming. This
may lead to EAPOL delay/timeout during roaming as runtime pm and
suspend is allowed during roaming. To fix this issue, acquire
wakelock if key installation is pending during roaming.

This change also refactors the code and release the wakelock in
wma_remove_peer if EAPOL fails during initial connection or roaming.

Change-Id: Id4cac30b3c383ca3d3e963571846f8a30eaa1006
CRs-Fixed: 3189799
2022-05-26 13:33:57 -07:00
Madan Koyyalamudi
7ae7404328 Release 5.2.1.23
Release 5.2.1.23

Change-Id: I3f5c470f72f8b0c90fb8b0025006d3f4aa911acb
CRs-Fixed: 774533
2022-05-26 09:32:36 -07:00
Utkarsh Bhatnagar
ae909a6e26 qcacld-3.0: Update ACS BW with HW Supported BW
In case if HW doesn't support 160 Mhz BW, driver
doesn't update 160 Mhz capability in WIPHY and
even in such case if Userspace configures ACS
BW as 160 Mhz in hostapd, Driver selects this
bw for acs without checking whether HW support
this BW. This leads to mismatch between ACS BW
and supported Wiphy BW and ultimately leading
to SAP start failure for 160 Mhz for 5 ghz and
6 ghz band.
So, Update ACS BW with HW Supported BW such
that if hw doesn't support 160 Mhz bw then acs
bw 160 Mhz shouldn't be selected.
As in wiphy we won't enable 160 Mhz capability.

Change-Id: I195b0e6bd0ce7640f136077ed9042c6e15088143
CRs-Fixed: 3170528
2022-05-26 09:32:36 -07:00
Namita Nair
a4b09e9547 qcacld-3.0: Enable EAPOL M2/M4 logging
EAPOL TX message enters the driver via NL and not
through the ndo_select_queue. Hence skb->queue_mapping
value is not set.

This fix will set the correct value to queue_mapping
for EAPOL packets. The EAPOL TX packets will hence be
marked correctly in the wlan_hdd_mark_critical_pkt()
and then logged.

Change-Id: I97018c4e8b44c55f9924c1465b41fcfdbc50406c
CRs-Fixed: 3190128
2022-05-26 09:32:30 -07:00
sandeep puligilla
f23e3d9c45 qcacld-3.0: 6 GHz STA profile contains HT and VHT capabilities
6 GHz STA profile contains HT and VHT capabilties in association
request when STA tries to associate 2.4 GHz + 6Ghz MLO connection.

Removed HT and VHT capability population from MLO IE preparation
when MLO connection is 2.4 GHz + 6 GHz.

Change-Id: Ie21723fb1f9c81404015a7de4f787447acbf9e90
CRs-Fixed: 3200099
2022-05-26 09:32:23 -07:00
Madan Koyyalamudi
0ec73e82a3 Release 5.2.1.22Z
Release 5.2.1.22Z

Change-Id: Idbb94a45bef0134e82c1acd76c31f2c0a81848fc
CRs-Fixed: 774533
2022-05-26 05:29:31 -07:00
Bing Sun
98cbab9a5a qcacld-3.0: Restart SAP after updating phymode requested from SON
EasyMesh agent fails to update the phymode requested by controller.

EasyMesh controller sends the channel selection request package to notify
EasyMesh agent to change phymode and channel. EasyMesh agent should change
them accordingly.

Update the phymode of the SAP, then restart the SAP.

Change-Id: Iab881b0bfbd1764072b48d426610adc8967111cd
CRs-Fixed: 3181195
2022-05-26 05:29:31 -07:00
Madan Koyyalamudi
a9cb62ec75 Release 5.2.1.22Y
Release 5.2.1.22Y

Change-Id: I74e3015466ffb51d2c2d245c1579350d0210e867
CRs-Fixed: 774533
2022-05-25 22:35:17 -07:00
Lin Bai
ab486437db qcacld-3.0: Extend Link speed for STA/SAP
Previous linkspeed only enabled for P2P mode,
and here extend for STA/SAP mode per request.

Change-Id: I0976ee2e4b064b74cc2532a310f20e0ef1b0e7f6
CRs-Fixed: 3205568
2022-05-25 22:35:17 -07:00
Madan Koyyalamudi
5814e47a4b Release 5.2.1.22X
Release 5.2.1.22X

Change-Id: I0f60aef28ff0366ed8aea4be944afa7da1b93608
CRs-Fixed: 774533
2022-05-25 11:18:49 -07:00
Jianmin Zhu
9e519a019c qcacld-3.0: Fix no EHT cap in MLO link per sta profile
There is only 1 global var to save EHT cap in psoc cfg for both 2 GHz and
5 GHz band, it is propagated to vdev/pe session/frames without revising by
band, so EHT cap of 2 GHz and 5 GHz are same, EHT cap of assoc link and
partner link are same, so no EHT cap in ML-Link Info(per STA Profile) in
assoc request while connecting to EHT MLO AP.

To fix it, revise EHT cap when band is selected, get EHT cap by band when
assemble assoc req MLO link per sta profile, get correct 2 GHz cap by
checking supported bands when get MAC/PHY cap from firmware, copy supported
MCS set from firmware to EHT cap of 2 GHz and 5 GHz too.

Change-Id: Ie97e71ee141f023248fb49f9977e7345e21003f6
CRs-Fixed: 3200199
2022-05-25 11:18:48 -07:00
Madan Koyyalamudi
f728d57715 Release 5.2.1.22W
Release 5.2.1.22W

Change-Id: Idb15fc72d437cccfbc9e16f0a8f7cce2fde9ac85
CRs-Fixed: 774533
2022-05-25 09:27:54 -07:00
Qun Zhang
04f01b2cea qcacld-3.0: Let country IE take band channel info as need
When verifying WNM BSS transition function, it's possible to
ask peer STA to transition across multiple band. Some vendor
BTM implementation is needed to check country IE to get all
supported band channel info. Without full channel list in
country IE, it cannot make a transition across multiple band.
To solve the interop issue, let country IE take all supported
band channel info when the specific vendor OUI is detected in
association request.

Change-Id: I78dd4b88937277b54a7da4d72d8a94706965e9a6
CRs-Fixed: 3196957
2022-05-25 09:27:54 -07:00
Madan Koyyalamudi
e0f424faab Release 5.2.1.22V
Release 5.2.1.22V

Change-Id: I7c91aa6b15cb404ae7b4aa093d16b288a03ca834
CRs-Fixed: 774533
2022-05-25 07:30:07 -07:00
SACHIN AHUJA
494eca296c qcacld-3.0: Send unified stats command in disconnect state
This reverts commit  I9701830d. Host needs to honor the ll stats
command in disconnected state also.

CRs-Fixed: 3197453
Change-Id: I32db288cf070bba21023536c0d9e933835f26c53
2022-05-25 07:30:07 -07:00
Madan Koyyalamudi
d1ae2bb0c7 Release 5.2.1.22U
Release 5.2.1.22U

Change-Id: Ia82e133dc7e749ebcad7e894d2bbee1cc91565e8
CRs-Fixed: 774533
2022-05-25 04:55:32 -07:00
Pragaspathi Thilagaraj
e48e6ea80e qcacld-3.0: Check TX flag for all frames
Currently driver checks TX flag only for authentication
frames. This causes wrong tag for the frames.

Check TX flag for Deauth/Disassoc & authentication frames
also.

Change-Id: Id499bc1978ee72bac2435be165b31d0db49ce9d8
CRs-Fixed: 3203858
2022-05-25 04:55:32 -07:00
Madan Koyyalamudi
d8a52c544c Release 5.2.1.22T
Release 5.2.1.22T

Change-Id: I38f55addf735917e12ce7c388ba7ffe5e2d7ee09
CRs-Fixed: 774533
2022-05-25 01:44:37 -07:00