Commit Graph

28678 Commits

Author SHA1 Message Date
Madan Koyyalamudi
439deefd2f Release 5.2.1.63H
Release 5.2.1.63H

Change-Id: Ic6a485cc8424b35f004ff779748b22115d4ad2c5
CRs-Fixed: 774533
2023-04-14 00:34:15 -07:00
Manikanta Pubbisetty
bfd3c67fcf qcacld-3.0: Enable TX descriptor history on WCN6750
Enable software and hardware TX descriptor history on WCN6750;
this will aid in TX data path debugging.

Change-Id: Ia5f84d79c1f721ea959beec48088fd3823d75ce0
CRs-Fixed: 3460664
2023-04-14 00:34:15 -07:00
Madan Koyyalamudi
93a8b4098b Release 5.2.1.63G
Release 5.2.1.63G

Change-Id: Ib7a58ecc97045198cb6c02e6623fb8ab06f75790
CRs-Fixed: 774533
2023-04-13 23:11:47 -07:00
Amruta Kulkarni
b934d276e6 qcacld-3.0: Set protected bit for t2lm action rsp frame
Set the protected bit when sending the t2lm action response
frame to AP.

Change-Id: Idba6c0aaa509d9d908431c605bb5bc89b6a2dcf6
CRs-Fixed: 3465075
2023-04-13 23:11:47 -07:00
Madan Koyyalamudi
194d71fc1e Release 5.2.1.63F
Release 5.2.1.63F

Change-Id: I86cb1e262ae8eff6ad99844898ee4ea12bd7b09c
CRs-Fixed: 774533
2023-04-13 21:45:43 -07:00
Deeksha Gupta
35ef57fc82 qcacld-3.0: Add Ref Leak related flags outside CONFIG_CNSS2_DEBUG
Currently Peer Ref leak functions (eg: wlan_objmgr_print_ref_func_line)
are not being compiled in defconfig due to flag is under 
CONFIG_CNSS2_DEBUG.
To fix it by moving appropriate flags outside the 
CONFIG_CNSS2_DEBUG flag.

Change-Id: I4501a895611c7339b6842ea3ad4b4bc50e78bb7e
CRs-Fixed: 3459656
2023-04-13 21:45:43 -07:00
Madan Koyyalamudi
cd293bd1d5 Release 5.2.1.63E
Release 5.2.1.63E

Change-Id: Ic9502615559992e1f938e299b4dbf274c8329da2
CRs-Fixed: 774533
2023-04-13 16:34:29 -07:00
Jeff Johnson
a4bdce02bc qcacld-3.0: Kbuild: Remove duplicate -W switches
Currently the Kbuild adds "-Wall -Werror" to the C command line.
However, the kernel already adds these by default, so stop adding the
duplicates.

Change-Id: I8d0b777feafd726ab29278739ac20bcaf0f7f000
CRs-Fixed: 3463791
2023-04-13 16:34:29 -07:00
Jeff Johnson
474edb63ae qcacld-3.0: Kbuild: Consolidate setting of feature flags
Currently in Kbuild most of the feature flags, but not all of them,
are set in one place. In order to make the Kbuild more maintainable,
and in preparation for future refactoring, consolidate all of the
feature flag setting in one place.

Change-Id: Ie7bcf67304990991f555b0bdd93f3ad38b52bddd
CRs-Fixed: 3463790
2023-04-13 16:34:23 -07:00
Madan Koyyalamudi
13afe4b63d Release 5.2.1.63D
Release 5.2.1.63D

