提交图

21860 次代码提交

作者 SHA1 备注 提交日期
snandini
1cc6fab5bc Release 5.2.0.218S
Release 5.2.0.218S

Change-Id: I3009b59de8821d461b54b4c4a195f1b6a2e80c41
CRs-Fixed: 774533
2021-01-17 21:29:37 -08:00
Rajasekaran Kalidoss
741def98ba qcacld-3.0: Add support to handle twt_notify event
Add support to handle twt_notify event. Firmware can
terminate a TWT session without a Host trigger due to internal
reasons. In that case it sends an event to notify that it is
again ready for a TWT session setup.

Change-Id: I3508687cee93e16a26221a1bc7ad9c626a4f4523
CRs-Fixed: 2847158
2021-01-17 21:29:37 -08:00
snandini
ac5297a3df Release 5.2.0.218R
Release 5.2.0.218R

Change-Id: I3f98bc056c158fa73a1e60c8b2b055fd12d12262
CRs-Fixed: 774533
2021-01-17 15:29:18 -08:00
Abhishek Ambure
9389bccc4c qcacld-3.0: Don't block NAN+NDI+STA concurrency for non-dbs
When a new connection is about to come up, host checks if current
concurrency combination including the new connection is allowed or
not based on the HW capability.
Firmware manages NAN + NDI by dividing up slots. Connection on NDI
is re-negotiable and therefore a 3rd connection with the same MAC
is possible.

Change-Id: I63e39c5cd4945cd308e475c1e03f676336c4e7c1
CRs-Fixed: 2841457
2021-01-17 15:29:18 -08:00
snandini
bbfbd30e59 Release 5.2.0.218Q
Release 5.2.0.218Q

Change-Id: I842e51e396307fb9e996aed8419354261a8260d0
CRs-Fixed: 774533
2021-01-17 13:30:31 -08:00
Pragaspathi Thilagaraj
fa947de7a3 qcacld-3.0: Reject back to back TWT commands
Don't allow TWT commands back to back till response for
existing command is not received.
Reject the new command till the existing command completion
event is received from firmware. Allow TWT teardown when
any other command is in progress after TWT setup is complete.

Change-Id: I9282230c7cb24691b44ddfd273972272fd80f44b
CRs-Fixed: 2853515
2021-01-17 13:30:31 -08:00
snandini
85b548fd0b Release 5.2.0.218P
Release 5.2.0.218P

Change-Id: I042e177cdd5f720aead85b11eba23af5bd788280
CRs-Fixed: 774533
2021-01-17 08:54:42 -08:00
gaurank kathpalia
157bb417c2 qcacld-3.0: Remove unused params and functions
Remove unused params and functions due to connection manager.

Change-Id: Ie1fd0031abce0c97f82b221ed43f10609f6dac7a
CRs-Fixed: 2856577
2021-01-17 14:56:27 +05:30
snandini
d06fc82a2a Release 5.2.0.218O
Release 5.2.0.218O

Change-Id: Ife849e9d5e9c25c4be773bd7e4244384d0460661
CRs-Fixed: 774533
2021-01-16 15:04:23 -08:00
gaurank kathpalia
c4378606c7 qcacld-3.0: Fix compilation error in connection manager
Fix compilation error in connection manager.

Change-Id: I4350c594507c25d9652e39ae3ada1f4bdc4d89fc
CRs-Fixed: 2856511
2021-01-16 15:04:23 -08:00
snandini
4122db6433 Release 5.2.0.218N
Release 5.2.0.218N

Change-Id: Id4aa710fd56a67c4cd6cdf7959e0c8d9adf96d83
CRs-Fixed: 774533
2021-01-16 12:57:20 -08:00
gaurank kathpalia
9b5c17c60e qcacld-3.0: Fix issues in connect and disconnect path
Fix issues in connect and disconnect path.

Change-Id: Iccc2f564943939a024923eeb4a958b2838c311ab
CRs-Fixed: 2856501
2021-01-16 12:57:20 -08:00
snandini
ac8ef4370c Release 5.2.0.218M
Release 5.2.0.218M

