Commit Graph

20134 Commits

Author SHA1 Message Date
Paul Zhang
baac594a3f qcacld-3.0: Use get/put to refer vdev [1/4]
Any direct reference to adapter->vdev outside the initial
assignment should use get/put to properly refer the vdev.
        core/hdd/src/wlan_hdd_ioctl.c
        core/hdd/src/wlan_hdd_station_info.c
        os_if/interop_issues_ap/src/wlan_cfg80211_interop_issues_ap.c

Change-Id: I897ee8ac2a4816b91ed48e2c32e97540430c5520
CRs-Fixed: 2714025
2020-07-14 04:26:19 -07:00
nshrivas
c3f5399b50 Release 5.2.0.193Y
Release 5.2.0.193Y

Change-Id: Ic0cc2b339676f6d921f18c623593d27634455ce4
CRs-Fixed: 774533
2020-07-14 02:02:27 -07:00
Srinivas Girigowda
8cf89cb514 qcacld-3.0: Replace obsolete WMA_LOGE() with wma_err()
Replace obsolete WMA_LOGE() macro with wma_err().

Change-Id: Iaf11baa0f09cfb090806527184c6137f8b950aa8
CRs-Fixed: 2723709
2020-07-14 02:02:27 -07:00
Srinivas Girigowda
e0f33862ae qcacld-3.0: Replace WMA_LOGE() with wma_err() in wma_scan_roam.c
Replace obsolete WMA_LOGE() macro with wma_err().

Change-Id: I3e99ae2c91d3382afe128b68ec51b13368b3f177
CRs-Fixed: 2723709
2020-07-14 02:02:21 -07:00
Srinivas Girigowda
a9ef877204 qcacld-3.0: Replace WMA_LOGE() with wma_err() in wma_power.c
Replace obsolete WMA_LOGE() macro with wma_err().

Change-Id: I2846bd57e79812ebe4ce8ca51cd34581bdf4f7ff
CRs-Fixed: 2723709
2020-07-14 02:02:17 -07:00
Srinivas Girigowda
8e8ad1393c qcacld-3.0: Replace WMA_LOGE() with wma_err() in wma_mgmt.c
Replace obsolete WMA_LOGE() macro with wma_err().

Change-Id: Iff73ada8b420fb66e71f45d236cc365db165eefe
CRs-Fixed: 2723709
2020-07-14 02:02:12 -07:00
Srinivas Girigowda
f986fdacc4 qcacld-3.0: Replace WMA_LOGE() with wma_err() in wma_utils.c
Replace obsolete WMA_LOGE() macro with wma_err().

Change-Id: Idbb82562db1c64d05920629a2eb3f1cc4916997e
CRs-Fixed: 2723709
2020-07-14 02:02:07 -07:00
Srinivas Girigowda
e609dac563 qcacld-3.0: Replace WMA_LOGE() with wma_err() in wma_dev_if.c
Replace obsolete WMA_LOGE() macro with wma_err().

Change-Id: Id5a5e41cf1c5a43bf176e0beef925959dcd8f91f
CRs-Fixed: 2723709
2020-07-14 02:02:03 -07:00
Srinivas Girigowda
a1083daa2b qcacld-3.0: Replace WMA_LOGE() with wma_err() in wma_data.c
Replace obsolete WMA_LOGE() macro with wma_err().

Change-Id: I3db62e12cb1392d73045686a6157c3530568f1b2
CRs-Fixed: 2723709
2020-07-14 02:01:58 -07:00
Srinivas Girigowda
403e38b615 qcacld-3.0: Replace WMA_LOGE() with wma_err() in wma_features.c
Replace obsolete WMA_LOGE() macro with wma_err().

Change-Id: I8c9492c0877a476d5a2d0420b3013dc6f18b24c7
CRs-Fixed: 2723709
2020-07-14 02:01:53 -07:00
Srinivas Girigowda
13d15035e7 qcacld-3.0: Replace WMA_LOGE() with wma_err() in wma_main.c
Replace obsolete WMA_LOGE() macro with wma_err().

Change-Id: If55d52640dbe921377f1ceffed609e096f449563
CRs-Fixed: 2723709
2020-07-14 02:01:48 -07:00
Gururaj Pandurangi
77ba18197c qcacld-3.0: Validate bssDescription before using it
Validate bssDescription before dereferencing it.

Change-Id: I89f8c07ad2e38e59dd2a002ce95cfac88232ccc9
CRs-Fixed: 2729263
2020-07-14 02:01:43 -07:00
Surabhi Vishnoi
0412d9a24f qcacld-3.0: Call the ucfg cfr api when CFR HTT msg is received
Firmware sends the HTT msg which has information about the
CFR. This information is required by CFR component to get the
CFR data capture.
Call CFR ucfg api to pass this CFR related info to the CFR component.