Change-Id: I22a4a178da4b10a7a37a746f2ebb96632580a248
CRs-Fixed: 774533
2023-04-13 13:58:45 -07:00
Rahul Gusain
583019cf27 qcacld-3.0: Set NDP state to disconnect if no peers exist
Currently, host driver checks if there are peers present on the NDI
and clean them up as part of NDI cleanup. Cleanup is done in below steps,
1. Set the state to NAN_DATA_END_STATE
2. Send NDP_END_ALL to firmware to end all existing NDP sessions on the
NDI and to cleanup corresponding peers
3. Move the state to NAN_DATA_DISCONNECTED_STATE finally if NDP_END_ALL
goes fine.
But if no peers are present on NDP, none of the above happens and NDI
state stays and doesn't move to DELETED. So, set the NDI state to
DISCONNECTED if no peers are present.

Change-Id: I0d22c240b3e3eee5f62ba8b369bab500e27487b7
CRs-Fixed: 3463614
2023-04-13 13:58:44 -07:00
Madan Koyyalamudi
2c3ad4db6d Release 5.2.1.63C
Release 5.2.1.63C

Change-Id: I4cc07eccbaf75ce21d48f123f50330bc84d404c5
CRs-Fixed: 774533
2023-04-13 11:07:34 -07:00
Jingxiang Ge
892da28289 qcacld-3.0: refine log in wlan_hdd_get_station_stats
add a space at the beginning of each string. otherwise if
more than one is NULL it will get a concatenated set of
strings instead of space separated strings.

Change-Id: I12426da8e14069a3d1f0048954f1033683f6c697
CRs-Fixed: 3458752
2023-04-13 11:07:33 -07:00
Madan Koyyalamudi
a8eb327487 Release 5.2.1.63B
Release 5.2.1.63B

Change-Id: Ie7009d09e9bcdcca1793b2acd361d78185dd7a63
CRs-Fixed: 774533
2023-04-13 07:36:12 -07:00
Rajeev Kumar
9568cbfe1c qcacld-3.0: Remove unwanted QDF asserts from PMO suspend all components
Remove unwanted QDF asserts from PMO and suspend all components as there is
error handling present for error cases.

Change-Id: I43b1ba36d9e2fb467a7a7c110abd4a2d44e5b1a8
CRs-Fixed: 3459928
2023-04-13 07:36:11 -07:00
Gururaj Pandurangi
77474a3d1d qcacld-3.0: Use HW power limit to cap RRM link tx power
During Radio Measurement request, if the TPC  power exceeds
power limit set by hardware, use this limit to cap the tx
power sent in the link measurement report.

Change-Id: Ib169c767d14160f8994a845a00baead7f8e6c3e1
CRs-Fixed: 3452913
2023-04-13 07:36:06 -07:00
Madan Koyyalamudi
d9261a80f1 Release 5.2.1.63A
Release 5.2.1.63A

Change-Id: Ie599df372cfc1e2b0fa2e0910fb4ad3a96482891
CRs-Fixed: 774533
2023-04-12 22:47:02 -07:00
Manikanta Pubbisetty
ec1b5c0064 qcacld-3.0: Send DSCP-TID map config to firmware
For WCN6450, it is required to send DSCP-TID map config to
the firmware. Enable the required configs for this.

Change-Id: I9327739aaed0fd1555a0cf2c99d6aceecc568ed0
CRs-Fixed: 3460632
2023-04-12 22:47:02 -07:00
Jingxiang Ge
fa2c01c5c4 qcacld-3.0: Fix link tx bitrate unknown issue on p2p0
In wlan_hdd_get_station_stats, NULL checking for
pdev_stats fails as it doesn't pass pdev stats info
to hdd layer. stats will not pass to userspace, it will
display tx bitrate unknown in command "iw p2p0 link" or
"iw p2p0 station dump".

issue only happen on p2p0 and not on wlan0. as wlan0 can
use cached stats in __wlan_hdd_cfg80211_ll_stats_get.

Fix is pass pdev stats info to hdd layer in
get_station_stats_cb.

regression cause is:
Iaefc5629872431cbc6c24090b1edb6cebdad995a