Change-Id: Ia9f3848d3b8b13a53c2cceac2315ef400e5b698f
CRs-Fixed: 774533
2021-01-16 10:50:50 -08:00
gaurank kathpalia
5b8392f96c qcacld-3.0: Process connect request for connection manager
Process connect request in LIM for connection manager.

Change-Id: I12b2f174751b17271667cba1347a44dd52782420
CRs-Fixed: 2856458
2021-01-16 10:50:49 -08:00
snandini
c3f5b418bc Release 5.2.0.218L
Release 5.2.0.218L

Change-Id: If58004184165889255c8790f0c217f919400fb9b
CRs-Fixed: 774533
2021-01-16 06:48:57 -08:00
Pragaspathi Thilagaraj
0d1bd0bdc6 qcacld-3.0: Stop all the flows for emergency deauth roaming
Stop all the TSPEC flows after roaming to new AP due to
disconnect roam trigger as the previoes TSPEC session is not
valid. Firmware clears the TSPEC session on deauth roaming and
doesn't include the RIC IE in roams followed by deauth trigger.
But host entry for the TSPEC flows exist and doesn't allow new
TSPEC session setup commands.

Clear all the TSPEC flows with older AP to allow new TSPEC
session creation with roamed AP due to disconnect roam trigger.

Change-Id: I9d75acba402e6d8380584fd1ffd310c2a21cd19d
CRs-Fixed: 2816035
2021-01-16 06:48:57 -08:00
snandini
5417ff69d8 Release 5.2.0.218K
Release 5.2.0.218K

Change-Id: Iabf8c6537a6f88fadb664d66fbb83c04f51759c6
CRs-Fixed: 774533
2021-01-16 01:39:00 -08:00
Rajeev Kumar
e6534e9442 qcacld-3.0: Remove date and time from build tag
To improve build time performance remove date and time
embedding from wifi DLKM Kbuild config.

Change-Id: I465699005b0e5eee762f528a8d8f102c1987b18e
CRs-Fixed: 2855334
2021-01-16 01:39:00 -08:00
snandini
dca602f8cf Release 5.2.0.218J
Release 5.2.0.218J

Change-Id: I31cfdd813e6de323fed95a7becb431bc55512c85
CRs-Fixed: 774533
2021-01-15 14:38:30 -08:00
Ashish Kumar Dhanotiya
55e9e445ad qcacld-3.0: Add a check to validate BW for set ap cahn width
Currently driver does not validate BW before it invokes the kernel
api cfg80211_get_chandef_type. There is a WARN_ON in kernel
if above api is invoked with invalid BW.

To address above issue add a logic to validate the BW
before driver invokes the kernel api.

Change-Id: Ie237aa46813bfa4206a1057a0418d9562dbbae75
CRs-Fixed: 2846462
2021-01-15 14:38:30 -08:00
snandini
7aca016cf0 Release 5.2.0.218I
Release 5.2.0.218I

Change-Id: I42577853adf4f32c18fc1c7619f0491bed84410f
CRs-Fixed: 774533
2021-01-15 12:31:50 -08:00
Ashish Kumar Dhanotiya
d1c0c54b5f qcacld-3.0: Add hdd api to check different vdev states
Currently there are no hdd apis to check different
vdev states.
Add hdd apis to check if vdev is connecting to some ap
or disconnecting or vdev is in disconnected state with
the help of connection manager api for the same purpose.

Change-Id: I3b653fa1090a0e701f235520fa4e1028bac6ad7d
CRs-Fixed: 2853413
2021-01-15 12:31:49 -08:00
Ashish Kumar Dhanotiya
df52b010d4 qcacld-3.0: Validate FW provided mac address
Currently host driver does not validate the mac address which
it receives from FW and based on this mac address host derives
remaining mac addresses. If mac address from FW is multicast
or broadcast address then it will be treated as invalid mac
address and adapter creation will fail.

To address above issue, accept mac address provided by FW only
if it is a valid mac address else derive all the mac address
based on driver's internal logic.

Change-Id: I4c4b60cac082680df90016ec4ba63f744353771c
CRs-Fixed: 2853417
2021-01-15 12:31:44 -08:00
snandini
9c4a45c4a8 Release 5.2.0.218H
Release 5.2.0.218H