Change-Id: I6e9bdd991d8e7f84f35231900fc00ed18e89f835
CRs-Fixed: 2724722
2020-07-14 02:01:39 -07:00
nshrivas
13d45f4e2a Release 5.2.0.193X
Release 5.2.0.193X

Change-Id: I945a4c72680f69ecef6cbb65daa641a3b2647c1b
CRs-Fixed: 774533
2020-07-13 23:39:24 -07:00
Sandeep Singh
0615ee270f qcacld-3.0: Enable both SNOC and IPCI PLD layer for ICNSS2
ICNSS2 platform driver is used for moselle and adrastea which uses
IPCI and SNOC PLD layer, respectively. Add support to enable both
for ICNSS2 based to target flag.

Change-Id: I06fbacade99b09c9ea7347aa28e10968eaeedaa8
2020-07-13 23:39:24 -07:00
Wu Gao
4e5a1591c5 qcacld-3.0: Add ini to configure max tdls peer count
Add ini "gTDLSMaxPeerCount" to configure max tdls peer count.

Change-Id: I45c287c6c9a2fa1dcebcea54fdd0fc0d8a14b064
CRs-Fixed: 2718971
2020-07-13 23:39:20 -07:00
CNSS_WLAN Service
b81a7cfb7d Merge "Release 5.2.0.193W" into wlan-cld3.driver.lnx.2.0 2020-07-12 20:17:17 -07:00
CNSS_WLAN Service
fc6ee2eed0 Merge "qcacld-3.0: Add ini to enable sae auth/assoc retry" into wlan-cld3.driver.lnx.2.0 2020-07-12 20:17:16 -07:00
CNSS_WLAN Service
8b760faee7 Merge "Release 5.2.0.193V" into wlan-cld3.driver.lnx.2.0 2020-07-12 10:51:17 -07:00
CNSS_WLAN Service
7c952cde3b Merge "qcacld-3.0: Use global operating class to initialize array" into wlan-cld3.driver.lnx.2.0 2020-07-12 10:51:15 -07:00
CNSS_WLAN Service
c74153cd26 Merge "qcacld-3.0: Update policy mgr table if nan_conc control is supported" into wlan-cld3.driver.lnx.2.0 2020-07-12 10:51:15 -07:00
CNSS_WLAN Service
572c556d72 Merge "qcacld-3.0: Add NAN/NDI entries to non-dbs pcl table" into wlan-cld3.driver.lnx.2.0 2020-07-12 10:51:13 -07:00
nshrivas
53d271c41d Release 5.2.0.193W
Release 5.2.0.193W

Change-Id: I38700cd21d8c7b8b2941bf92a94b74f43a91c25e
CRs-Fixed: 774533
2020-07-12 10:10:21 -07:00
Abhishek Ambure
fbdde4785a qcacld-3.0: Add ini to enable sae auth/assoc retry
Introduce new INI sae_connect_retries to decide auth (initial connect
and roam auth) and connect retry for sae. MAX reties is capped to 2
and max for roam auth is 1.
Default is 0x49 i.e. 1 retry each.

Bits       Retry Type
BIT[0:2]   AUTH retries
BIT[3:5]   Connection reties
BIT[6:8]   ROAM AUTH retries

Change-Id: Idae86a7bdb32244c7f3a140b8591418b8238758a
CRs-Fixed: 2728458
2020-07-12 10:10:20 -07:00
CNSS_WLAN Service
e454a0ea7f Merge "Release 5.2.0.193U" into wlan-cld3.driver.lnx.2.0 2020-07-12 08:09:55 -07:00
CNSS_WLAN Service
5a71295f5d Merge "qcacld-3.0: Update self RSN caps to FW in RSO update/start cmd" into wlan-cld3.driver.lnx.2.0 2020-07-12 08:09:54 -07:00
nshrivas
0c45a04554 Release 5.2.0.193V
Release 5.2.0.193V

Change-Id: I52afeae9319d3867df59dc10ef77e7579ff4cefc
CRs-Fixed: 774533
2020-07-12 07:31:23 -07:00
Amar Singhal
9709a3147d qcacld-3.0: Use global operating class to initialize array
Use global operating class to initiaize operating class array.
Country specific operating class table is used less and less now,
so use the global operating class by default.

