Графік комітів

28650 Коміти

Автор SHA1 Повідомлення Дата
Srinivas Dasari
12c760b99b qcacld-3.0: Don't clear MLO vdev flags while cleanup the link
Currently, MLO flags are cleared before issuing disconnect on
the link vdev when DUT roams to a single link ML-AP. But these
flags get cleared as part of disconnect handler and not supposed
to be cleared anywhere else.
Clearing these flags before issuing disconnect on link causes
sending disconnect done indication to kernel as the flags
got cleared, which make the vdev as non-MLO. This race condition
is possible when a disconnect is queued from userspace on
link vdev while one disconnect gets processed on it(due to
single link roaming).

Change-Id: I8206c1b8197bf26ad852eafb631c8585bc749846
CRs-Fixed: 3439175
2023-04-12 03:19:55 -07:00
Madan Koyyalamudi
a6d07e9314 Release 5.2.1.62W
Release 5.2.1.62W

Change-Id: I6018f8769bcbccfbccc595a45f7ed2beba8e72e1
CRs-Fixed: 774533
2023-04-12 01:32:50 -07:00
Paul Zhang
113eee880d qcacld-3.0: Config addba resp for TDLS on MLO
For TDLS in MLO case, when send addba response, it needs to
use MLD macaddr and set action code, then the frame can send
out properly and be received by peer.

Change-Id: I93b46ad88738fc2ee9c88bd52ab5d3a86ead3cd7
CRs-Fixed: 3462062
2023-04-12 01:32:50 -07:00
Paul Zhang
0752365a21 qcacld-3.0: Add logic to support tdls on MLO
Since for MLD device, it can only choice one link for tdls,
add logic like this:
1\ As initiator, it needs to send discovery request on each
link, before send the frame, it needs to force active the link;
2\ As responder, it sends the discovery response the link id,
before send the frame, it needs to force active the link;
3\ For other tdls management and tdls operation, it needs to
find out which link(vdev) is used as tdls link first.

Change-Id: I64e27219eb6c6b3fef62e541423aa8e5d84b1560
CRs-Fixed: 3439568
2023-04-12 01:32:45 -07:00
Madan Koyyalamudi
7d518a4ab9 Release 5.2.1.62V
Release 5.2.1.62V

Change-Id: Ia898cb79166782c24e3fbcc9199862fb64e1169c
CRs-Fixed: 774533
2023-04-11 16:36:17 -07:00
Jeff Johnson
9aa287b1e2 qcacld-3.0: Refactor fixed macros from Kbuild
In some build environments the length of the C compiler command line
exceeds the maximum length of the underlying shell, resulting in the
shell reporting: Argument list too long.

Kbuild has many definitions which add -D switches to the C compiler
command line to define macros to be used for conditional compilation.
Most of these are set conditionally, but there are some that are set
unconditionally.

As one step in the process of shortening the command line, refactor
the macros that are set unconditionally out of Kbuild, and put them in
a separate .h file which is then included in every build. As long as
the added -include switch takes up less room than the sum of the -D
switches, then this will result in a shorter command line.

Change-Id: I95e0e8237d15dee58e519ea526a74c52eeb7dbd2
CRs-Fixed: 3460064
2023-04-11 16:36:16 -07:00
Madan Koyyalamudi
1aae404bb3 Release 5.2.1.62U
Release 5.2.1.62U

Change-Id: I9362e403f9c257d3ae61ee8bee7ad3c343f6760d
CRs-Fixed: 774533
2023-04-10 20:48:53 -07:00
David Oladunjoye
6477abee2c qcacld-3.0: Update twt concurrency after ndp connection return
TWT concurrency update is called before ndp connection is added to
policy_mgr count. TWT concurrency_handler reads incorrect count which
causes wrong mode to be checked. Fix is to call TWT concurrency
update after NDP entry is made in the policy manager.

Change-Id: I7f259885f7402ab018ff7c7cd020bb3f9298dba1
CRs-Fixed: 3454000
2023-04-10 20:48:53 -07:00
Liangwei Dong
3b174b7355 qcacld-3.0: Optimization of SAP bw selection in LTE coex event
Add optimization to select the max possible band width
when do SAP LTE channel avoidance channel change.