Change-Id: I33b608988aa288e0f8139524de5e20fcbba4f2be
CRs-Fixed: 3457955
2023-04-12 22:46:57 -07:00
Arun Kumar Khandavalli
3900e1eb53 qcacld-3.0: Block wmi transactions as part of trigger recovery work
Currently host waits for the firmware down event as part of the
recovery sequence to block the wmi transactions, if there is any delay
in triggering recovery some wmi commands can leak to firmware in this
window resulting in abnormal behaviour in the firmware.

So, block the wmi transactions after the recovery is initiated.

Change-Id: I502a8331111a6a61f31f35c4a1b64646410925f1
CRs-Fixed: 3444156
2023-04-12 22:46:51 -07:00
Madan Koyyalamudi
1fc4f08a00 Release 5.2.1.63
Release 5.2.1.63

Change-Id: I0f66c6b1276d47b4956e6b5fbf696365fa0b493d
CRs-Fixed: 774533
2023-04-12 19:06:10 -07:00
Namita Nair
a01bddd65a qcacld-3.0: Revert: Disable Opt Wifi Dp feature
This change disables IPA optional wifi
datapatah feature flag.

Change-Id: I9f8876a3f6bd7f0bbe65cbc7a991b4d3c798d326
CRs-Fixed: 3463581
2023-04-12 19:06:10 -07:00
Madan Koyyalamudi
2a327e29cc Release 5.2.1.62Z
Release 5.2.1.62Z

Change-Id: Ic2b12f85af7c3460cf24478995d4b67759339d31
CRs-Fixed: 774533
2023-04-12 16:37:33 -07:00
Pragaspathi Thilagaraj
01e7881521 qcacld-3.0: Propagate proper TDLS AP capabilities during enable
TDLS AP capabilities are stored in MLME, but is not used while
sending WMI_TDLS_SET_STATE_CMDID to firmware, instead false is
passed without passing the actual AP capabilities. This could
cause TDLS getting enabling when AP doesn't allow TDLS.

Cleanup few API and remove ap_cap structure in TDLS vdev private
object

Change-Id: I43c140d58e8777da3acf748f08f5d9915fd91bf4
CRs-Fixed: 3449324
2023-04-12 16:37:33 -07:00
Madan Koyyalamudi
87f608c735 Release 5.2.1.62Y
Release 5.2.1.62Y

Change-Id: I1401a2c07c9a6a9523a011c7e04c9b21487bd54e
CRs-Fixed: 774533
2023-04-12 12:53:48 -07:00
Pragaspathi Thilagaraj
282f018e47 qcacld-3.0: Handle TDLS concurrency during CSA
If CSA on SAP/P2P GO causes MCC with the current STA TDLS vdev,
then teardown the TDLS connections, disable off channel and send
disable TDLS to firmware.
If CSA causes MCC -> DBS or MCC -> SCC then allow TDLS and update
the peer off channel list to firmware
Disable TDLS off-channel before SAP/P2P GO vdev restart.
Once CSA is complete, TDLS off-channel will be re-enabled based
on the concurrency.

Add interface manager changes to notify STA channel switch.

Change-Id: I36b359a7e1cf570cfb2b2f0e6abedf148a8fd174
CRs-Fixed: 3445112
2023-04-12 12:53:47 -07:00
Madan Koyyalamudi
2a0bd88990 Release 5.2.1.62X
Release 5.2.1.62X

Change-Id: Ie72fe78a0d72d4312486ce7b42ec958fa09ce70f
CRs-Fixed: 774533
2023-04-12 03:20:01 -07:00
Amruta Kulkarni
8ffbb6dd25 qcacld-3.0: Handle T2LM teardown action frame
When a T2LM teardown action frame is received clear the
previously negotiated peer level t2lm mapping and update
FW with established mapping if valid or default mapping
applies.

Change-Id: I7951c76fe3d6c1bf231300675f2b954ff7697b39
CRs-Fixed: 3420421
2023-04-12 03:20:00 -07:00
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