Commit Graph

27811 次程式碼提交

作者 SHA1 備註 提交日期
Madan Koyyalamudi
92095b0158 Release 5.2.1.50U
Release 5.2.1.50U

Change-Id: I54ccf61e1ec384faf83c1cb9ecfb9b6802ed5a79
CRs-Fixed: 774533
2023-01-02 00:12:15 -08:00
Surya Prakash Sivaraj
2c5995f78e qcacld-3.0: Disable BTM offload based on BTM cap
The wpa_supplicant disables the BTM cap in extcap IE whenever
the MBO AP is not PMF capable, or if the btm_disable conf is set.

In current host driver design, the BTM offload is disabled only for
the MBO+non-PMF case. Therefore, add change to disable the btm offload
config if the BTM CAP is not present in the (re)assoc request as this
is determined based on intersection of peer and self cap.

Change-Id: I2fdc1010bccf5ce23f4ab2177aed6c374f7a510f
CRs-Fixed: 3369096
2023-01-02 00:12:15 -08:00
Madan Koyyalamudi
a85a02cb95 Release 5.2.1.50T
Release 5.2.1.50T

Change-Id: I08ca8fcac9f876469db029e95f2834bae1a53819
CRs-Fixed: 774533
2023-01-01 20:16:21 -08:00
Jianmin Zhu
a03a3dc504 qcacld-3.0: Enable driver puncture cap
Fix issue that driver doesn't report puncture cap to kernel and hostapd for
undefined MACRO.

Enable a new build flag CFG80211_RU_PUNCTURE_SUPPORT when kernel code
contains nl80211_put_ru_punct_supp_bw.

Change-Id: Ib375c248065b4899f2d336155b1f71a5359e6fb7
CRs-Fixed: 3356751
2023-01-01 20:16:21 -08:00
Madan Koyyalamudi
03eded5f3a Release 5.2.1.50S
Release 5.2.1.50S

Change-Id: I86c0495f1a715c098fc0c0a2506adae0d0f8ba0d
CRs-Fixed: 774533
2022-12-30 12:39:26 -08:00
Surabhi Vishnoi
114b9dcb49 qcacld-3.0: Fix vdev reference leak in packet capture mode
Currently vdev reference is not released if attribute of vendor
command QCA_NL80211_VENDOR_SUBCMD_SET_MONITOR_MODE is invalid.
Fix this vdev reference leak by releasing the vdev reference in
above error case.

Change-Id: Ib3019dc02b6a3f48fc25f4bbe40e8de9f311a4c6
CRs-Fixed: 3344228
2022-12-30 12:39:26 -08:00
Madan Koyyalamudi
10931f595f Release 5.2.1.50R
Release 5.2.1.50R

Change-Id: I276529dd238de1bed7c2ab1550a7f823840fbaf7
CRs-Fixed: 774533
2022-12-30 05:15:57 -08:00
Jianmin Zhu
0b8a8ae9e9 qcacld-3.0: Enable static puncture
Driver receive NL80211_CMD_START_AP to get fixed freq, width and
puncture_bitmap from EHT IE, disable punctured 20M sub channels in
regulatory component to compatible with dynamic puncture for DFS,
and send to F/W by vdev start wmi cmd, update eht op in beacon template,
Update chan width and centre freq in legacy he/vht op after remove
punctured 20M sub channels in beacon template.

Fix issue that driver can't get correct eht op IE from IE parameter of
start AP for wrong eht op max length is used.

change-Id: I085ae9d9cb4d7c65ca3a9901362903e7d5140779
CRs-Fixed: 3356750
2022-12-30 05:15:57 -08:00
Utkarsh Bhatnagar
a64a7f3558 qcacld-3.0: Don't fill CCK rates for SAE Pre Auth frame
If while roaming from 2.4 GHz to 5 GHz band with SAE
encryption, rates shouldn't be filled from the current
session/AP as this may lead to incorrectly filling rates
for instance this may lead to incorrectly filling CCk rates
for SAE Pre-Auth while roaming from 2.4 GHz to 5 GHz. As
even though with roaming offloaded, sae pre_auth due to
crypto limitations of fw has to be triggered by the driver.