Change-Id: I82745d47c55ae42f59691a9634a34b0cff2b4e36
CRs-Fixed: 3440166
2023-04-10 20:48:46 -07:00
Jianmin Zhu
9228383500 qcacld-3.0: Wait HO_FAIL event when roam sync failed
Host received deauth and roam sync back-to-back after WoW, sent vdev
RSO_DISABLE before RSO_STATUS event, F/W assert.
1. Host received deauth event, limSmeState went out of link est state, sent
async event of cm_send_sb_disconnect_req.
2. Host received and handled roam_sync, CM_RSO: vdev0:
[ROAM_RSO_ENABLED(2)] --> [ROAM_SYNCH_IN_PROG(5)], roam sync failed since
not in link est state.
3. Host aborted roaming, ent back to CM-VDEV-0: CONNECTED, removed roaming
cmd from serialization queue.
4. Host sent RSO stop to F/W.
5. Host handled cm_send_sb_disconnect_req, dropped RSO stop during roam
sync, called cm_disconnect_continue_after_rso_stop without waiting for
RSO_STATUS event.
6. Host sent vdev RSO_DISABLE and vdev stop before received RSO_STATUS
event, F/W asserted.

To fix it, if host roam sync failed, need wait for HO_FAIL event and handle
it before handling other cmd, can't remove roaming cmd from assoc vdev
serialization queue to unblock other pending cmd before handling
HO_FAIL, just send assoc link RSO stop to F/W one time with
REASON_ROAM_SYNCH_FAILED, then wait for 2 events: FW_ROAM_EVT RSO status
and HO_FAIL. then handle HO_FAIL, at last remove roaming cmd, unblock other
cmd and trigger disconnect.

Change-Id: I03dd3ed21007ee67613c2d90b5567348c240f375
CRs-Fixed: 3445233
2023-04-10 20:48:40 -07:00
Madan Koyyalamudi
a8b69af9a8 Release 5.2.1.62T
Release 5.2.1.62T

Change-Id: I79acdbe7979ea67a28b843bbaf735213dbf47de5
CRs-Fixed: 774533
2023-04-10 17:08:20 -07:00
Paul Zhang
046e755835 qcacld-3.0: Handle TDLS discovery response logic
For MLD case, it may receive two discovery response frames if
peer is MLD device. In this case, it needs to check the response
frame and make a decision about which vdev is used for TDLS
vdev.

Change-Id: I3d7c3343aef2d6843b362fca191caef8b982d3f8
CRs-Fixed: 3439577
2023-04-10 17:08:19 -07:00
Paul Zhang
5f512ff2ec qcacld-3.0: Set eht_capable accordingly for TDLS
Set parameter add_sta_params->eht_capable accordingly whether
the peer STA support it or not.

Change-Id: Ib3664be74ece59804321e187fea889610c0a2a86
CRs-Fixed: 3454661
2023-04-10 17:08:13 -07:00
Madan Koyyalamudi
741c1961d2 Release 5.2.1.62S
Release 5.2.1.62S

Change-Id: I0f90bccf7e7a977aa9b97fb693328338c7fe9cd4
CRs-Fixed: 774533
2023-04-10 13:19:29 -07:00
Prakash Manjunathappa
df814d725b qcacld-3.0: Add config for peach 4 byte TLV tags
Add config support for 4 byte TLV tag in peach case.

Change-Id: I724624472c36f6c848c74f2a21f765a94d1c57e4
CRs-Fixed: 3460204
2023-04-10 13:19:28 -07:00
Madan Koyyalamudi
efcdb71ebb Release 5.2.1.62R
Release 5.2.1.62R

Change-Id: Ibefe93af80a626aa5e62868f2cd9c80d42bd9687
CRs-Fixed: 774533
2023-04-10 05:44:34 -07:00
Namita Nair
2a0b6e9c0f qcacld-3.0: Enable Opt wifi dp feature flag
Enable IPA Offload add Optional wifi dp feature
flag.

Change-Id: I023a767141de1f4d47b80b784f6c119ae04533ba
CRs-Fixed: 3450899
2023-04-10 05:44:34 -07:00
Namita Nair
1eaef39bcf qcacld-3.0: Optional wifi dp feature flag
Enable IPA Config and add Optional wifi dp
feature flag

