Commit Graph

21726 Commits

Author SHA1 Message Date
Rakesh Pillai
41de6c000f qcacld-3.0: Add rx ring history to pre-alloc memory
Add entries to pre-allocate memory region for
recording datapath rx ring history.

Change-Id: Iffac199c48a9638c94d8568bbc7567bf214ffcc2
CRs-Fixed: 2847548
2021-01-06 21:54:47 -08:00
Liangwei Dong
978c266a7d qcacld-3.0: Avoid unnecessary AP Start evt
Event WLAN_IF_MGR_EV_AP_START_BSS delivery will trigger roam disable/
enable. That will involve lots of wmi command to set roaming parameters
to firmware. When the AP is "started" state, the
wlan_hdd_cfg80211_start_bss will be called to update AP (GO) IE and
wlansap_start_bss will be skipped. In this case, we don't
need to deliver WLAN_IF_MGR_EV_AP_START_BSS event.

Change-Id: I801fd7a5eaf7b97b2c74930c9e4088db83c86a09
CRs-Fixed: 2847224
2021-01-06 21:54:42 -08:00
snandini
9a18a1c0b8 Release 5.2.0.216T
Release 5.2.0.216T

Change-Id: I50a97d9753194e2fd5d08fd36b195e82857a9299
CRs-Fixed: 774533
2021-01-06 17:57:51 -08:00
Yeshwanth Sriram Guntuka
ebfe89570a qcacld-3.0: Do not log info on rx pkt deliver failure
Print is logged on rx packet deliver failure with
no relevant info since the skb is already freed.

Fix is to not log info on packet deliver to stack
failure.

Change-Id: I8f91a14030c76907d60e95ccbd19b600938ace90
CRs-Fixed: 2849093
2021-01-06 17:57:51 -08:00
snandini
721887793d Release 5.2.0.216S
Release 5.2.0.216S

Change-Id: Iea4ea30f96dcc6c1c449eea7d55dd708006465f9
CRs-Fixed: 774533
2021-01-06 13:52:33 -08:00
Dundi Raviteja
59bff5fb4c qcacld-3.0: Reduce stack frame size while processing setup req frame
Reduce stack frame size of lim_send_tdls_link_setup_req_frame()
by allocating dynamic memory to tDot11fTDLSSetupReq.

Change-Id: I7b31791483869b45713d808d82948bb730977efe
CRs-Fixed: 2847112
2021-01-06 13:52:33 -08:00
Dundi Raviteja
38169148fb qcacld-3.0: Reduce stack frame size in lim_send_tdls_dis_req_frame
Reduce stack frame size of lim_send_tdls_dis_req_frame()
by allocating dynamic memory to tDot11fTDLSDisReq.

Change-Id: Iac065fbfeecd978dc212e84cfe686fea77a10ed5
CRs-Fixed: 2847109
2021-01-06 13:52:28 -08:00
Yeshwanth Sriram Guntuka
ed863c00a4 qcacld-3.0: Enable IPA set/reset tx doorbell paddr feature for Lithium
Enable set/reset tx doorbell paddr feature for Lithium.

Change-Id: I440372b89e20037e54da6b187f79254af421a718
CRs-Fixed: 2846872
2021-01-06 13:52:24 -08:00
snandini
7ecaf1d34b Release 5.2.0.216R
Release 5.2.0.216R

Change-Id: Ic62b422cd0b3e189042f1c75e2a93fb7b6a325a0
CRs-Fixed: 774533
2021-01-06 11:44:20 -08:00
Dundi Raviteja
e77c29de61 qcacld-3.0: Reduce stack frame size in lim_send_probe_req_mgmt_frame
Reduce stack frame size of lim_send_probe_req_mgmt_frame()
by allocating dynamic memory to tDot11fProbeRequest.

Change-Id: Ide3047df132514a1684ec3b3cc0bbd01712ecab3
CRs-Fixed: 2847119
2021-01-06 11:44:20 -08:00
Dundi Raviteja
18f0cf611f qcacld-3.0: Reduce stack frame size in lim_verify_fils_params_assoc_rsp
Reduce stack frame size of lim_verify_fils_params_assoc_rsp()
by allocating dynamic memory to fils structures.

Change-Id: Ib24570d87468560f50ee1bcaad360e4729f404aa
CRs-Fixed: 2847120
2021-01-06 11:44:15 -08:00
Dundi Raviteja
b9cb9ed8dc qcacld-3.0: Reduce stack frame size in lim_send_assoc_rsp_mgmt_frame
Reduce stack frame size of lim_send_assoc_rsp_mgmt_frame()
by allocating dynamic memory to add_ie.

