Commit Graph

15552 Commits

Author SHA1 Message Date
bings
b3a1cfe3be qcacld-3.0: Set cac duration to pe session in vdev start
When DFS and CAC are full offload, driver passes cac duration time
to FW in vdev start wmi command. Currently when SAP starts in DFS
channel, cac duration is passed as 0.

Cac duration should be set to pe session when vdev starts, then it
can be passed to FW correctly.

Change-Id: Ica2ae344d6734df89e22b088dea7a5059f1370f9
CRs-Fixed: 2548492
2019-10-29 05:39:52 -07:00
nshrivas
f488ce9720 Release 5.2.0.154R
Release 5.2.0.154R

Change-Id: I32599bf1d2162abbe10e5ca565d093553c2ecf8c
CRs-Fixed: 774533
2019-10-29 01:01:00 -07:00
Jingxiang Ge
9310892032 qcacld-3.0: Fix compilation error after 6ghz updates
Fix compilation error in legacy features after 6Ghz band
support and code cleanup.

Change-Id: I5b8c9b46d7647e88044b2f0a0f9c2d35fa4b8a89
CRs-fixed: 2554204
2019-10-29 01:00:59 -07:00
nshrivas
67c7471333 Release 5.2.0.154Q
Release 5.2.0.154Q

Change-Id: Ife47c0cfed1a5878206c2c05ea536730ea2b3eb2
CRs-Fixed: 774533
2019-10-28 20:58:30 -07:00
Yue Ma
39b6f2ed51 qcacld-3.0: Add PCIe register window lock related APIs
The register window needs to be configed properly before accessing
any larger than 4K range PCIe registers. Expose the lock in PLD to
avoid race condition when both platform and host drivers
try to config it.

Change-Id: Icd3df3d4d2cc2ecc3df608e7b767a3e654b94500
CRs-Fixed: 2549887
2019-10-28 20:58:30 -07:00
nshrivas
b78f300f9f Release 5.2.0.154P
Release 5.2.0.154P

Change-Id: I235e69620b9c0a956d2c99284ed69a7c87e24c6e
CRs-Fixed: 774533
2019-10-28 18:02:43 -07:00
Tushnim Bhattacharyya
acb23ee6f0 qcacld-3.0: Replace channel with frequency in unsafe_ch_list
Replace channel ID with frequency in struct unsafe_ch_list.

Change-Id: I4db260127b39d8a30d61d4348f70b1a77ddb9d95
CRs-Fixed: 2540581
2019-10-28 18:02:42 -07:00
nshrivas
6e3f16f865 Release 5.2.0.154O
Release 5.2.0.154O

Change-Id: Iabc83db527f3ca7f283b608979d1a038728a5f65
CRs-Fixed: 774533
2019-10-28 08:38:36 -07:00
Liangwei Dong
8c65f23490 qcacld-3.0: Downgrade channel bandwidth for DBS2
In DBS mode 2x2 VHT40 2G and 1x1 VHT 40 5G, the MAC 1 (5G)
doesn't support VHT80. Update the ch_width to max of 40Mhz
in beacon OMN ie when switch to DBS2.

Change-Id: If5cf65bca815d1e8df67a1515b2fb3edcba52a8e
CRs-Fixed: 2520719
2019-10-28 08:38:35 -07:00
nshrivas
21b3a81418 Release 5.2.0.154N
Release 5.2.0.154N

Change-Id: Ic4c2482d1f76c1f3f4ee8fdd36680f5fb4f71fd7
CRs-Fixed: 774533
2019-10-28 07:11:32 -07:00
Liangwei Dong
c213d8e885 qcacld-3.0: Fix memory corruption of GET_PREFERRED_FREQ_LIST
1. Change pcl_list to uint32_t array.
2. Populate weight freq from pcl_list.
3. Correct the skb allocation size to include attr hdr

Change-Id: Iace73efda1ec55b7f12c2ce3bcc1ea3262ad01f8
CRs-Fixed: 2554031
2019-10-28 07:11:31 -07:00
Venkata Sharath Chandra Manchala
cf57262302 qcacld-3.0: Enable FEATURE_TSO_STATS
Enable FEATURE_TSO_STATS based on
FEATURE_TSO flag.