Change-Id: Ief277ff393625196b224705b0934dbacc213fb45
CRs-Fixed: 3410390
2023-04-10 05:44:28 -07:00
Paul Zhang
b66a27441a qcacld-3.0: Add link id to tdls kernel API
Add link id param to tdls send mgmt and oper request
of kernel API.

Change-Id: I05bd2243ca00c3273b2e99c728940421d0399577
CRs-Fixed: 3439354
2023-04-10 05:44:23 -07:00
Madan Koyyalamudi
774ea9b8a5 Release 5.2.1.62Q
Release 5.2.1.62Q

Change-Id: I9fee5d73d43c958398653ff6c139d9f8528d23b4
CRs-Fixed: 774533
2023-04-10 03:07:45 -07:00
chunquan luo
6bb8117d77 qcacld-3.0: Roam trigger log optimize
Reserve log like "[18:11:32.086000] [ROAM_TRIGGER]: VDEV[0]"
for common roam and special roam.

Some customers are used to get log from serial port, reserve
this log can better support debug.

Change-Id: I79565c87cfcf42ae5de3d6895c27666d2676370b
CRs-Fixed: 3451003
2023-04-10 03:07:45 -07:00
Madan Koyyalamudi
7c0b1941f8 Release 5.2.1.62P
Release 5.2.1.62P

Change-Id: I7f7c73326643707a24c31722fb8d40df8588337c
CRs-Fixed: 774533
2023-04-09 20:15:44 -07:00
Paul Zhang
44804ad746 qcacld-3.0: Update num tdls vdevs to 2 if fw 11be capab
Update tdls vdevs to 2 if fw 11be capable. Add
WMI_SERVICE_11BE_TDLS_SUPPORT update num tdls vdevs
to 2 for firmware while init_cmd_send_tlv.

Change-Id: I12cced5718cb189ce1f96d204ac64108ccef5ca3
CRs-Fixed: 3436013
2023-04-09 20:15:43 -07:00
Bing Sun
3f820fd0bf qcacld-3.0: Indicate channel switch on MLO assoc dev
Do not indicate channel switch on link dev, because there is no
links information in wireless_dev of link dev. Links information
is saved in wireless_dev of assoc dev through cfg80211_connect_done.

Indicate channel switch on MLO assoc dev, otherwise channel switch
event will be dropped.

Change-Id: I17b861cacafa2bd98c9d50c45e5fb65ba2a30eef
CRs-Fixed: 3447351
2023-04-09 20:15:37 -07:00
Madan Koyyalamudi
cc26224dac Release 5.2.1.62O
Release 5.2.1.62O

Change-Id: I0e7890c831a105358557512ce3cfad240be39c37
CRs-Fixed: 774533
2023-04-08 07:08:30 -07:00
Prasanna JS
1a47922e9e qcacld-3.0: avoid filtring of DFS channel
avoid filtering of DFS channel when sta_sap_scc_on_dfs_chan enabled

Change-Id: I7ed7704aff5973835eb69a3ea1487b9dbd652d6b
CRs-Fixed: 3459177
2023-04-08 07:08:29 -07:00
Madan Koyyalamudi
0afadc09b3 Release 5.2.1.62N
Release 5.2.1.62N

Change-Id: I640bf235d6cb6d46baa55c3b3852d3931066c7cc
CRs-Fixed: 774533
2023-04-07 22:37:15 -07:00
Namita Nair
716b35ab62 qcacld-3.0: Android mk change for out of tree IPA
The IPA component has now been moved out of
the kernel. This change supports WLAN dependency
on IPA to access the IPA header files and
exported module symbols.

Change-Id: I0eb1b9ca49108cf27cec2895696d2517acb7d18e
CRs-Fixed: 3458960
2023-04-07 22:37:14 -07:00
Madan Koyyalamudi
e1e7ac6ee2 Release 5.2.1.62M
Release 5.2.1.62M

Change-Id: I7b1fa260de380de619af048139fe112404cda2c8
CRs-Fixed: 774533
2023-04-07 19:49:48 -07:00
Sai Pavan Akhil Remella
b74448cea1 qcacld-3.0: Add keymgmt check for 6 GHz in CSA path
Currently in CSA path if the target channel is 6 GHz, it is not
checking the keymgmt used and allowing the open security to be
configured.
This changes add check for open security for 6 GHz if check_6ghz_security
ini is enabled.