Change-Id: Iffd2eec7451bc84bba2d2542590fcc24dbd25df6
CRs-Fixed: 2847113
2021-01-06 11:44:09 -08:00
snandini
2ba0367c7c Release 5.2.0.216Q
Release 5.2.0.216Q

Change-Id: Ic7ef69c9b58708eeabca839697f77aaa0c061097
CRs-Fixed: 774533
2021-01-06 09:11:53 -08:00
Abhishek Singh
d3cbcc0d30 qcacld-3.0: Remove duplicate struct struct wlan_ies
Remove duplicate struct struct wlan_ies and replace with
struct element_info.

Change-Id: I60d34db5845d840679052912182ea09b86988e43
CRs-Fixed: 2848237
2021-01-06 09:11:53 -08:00
snandini
e5e897f263 Release 5.2.0.216P
Release 5.2.0.216P

Change-Id: I27a3a5fc7c42346d5e32f1372b0b3c49960f1d7b
CRs-Fixed: 774533
2021-01-06 07:05:59 -08:00
Abhishek Singh
2a89ed9532 qcacld-3.0: Move hdd_connect_result under connection manager
Move hdd_connect_result under connection manager not defined flag.

Change-Id: Ifa62a58264fa7c7247f8c0aa8f0ed33138572dd8
CRs-Fixed: 2848186
2021-01-06 07:05:59 -08:00
snandini
2d96017025 Release 5.2.0.216O
Release 5.2.0.216O

Change-Id: Ia396fe95e5a197f6c00a75a4198f265864e5a5d3
CRs-Fixed: 774533
2021-01-05 22:34:19 -08:00
Min Liu
d544e23eed qcacld-3.0: Update validation for SA Query frames
Update the validation for SA Query Request/Response to fix the
issue that these frames are dropped unexpectedly when OCI IE
is not present.

Change-Id: I57acd699fd5c7eba23551133e3439fe23c1949a4
CRs-Fixed: 2846717
2021-01-05 22:34:19 -08:00
snandini
af50f6edb3 Release 5.2.0.216N
Release 5.2.0.216N

Change-Id: I97498e605d2506b18324e7b782f7f9a74e13256e
CRs-Fixed: 774533
2021-01-05 20:28:15 -08:00
Liangwei Dong
da136782af qcacld-3.0: Take vdev ref count with dbg id API
Replace hdd_objmgr_get/put_vdev by API
hdd_objmgr_get/put_vdev_by_user to specify
functionality dbg id WLAN_OSIF_CM_ID.

Change-Id: Ibaf32260826dfcccd3f6202210bf1aa185101082
CRs-Fixed: 2847448
2021-01-05 20:28:14 -08:00
snandini
4aee4381b9 Release 5.2.0.216M
Release 5.2.0.216M

Change-Id: Iae6d1db31a42506d0a09f0bfe2961b9c88b28f1e
CRs-Fixed: 774533
2021-01-05 18:14:24 -08:00
Manikanta Pubbisetty
ddc53c7479 qcacld-3.0: avoid FSE cache flush messages during runtime suspend
When runtime power management is enabled, until the system is fully
resumed, we do not post any message to CE, instead they will be queued
in HTC. Once the device is fully resumed, all HTT messages in the queues
will be downloaded to CE at once. In some corner cases, it is found that
too many FSE caches flush messages getting queued during the runtime
resume; once the device is fully resumed, all these would be downloaded
to the FW/HW at once causing unintended crashes.

Do not post FSE cache flush messages when the device is resuming from
runtime suspend to avoid this problem.

Change-Id: Iaa7a25e6f84ef4ac9c3cdf6a5c052538b142ea3f
CRs-Fixed: 2839431
2021-01-05 18:14:24 -08:00
snandini
3ee30ec6c5 Release 5.2.0.216L
Release 5.2.0.216L

Change-Id: I39b6021ab57e1960e8abae1d1b7d828e9b9003cf
CRs-Fixed: 774533
2021-01-05 16:13:10 -08:00
Jinwei Chen
31f539931d qcacld-3.0: Fix invalid BW vote for FISA aggregation case
Currently for FISA aggregated RX frame, one skb will contain 2~16
RX msdu, if only count 1 RX msdu into stats, BW vote is not right
that even if RX T-put > 1 Gbps, wlan only vote 4(high), this can not
satisfy the vote requirement for peak T-put > 2 Gbps which should be
5(very high) which then degrade the T-put.

Fix RX packets stats correctly for aggregated RX frame.

Change-Id: Idd0cee1b68555dedad49025c03a13a929ec2af1c
CRs-Fixed: 2838667
2021-01-05 16:13:10 -08:00
snandini
994bb454d4 Release 5.2.0.216K
Release 5.2.0.216K

