Commit Graph

17391 Commits

Author SHA1 Message Date
nshrivas
eea51ad437 Release 5.2.0.154I
Release 5.2.0.154I

Change-Id: Ia3c577b22b042cb774e409f6bea47fa444f987f2
CRs-Fixed: 774533
2019-10-26 03:05:56 -07:00
Manikandan Mohan
0ba7e55beb qcacld-3.0: Update CSR for 6Ghz STA connection
Update SME/CSR for using channel frequency in STA connection
params and handle 6G AP IEs for association.

Change-Id: I1725223b6763a729762b604c850c9b493f739ae6
CRs-fixed: 2552009
2019-10-26 03:05:56 -07:00
Manikandan Mohan
8e4491c8ed qcacld-3.0: Send HE 6GHz band capabilities IE in WLAN frames
HE STA / AP operating in 6GHz should send HE 6GHz band capabilities
element. Update LIM layer for sending this IE in assoc, reassoc and
probe request / response frames.

Change-Id: Ie991ad3656e6b721e0ee0783b5974d438699091c
CRs-fixed: 2552009
2019-10-26 03:05:51 -07:00
Manikandan Mohan
5c1e9aeb3d qcacld-3.0: Update HDD for using channel frequency for STA connection
Due to channel number ambiguity with 6ghz, update channel references
in HDD STA connection path to use channel frequency.

Change-Id: I81f3449c9087030e4d98c17a5b12c731f99b39ab
CRs-fixed: 2552009
2019-10-26 03:05:44 -07:00
nshrivas
9328e053f2 Release 5.2.0.154H
Release 5.2.0.154H

Change-Id: I958a9181f081d365144884d4c2c2e301fe07f824
CRs-Fixed: 774533
2019-10-25 04:40:32 -07:00
Yeshwanth Sriram Guntuka
521b6b254b qcacld-3.0: Increase the rx debug buffer list size
Increase the rx debug buffer list size to 8k to
capture more history.

Change-Id: I56d37e5c25653daa9dac76328808e99ed24a7bff
CRs-Fixed: 2542805
2019-10-25 04:40:32 -07:00
nshrivas
65cb28f27b Release 5.2.0.154G
Release 5.2.0.154G

Change-Id: Ibf0f48c837aa0b2e97c2277dc70c5d495f162be7
CRs-Fixed: 774533
2019-10-25 03:12:54 -07:00
Yu Ouyang
67eeee1a50 qcacld-3.0: optimize WPA3 roam pre-auth offload callback
Function csr_update_sae_config is inital connection, so it should
be out of WLAN_FEATURE_ROAM_OFFLOAD. While function
csr_process_roam_auth_sae_callback is roaming related change,
so it should be in WLAN_FEATURE_ROAM_OFFLOAD.

And do the static inline to the dummy functions to avoid the warning
which defined but not used.

Change-Id: Ib873050d2f5bdb960244d2f900e078f314962a8b
CRs-Fixed: 2552295
2019-10-25 03:12:53 -07:00
Manikandan Mohan
7f218af255 qcacld-3.0: Fix policy manager API update for HOST_ROAM feature
Fix compilation error in WLAN_FEATURE_HOST_ROAM after policy manager
public API update to use channel freq as function argument instead
of channel number.

Change-Id: I690f25a169f4438272d44bb7292558a0171d1ab8
CRs-fixed: 2551820
2019-10-25 03:12:46 -07:00
nshrivas
76b0b3ca27 Release 5.2.0.154F
Release 5.2.0.154F

Change-Id: I741cf0b9435faf84ac74f74666c62bc7e7e1a6d3
CRs-Fixed: 774533
2019-10-25 01:22:38 -07:00
Venkata Sharath Chandra Manchala
8193ec70e9 qcacld-3.0: Enable HIF_RECORD_PADDR
Record iova and physical address for every
buffer posted to CE.

Change-Id: I3afb95166e4c571bffc84699df5df20f952729ce
Crs-Fixed: 2548850
2019-10-25 01:22:37 -07:00
nshrivas
395e3c507c Release 5.2.0.154E
Release 5.2.0.154E

