提交图

28744 次代码提交

作者 SHA1 备注 提交日期
Srinivas Dasari
8765c8c3b8 qcacld-3.0: Cache scan entries of all OWE links
Currently, OWE assoc link scan entry is cached post roam success
but link scan entry is not cached. This causes join failure while
non-assoc link tries to get connected post assoc link roam.
So, cache scan entries of all links while processing first link
itself to avoid these failures.
This also fixes adding scan entry properly for non-MLO OWE
cases as well.

Change-Id: I3188f98f2682acceaae28f226e6c8abe0c81fff9
CRs-Fixed: 3437632
2023-04-04 16:30:20 -07:00
chunquan luo
c671d25226 qcacld-3.0: Check pointer from a function whether is NULL
Check pointer adapter returned from function which maybe NULL,
and explicitly dereferenced error.

Change-Id: Iaaf4bdfb145a146452a5925ac39483e32ed8955e
CRs-Fixed: 3454288
2023-04-04 16:30:14 -07:00
Surabhi Vishnoi
704dbe521a qcacld-3.0: Remove wait for sta_authorised_event from FW
Firmware do not send WMI_PEER_STATE_CHANGE_EVENTID when WMI_PEER_AUTHORIZE
peer param is sent from host on peer. Host waits for this event from
firmware for 10ms and then times out. This leads to unnecessary delay of
atleast 10ms in enabling the TX queues every time after connection and
roaming.

So this change cleans up the existing handling of WMI_PEER_STATE_EVENTID
and removes wait for sta_authorised_event. This will improve the latency
in enabling the queues from host.

Change-Id: Iaf54d8298dab3cd47ad4779ec9ee11dc8f0bad0d
CRs-Fixed: 3436763
2023-04-04 16:30:09 -07:00
Madan Koyyalamudi
db1a540615 Release 5.2.1.62B
Release 5.2.1.62B

Change-Id: I75351d4339a241344563050e08dcd6032781f155
CRs-Fixed: 774533
2023-04-04 14:40:47 -07:00
Srinivas Dasari
b11049f6ad qcacld-3.0: Fetch link of a peer from src mac addr of probe rsp
Currently, when ML probe response is received in non-assoc link
channel, right link_id is not passed to the link_probe rsp
generation API as it loops through all available per STA profiles.
It fails when probe rsp received link id is given as corresponding
per STA profile is not present in the probe rsp.
Skip calling the ML probe rsp generation API for
the link id on which it's received.

Change-Id: Ib636c6d5909b7f2760c7e57ec4f14f8ed060a910
CRs-Fixed: 3428521
2023-04-04 14:40:47 -07:00
jinbao liu
3229538f7b qcacld-3.0: Fill in the rate table in VHT mode
The rate table is lacking in rates info of mcs=10/11 in VHT
mode. This leads to failing to match a rate with rateflags
from FW sometimes. To address this issue, this change fills
out this rate table when mcs=10/11 in VHT mode.

Change-Id: I6f63339bed2f9d53838f02177c63bc128856a991
CRs-Fixed: 3448862
2023-04-04 14:40:42 -07:00
Paul Zhang
75bb0abb6a qcacld-3.0: Add new api in tdls module
Add new api for tdls mld feature:
ucfg_tdls_get_mlo_vdev
ucfg_tdls_release_mlo_vdev
ucfg_tdls_discovery_on_going

Change-Id: I874fd5ef1af94a9e576ba6738a12b7e2af891537
CRs-Fixed: 3439345
2023-04-04 14:40:37 -07:00
Madan Koyyalamudi
95bc1b4791 Release 5.2.1.62A
Release 5.2.1.62A

Change-Id: If75513963e30e48bd414f3dac78e340243142b57
CRs-Fixed: 774533
2023-04-04 05:07:03 -07:00
Balaji Pothunoori
4466690e00 qcacld-3.0: Fix ofdm and cck flag info for mon mode data packets
Currently cck and ofdm flags are filled wrongly for monitor
mode data packets based on preamble and wireshark deriving
incorrect phy type for 11G & 11B.