Change-Id: Iaa6559d47cb1d8d30c8826dc3e7d5b63c743297b
CRs-Fixed: 2728601
2020-07-12 07:31:22 -07:00
Srinivas Dasari
440a823073 qcacld-3.0: Update policy mgr table if nan_conc control is supported
Currently, policy mgr table entries correspond to NAN/NDI are
updated only if nan_dbs is supported. Update/access the
policy mgr table even when nan_conc_control is supported by host.
This allows the host to take care of NAN cuncurrencies through
policy mgr on the non-DBS platforms.
Process NAN enable request in host if nan_conc_control is
supported, which updates the NAN entry to policy mgr table.

Change-Id: Id6e58a9bfde6ceb66a8a0b33136880f75e36090f
CRs-Fixed: 2729995
2020-07-12 07:31:19 -07:00
Srinivas Dasari
c6551b04b0 qcacld-3.0: Add NAN/NDI entries to non-dbs pcl table
Currently, non-dbs pcl tables don't have entries for
NAN/NDI when the target doesn't support DBS. Firmware takes care
of the NAN concurrencies in such targets.
But host has to take care of the NAN concurrencies when firmware
allows host to do so through WMI_SERVICE_NAN_DISABLE_SUPPORT.
So add entries in non-dbs pcl table to allow/block different
concurrencies in host.

Change-Id: I0c4c59065a2fbc3beae13b1217673e8290c1baa8
CRs-Fixed: 2729992
2020-07-12 07:31:16 -07:00
nshrivas
f9a9536cfd Release 5.2.0.193U
Release 5.2.0.193U

Change-Id: I83572c4f2a35aa817d52a7af069ffafabd61451a
CRs-Fixed: 774533
2020-07-12 05:17:18 -07:00
Abhishek Ambure
5e1f7ea5d6 qcacld-3.0: Update self RSN caps to FW in RSO update/start cmd
Present source of self RSN capability to copy in RSO command i.e
csr_roam_session's rsn_cap is zero, A new capability OCVC (Operating
Channel Validation Capable) bit is in RSN capabilities. FW enables
OCV feature only if STA and AP both supports it.
Hence update self RSN capability to FW in RSO start/update command.

Change-Id: I1db500142560ec64a24ffab0c414c0c2b733e454
CRs-Fixed: 2721095
2020-07-12 05:17:18 -07:00
nshrivas
0fa1b6629f Release 5.2.0.193U
Release 5.2.0.193U

Change-Id: I2e94c9b9d9569fd3bc15da82e4d74cec41bd5b0c
CRs-Fixed: 774533
2020-07-12 01:49:28 -07:00
Mohit Khanna
114f32b925 qcacld-3.0: Add P2P UDP/TCP checksum offload INI entry
Add support to enable disable TCP/UDP checksum offload for P2p modes.

CRs-Fixed: 2725394
Change-Id: Ib09ef7a0f118d181f4d358857eb960ee41af9e54
2020-07-12 01:49:28 -07:00
nshrivas
5e82bbc32c Release 5.2.0.193T
Release 5.2.0.193T

Change-Id: I8f96c2323309d2942bbbf10e402981630c8b8d95
CRs-Fixed: 774533
2020-07-11 22:39:34 -07:00
Srinivas Dasari
b63d131e44 qcacld-3.0: Change uint8_t to qdf_freq_t to hold NAN frequency
Currently, SAP has to be moved to NAN channel once NAN enable is
successful. The frequency is copied to a uint8_t variable but
it can't hold the frequency as the value would be more than 2412.
It was initially declared to hold channel number. Change the
variable to qdf_freq_t to hold the frequency.
Also, move the SAP to NAN 2.4GHz channel in non-DBS platforms.

Change-Id: I27186c3a5915db549336537702287ee67cdce011
CRs-Fixed: 2729991
2020-07-11 22:39:34 -07:00
Srinivas Dasari
8e493f081d qcacld-3.0: Handle SAP+NAN concurrency when NAN_DBS isn't supported
When nan_sap and nan_disable are supported but nan_dbs is not
supported,
1. Allow SAP+NAN concurrency if force SCC is supported
2. Disable NAN if SAP comes up on a different band and force SCC is
   not supported
3. Reject NAN enable if SAP is already on a different band and force SCC is
   not supported

Change-Id: Ic53eedcda2e5b314f9be2a4bd913d5e63f6613a2
CRs-Fixed: 2729986
2020-07-11 22:39:29 -07:00
nshrivas
63028f5fd7 Release 5.2.0.193S
Release 5.2.0.193S

Change-Id: I163a507748f094f0f45799e87e5c7e6acea0748f
CRs-Fixed: 774533
2020-07-11 20:32:22 -07:00
Srinivas Dasari
d296457502 qcacld-3.0: Rename nan_disable_support to nan_conc_controlled_by_host
nan_disable_support is the firmware capability to allow host to
disable NAN. So that host can disable NAN in any unsupported
concurrencies. This was actually introduced to handle
NAN concurrencies. Rename the capability flag and corresponding
APIs across host driver to resemble the functionality.