Change-Id: I0f5132b884e96a66feafc3ce6346c8b186d5e85c
CRs-Fixed: 774533
2019-10-24 21:41:48 -07:00
Manikandan Mohan
dbcd073e6d qcacld-3.0: Update NAN component to use frequency values
Due to channel number ambiguity with introduction of 6GHZ support
update NAN component APIs and data structures to use frequency
values instead of channel number.

Change-Id: I982fe8da0320c878f9473a62c86b80b220e2892e
CRs-fixed: 2551927
2019-10-24 21:41:47 -07:00
Rakesh Pillai
6c5af2fc0a qcacld-3.0: Use pdev_id instead of global dp handle
As a part of cdp convergence the pdev_id
is used to obtain the pdev handle on need
basis.

Instead of the pdev handle, use the pdev_id to
retrieve datapath pdev handle.

CRs-Fixed: 2539733
Change-Id: I887ea2f1a312207cbb642b33435f4e7111068c62
2019-10-24 21:41:42 -07:00
Rakesh Pillai
ca99b83616 qcacld-3.0: Add ol soc context
Add the soc context for ol_txrx.
This soc layer is used to hold ol pdev context.

CRs-Fixed: 2539731
Change-Id: I27a3f34a533034a4748674ce8b9212163b231b24
2019-10-24 21:41:36 -07:00
nshrivas
6bbb836d2a Release 5.2.0.154D
Release 5.2.0.154D

Change-Id: I558e20c6e99a2806806b8b19b2592981b4d1ea4d
CRs-Fixed: 774533
2019-10-24 18:53:55 -07:00
Li Feng
1b3116857c qcacld-3.0: Fix building error in tcp del ack
Fix building error in tcp del ack.

Change-Id: I74c5612536e703dbd0167ead07433f2ac66437be
CRs-Fixed: 2551290
2019-10-24 18:53:53 -07:00
nshrivas
e5b4b9e03f Release 5.2.0.154C
Release 5.2.0.154C

Change-Id: Ic18a32978ebd6ea36fbdc133955fcc6801e6ac05
CRs-Fixed: 774533
2019-10-24 17:24:24 -07:00
Rachit Kankane
914b79a337 qcacld-3.0: SAP in CAC, block concurrency
At the time of starting / stopping 2nd or 3rd connection,
Host sends WMI_PDEV_SET_HW_CMDID command to FW to change
HW mode to DBS / Single-Mac based on concurrency rule.
FW upon receiving this command turns off TXRX chainmask
which means that radar pulses might get missed for
20ms - 50ms during CAC period. To fix this, Host should
block new connection when existing SAP is performing CAC
on DFS channel.

Change-Id: I51eb117afa763a6ef54211808875419026c9075b
CRs-Fixed: 2533717
2019-10-24 17:24:24 -07:00
nshrivas
f004d01532 Release 5.2.0.154B
Release 5.2.0.154B

Change-Id: I3cd831d6a94f475f11e85b61ab784f3a27043fc4
CRs-Fixed: 774533
2019-10-24 16:03:43 -07:00
Rajeev Kumar Sirasanagandla
cbc6c3b8d1 qcacld-3.0: Process NAN enable/disable synchronously
In the current implementation, NAN enable and disable request are
processed asynchronously, because of which some race conditions
are seen.
	Example: If NDI is having multiple NDPs and without terminating
	NDPs if NAN disable and NDI delete are issued back to back then,
	NDP_END sequence is not initiated and causing deviation from
	NAN spec. Root-cause is firmware deleting NDP peer as a part of
	NDI delete before initiating NDP end sequence.

To fix this, process NAN enable and disable requests synchronously.

Change-Id: I467419370187b0dc8d879e1806347c9f21ebb23a
CRs-Fixed: 2528599
2019-10-24 16:03:42 -07:00
nshrivas
91e874ef20 Release 5.2.0.154A
Release 5.2.0.154A

Change-Id: I9fdd5d0976132849549d46c4a4a37b5dde0b58da
CRs-Fixed: 774533
2019-10-24 14:33:37 -07:00
Bala Venkatesh
ce98442c2a qcacld-3.0: Fill the pmf info for TDLS peer
Fill the pfm info of the TDLS peer before sending the peer assoc
command to FW.