This change is to update cck and ofdm flags based on packet
type.

Change-Id: I5fcdc463ea2a6d83253e39cc377a2471aeb4e144
CRs-Fixed: 3447567
2023-04-04 05:07:02 -07:00
Balaji Pothunoori
ad21e755af qcacld-3.0: tx rate update for data packet in legacy modes
Currently, For legacy modes monitor mode reporting incorrect tx rate
for data packet in radiotap header due to packetcapture_hdr rate
is hardcoded as '0'.
This change calculates the data rate of legacy packets using mcs
reported in tx completion.

Change-Id: I2a651b8fb36947672bd30f8a635f0e643219e520
CRs-Fixed: 3442376
2023-04-04 05:06:55 -07:00
Balaji Pothunoori
40d5be7c3f qcacld-3.0: update mcs value for HT and VHT mode for mon mode
Currently monitor mode HT & VHT data packet tx rate is not
matching with ota packet tx rate due to incorrect mcs value.

This change is to update proper mcs value for HT & VHT modes.

Change-Id: Ib4fb06a06ce35a4e8e683e5a22c8be226492b13f
CRs-Fixed: 3442509
2023-04-04 05:06:49 -07:00
Will Huang
337c6ad8a3 qcacld-3.0: Check SBS mode in wlan_hdd_cm_handle_sap_sta_dfs_conc
In SAP+STA scenario, if SBS mode support, should check if meet SBS
condition before check MCC/DFS constrain.

Change-Id: Id20145dfffabc6e649d0511db8eeab27595e16d1
CRs-Fixed: 3447053
2023-04-04 05:06:42 -07:00
Madan Koyyalamudi
634b085d6e Release 5.2.1.62
Release 5.2.1.62

Change-Id: I8fb692831aeba197097aff195a4fc4b453c7ca35
CRs-Fixed: 774533
2023-04-04 01:31:20 -07:00
Surabhi Vishnoi
68fdc5a00f qcacld-3.0: Reduce the log level from warn to debug
Reduce the log level of logging from warn to debug which occurs
during roaming.

Change-Id: I623ce4f6ba9fa4a54e3b06c6833f4630f49d7f44
CRs-Fixed: 3449210
2023-04-04 01:31:20 -07:00
chunquan luo
62e1835254 qcacld-3.0: Filter channel which overlap unsafe channel
Channel boundary which overlap all unsafe channel list will
be treated as unsafe channel, SAP can't setup on this channel.

Change-Id: Id8ab89da3ca3af1c86007e31fd79b8737e5cd4e5
CRs-Fixed: 3424013
2023-04-04 01:30:54 -07:00
Madan Koyyalamudi
c50d8018a5 Release 5.2.1.61Z
Release 5.2.1.61Z

Change-Id: Ieaf4753d9e1f78ddee4435d03e62f9afd3a5856e
CRs-Fixed: 774533
2023-04-03 23:01:01 -07:00
Aditya Kodukula
7de6ba5d4f qcacld-3.0: Fix return before freeing memory in peer_ll_stats
Currently in peer_ll_stats, host queries vdev_id based on the
peer mac address sent by firmware. In error case, host returns
error code and fails to free the allocated memory causing memory leak.

Fix this issue by refactoring the error case.

Change-Id: I4097b6d7920f4a5f3f9fa39ad2892f8428bab5d7
CRs-Fixed: 3450421
2023-04-03 23:01:01 -07:00
Paul Zhang
df6ffbc178 qcacld-3.0: Add mlo ie and eht cap to tdls mgmt frames
Add MLO link identifier and EHT cap to tdls discovery request,
discovery response, setup request and setup response.
Pack Multi-Link IE for TDLS mgmt frames.

Change-Id: I6a1c23087a0b7caddd840e13ed1b85b51f2da324
CRs-Fixed: 3436047
2023-04-03 23:00:54 -07:00
Madan Koyyalamudi
84fecef03b Release 5.2.1.61Y
Release 5.2.1.61Y