Change-Id: Ib27a5d6c5ccf3b1f73159e6630b4bd890ae92c38
CRs-Fixed: 774533
2021-01-05 05:01:54 -08:00
gaurank kathpalia
deceac79c3 qcacld-3.0: Replace the CSR API with connection mgr API
Replace the CSR API to get connect info with cnx mgr API.

Change-Id: Ia037016a6eab0fd4ebec6cbbb991ff255b43bb2d
CRs-Fixed: 2847585
2021-01-05 05:01:53 -08:00
snandini
d231335ecb Release 5.2.0.216J
Release 5.2.0.216J

Change-Id: I50049334dfb94c8446faf6cc325f1c25ad02c69a
CRs-Fixed: 774533
2021-01-04 13:51:33 -08:00
Ashish Kumar Dhanotiya
381b94ab89 qcacld-3.0: Update he and ht rate flags correctly
Currently driver does not update he and ht rate flags correctly
in wma as rate flags should include all the subsets of the
lower rate sets, which is not the case today and driver only
updates the higher rate flag. Because of which it leads to
invalid computation of txrate at the kernel.

To address this issue, update he and ht rate flags correctly in
wma.

change-Id: I6ec68af1f75650990384efbd61536042329665b2
CRs-Fixed: 2837245
2021-01-04 13:51:33 -08:00
snandini
b6b9d155ec Release 5.2.0.216I
Release 5.2.0.216I

Change-Id: I77e02ce9e8c4e2aa2d881effac310178f6a0db7e
CRs-Fixed: 774533
2021-01-04 05:08:37 -08:00
Vevek Venkatesan
6cc1576cf0 qcacld-3.0: add sync between suspend and wow resume in runtime pm
In moselle, once wow enabled there is a possibility that wow wake
interrupt can be fired from FW during runtime suspend in progress
in host, this will introduce a race between runtime suspend and
resume, so adding a synchronization between runtime suspend and
wow triggered runtime resume.

Change-Id: I19a4d70f47d5c202d0ba291c3edc8a260690f434
CRs-Fixed: 2845670
2021-01-04 05:08:36 -08:00
snandini
f511448242 Release 5.2.0.216H
Release 5.2.0.216H

Change-Id: I9212e53a41232c9082988cc08b1f3bb1962e371b
CRs-Fixed: 774533
2021-01-03 23:49:35 -08:00
sheenam monga
bf3630cf7e qcacld-3.0: Enable periodic time sync between host and fw
Enable periodic time sync between host and fw by setting
gRemoveTimeStampSyncCmd to 0.

Change-Id: I52168ad6d065262c433c801716eec0d7782bf6e8
CRs-Fixed: 2845017
2021-01-03 23:49:35 -08:00
sheenam monga
03d4f89464 qcacld-3.0: Use function qdf_snprint for time stamp conversion
Currently for converting timestamp to string qdf_snprintf
function is used which may not print timestamp correctly.

Use qdf_snprint instead of qdf_snprintf to print correct
timestamp provided by fw.

Change-Id: I803f678dc38afc03131e589a820d129dc38380ce
CRs-Fixed: 2835199
2021-01-03 23:49:30 -08:00
snandini
ba716293d0 Release 5.2.0.216G
Release 5.2.0.216G

Change-Id: I752af1ecc83c22f44d4727feff6225f7958ac932
CRs-Fixed: 774533
2021-01-03 21:34:48 -08:00
Min Liu
45e0741472 qcacld-3.0: Fix iwpriv command getMaxAssoc
Fix the issue that iwpriv command getMaxAssoc act as setMaxAssoc.

Change-Id: I8fddc0ff724147cb55d53b0ce5a918745b3101d3
CRs-Fixed: 2844640
2021-01-03 21:34:48 -08:00
snandini
d6b19a8b8a Release 5.2.0.216F
Release 5.2.0.216F

Change-Id: Ieb107bdee15bf9514dd1dff8595c1dc6b6da7c80
CRs-Fixed: 774533
2021-01-02 13:34:28 -08:00
Abdul Muqtadeer Ahmed
a83d049659 qcacld-3.0: Add new driver commands
TPUT_DEBUG_MODE_ENABLE and TPUT_DEBUG_MODE_DISABLE are two new driver
commands. So when this commands will get issue, host needs to send
setUnitTestcmd with different arguments for different target to
enable/disable the module logging.

Change-Id: I5deb18f08f59ce936696e00b6537b0acf7c846a1
CRs-Fixed: 2842740
2021-01-02 13:34:27 -08:00
snandini
438855144c Release 5.2.0.216E
Release 5.2.0.216E