Change-Id: I4e336c345c0fb8f063157b3e3a780efa777f1a74
CRs-Fixed: 2535832
2019-10-24 14:33:37 -07:00
Ashish Kumar Dhanotiya
0c91350afc qcacld-3.0: Enable wifi_pos logs
Currently logs for wifi_pos module are not enabled,
because of which it is difficult to debug the issues.

Enable the wifi_pos logs to address above issue.

Change-Id: I777076d5cd0251b7c714bf22fd885e0cabda6ea2
CRs-Fixed: 2547557
2019-10-24 14:33:32 -07:00
nshrivas
a98d0f149b Release 5.2.0.154
Release 5.2.0.154

Change-Id: I8401176ee745c5cb3f607dfab9340b096545750f
CRs-Fixed: 774533
2019-10-24 09:13:12 -07:00
gaurank kathpalia
389b9e7875 qcacld-3.0: Disable 3 port in DBS 1x1 and No-DBS PCL tables
Disable 3 port in DBS 1x1 and No-DBS PCL tables
as DBS 1x1+1x1 or NON DBS solutions does not
support 3 port as of now.

Change-Id: I16d9d0b6f09ad599e94c776821e68f1e0fcc362e
CRs-Fixed: 2551510
2019-10-24 09:13:11 -07:00
Jianmin Zhu
36626e4fad qcacld-3.0: Fix SAP force scc failed after STA channel switch
After STA channel switch, when SAP try to force scc with STA,
race condition issue happens sometimes between mc thread and sap
restart thread, hdd_ctx->roaming_in_progress isn't cleared when
check roaming status in hdd_softap_set_channel_change, so channel
switch failed.

Fix: change order, make sure hdd_set_roaming_in_progress(false)
happens before policy_mgr_check_concurrent_intf_and_restart_sap.

Change-Id: I1146eb665941fe0beb8f6165272f32ac8f7e74f2
CRs-Fixed: 2549571
2019-10-24 09:13:06 -07:00
Pragaspathi Thilagaraj
c1335b01a0 qcacld-3.0: Fix null pointer dereference in lim_process_auth_retry_timer
In lim, gpLimMlmAuthReq is freed in lim_restore_auth_state if
auth failure timeout happens. gpLimMlmAuthReq is dereferenced in
lim_process_auth_retry_timer. When there is a race where
lim_restore_auth_state is called before lim_process_auth_retry_timer,
then null pointer dereference of gpLimMlmAuthReq happens in
lim_process_auth_retry_timer.

Validate gpLimMlmAuthReq against null before accessing it.

Change-Id: Ic1af10172aa98785c84165c4491c8bdc1b3e508f
CRs-Fixed: 2550793
2019-10-24 09:13:01 -07:00
Jianmin Zhu
c71151b3f7 qcacld-3.0: Fix whunt SAP start failed for wrong channel
Need initialize local var con_ch_freq before use.

Change-Id: I9f770dace7710019bd7d693b6c3b6ba3bdc43af1
CRs-Fixed: 2551516
2019-10-24 09:12:56 -07:00
nshrivas
a7e2cf9fd5 Release 5.2.0.153Z
Release 5.2.0.153Z

Change-Id: I4065b37a341f8c7044b9b62b4622aef892aa9c00
CRs-Fixed: 774533
2019-10-24 04:40:13 -07:00
bings
eb87bc97d8 qcacld-3.0: Fix DFS channel flag check when prevent/allow suspend
wlan_reg_get_channel_state does not return CHANNEL_STATE_DFS for DFS
channel if this channel is in NOL. Use wlan_reg_chan_has_dfs_attribute
to fix this issue.
With above fix, new issue is exposed. hdd_ctx->sap_dfs_ref_cnt is used
as a flag, If hdd_hostapd_channel_allow_suspend is called after
hdd_hostapd_channel_prevent_suspend, whatever the new channel state is,
if the old channel is going to release dfs lock, then dfs lock is
released. Generally we should handle the old channel then handle the
new channel, so exchange the order of hdd_hostapd_channel_prevent_suspend
and hdd_hostapd_channel_allow_suspend when doing channel switch.