Change-Id: Ide99dc3075d541e05a8802e5c60809965c745cac
CRs-Fixed: 774533
2023-04-03 04:30:45 -07:00
sandhu
80b4e08023 qcacld-3.0: Update mlo set link api
Update and export api policy_mgr_mlo_sta_set_link for other
modules to use.

Change-Id: Iea5e27cabcf4d14d42db90c49fdcf33f0ea056a0
CRs-Fixed: 3439355
2023-04-03 04:30:44 -07:00
Paul Zhang
a71dcc7f93 qcacld-3.0: Export API for using
Export API:
wlan_key_get_link_vdev
wlan_key_put_link_vdev

Change-Id: Ic8c5230930592c86060e4dc11002cd731ec0c7ab
CRs-Fixed: 3439349
2023-04-03 04:30:38 -07:00
Madan Koyyalamudi
ea80ea6cfe Release 5.2.1.61X
Release 5.2.1.61X

Change-Id: I7d65cf59fca34bfcd11e2b1be95de4d349cfd7dd
CRs-Fixed: 774533
2023-04-03 01:35:14 -07:00
Krupali Dhanvijay
97801da14b qcacld-3.0: Send driver disconnect internal reason code to user space
Send the driver disconnect internal reason code as an event to user space
using QCA_NL80211_VENDOR_SUBCMD_DRIVER_DISCONNECT_REASON vendor command.

Change-Id: I19959e097c5709d63fbd941583b934e291c3af1c
CRs-Fixed: 3371396
2023-04-03 01:35:14 -07:00
Madan Koyyalamudi
46482af283 Release 5.2.1.61W
Release 5.2.1.61W

Change-Id: Iba53567e2756e90754dd43afc28cb658905fa77c
CRs-Fixed: 774533
2023-04-02 21:40:01 -07:00
Liangwei Dong
05eb2f3263 qcacld-3.0: Fix bss peer delete if roam to SLO with EAPOL offloaded
If roaming to Multi-link AP but get auth status 1 (connected) from FW,
driver will make it as single link roaming. The link vdev roam
sync will be skipped. The wma_roam_update_vdev API doesn't
check such condition and lost the peer deletion of the old AP.

Fix by check single link roaming with API mlo_get_single_link_ml_roaming
to consider such condition.

Change-Id: Ia69333e8249c4a868554f8fd9a99340fde9257b0
CRs-Fixed: 3448269
2023-04-02 21:40:01 -07:00
Madan Koyyalamudi
ea85a67f03 Release 5.2.1.61V
Release 5.2.1.61V

Change-Id: I0b62099831c251fc99450aec3e6afd7c88e69e61
CRs-Fixed: 774533
2023-04-02 11:39:15 -07:00
Vinod Kumar Pirla
36acefcbc7 qcacld-3.0: Fix code readability in single ndev changes
To fix the code segments which are less reader friendly.
The changes are identified from single netdev changes
in Ia1f01865277c3e08254f44a39ba6675a9fea6c65

Change-Id: I3d09fb5d9f578514b00c9c9045acf7bd7e208140
CRs-Fixed: 3445321
2023-04-02 11:39:14 -07:00
Madan Koyyalamudi
ce1380f689 Release 5.2.1.61U
Release 5.2.1.61U

Change-Id: Ie04df53fcdc71a5956d1362fc168e9c935dfaa12
CRs-Fixed: 774533
2023-04-01 09:14:12 -07:00
Aasir Rasheed
cf4b55a9e5 qcacld-3.0: Add Vendor command support for MLO link state
Add vendor support for MLO link state.
Change-Id: Ifebb53917cca08952439d2cd21d0564326b62a5e
CRs-Fixed: 3432249
2023-04-01 09:14:12 -07:00
Madan Koyyalamudi
dac2759f26 Release 5.2.1.61T
Release 5.2.1.61T