Change-Id: I2293563db047e10ec8a2ade9f3b2a602cf3e3edf
CRs-Fixed: 3336853
2022-12-30 05:15:51 -08:00
Madan Koyyalamudi
1ae74f4dba Release 5.2.1.50Q
Release 5.2.1.50Q

Change-Id: I85713ff27b2f4e53e62e04d7b9fd277d78e040de
CRs-Fixed: 774533
2022-12-30 00:07:13 -08:00
Divyajyothi Goparaju
e62e4f2ccb qcacld-3.0: Replace target params with host params
Currently host uses target params directly
which leads to layering violation

Replace target wmi pdev/vdev params with host wmi
pdev/vdev params in host to fix existing broken layering
violation.

Change-Id: Ifdfbc3151a1d81466c768e4d016a8f70971d651e
CRs-Fixed: 3333879
2022-12-30 00:07:13 -08:00
Divyajyothi Goparaju
c35a56833f qcacld-3.0: Optimize mgmt_tx_rate vdev set params
Currently host sends many ap keep alive timeout,
mgmt_tx_rate  separately to firmware.

Combine these multiple vdev set params,
send to WMI to reduce number of transactions.
Also replace target wmi pdev/vdev params with host wmi
pdev/vdev params to fix existing broken layering
violation.

Change-Id: I362770b367588220fc35508e4411635e35b3a548
CRs-Fixed: 3333872
2022-12-30 00:07:06 -08:00
Divyajyothi Goparaju
2f0e6534cc qcacld-3.0: Optimize ap keep alive time vdev set params
Currently host sends many ap keep alive timeout vdev
set params separately to firmware.

Combine these multiple vdev set params,
send to WMI to reduce number of transactions.
Also replace target wmi pdev/vdev params with host wmi
pdev/vdev params to fix existing broken layering
violation.

Change-Id: I82276e1f0761629489c38c5b7a64e7f0c35e82ce
CRs-Fixed: 3333784
2022-12-30 00:06:58 -08:00
Divyajyothi Goparaju
9adf7b6f77 qcacld-3.0: Optimize he_range_ext vdev set params
Currently host sends two he_range_ext vdev set
params separately to firmware.

Combine two he_range_ext vdev set params,
send to WMI to reduce number of transactions.
Also replace target wmi pdev/vdev params with host wmi
pdev/vdev params to fix existing broken layering
violation.

Change-Id: I6b83b37eb73aa3c1946c8463a335d404aa373c2f
CRs-Fixed: 3333780
2022-12-30 00:06:51 -08:00
Divyajyothi Goparaju
eac0115f2e qcacld-3.0: Optimize pdev txpower limit set param
Currently host sends two tx power limit pdev set params
separately to firmware.

Combine the two tx power limit pdevset params and also
bmiss cnt vdev set params,
send to WMI to reduce number of transactions.
Also replace target wmi pdev/vdev params with host wmi
pdev/vdev params.

Change-Id: I3a232b57677ad604a25d71e9ff3069814a2c338c
CRs-Fixed: 3333774
2022-12-30 00:06:45 -08:00
Divyajyothi Goparaju
c9808c04b6 qcacld-3.0: Combine process_rate_update set param
Currently wma_process_rate_update_indicate sends
two vdev set params separately to firmware.

Combine two vdev set params of
wma_process_rate_update_indicate,
send to WMI to reduce number of transactions.
Also replace target wmi pdev/vdev params with host wmi
pdev/vdev params to fix existing broken layering
violation.

Change-Id: Icc50569bcc851c5ee269558b80a560b03e1fdcee
CRs-Fixed: 3333758
2022-12-30 00:06:21 -08:00
Divyajyothi Goparaju
5f85944f38 qcacld-3.0: Optimize ndpinactimeout vdev set param
Currently host sends two ndp inactivity timeout
params to firmware one after the other.

Combine these two ndp inactivity timeout vdev
set params and send to WMI to reduce number of
transactions.
Also replace target wmi pdev/vdev params with host wmi
pdev/vdev params to fix existing broken layering
violation.