Change-Id: I9bbeeb5ac23f3c2eaf694f64e0fea433dcc34740
CRs-Fixed: 2543642
2019-10-24 04:40:13 -07:00
nshrivas
91e06d1763 Release 5.2.0.153Y
Release 5.2.0.153Y

Change-Id: Ic9bc04609a3546e800d79ece088e0f38b3b4ddd6
CRs-Fixed: 774533
2019-10-23 21:29:20 -07:00
Tushnim Bhattacharyya
dd4e60dd31 qcacld-3.0: Free the memory in wma_rx_invalid_peer_ind
Free the memory in wma_rx_invalid_peer_ind in case the
indication is dropped.

Change-Id: I8e1d1fccd15e3af08b04d44670f31eb8f11fbe95
CRs-Fixed: 2550819
2019-10-23 21:29:19 -07:00
nshrivas
f67c42598d Release 5.2.0.153X
Release 5.2.0.153X

Change-Id: I1a18a7706e7495600ccd5a625fe56315b1acd793
CRs-Fixed: 774533
2019-10-23 19:58:20 -07:00
Jianmin Zhu
a3ba967318 qcacld-3.0: Fix build issue on genoa
is_dfs_unsafe_extra_band_chan can't be defined under
FEATURE_WLAN_ESE

Change-Id: I639d38c215782b8ce750f342df2435de2983f1a2
CRs-Fixed: 2549765
2019-10-23 19:58:19 -07:00
nshrivas
eb23f0bd0f Release 5.2.0.153W
Release 5.2.0.153W

Change-Id: Id72b4d127b8e13d4c0e3ef973252e12891dd03e3
CRs-Fixed: 774533
2019-10-23 18:41:16 -07:00
Abhinav Kumar
8cc3b847a0 qcacld-3.0: Reduce the candidate list to 5 in roam cmd for SAE auth
Current driver configuration is as follow:
1. SME active roam command queue timeout is 30 seconds
2. SAE auth timeout is 5 seconds
3. Max BSS count in roam command (CSR_MAX_BSSID_COUNT) for SAE
   authentication is 8

As SAE auth timeout is 5 seconds and SME active command queue timeout
are 30 seconds, so only 6 SAE auth timeouts (30/5 = 6) are enough to
trigger SME active command queue timeout for roam command.

In case of continuous SAE auth time out, Driver will try SAE
connection till 8th candidate. So when driver tries to process SAE
connection for 7th BSSID, device leads to crash as by this time
SAE roam command(connect command) gets removed from SME active roam
command queue.

Fix is to reduce the candidate list to 5 in roam command for SAE
authentication considering SME roam command queue timeout is of 30
seconds.

Change-Id: Ic43f44ef14ea4c3b972635682941a624cdc6dcc7
CRs-Fixed: 2551462
2019-10-23 18:41:15 -07:00
Jia Ding
49780623e4 qcacld-3.0: Properly handle IPA uC ready notification
When doing IPA initialization, WLAN driver registers a
notification callback for IPA uC ready. In the callback,
we directly set uc_loaded to true before scheduling a work
task to connect WLAN IPA pipes. However issue is that in
the work handler, uc_loaded is checked and if it is true,
we return without connecting WLAN IPA pipes.

Therefore properly set uc_loaded to true so that WLAN IPA
pipes can be connected correctly.

Change-Id: I27a14e627a1a75836f08dc5dec8c8b1d09725e10
CRs-Fixed: 2537625
2019-10-23 18:41:10 -07:00
nshrivas
c080a7459e Release 5.2.0.153V
Release 5.2.0.153V

Change-Id: I50b37e3b46460e75ac41faa6f4895841881b2364
CRs-Fixed: 774533
2019-10-23 17:19:30 -07:00
Liangwei Dong
3179b537af qcacld-3.0: Skip DFS NOL check for 6GHz SAP
6GHz channels doesn't need DFS NOL functionality.
Skip DFS NOL check for 6GHz SAP.