Change-Id: Ie26ff05dc7c7a97a48398c2a81b091f66c6bd39e
CRs-Fixed: 3413618
2023-04-07 19:49:48 -07:00
Madan Koyyalamudi
5f601a78de Release 5.2.1.62L
Release 5.2.1.62L

Change-Id: Ic0b7c501ce0da39e9e2c2fddc83f04bb250bcf5b
CRs-Fixed: 774533
2023-04-07 17:01:59 -07:00
Jianmin Zhu
deeb03e291 qcacld-3.0: Fix pre cac vdev leak issue
Before stop pre cac adapter, need call wlan_hdd_stop_sap to stop sap vdev
first.

Change-Id: I108a42932f2631d901e72569f2878d08026b3ea4
CRs-Fixed: 3441589
2023-04-07 17:01:59 -07:00
jinbao liu
ba56ebcd15 qcacld-3.0: Fix false RX rates stats after ASSOC/REASSOC/ROAMING
Currently the RX rates stats is obtained from data frames from
driver. There is no data frames for driver to get rates stats
for a few seconds after ASSOC/REASSOC/ROAMING, so driver has to
gets rates stats by parsing the rateflags and the raw_rate from
FW until a data frame is received. However, the raw_rate from FW
is sometimes inaccurate after ASSOC/REASSOC/ROAMING. This is hard
to be seen since the period between ASSOC/REASSOC/ROAMING and
receiving a data frame is not long. To address this issue, using
TX rate stats to figure out max rate before receiving a data frame.

Change-Id: I83613447f56fc892ec6d20527ea1a872778afae1
CRs-Fixed: 3449455
2023-04-07 17:01:54 -07:00
Madan Koyyalamudi
ee04535397 Release 5.2.1.62K
Release 5.2.1.62K

Change-Id: Ica7b0025daac66b2cfb1789734145246f28157e7
CRs-Fixed: 774533
2023-04-07 06:28:35 -07:00
Surya Prakash Sivaraj
b5f3d95e03 qcacld-3.0: Set HE sounding caps based on band
Use the following HE caps based on the target support
on the current operating band:
a) Ng=16 for SU feedback support
b) Ng=16 for MU feedback support
c) Codebook size for SU
d) Codebook size for MU

Change-Id: I2dbc50d2bdeaadf97e1a0638eb53cea0d9a69e30
CRs-Fixed: 3457504
2023-04-07 06:28:34 -07:00
SACHIN AHUJA
77cf56ab5a qcacld-3.0: Check rtt initiator FW caps
Currently rtt responder FW cap is checked while sending
the rtt initiator enable disable vdev param command
to the FW which is wrong.

To address this issue, check the rtt initiator FW cap
when host sends the rtt initiator enable disable command
to the FW.

Change-Id: Ib200d83bc91d791713eca91733ee2acc1968ac20
CRs-Fixed: 3458526
2023-04-07 06:28:29 -07:00
Jingxiang Ge
13c3c4fd6d qcacld-3.0: Add ini gActionOUIDisableDynamicQosNullTxRate
Add gActionOUIDisableDynamicQosNullTxRate to control FW's dynamic qos
null tx rate feature.

Some APs sometimes don't honor Qos null frames with some specific rate.
This ini will disable dynamic qos null tx rate feature for specified
APs.

Change-Id: I1690c14142c93e8456705183c9e12c41c20f3a4a
CRs-Fixed: 3450104
2023-04-07 06:28:23 -07:00
Madan Koyyalamudi
b1966500af Release 5.2.1.62J
Release 5.2.1.62J

Change-Id: I12538b77ba00c4e255a4656a4b8ef5796c7fd249
CRs-Fixed: 774533
2023-04-06 23:26:27 -07:00
Asutosh Mohapatra
18f8997caa qcacld-3.0: Update link peer mac id per ml vdev
Currently host driver doesn't fill peer mac address
per ml vdev for station stats request as part of peer
stats request hence incorrect stats sent to userspace.

To address this issue, save peer mac per ml vdev in
request info structure.