Change-Id: Idd43688d7a8d116c1496a0d00da031b2b87d65f1
CRs-Fixed: 774533
2023-04-01 07:06:19 -07:00
Liangwei Dong
6bad2014df qcacld-3.0: Enhance the 4 VIF concurrency check
Existing check for 4 vif concurrency in policy_mgr_allow_4th_new_freq
is insufficient to handle the case: ML STA on 2412 MHz and
5805 MHz, GO on 5180 MHz, SAP on 5805 MHz. Then user trigger
SAP CSA to 5240 MHz. Driver should reject the CSA because
DBS or SBS both can't meet the requirement that 3 VIFs MCC is not
supported in same mac.
Fix by loop all the hw mode to check vif channel and mode
combination are supported or not. If no one support the combination,
reject the 4th connection.

Change-Id: I67709395f7734d1f636a1410ac112a837cb66e79
CRs-Fixed: 3446747
2023-04-01 07:06:19 -07:00
chunquan luo
4261a44358 qcacld-3.0: Clear roam buffer data before write
Since we fill roam information into a ring buffer, when ready to
write a buffer, we need clear the dirty data first.

Change-Id: I94dac785803f15451df816c303f8a594ee688ff7
CRs-Fixed: 3437152
2023-04-01 07:06:13 -07:00
Madan Koyyalamudi
354b68106e Release 5.2.1.61S
Release 5.2.1.61S

Change-Id: I2e452082832694384cdcc9f7ce1fc7bbce952db5
CRs-Fixed: 774533
2023-04-01 05:07:25 -07:00
Jianmin Zhu
fdef609029 qcacld-3.0: Fix wrong bssid in pe session
When roam from legacy to MLO, new pe session is created for partner link,
pe session is filled with sync_ind->bssid wrongly, which is assoc link
bssid.

To fix it, don't fill bssid for pe session in lim_cm_fill_link_session,
correct bssid is filled already in pe_create_session.

Change-Id: I76741eca948798d1e53b3cae2131fc91aa596136
CRs-Fixed: 3451277
2023-04-01 05:07:24 -07:00
Madan Koyyalamudi
3eeb7435e1 Release 5.2.1.61R
Release 5.2.1.61R

Change-Id: I71a925022bb445fd771b6984e8a29ec3474ad336
CRs-Fixed: 774533
2023-04-01 01:19:30 -07:00
Srinivas Dasari
0172b1fa3a qcacld-3.0: Fetch link mac addr from assoc rsp only for connect
Currently, link mac addr is fetched for initial connection from
MLO IE present in assoc response. But it's still trying to fetch
the mac addr from reassoc rsp and failing as it's not present.
Then it tries to check if bss peer is created for the link to
use it to store the keys in crypto with that mac address.

This also fails if link connect has just started and got keys
from userspace before link connect reaches bss creation state.
There is no issue if bss peer for the link is already created.

Once mac address is read from assoc rsp, don't read again from
reassoc to avoid this failure.

Change-Id: I8e1ba0c9290e73ae808d5ff411b4d6d0a338ced3
CRs-Fixed: 3437611
2023-04-01 01:19:29 -07:00
Madan Koyyalamudi
4931285d51 Release 5.2.1.61Q
Release 5.2.1.61Q

Change-Id: I3789eb418b901d20d91cf0975bf89d5a59ce8a77
CRs-Fixed: 774533
2023-03-31 22:26:58 -07:00
Deeksha Gupta
c461b492c1 qcacld-3.0: Add a new flag to enable ML external auth support
Add a new flag to enable the ML external auth support.

Change-Id: Id424de25ac770e4ea47cb56b521142ddcc0b774e
CRs-Fixed: 3450137
2023-03-31 22:26:57 -07:00
Madan Koyyalamudi
0f76fc808f Release 5.2.1.61P
Release 5.2.1.61P

Change-Id: I0ebb7d5482feb182b6727adddf0dd72580ce3521
CRs-Fixed: 774533
2023-03-31 06:06:12 -07:00
Jianmin Zhu
36214adc39 qcacld-3.0: Remove sta adapter number check when add monitor iface
1. Permit to add monitor iface even wlan0 down per customer requirement.
2. Don't need check sta adapter number when add monitor iface, monitor
iface doesn't depend on sta adapter number, sta adapter num is different
for mlo/non-mlo, dual sta/single sta.