Change-Id: Icaeca85f2aa074f04d268b819fe86f4b7879c25b
CRs-Fixed: 3333749
2022-12-30 00:06:13 -08:00
Divyajyothi Goparaju
adfb3a43d6 qcacld-3.0: Optimize pdev/vdev set param command
Currently host sends many pdev/vdev set param
commands separately to firmware from hdd.

Combine multiple pdev/vdev set params and
send to WMI to reduce number of transactions.
Also replace target wmi pdev/vdev params with host wmi
pdev/vdev params to fix existing broken layering
violation.

Change-Id: Ib76f5bd5f582a2c67486f6773ff6fd486b3d84cf
CRs-Fixed: 3333732
2022-12-30 00:06:07 -08:00
Divyajyothi Goparaju
fd4205850c qcacld-3.0: combine tx_rx chain mask pdev set params
Currently host sends tx chain mask and rx chain mask
pdev set params separately to firmware.

Combine these tx_rx chain mask pdev set params,send to WMI
to reduce number of transactions.
Also replace target wmi pdev/vdev params with host wmi
pdev/vdev params to fix existing broken layering
violation.

Change-Id: I6bd27b4bc99cbe44e6bdca2a8d55050a49719673
CRs-Fixed: 3333635
2022-12-30 00:06:01 -08:00
Madan Koyyalamudi
4cc6d152ee Release 5.2.1.50P
Release 5.2.1.50P

Change-Id: I6b16e744b18298bb748c983ce404783a39fe1509
CRs-Fixed: 774533
2022-12-29 18:33:42 -08:00
Jianmin Zhu
476236fec2 qcacld-3.0: Fix RSO race condition issue
While scheduler thread init and enable RSO after MLO connected,
wpa_supplicant deinit RSO for MLO disconnect.
At last, RSO is enabled on host, RSO is deinited on F/W side,
no event for RSO stop cmd, vdev0 disconnect not finished for
cm_disconnect_continue_after_rso_stop isn't called.

To fix it, hold cm_rso_lock in cm_roam_state_change to make sure RSO
operation atomic. RSO operation of one thread not preemptied by RSO
operation of another thread. RSO init and enable process of connect thread
isn't preemptied by RSO deinit of another thread, no host F/W RSO out of
sync issue will happen.

Remove ucfg_user_space_enable_disable_rso from hdd_init_station_mode since
cm_rso_lock is held before created.

Change-Id: I3010895d26a622c2a14960847089a63736598b7c
CRs-Fixed: 3365417
2022-12-29 18:33:41 -08:00
Jeff Johnson
ac73d2ec1d qcacld-3.0: Fix TDLS Documentation
The kernel-doc script identified a multitude of documentation issues
in components/tdls, so fix them.

Change-Id: I365496d70e903bae1abad7b807687904f7f15af7
CRs-Fixed: 3360666
2022-12-29 18:33:36 -08:00
Madan Koyyalamudi
3c2fac09f6 Release 5.2.1.50O
Release 5.2.1.50O

Change-Id: I970af03ab9c4cb9ac8ee8a9e0d8717b3ab856073
CRs-Fixed: 774533
2022-12-29 05:19:08 -08:00
Surya Prakash Sivaraj
ae712fa3de qcacld-3.0: Add support for cross-SAE AKM roam
Pass the akm explicitly in the external auth
request to the userspace since there are many
SAE AKM suites.

Change-Id: Ifef8657f7ef75b402aa670813eba6adc5ab9853a
CRs-Fixed: 3355395
2022-12-29 05:19:08 -08:00
Madan Koyyalamudi
13adfb9dfa Release 5.2.1.50N
Release 5.2.1.50N

Change-Id: I59871bdb538e1dd92faea55097cc342d1bd09cb0
CRs-Fixed: 774533
2022-12-29 02:45:59 -08:00
Jeff Johnson
bdc8c47288 qcacld-3.0: Fix DSC documentation
The kernel-doc script identified a few documentation issues in
components/dsc, so fix them.

Change-Id: I5e2f4464abb7c94ec567c864c573d314d319ea37
CRs-Fixed: 3356932
2022-12-29 02:45:59 -08:00
jinbaoliu
9abbbebb5f qcacld-3.0: Fix RX MCS invalid
Sometimes the RX MCS index obtained from RX MSDU END is an
invalid value. From SW's perspective, the invalid value should
be disposed of. This change will handle the invalid MCS index.