Change-Id: I4f68617baaa9533947c5e9e0b1827fc2d0de6933
CRs-Fixed: 774533
2021-01-15 10:25:32 -08:00
Pragaspathi Thilagaraj
1a9311161a qcacld-3.0: Create TWT context in peer private object
Create TWT context in peer object to store the TWT session
related parameters. Introduce mlme api to get/set various
twt session parameters for the peer.
Block the below commands till TWT setup is complete.
TWT GET
TWT Pause
TWT resume
TWT terminate

Add new files for TWT specific functionality in MLME component:
components/mlme/core/inc/wlan_mlme_twt_api.h
components/mlme/dispatcher/inc/wlan_mlme_twt_public_struct.h
components/mlme/dispatcher/inc/wlan_mlme_twt_ucfg_api.h
components/mlme/core/src/wlan_mlme_twt_api.c
components/mlme/dispatcher/src/wlan_mlme_twt_ucfg_api.c

Also return error to userspace if back to back TWT setup
command is received before TWT setup response is received from
firmware or already TWT setup is complete for given dialog id

Change-Id: I61e24dd41dc9dcb78fdfe33ef8fa0ecb374a4a72
CRs-Fixed: 2847213
2021-01-15 10:25:32 -08:00
snandini
1291654f4c Release 5.2.0.218G
Release 5.2.0.218G

Change-Id: Idb20cddddea50c65459e2f970980a2e9ddcd9696
CRs-Fixed: 774533
2021-01-15 04:06:46 -08:00
Will Huang
19be165cba qcacld-3.0: Remove QDF_BUG of qdf_spin_is_locked
spin_is_locked() provided by kernel has statement that we should not
rely heavily on the return value, it only tells that the spinlock is
seen to be locked, not that it is locked on your CPU.
Further, on CONFIG_SMP=n builds with CONFIG_DEBUG_SPINLOCK=n, the
return value is always 0.

So we should not use QDF_BUG to test/assert its return value, only be
used for debugging purpose.

Change-Id: I8854ebc6b96698f5272d77750da7d18582a288e9
CRs-Fixed: 2852179
2021-01-15 04:06:46 -08:00
Abhishek Ambure
233ce05ae0 qcacld-3.0: Make wait_for_key timer per vdev
Currently, wait_for_key timer (hTimerWaitForKey and WaitForKeyTimerInfo)
are defined globally, which may cause issues in case of STA + STA.
In case of STA + STA, wait_for_key timer for each STA should get
start and stop independently.
In order to make wait_for_key timer per vdev context, move
hTimerWaitForKey and WaitForKeyTimerInfo to struct csr_roam_session.

Change-Id: Idfeea4a8ceee9ee77eb047283b40090f390f5484
CRs-Fixed: 2852960
2021-01-15 04:06:42 -08:00
snandini
4a0a078e47 Release 5.2.0.218F
Release 5.2.0.218F

Change-Id: I962abbed4ce8263e531158317dc3af29243a8b5f
CRs-Fixed: 774533
2021-01-15 01:58:39 -08:00
Madhvapathi Sriram
e128ee09ef qcacld-3.0: Validate dialog id in TWT setup request
Incorrect dialog id can cause add dialog request to target to fail.
Validate the id from user before sending it to the target.

Change-Id: Ib40b2554a1a420e9b799aab80a991fbab484667f
CRs-Fixed: 2827838
2021-01-15 01:58:39 -08:00
snandini
7630ee4a29 Release 5.2.0.218E
Release 5.2.0.218E

Change-Id: Iaf2e468a71281c890fc54fdc8b782ee44f21142a
CRs-Fixed: 774533
2021-01-14 13:27:32 -08:00
Jianmin Zhu
3a81879ef1 qcacld-3.0: Fix long ping delay after enable RTPM
Issue1: Driver RTPM state is ON/NONE, Kernel state is RESUMING.
cdp_runtime_resume is already complete,
hif_pm_runtime_get return -E_INPROGRESS,
dp_tx_hw_enqueue will set the flush event,
but cdp_runtime_resume is already done,
this flush event will be handled only on next pkt tx.