Change-Id: Ibdebba0d175e7752c0f6feae2b9412ef3b11b191
CRs-Fixed: 2550593
2019-10-23 17:19:29 -07:00
nshrivas
3162c01092 Release 5.2.0.153U
Release 5.2.0.153U

Change-Id: I40a8a66f568486b574f4110939fe28cbb5c25d44
CRs-Fixed: 774533
2019-10-23 16:00:34 -07:00
sheenam monga
11cf83604e qcacld-3.0: Move PER_ROAM_CONFIG_CMD out of EXTSCAN macro
WMA_SET_PER_ROAM_CONFIG_CMD is dependent on
FEATURE_WLAN_EXTSCAN macro. By default
FEATURE_WLAN_EXTSCAN is disabled and thus
WMA_SET_PER_ROAM_CONFIG_CMD is not handled

To avoid conditional Handling of WMA_SET_PER_ROAM_CONFIG_CMD,
Move WMA_SET_PER_ROAM_CONFIG_CMD out of flag
FEATURE_WLAN_EXTSCAN.

Change-Id: I4574efa2ccc968ead71a9c6d54845f7bd3057e56
CRs-Fixed: 2549779
2019-10-23 16:00:34 -07:00
nshrivas
721635fd3b Release 5.2.0.153T
Release 5.2.0.153T

Change-Id: Idcf92af24b687330ac76ec072fa965e5dd345a30
CRs-Fixed: 774533
2019-10-23 14:29:34 -07:00
Nirav Shah
fc0848cb38 qcacld-3.0: Avoid double free of tx_desc in ol_tx_download_done_hl_free
If tx_desc is freed as part of ol_tx_download_done_base
then do not free again in ol_tx_download_done_hl_free.

Change-Id: I006603f0fad40c0cfce59b8c14b521705cec7ebc
CRs-Fixed: 2544447
2019-10-23 14:29:33 -07:00
nshrivas
3f745f0dfb Release 5.2.0.153S
Release 5.2.0.153S

Change-Id: I249ee724d3ed3838dd0d9db5ab7680f64ef4f463
CRs-Fixed: 774533
2019-10-23 10:31:55 -07:00
Pragaspathi Thilagaraj
f812ccf55a qcacld-3.0: Rename assocReq
Linux coding style doesn't allow camel case notations. So
rename assocReq to be in compliance.

Change-Id: I82e608da9548ac9413f9ecb025e5b662c9f555be
CRs-Fixed: 2480902
2019-10-23 09:01:09 -07:00
nshrivas
837faee786 Release 5.2.0.153R
Release 5.2.0.153R

Change-Id: Ibd42f141ad923fb21e5977efd13952421c386dab
CRs-Fixed: 774533
2019-10-23 06:50:27 -07:00
Liangwei Dong
a383c99ef4 qcacld-3.0: Add regulatory channel list dump
Dump the regulatory channel list with tx power
info. The channel list log can be processed by
script to do validation.

Change-Id: I7b3badd026556c1d805e6f3770fae33838f6ee6e
CRs-Fixed: 2548231
2019-10-23 06:50:26 -07:00
nshrivas
e01dcd46bf Release 5.2.0.153Q
Release 5.2.0.153Q

Change-Id: I11d503079a83e786e7080a55b0e7678be55877f3
CRs-Fixed: 774533
2019-10-23 03:46:38 -07:00
Min Liu
602c1b19a6 qcacld-3.0: Fix race condition when disconnecting
When an attempt of connection failed and followed by a disconnection
initiated from user space, randomly it would take more than 10 seconds
to complete the disconnection due to disconnect_comp_var is not
completed in some race condition and it has to wait till timeout.

To fix this race condition, in hdd_association_completion_handler, also
need to complete disconnect_comp_var for the case when hddDisconInProgress
is true and roam_status is eCSR_ROAM_ASSOCIATION_FAILURE or
eCSR_ROAM_CANCELLED, it will also cover the following scenario besides
the one mentioned above:

Connection is in progress. But the connect command is in pending queue
and is removed from pending queue as part of csr_roam_disconnect.

Change-Id: Ib6a30057469d60efcc905d97b5234ea5a0e097a8
CRs-Fixed: 2547320
2019-10-23 03:46:38 -07:00