Change-Id: I2fbeac180f6bb0988a6e3660936659ea1f5da4a4
CRs-Fixed: 2392266
2019-10-28 07:11:27 -07:00
nshrivas
177fe7ab24 Release 5.2.0.154M
Release 5.2.0.154M

Change-Id: If71314166928032f9fbfc9543c9aad41dba9b946
CRs-Fixed: 774533
2019-10-28 04:16:07 -07:00
Jianmin Zhu
387e65caa6 qcacld-3.0: Avoid wifi fail when timeout waiting for sme close session
In special case when vdev delete for wlan disabled,
event eWNI_SME_DEL_STA_SELF_RSP  has been sent
to QDF_MODULE_ID_SME queue,  but scheduler thread have no
execution chance,  timed out waiting for sme close session in
hdd_vdev_destroy, sme session isn't cleaned up.
When enable wifi again, vdev create failed for cannot re-open
active session, wifi failed to start any more,  can't recover
until system reboot.
Fix:
When timed out waiting for sme close session in
hdd_vdev_destroy, clean up sme session too as normal process.

Change-Id: If6c6ed313928294bb83ebbc0e716a574e6a07470
CRs-Fixed: 2547355
2019-10-28 04:16:07 -07:00
nshrivas
d636725178 Release 5.2.0.154L
Release 5.2.0.154L

Change-Id: I86469a3f079ecc49b2f271bed3df63687131c03f
CRs-Fixed: 774533
2019-10-27 13:47:43 -07:00
Sravan Kumar Kairam
761ae63623 qcacld-3.0: Support wlan ipa clk voting for kona
Support wlan ipa clk voting for kona. Host should provide
bandiwdth levels to IPA driver for which IPA uc monitors
the levels. Once the threshold is reached IPA uc interrupts
the IPA driver and IPA driver informs host driver via callback
registered.

Change-Id: I9fd805d69858a413f20b9e55a9c02a82054c646b
CRs-Fixed: 2526300
2019-10-27 13:47:42 -07:00
nshrivas
017fd97967 Release 5.2.0.154K
Release 5.2.0.154K

Change-Id: I3abb0933452b0cc90d5399a71056176ed16caddb
CRs-Fixed: 774533
2019-10-26 11:55:09 -07:00
Arun Kumar Khandavalli
a43590e897 qcacld-3.0: Move psoc object to common component
Move to the common psoc object and retrieve the cfg ini
information from the legacy implementation.

Change-Id: I38147c748796550f2adede44b681559a4f329fbf
CRs-Fixed: 2547536
2019-10-26 11:55:08 -07:00
Visweswara Tanuku
1a5e992075 qcacld-3.0: Use correct event id while registering md events
Use correct event ids while registering motion detection
events

Change-Id: I4328060dea7ac14459d194f98e92cd5ba518edd0
CRs-Fixed: 2548224
2019-10-26 11:55:04 -07:00
nshrivas
77577a9187 Release 5.2.0.154J
Release 5.2.0.154J

Change-Id: I6f8bf1754a5f3b046ce5a6fbfee65e7c7adf0a0a
CRs-Fixed: 774533
2019-10-26 08:11:48 -07:00
Jingxiang Ge
f1d8159208 qcacld-3.0: config 11ax linkspeed rate
This change is to support 11ax linkspeed rate
on UI.

It supports different config for gReportMaxLinkSpeed.

Current 11ax rate support to max 80 nss2 mcs11.

Change-Id: Iff8cbafe1354ab50c4b3a90ef8ab698a3350a21d
CRs-Fixed: 2529291
2019-10-26 08:11:48 -07:00
Wu Gao
cef8a74bef qcacld-3.0: Copy peer mac address when register new NDP peer
Since peer mac instead of sta_id used to find pointer to peer in
dp_register_peer, so copy and pass peer mac address when register new
ndp peer.

Change-Id: I47ab345fff83d9c03208c5c1457db0fb7f6ed9c0
CRs-Fixed: 2546705
2019-10-26 08:11:40 -07:00
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
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
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
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
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