Issue2: Driver RTPM state: Resuming
hif_pm_runtime_get returns -EBUSY,
dp_tx_hw_enqueue is interrupted by any IRQ,
cdp_runtime_resume is completed,
dp_tx_hw_enqueue will set the flush event,
This flush event will be handled only on next pkt tx.

Fix:
Introduce a link_state_up atomic variable in hif to track the link state
change by pld_cb.
Set atomic variable link_state_up=1 in pmo_core_psoc_bus_runtime_resume
just after pld_cb. pld_cb brings the PCIe bus out of suspend state.
Set atomic variable link_state_up=0 in pmo_core_psoc_bus_runtime_suspend
just before pld_cb. pld_cb puts the PCIe bus into suspend state.

Introduce dp_runtime_get and dp_runtime_put.
dp_runtime_get get refcount with increment of an atomic variable.
dp_runtime_put return refcount with decrement of  this atomic variable.
If hif_pm_runtime_get returns -EBUSY or -EINPROGRESS,
take the dp runtime refcount using dp_runtime_get,
check if the link state is up, write TX ring HP,
return the dp runtime refcount using dp_runtime_put.

cdp_runtime_suspend should reject the suspend, if dp_runtime_get is non
zero.
cdp_runtime_resume should wait until dp_runtime_get becomes zero or time
out, then flush pending tx for runtime suspend.

Change-Id: I7f38b3dc6975fcc208ad85e913564dfef5cc1cb7
CRs-Fixed: 2849002
2021-01-14 13:27:32 -08:00
snandini
aa35222b3e Release 5.2.0.218D
Release 5.2.0.218D

Change-Id: I4fe02fa83388458fa6476c1196f88f548b682fe3
CRs-Fixed: 774533
2021-01-14 09:51:21 -08:00
Jianmin Zhu
a64dc46baf qcacld-3.0: Fix channel width and center freq1 mismatch issue
In beacon, if STA Channel Width is 1, indicate 40M width is supported,
but Secondary Channel Offset is 0, indicate 40M channel is disabled,
20M width should be set instead of 40M.
Refer 802.11-2016 Table 9-168 HT Operation element fields and
subfields.

Change-Id: Ifb130b3447e4f10723295b93e505df929a16486d
CRs-Fixed: 2854933
2021-01-14 09:51:21 -08:00
snandini
08ba133bf7 Release 5.2.0.218C
Release 5.2.0.218C

Change-Id: Icce6ed39f78aa99810a81fe70f3cf908f8615094
CRs-Fixed: 774533
2021-01-14 04:20:51 -08:00
Jia Ding
b401380319 qcacld-3.0: Allcoate tSirProbeReq on the heap
tSirProbeReq currently occupies 452 bytes on 32-bit platform and
could potentially lead to stack corruption. Therefore allocate
it on the heap to reduce stack size.

Change-Id: I6c86e09d188d886cd5bea8b3fd73238d9f97937d
CRs-Fixed: 2852289
2021-01-14 04:20:51 -08:00
snandini
23d5d10791 Release 5.2.0.218B
Release 5.2.0.218B

Change-Id: I134d10d4f0f1cdd0f3f2e47e636e45a59a12f404
CRs-Fixed: 774533
2021-01-13 22:24:19 -08:00
gaurank kathpalia
e484040fb0 qcacld-3.0: Move code from CSR to roam scan offload to new structs
Move code from CSR to roam scan offload to use new converged
structures.

Change-Id: Ie69a88f419d38ec611b4dc18ed15d7eb1f53e1ae
CRs-Fixed: 2853488
2021-01-13 22:24:19 -08:00
snandini
d996aa9f85 Release 5.2.0.218A
Release 5.2.0.218A

Change-Id: I0ca3098e7d37e41d32de38861c0ff788b3afa30a
CRs-Fixed: 774533
2021-01-13 19:53:26 -08:00
Arun Kumar Khandavalli
fd73c1e98e qcacld-3.0: Debug the reason for recovery during driver unload
During the driver unload whenever the recovery is triggered in
the current implementation the request is silently dropped, this
is resulting issues in other areas during the driver which is making
it harder to debug the issue.