Change-Id: I24805194fdb855040bcc518acc96459ee7cb5128
CRs-Fixed: 2729984
2020-07-11 20:32:22 -07:00
nshrivas
64664352f2 Release 5.2.0.193R
Release 5.2.0.193R

Change-Id: Iea291b46f09a8e7ab52316360246978ca43e0f41
CRs-Fixed: 774533
2020-07-11 11:37:20 -07:00
Abhishek Ambure
9ef1764a24 qcacld-3.0: Add support to get roam scan frequencies
For user request of get roam scan frequencies using vendor sub command
QCA_WLAN_VENDOR_ROAMING_SUBCMD_CONTROL_GET and vendor sub attribute
QCA_WLAN_VENDOR_ATTR_ROAMING_PARAM_CONTROL, host replies with list
of roam scan frequencies.

Change-Id: Ia63a5181e13541629a380dec9a032743d15add0c
CRs-Fixed: 2725834
2020-07-11 11:37:19 -07:00
nshrivas
0ebe9a3553 Release 5.2.0.193Q
Release 5.2.0.193Q

Change-Id: I4a720dfc5569bd76e0ad56cc2ac88543ce4ca622
CRs-Fixed: 774533
2020-07-10 21:55:45 -07:00
Aditya Kodukula
09d99afb7e qcacld-3.0: Fix a code comment in hdd_fill_rate_info
Fix a code comment in the function hdd_fill_rate_info

Change-Id: Ia906bc063cd2dfdd5a43a436b6fdb5a155bbc68a
CRs-Fixed: 2728716
2020-07-10 21:55:44 -07:00
nshrivas
683995bb10 Release 5.2.0.193P
Release 5.2.0.193P

Change-Id: Ic4deb468a6dd775b511f38c087f41022af68fcff
CRs-Fixed: 774533
2020-07-10 13:42:21 -07:00
Pragaspathi Thilagaraj
eb128b5dfe qcacld-3.0: Add roam offload state machine changes
Add changes to handle transition to the 2 new states:
1. Roaming in progress: Switch to this state when roam
start notification is received from firmware.
2. Roam Synch in progress: Switch to this from RSO
STARTED state if roam synch indication event is received
from firmware. Change to this state is also allowed in
RSO STOPPED state if supplicant disabled roaming on that
vdev - to allow roam invoke to be processed.

Also query the state machine to get the roaming status instead
of using discrete flags at various layers. Clean the redundant
roaming in progress, roam synch related flags.

Change-Id: Ide20a30d9d8c20a96d8bba70367b51b8643cae09
CRs-Fixed: 2725443
2020-07-10 13:42:21 -07:00
nshrivas
45d1a5e075 Release 5.2.0.193O
Release 5.2.0.193O

Change-Id: Ic672bda0883d7ed6f36614f54d8093b82ccf14a8
CRs-Fixed: 774533
2020-07-10 07:45:38 -07:00
Min Liu
6296d6d783 qcacld-3.0: Fix type mismatch in set wifi config PHY_MODE
Fix the type mismatch issue in set wifi config PHY_MODE and
refactor related APIs.

Change-Id: I2d84f144766126c54e2ed449d367316b65fc769c
CRs-Fixed: 2706050
2020-07-10 07:45:37 -07:00
Abhishek Ambure
7c07f228f6 qcacld-3.0: Add support of pmf comeback timer for SAE assoc retry
If STA DUT receives assoc response with assoc response status as
eSIR_MAC_TRY_AGAIN_LATER, host starts a pmf comeback timer to
send assoc request again on pmf comeback timer timeout.

Change-Id: Ifb28e44af86daef90db7146572cdfae26dfcaa20
CRs-Fixed: 2728459
2020-07-10 07:45:32 -07:00
nshrivas
91903a81ba Release 5.2.0.193N
Release 5.2.0.193N

Change-Id: I6f22c0cae4f2311ba74201ab76f66b7362dd47d4
CRs-Fixed: 774533
2020-07-10 05:38:45 -07:00
Wu Gao
7a5b681708 qcacld-3.0: Add wow support for TDLS
Prevent wow if TDLS is started, allow wow if TDLS link disabled. This
feature is enabled only if lithium plaform isn't drv supported.

Change-Id: Ie66d62cb139fe9a1d292925a78f2dd861f16ef69
CRs-Fixed: 2716922
2020-07-10 05:38:44 -07:00