Change-Id: Iba35889fa4c5ed0d0bbea4a38b5375c1197cdd37
CRs-Fixed: 3368064
2022-12-29 02:45:54 -08:00
Madan Koyyalamudi
cce33dff56 Release 5.2.1.50M
Release 5.2.1.50M

Change-Id: I33e51f716de58c40f1780c162374e9ad521a547b
CRs-Fixed: 774533
2022-12-28 19:19:04 -08:00
Paul Zhang
02f965077b qcacld-3.0: Add debug log for netdev flags
Add debug log to check the issue about: scan done event
is dropped when it sends to kernel.

Change-Id: I6b06b8bb6ef809eb4399b352d048d703bebdab5d
CRs-Fixed: 3364789
2022-12-28 19:19:03 -08:00
Madan Koyyalamudi
3013b798fb Release 5.2.1.50L
Release 5.2.1.50L

Change-Id: I302d712140c3efbc6566985d0231c562a912a5bd
CRs-Fixed: 774533
2022-12-28 17:31:27 -08:00
Jianmin Zhu
74a20eb50e qcacld-3.0: Fix WLAN_SER_CMD_WM_STATUS_CHANGE not handled issue
mlme_obj->disconnect_stats_param.vdev_id isn't initialized before
csr_continue_peer_disconnect_after_get_stats, so can't get the cmd by
csr_get_active_peer_disconnect_command, csr_process_wmm_status_change_cmd
isn't called, so WLAN_SER_CMD_WM_STATUS_CHANGE isn't handled.

Change-Id: I6f9f3801188d5eb156826abfb9939f866d98f88b
CRs-Fixed: 3367118
2022-12-28 17:31:26 -08:00
Madan Koyyalamudi
f042d38e0f Release 5.2.1.50K
Release 5.2.1.50K

Change-Id: I41a5fcb657ef0030a9588a25cb58ca84ce82b503
CRs-Fixed: 774533
2022-12-28 15:33:16 -08:00
Vinod Kumar Pirla
6926ec3142 qcacld-3.0: Report best RSSI and SNR in the ML STA links
On userspace query for link stats, in case of ML STA,
analyze all eligible links and send the best value of them.

Change-Id: I9d44efd24053b24e6427a96b2cd658ff8deeeb70
CRs-Fixed: 3359920
2022-12-28 15:33:16 -08:00
Huashan Qu
61fa55f089 qcacld-3.0: Add check to avoid potential OOB access for bssid_list
In wma_group_num_bss_to_scan_id(), bssid_list may be accessed out
of boundary.

Add check to avoid potential OOB access for bssid_list.

Change-Id: I218af0fe617f64a50c7c296c622f7fac01e1b4fc
CRs-Fixed: 3357461
2022-12-28 15:33:11 -08:00
Vinod Kumar Pirla
dc3f80fbcd qcacld-3.0: Use API to set ML capable for adapter
Use the wlan_hdd_set_ml_cap_for_sap_intf() API to
set SL ML capable for all SAP mode interface.

Change-Id: Ieacadfd35c4588b9779ab57627d2885c944c36eb
CRs-Fixed: 3366141
2022-12-28 15:33:06 -08:00
Madan Koyyalamudi
b51aa222ff Release 5.2.1.50J
Release 5.2.1.50J

Change-Id: Ifc1e197c2a88d142e6743a881e112068961ff721
CRs-Fixed: 774533
2022-12-28 11:43:48 -08:00
Asutosh Mohapatra
7c4982851d qcacld-3.0: Keep SAP, P2P GO channel list modifications in separate APIs
Currently some channel list modifications for SAP and P2P GO mode
are present in policy_mgr_get_channel_list, whereas separate APIs for
SAP and P2P GO specific channel list modification are present, hence
keep all the mode specific channel list modifications in respective
APIs.

Change-Id: I393fbad12f29c761c1158fc5eb4ba0ebd6a660b6
CRs-Fixed: 3321108
2022-12-28 11:43:48 -08:00
Madan Koyyalamudi
37126e1a99 Release 5.2.1.50I
Release 5.2.1.50I