Trigger system panic to debug the reason for recovery during the
driver unload.

Change-Id: I67c6c7e8b19dcc3371cd6691c0e3f19be4c33c46
CRs-Fixed: 2850591
2021-01-13 19:53:26 -08:00
snandini
5f166ade03 Release 5.2.0.218
Release 5.2.0.218

Change-Id: Ibf61e5b21fbf33cea38bac181fa7544223d25e7c
CRs-Fixed: 774533
2021-01-13 15:00:03 -08:00
Liangwei Dong
cab9317d71 qcacld-3.0: Change INI sae_connect_retries defalut 0x52
Change "sae_connect_retries" to 0x52 to increase SAE retries:
1 roam auth retry, 2 auth retry and 2 full connection retry.

Change-Id: I5b11dd07abfccfca9529ba9350e326dbf4c23a7a
CRs-Fixed: 2846440
2021-01-13 15:00:03 -08:00
snandini
aab8afc43d Release 5.2.0.217Z
Release 5.2.0.217Z

Change-Id: I598db89bb08b0def42df37f45d701f746de22a08
CRs-Fixed: 774533
2021-01-13 12:19:32 -08:00
Pragaspathi Thilagaraj
f7735c8ba3 qcacld-3.0: Add support for TWT get capabilities vendor command
Add support to get the TWT self and peer capabilities via the
QCA_WLAN_TWT_GET_CAPABILTIES vendor command.
High 16 bits - self capabilities,
Low 16 bits : peer device’s capabilities

The meaning of each bit is below:
Bit 0: Requester Support
Bit 1: Responder Support
Bit 2: Broadcast TWT Support
Bit 3: Flexible TWT Support
Bit 4: TWT Required

Change-Id: I78b0c5902c89fe3a8eec1697fa513aac3c2b7a36
CRs-Fixed: 2847177
2021-01-13 12:19:32 -08:00
snandini
fccdc9cc8a Release 5.2.0.217Y
Release 5.2.0.217Y

Change-Id: I9088f979fb3b89d1f93b9034c5856961b0108d26
CRs-Fixed: 774533
2021-01-13 10:17:17 -08:00
sheenam monga
f0fbe9a794 qcacld-3.0: Dump blacklist bssids
Add dump to print blacklisted bssids
with reason code and source.

Change-Id: I85734ad5aea0c8088e3f8ed2bdbb31971457942d
CRs-Fixed: 2849487
2021-01-13 10:17:17 -08:00
Rajasekaran Kalidoss
05b4328025 qcacld-3.0: Register cp stats legacy ops
Support has been added in common code to register both
common tx ops and MC/WIN specific tx ops. Add support to
register and tx ops for MC specific stats.

Change-Id: I4e5263e4685a707008ec3c5e96f50c707b071fe9
CRs-Fixed: 2851256
2021-01-13 10:17:12 -08:00
Dundi Raviteja
1c569db101 qcacld-3.0: Reduce stack frame size in lim_check_rsn_ie
Reduce stack frame size of lim_check_rsn_ie()
by allocating dynamic memory to tSirMacRsnInfo.

Change-Id: I4e65282a765854085cef9ac887716c440a699d84
CRs-Fixed: 2850232
2021-01-13 10:17:07 -08:00
snandini
7be49de84a Release 5.2.0.217X
Release 5.2.0.217X

Change-Id: I7cf7d06f77e9d730cdf1cf7fcf1658f95c4aaf60
CRs-Fixed: 774533
2021-01-13 07:03:14 -08:00
Dundi Raviteja
6aae6520d8 qcacld-3.0: Reduce stack frame size in lim_send_tdls_teardown_frame
Reduce stack frame size of lim_send_tdls_teardown_frame()
by allocating dynamic memory to tDot11fTDLSTeardown.

Change-Id: I3a4660a33c7e21990e7fbc6eb7d2b057523249b6
CRs-Fixed: 2850152
2021-01-13 07:03:14 -08:00