Change-Id: I9af487c3b8d46e7415673adb77c7e5a3501379fb
CRs-Fixed: 774533
2020-12-31 20:53:04 -08:00
gaurank kathpalia
dc7cca8a80 qcacld-3.0: Add connection manager Logic for connect resp from LIM
Add connection manager Logic for connect resp from LIM.

Change-Id: Ifea77cd839d5f21f50b03f833fd0daa8a1cd8bdd
CRs-Fixed: 2846957
2020-12-31 20:53:04 -08:00
snandini
87bd531536 Release 5.2.0.216D
Release 5.2.0.216D

Change-Id: I711924d90cc21810aa34952e079fb5388609ab73
CRs-Fixed: 774533
2020-12-31 05:00:26 -08:00
Dundi Raviteja
1b2dda84f7 qcacld-3.0: Reduce stack frame size in lim_send_tdls_setup_rsp_frame
Reduce stack frame size of lim_send_tdls_setup_rsp_frame()
by allocating dynamic memory to tDot11fTDLSSetupRsp.

Change-Id: Ic826bacf9f5b4c23052550fa82b238949522eaa5
CRs-Fixed: 2844354
2020-12-31 05:00:26 -08:00
snandini
74d5af48c2 Release 5.2.0.216C
Release 5.2.0.216C

Change-Id: Ib9d6bda9ec7c95c475c8a8ca5717399e8fa349c2
CRs-Fixed: 774533
2020-12-31 02:53:03 -08:00
Dundi Raviteja
7ea9f8af9d qcacld-3.0: Reduce stack frame size in lim_process_mlm_auth_req
stack frame size of lim_process_mlm_auth_req() is more than
the default limit of 1024 bytes, so reduce stack frame size
by allocating dynamic memory to tSirMacAuthFrameBody.

Change-Id: Ia3ae5bc8d65b39d60c52129170f22cf53fb96f61
CRs-Fixed: 2844341
2020-12-31 02:53:03 -08:00
Dundi Raviteja
1cd38286c5 qcacld-3.0: Reduce stack frame size in processing link setup frame
Reduce stack frame size of lim_send_tdls_link_setup_cnf_frame()
by allocating dynamic memory to tDot11fTDLSSetupCnf.

Change-Id: I02269a4cee2fcd419d8ab7fdb9e6c8829510cd9f
CRs-Fixed: 2844358
2020-12-31 02:52:57 -08:00
Dundi Raviteja
216deabb54 qcacld-3.0: Reduce stack frame size in lim_send_tdls_dis_rsp_frame
Reduce stack frame size of lim_send_tdls_dis_rsp_frame()
by allocating dynamic memory to tDot11fTDLSDisRsp.

Change-Id: Id30d96d33dd3beecf5bb48dc99194f73b759ae8a
CRs-Fixed: 2844352
2020-12-31 02:52:52 -08:00
Dundi Raviteja
7bdcbba71a qcacld-3.0: Reduce stack frame size while processing auth frame
stack frame size of lim_process_auth_frame_no_session()
is more than the default limit of 1024 bytes, so reduce
stack frame size by allocating dynamic memory to
tSirMacAuthFrameBody.

Change-Id: I37bd23e1d5814950d9c1912a40058666e3de264f
CRs-Fixed: 2844332
2020-12-31 02:52:48 -08:00
snandini
6f0c778a87 Release 5.2.0.216B
Release 5.2.0.216B

Change-Id: Icc8fd016252a5fd8e6c9b73f3b13cb625b77ac4a
CRs-Fixed: 774533
2020-12-31 00:50:27 -08:00
Ashish Kumar Dhanotiya
f90d452bdb qcacld-3.0: Update qos parameters for connection manager
Currently driver does not update qos related parameters for
connection manager connect complete path, add logic to
update qos related parameters for connection manager connect
complete path.

Change-Id: If7d67448710a8f950d5c78ca961cab7884f58d61
CRs-Fixed: 2846591
2020-12-31 00:50:27 -08:00
snandini
decc3474d3 Release 5.2.0.216A
Release 5.2.0.216A

Change-Id: I088eae87490f2ec66f5a008b43735d8f0895c131
CRs-Fixed: 774533
2020-12-30 16:51:08 -08:00
Ashish Kumar Dhanotiya
68b0198490 qcacld-3.0: Add functions for assoc completion for connection manager
There are few functions which were missing for association completion
for connection manager functionality, add those missing functions
for association completion handler.

Change-Id: Iaca6599921fa73972553a8bd805b2f39ad580407
CRs-Fixed: 2846083
2020-12-30 16:51:08 -08:00