Change-Id: I83494ba504288ee21abb2c5d287713fe86f8efe9
CRs-Fixed: 3447188
2023-03-31 06:06:11 -07:00
Amruta Kulkarni
dea51e434d qcacld-3.0: Fix for disconnect after roam abort
In roam invoke scenarios, if FW fails to roam
it will send roam invoke failure.
Until roam invoke failure is received FW is trying
to roam.
Currently if FW aborts roam, host will trigger
disconnect and rso stop is sent due to this FW
is unable to retry roaming.

Fix is to not trigger disconnect at roam abort
and wait until FW sends roam invoke failure.
To handle this store roam invoke params in rso cfg.

Change-Id: I32eeda70ef9f4d8a049fec53053f9e0c6eb36e51
CRs-Fixed: 3433320
2023-03-31 06:06:05 -07:00
Madan Koyyalamudi
284e249d21 Release 5.2.1.61O
Release 5.2.1.61O

Change-Id: Ia498bd238ca80a90bffa5ef55829a5ba947cb194
CRs-Fixed: 774533
2023-03-31 04:07:12 -07:00
Vinod Kumar Myadam
ff4aa4ee50 qcacld-3.0: Fix to immediate power set for ml
Immediate power save is not set for the partner link of multi link.

Set power save value for the all the partner link vdev's.

Change-Id: I9a7c841632d597caa44585026f876f34a53c8bcb
CRs-Fixed: 3447544
2023-03-31 04:07:12 -07:00
Jianmin Zhu
633af9ae26 qcacld-3.0: Set MLO common IE to F/W for roaming
Wrong MLO common IE and length is sent to F/W, so roaming reassoc req
has wrong MLO IE too.

Change-Id: I86bc0868d158b53d89dd94e0c449c6e9efad781e
CRs-Fixed: 3436594
2023-03-31 04:07:05 -07:00
Madan Koyyalamudi
8105a3da67 Release 5.2.1.61N
Release 5.2.1.61N

Change-Id: Ifd02f88cac2ad1e25dc42e59d49176ed19389123
CRs-Fixed: 774533
2023-03-30 21:44:54 -07:00
Surabhi Vishnoi
a19a20c4d4 qcacld-3.0: Allow suspend only when bss color change count is zero
Allow suspend only when bss color change countdown is zero, otherwise
wlan driver will enter into suspend while bss color change is in
progress and it will lead to delay in bss color change.

Change-Id: Ia14b49e34191ec56cb853d68e16be61c585cf25a
CRs-Fixed: 3444353
2023-03-30 21:44:54 -07:00
Vinod Kumar Pirla
aa5adf2bc8 qcacld-3.0: Fix link info offset in ML IE
The assumption of link info sub-element offset
starting after link_id in common info sub-element
is wrong. There are other non mandatory fields
in common info sub-element.

The actual offset of link info sub-element
starts after the length of common info length.

Change-Id: I23bb7b148a672d0a45b0e32932f4a15a7e584b72
CRs-Fixed: 3443099
2023-03-30 21:44:47 -07:00
Madan Koyyalamudi
d15ee876f7 Release 5.2.1.61M
Release 5.2.1.61M

Change-Id: I123892c7ba5e584e28323c90c4835b629007ab41
CRs-Fixed: 774533
2023-03-30 20:19:08 -07:00
Surya Prakash Sivaraj
8b23fa3311 qcacld-3.0: Enable shortGI for 160 MHz based on BW cap
Enable the short GI support for 160 and 80+80 MHz only
if 160/80+80 MHz self cap is enabled for the STA DUT.

Change-Id: I4b9de06fe5b0cc8aecb35207fa1d117bfc23ed30
CRs-Fixed: 3416932
2023-03-30 20:19:08 -07:00
Amit Mehta
881fb8bb91 qcacld-3.0: Add change to update peer map unmap version
Add change to update peer map unmap version.
Change to get peer map event v3 and peer unmap
event v2 for 11BE target.

Change-Id: I77fa354807ef66effaeb37a845ccebccd5f66ff4
CRs-Fixed: 3442448
2023-03-30 20:19:02 -07:00