Change-Id: Iebb1b810e112743602607e31d779be2ba1d48f90
CRs-Fixed: 3450665
2023-04-06 23:26:27 -07:00
Madan Koyyalamudi
b4ac806371 Release 5.2.1.62I
Release 5.2.1.62I

Change-Id: I10cc758330f9e2cb1a1f6976597658e1f6627f5c
CRs-Fixed: 774533
2023-04-06 20:05:38 -07:00
Surya Prakash Sivaraj
34ec96337f qcacld-3.0: Cleanup P2P GO support on indoor channel
Rename policy_mgr_is_sap_allowed_on_indoor() to
policy_mgr_is_sap_go_interface_allowed_on_indoor() since
it is common between SAP and GO. Cleanup the API as well.

Change-Id: I8380bd81c5050e9f12c00fff830455f14135c2b4
CRs-Fixed: 3423703
2023-04-06 20:05:37 -07:00
Madan Koyyalamudi
fbe284ddd4 Release 5.2.1.62H
Release 5.2.1.62H

Change-Id: I5429186395c0555160f6d0895a6e8b3d83685205
CRs-Fixed: 774533
2023-04-06 08:55:30 -07:00
Yeshwanth Sriram Guntuka
cd67004cbe qcacld-3.0: Send QMI msg to WFDS server on rmmod/SSR
Send QMI misc request message to WFDS server and wait
for response before cleaning up the resources pertaining
to WFDS server on LPASS.

Change-Id: I24bc2295c5a625365a6da95be697c46b08f8b6b7
CRs-Fixed: 3448838
2023-04-06 08:55:29 -07:00
Yeshwanth Sriram Guntuka
7b19419ddd qcacld-3.0: Add support for sending QMI misc msg on DL deinit
Add support for sending QMI WFDS misc request to QMI
server on Direct link deinit.

Change-Id: I611625d83719c0f8a7dfbef1d3c8328cb618ef7f
CRs-Fixed: 3454630
2023-04-06 08:55:23 -07:00
Madan Koyyalamudi
01677182ff Release 5.2.1.62G
Release 5.2.1.62G

Change-Id: I8d7fd32b28d98129ea43f6de6e10077abfbbd726
CRs-Fixed: 774533
2023-04-05 20:40:53 -07:00
Paul Zhang
a15b2c8b52 qcacld-3.0: Add api policy_mgr_get_connection_count_with_mlo()
Since for MLO there may be several link connections, for TDLS
using api policy_mgr_get_connection_count_with_mlo() to replace
with policy_mgr_get_connection_count() to follow the original
logic.

Change-Id: Ic13c89f2e834196c01ca6966329cbd0d1552f292
CRs-Fixed: 3436049
2023-04-05 20:40:52 -07:00
Madan Koyyalamudi
10579a39f2 Release 5.2.1.62F
Release 5.2.1.62F

Change-Id: Ia43eefdd6af9d4b36290910f400bf52c559d9333
CRs-Fixed: 774533
2023-04-05 09:03:31 -07:00
Paul Zhang
e52c09b92d qcacld-3.0: Modify interface and mac address
Inorder to send out the tdls management frame properly,
1\ Make sure to use assoc vdev id when transmit frames;
2\ TDLS discovery response is sent to peer directly;
3\ TDLS link identifier IE is using mld mac address.

Change-Id: Ib34b6a5070e0acdf41668f44e5b5250761eb936e
CRs-Fixed: 3439343
2023-04-05 09:03:30 -07:00
Ananya Gupta
5476fdca6f qcacld-3.0: Use WLAN_DP_ID to get pdev reference
Wrong debug ID is used (WLAN_OSIF_ID) to increment the ref
count of the pdev object when sending tx params update event.
This is causing crash as ref count is decremented using
different id, WLAN_DP_ID.
To fix this, use WLAN_DP_ID to get the pdev object and increment
the ref count of right debug id.

Change-Id: If20fc1a4e4c2a37287f7703aa70bb8dc556f0125
CRs-Fixed: 3453570
2023-04-05 09:03:25 -07:00
Madan Koyyalamudi
db30aa88a8 Release 5.2.1.62E
Release 5.2.1.62E

Change-Id: I57605904cef7b53a61a4f3c2f06c08679e987c86
CRs-Fixed: 774533
2023-04-05 02:04:13 -07:00