Change-Id: I331f8b535c699b592eb4c64f8d1cebe4811c7a51
CRs-Fixed: 774533
2022-12-28 08:11:28 -08:00
Liangwei Dong
8b74f67a1b qcacld-3.0: Allow SAP STA SCC on unsafe channel
When g_sta_sap_scc_on_lte_coex_chan = 1, SAP is allowed SCC with
STA on unsafe channel.
Use API policy_mgr_is_sap_freq_allowed to check such condition
in wlansap_get_chan_band_restrict.

Change-Id: I62b3ad83ccdfc80b5e72cad733618326e4fed936
CRs-Fixed: 3368195
2022-12-28 08:11:28 -08:00
Madan Koyyalamudi
114d5285a4 Release 5.2.1.50H
Release 5.2.1.50H

Change-Id: I442dded194ea60b34cef86f027cfc8e0fefddf42
CRs-Fixed: 774533
2022-12-27 21:14:10 -08:00
Jeff Johnson
139cf10b44 qcacld-3.0: Fix Packet Capture Documentation
The kernel-doc script identified a multitude of documentation issues
in components/pkt_capture, so fix them.

Change-Id: I9fc7922978cbfacf3f8a733561dd0f94c6cea3b4
CRs-Fixed: 3359684
2022-12-27 21:14:10 -08:00
Madan Koyyalamudi
4ba68cd451 Release 5.2.1.50G
Release 5.2.1.50G

Change-Id: If36482ba83088acafcf75899d9411dadc51c844f
CRs-Fixed: 774533
2022-12-27 19:09:43 -08:00
Jeff Johnson
f62fc6e253 qcacld-3.0: Fix OCB Documentation
The kernel-doc script identified a few documentation issues in
components/ocb, so fix them.

Change-Id: I3ddb0c4d556f459bdd15f9ae9110ae7f0bc30b2b
CRs-Fixed: 3359569
2022-12-27 19:09:43 -08:00
Jeff Johnson
a24656423c qcacld-3.0: Fix P2P Documentation
The kernel-doc script identified a few documentation issues in
components/p2p, so fix them.

Change-Id: I24e612e8976e721281a6ede4afefd20de0622599
CRs-Fixed: 3359593
2022-12-27 19:09:38 -08:00
Jeff Johnson
116c817bb8 qcacld-3.0: Fix NAN Documentation
The kernel-doc script identified a multitude of documentation issues
in components/nan, so fix them.

Change-Id: Ibec4c381da3088f704264d04f756d82d20613c46
CRs-Fixed: 3359549
2022-12-27 19:09:33 -08:00
Jeff Johnson
cb647fd309 qcacld-3.0: Fix MLME documentation
The kernel-doc script identified multiple documentation issues in
components/mlme, so fix them.

Change-Id: I1fdcdcc7e43c8945044d22aeeca7b2f1b8bec6f7
CRs-Fixed: 3358666
2022-12-27 19:09:28 -08:00
Madan Koyyalamudi
e0da27d3c1 Release 5.2.1.50F
Release 5.2.1.50F

Change-Id: I172b6df5e47e8bb9f693378df2553494dd91fcf5
CRs-Fixed: 774533
2022-12-27 17:07:03 -08:00
Jeff Johnson
cd872653aa qcacld-3.0: Fix FTM Time Sync documentation
The kernel-doc script identified two documentation issues in
components/ftm_time_sync, so fix them.

Change-Id: Iebcd1837bd80e26db6a4a5fe78d046d57f762670
CRs-Fixed: 3357062
2022-12-27 17:07:02 -08:00
Jeff Johnson
4c8a8fbb1e qcacld-3.0: Fix Firmware Offload documentation
The kernel-doc script identified a multitude of documentation issues
in components/fw_offload, so fix them.

Change-Id: I9c5b3f561d74ac433bd7f8c47cab737af9af3ecb
CRs-Fixed: 3357050
2022-12-27 17:06:57 -08:00
Madan Koyyalamudi
a9084ed6a2 Release 5.2.1.50E
Release 5.2.1.50E

Change-Id: I2ffb2d3f2120d4b4eee2943f696fc182977d2424
CRs-Fixed: 774533
2022-12-27 09:10:28 -08:00