Commit Graph

11899 Commits

Author SHA1 Message Date
jitiphil
0e3b592aed qcacld-3.0: Handle FW rejuvenate scenario
Upon driver reinitialize after a FW rejuvenate,
data packets are not going through IPA path.

Check for FW rejuvenate scenario during driver
recovery and send appropriate message to IPA
driver.

Change-Id: I8c1d7ba78227684cd5653a5927aa4d4c2ce5d354
Crs-Fixed: 2287293
2018-10-04 08:13:09 -07:00
nshrivas
c52f4733a9 Release 5.2.0.99W
Release 5.2.0.99W

Change-Id: I64cadd381e63ef73b00f59e228d722d28550151f
CRs-Fixed: 774533
2018-10-04 06:19:29 -07:00
Vignesh Viswanathan
a851d75505 qcacld-3.0: Update multiple generic INI items using MLME CFG [Part 1]
Replace usage of the below INI Items using MLME CFG instead of HDD config.

gPreventLinkDown
gSelect5GHzMargin
gEnableMemDeepSleep
gEnableCckTxFirOverride
gEnableForceTargetAssert
gEnableLpassSupport

Change-Id: Ib89272c7898db8d0c70a60640e00ca9364a9db74
CRs-Fixed: 2327025
2018-10-04 06:19:29 -07:00
Vignesh Viswanathan
f97cc11a70 qcacld-3.0: Update band_capability INI usage with MLME CFG
Replace all usage of band_capability INI from HDD config to MLME CFG

Change-Id: I406a8fb9965fe98a47cc6309d31f5bced529577b
CRs-Fixed: 2327023
2018-10-04 06:19:24 -07:00
nshrivas
c87c925a4e Release 5.2.0.99V
Release 5.2.0.99V

Change-Id: I1e19b80c7979dd63d7539909b291999f51c50aea
CRs-Fixed: 774533
2018-10-04 03:36:46 -07:00
Sourav Mohapatra
0f3b857e8c qcacld-3.0: Add FW offload INI items (2)
Add the following fw param ini items to the fw offload component

CFG_ENABLE_SMART_CHAINMASK - gEnableSmartChainmask
CFG_ENABLE_FW_RTS_PROFILE - gEnableRTSProfiles
CFG_ENABLE_FW_DEBUG_LOG_LEVEL - gFwDebugLogLevel
CFG_ENABLE_FW_LOG_TYPE - gFwDebugLogType
CFG_RA_FILTER_ENABLE - gRAFilterEnable
CFG_SET_TSF_GPIO_PIN - gtsf_gpio_pin
CFG_DHCP_SERVER_OFFLOAD_SUPPORT - gEnableDeauthToDisassocMap
CFG_DHCP_SERVER_OFFLOAD_NUM_CLIENT - gDHCPMaxNumClients

Change-Id: I296e095cf2a7b83856e1ab777c7dbdcc005ee96a
CRs-Fixed: 2316269
2018-10-04 03:36:45 -07:00
Alok Kumar
a8331e06b2 qcacld-3.0: Enabling METERING Feature for Talos
Enable CONFIG_QCACLD_FEATURE_METERING Feature for Talos
in default_defconfig

Change-Id: Ia67b60efdde435b7d5b2e96e95aa53a2191f9aca
CRs-Fixed: 2326805
2018-10-04 03:36:41 -07:00
nshrivas
2d3a49df2e Release 5.2.0.99U
Release 5.2.0.99U

Change-Id: I91ba7f20727174d2f3dc1f2a6667d10c0cbdb00b
CRs-Fixed: 774533
2018-10-04 01:51:49 -07:00
Alok Kumar
b027702ffe qcacld-3.0: Remove excessive logging during NUD Tracking
Remove excessive logging during NUD Tracking in soft_irq context.

Change-Id: I2dd56ee6356bdcabf3e54facf378699d0d842cee
CRs-Fixed: 2326807
2018-10-04 01:51:49 -07:00
nshrivas
f7d7c9e4e4 Release 5.2.0.99T
Release 5.2.0.99T

Change-Id: I06d1e2f5a1428e2946df05e74595ab5a6efd6ab8
CRs-Fixed: 774533
2018-10-03 23:58:01 -07:00
Abhinav Kumar
18b45cd8f3 qcacld-3.0: ADD MLME INI items of WMM AC_VO
Add the following WMM AC VO ini configs to MLME cfg:
1. CFG_QOS_WMM_INFRA_DIR_AC_VO_NAME
2. CFG_QOS_WMM_INFRA_NOM_MSDU_SIZE_AC_VO_NAME
3. CFG_QOS_WMM_INFRA_MEAN_DATA_RATE_AC_VO_NAME
4. CFG_QOS_WMM_INFRA_MIN_PHY_RATE_AC_VO_NAME
5. CFG_QOS_WMM_INFRA_SBA_AC_VO_NAME
6. CFG_QOS_WMM_INFRA_UAPSD_VO_SRV_INTV_NAME
7. CFG_QOS_WMM_INFRA_UAPSD_VO_SUS_INTV_NAME

Introduce the basic infra APIs related to these configs
from mlme.

Change-Id: I402ff46aad528d7c4bbaa794b6fba498439f8e97
CRs-Fixed: 2327048
2018-10-03 23:58:00 -07:00
Pragaspathi Thilagaraj
ec7dc2502a qcacld-3.0: ADD MLME CFG items of WMM CFG Items
Add the following WMM CFG items to MLME cfg Items:
1. WNI_CFG_QOS_ENABLED
2. WNI_CFG_WME_ENABLED
3. WNI_CFG_MAX_SP_LENGTH
4. WNI_CFG_WSM_ENABLED
5. WNI_CFG_EDCA_PROFILE

Deleted following WMM CFG Items:
1. WNI_CFG_ADMIT_POLICY
2. WNI_CFG_ADMIT_BWFACTOR

Change-Id: I16f9c5a71d1e8fe7cb1b029e3ec7ec2159bdd5b4
CRs-Fixed: 2304998
2018-10-03 23:57:57 -07:00
nshrivas
e03a1e0c7f Release 5.2.0.99S
Release 5.2.0.99S

Change-Id: I5c4dd40d64df1c51b64599860e9ab19028d1e398
CRs-Fixed: 774533
2018-10-03 20:24:13 -07:00
Vignesh Viswanathan
7db3b04cd9 qcacld-3.0: Add MLME Generic CFG Items
Add multiple general INI Items to the MLME CFG Component.

Change-Id: I0d5368ec82c8b19e477e80c71dd8d4524a9726b4
CRs-Fixed: 2326704
2018-10-03 20:24:12 -07:00
nshrivas
bdcea00497 Release 5.2.0.99R
Release 5.2.0.99R

Change-Id: I5d7e52597fde8e4774c7ad115360da8510a09a09
CRs-Fixed: 774533
2018-10-03 18:37:26 -07:00
Yuanyuan Liu
dfb40924f5 qcacld-3.0: add check for qdf_ctx
Add NULL check for qdf_ctx to avoid dereference.

Change-Id: I75f5f2baafdf6b9c1a7587a3d17934c9246acccd
CRs-Fixed: 2326306
2018-10-03 18:37:25 -07:00
Amar Singhal
dc5ae4d501 qcacld-3.0: Rate limit mgmt frame error messages
Mgmt frame error messages can occur quite frequently.
Therefore rate limit them.

Change-Id: I7c42f012c4de3b49120eeedaf83b70c509fa7669
CRs-Fixed: 2326360
2018-10-03 18:37:22 -07:00
nshrivas
b646d7b593 Release 5.2.0.99Q
Release 5.2.0.99Q

Change-Id: I1bc9b656f8c14116058b6cb289ec1bbd13730d71
CRs-Fixed: 774533
2018-10-03 16:05:25 -07:00
Manjunathappa Prakash
f1e2d4aeef qcacld-3.0: Remove per packet debug log hdd_inspect_dhcp_packet
SAP Rx per packet log flooding the cnss_diag log.

Change-Id: I07e954f5e6361c5a1b63e70dd76634bbb8842bc9
CRs-Fixed: 2326505
2018-10-03 16:05:24 -07:00
Sandeep Puligilla
2a7fa8478b qcacld-3.0: Add support for connection failure
Add vdev manager support for connection failure

Change-Id: I996e2bd14c7693793178edffa83d704a57580d93
CRs-Fixed: 2326164
2018-10-03 16:05:20 -07:00
nshrivas
187b846f26 Release 5.2.0.99P
Release 5.2.0.99P

Change-Id: I102bdfe76c69c18884816bf30f9680fac72e2d5c
CRs-Fixed: 774533
2018-10-03 11:47:58 -07:00
Sourav Mohapatra
d9387d8a67 qcacld-3.0: Add FW offload INI items (1)
Relocate the following ini items to the FW offload component.

CFG_ENABLE_ANI - gEnableANI
CFG_SET_RTS_FOR_SIFS_BURSTING - gSetRTSForSIFSBursting
CFG_MAX_MPDUS_IN_AMPDU - gMaxMPDUsInAMPDU
CFG_ARP_AC_CATEGORY - arp_ac_category
CFG_ENABLE_PHY_REG - gEnableFastPwrTransition
CFG_UPPER_BRSSI_THRESH - gUpperBrssiThresh
CFG_LOWER_BRSSI_THRESH - gLowerBrssiThresh
CFG_DTIM_1CHRX_ENABLE - gDtim1ChRxEnable
CFG_ENABLE_COEX_ALT_CHAINMASK - gEnableAlternativeChainmask

Change-Id: I5046edec1a668e198ed4fcc997a0d24affe342ea
CRs-Fixed: 2312897
2018-10-03 11:47:57 -07:00
nshrivas
fa51e2671e Release 5.2.0.99O
Release 5.2.0.99O

Change-Id: I8cbce00b2475448a25de78d3c37481e835d72502
CRs-Fixed: 774533
2018-10-03 07:00:23 -07:00
Abhinav Kumar
c1c266b7e7 qcacld-3.0: Add MLME CFG items and APIs for VHT
Add the basic infra for MLME CFG items and the APIs to be used from
other components for VHT - Part-1.

Change-Id: Ie74bfd42ed3d34cc218f20ee3f9d81dc6af02172
CRs-Fixed: 2322300
2018-10-03 07:00:22 -07:00
nshrivas
b749451d40 Release 5.2.0.99N
Release 5.2.0.99N

Change-Id: I51a569a81a3ca8d883e9628cf618ff0fc00e2a16
CRs-Fixed: 774533
2018-10-03 00:29:17 -07:00
Alok Kumar
5011ee6eb3 qcacld-3.0: Stop bus_bw timer for eSAP_STOP_BSS_EVENT
Driver unload called as part of "rmmod" which reports bug_on
in hdd_bus_bandwidth_deinit as bus_bw timer still running.
Bus_bw timer is not stopped when rmmod is issued if SAP is
enabled and any STA is connected to SAP.

Stop the bus_bw timer during unload for eSAP_STOP_BSS_EVENT

Change-Id: I0ed8309f25b85ebf8ca1e115cbd7aa1c931571ff
CRs-Fixed: 2323641
2018-10-03 00:29:16 -07:00
nshrivas
18849867d2 Release 5.2.0.99M
Release 5.2.0.99M

Change-Id: I6a4af675dc5f8f75c0852a53bd9758cced4c32c6
CRs-Fixed: 774533
2018-10-02 19:03:24 -07:00
Rajeev Kumar
3872a5bcc5 qcacld-3.0: Rate limit error log in nan and ndp request handler
Rate limit error log in nan and ndp request handler to avoid
excessive console logging.

Change-Id: I9e9bb7185a77533b03e8a17d64c17371770b9b52
CRs-Fixed: 2326275
2018-10-02 19:03:23 -07:00
nshrivas
b5ead51ea2 Release 5.2.0.99L
Release 5.2.0.99L

Change-Id: Ia64fe7dc99a301d36780c23c917ffb500808645a
CRs-Fixed: 774533
2018-10-02 17:19:10 -07:00
Arif Hussain
43e09718aa qcacld-3.0: Refactor TIMEOUT cfgs
Refactor following cfg items
CFG_AUTH_FAILURE_TIMEOUT
CFG_AUTH_RSP_TIMEOUT
CFG_ASSOC_FAILURE_TIMEOUT
CFG_REASSOC_FAILURE_TIMEOUT
CFG_PROBE_AFTER_HB_FAIL_TIMEOUT
CFG_OLBC_DETECT_TIMEOUT
CFG_ADDTS_RSP_TIMEOUT
CFG_HEART_BEAT_THRESHOLD
CFG_AP_KEEP_ALIVE_TIMEOUT
CFG_AP_LINK_MONITOR_TIMEOUT
CFG_PS_DATA_INACTIVITY_TIMEOUT

Change-Id: I616b1671809c377d6ea738c899b31ec0d8f5adfc
CRs-Fixed: 2313427
2018-10-02 17:19:09 -07:00
Arif Hussain
9f93a64d62 qcacld-3.0: Refactor CFG_JOIN_FAILURE_TIMEOUT cfg
Refactor CFG_JOIN_FAILURE_TIMEOUT cfg item.

Change-Id: If1b00e47500a354e80ed7dfbf547a4ac2be73a50
CRs-Fixed: 2313427
2018-10-02 17:19:06 -07:00
Liangwei Dong
3fb0016526 qcacld-3.0: Check and skip Radar event for SAP
Use the new API wlan_reg_chan_has_dfs_attribute
to check dfs channel or not. The old API may return
CHANNEL_STATE_DISABLE if the dfs chan is added to
NOL.
If SAP is not on dfs channel, skip the Radar event
process.

Change-Id: Ie5c87e6fa416658df64da54c276fb87f23ed7efb
CRs-Fixed: 2324649
2018-10-02 17:19:02 -07:00
nshrivas
c0c915d060 Release 5.2.0.99K
Release 5.2.0.99K

Change-Id: I875cd3a88cf1ad972c4e182a53d85b5a57608a64
CRs-Fixed: 774533
2018-10-02 13:48:25 -07:00
Kiran Kumar Lokere
3aad079e16 qcacld-3.0: Fix the compilation issue
Fix the compilation issue with log message.

Change-Id: I5007d44c64a76f424bb8deccba7379813c00697c
CRs-Fixed: 2321454
2018-10-02 13:48:25 -07:00
nshrivas
bd455a060a Release 5.2.0.99J
Release 5.2.0.99J

Change-Id: I09d66b0429525a7c9b87bbca601673eec6625e0b
CRs-Fixed: 774533
2018-10-02 12:07:59 -07:00
Dustin Brown
7cc1f4cd0f qcacld-3.0: Succeed when offload config is disabled
PMO returns failure codes for enable/disable of NS and MC List offloads
when their respective configurations are disabled. As this is expected
behavior, return success instead.

Change-Id: I91b00da9b4026f5975c14f5889cd913b13e1347b
CRs-Fixed: 2323312
2018-10-02 12:07:58 -07:00
nshrivas
deff2eb723 Release 5.2.0.99I
Release 5.2.0.99I

Change-Id: I38bfc8c18a17a1e55a90b166f57b1cacf6fbd69a
CRs-Fixed: 774533
2018-10-02 02:31:27 -07:00
Harprit Chhabada
1eeeb8dd85 qcacld-3.0: Add ACS CFG/INI items to MLME component
Add following CFG items to mlme component

1.CFG_ACS_WITH_MORE_PARAM_NAME
2.CFG_AUTO_CHANNEL_SELECT_WEIGHT
3.CFG_USER_AUTO_CHANNEL_SELECTION
4.CFG_USER_ACS_DFS_LTE
5.CFG_EXTERNAL_ACS_POLICY

Change-Id: If31451c2141ec6c30d5590f92a0b36253eaa5c46
CRS-Fixed: 2315978
2018-10-02 02:31:26 -07:00
nshrivas
5c84b68774 Release 5.2.0.99H
Release 5.2.0.99H

Change-Id: I729ec2a5e000f2aae5c9ed6b698fdde18767635e
CRs-Fixed: 774533
2018-10-02 00:46:48 -07:00
Sourav Mohapatra
e4c531f3d1 qcacld-3.0: Update default value of gReportMaxLinkSpeed to 0
Presently the ini gReportMaxLinkSpeed has the default value as 2 that
gives the scaled rate to the userspace instead of actual rate. As the
userspace needs the actual rates, this causes a mismatch.

Configure the value of gReportMaxLinkSpeed to 0 so as to send the actual
rates to the userspace.

Change-Id: Ieaa828d1aabaf099c74a9d5093f5d6fab5da01b5
CRs-Fixed: 2317661
2018-10-02 00:46:48 -07:00
Pragaspathi Thilagaraj
a19068f611 qcacld-3.0: Fix default ini value of gAutoBmpsTimerValue
When BMPS is already enabled and we have entered the WOW mode,
we start detecting the AP behavior , where the AP
continuously sets the TIM bit and because of which we don’t go
to PM1 mode after waking UP.

With the current ini value, we don't go to sleep for 30 secs,
which should be updated to 90secs.

Change-Id: I3b551011e90761f1dc13197a4795972f495853a6
CRs-Fixed: 2306266
2018-10-02 00:46:44 -07:00
nshrivas
66a890e1ea Release 5.2.0.99G
Release 5.2.0.99G

Change-Id: Ia1fe49993c58c73830dc421aa77a0ea15e75ab6e
CRs-Fixed: 774533
2018-10-01 18:38:14 -07:00
Tushnim Bhattacharyya
1fdefe5a8b qcacld-3.0: Set the default value 0 for early scan stop feature
gEnableEarlyStopScan is for early stop feature. Since it’s based
on rssi only, make the default value 0 on score enabled code
base.

Change-Id: Ie0e0483359d5a7e2cc969001af03500c9e8209c6
CRs-Fixed: 2311372
2018-10-01 18:38:14 -07:00
Wu Gao
66454f118f qcacld-3.0: Apply PMO configures
Since refined PMO configures based on converged cfg component, apply
PMO configurations, remove related legacy codes.

Change-Id: I2cdf18c1000d8cc923c80c00bf530b2b0c60563e
CRs-Fixed: 2322185
2018-10-01 18:38:10 -07:00
Wu Gao
87bfd3520c qcacld-3.0: Refine PMO configures based on converged cfg component
Based on cfg component, define PMO configures and add APIs to get or
set configures.

Change-Id: I9b9ff1f8701168787985cbcb219361a3f63c787f
CRs-Fixed: 2322176
2018-10-01 18:38:06 -07:00
nshrivas
d4cb57d17b Release 5.2.0.99F
Release 5.2.0.99F

Change-Id: Ifae70a214712ecc843dcb44d1971bd1c85520851
CRs-Fixed: 774533
2018-10-01 14:59:41 -07:00
Rajeev Kumar
9f46158146 qcacld-3.0: Resume wlan threads during shutdown before adapter reset
Resume wlan threads during wlan shutdown process before adapter reset
because adapter reset triggers vdev destroy and vdev destroy sends
del sta self message to lower layers and in absence of wlan threads
this message will not be processed leading to timeout and vdev peer
object leak. Hence add fix to make sure wlan threads are resumed
before resetting adapters during wlan shutdown process.

Change-Id: Idc31b7e41e5d9734b5f6b96fba24948dbfb45c3d
CRs-Fixed: 2321503
2018-10-01 14:59:40 -07:00
nshrivas
01a3ac0e52 Release 5.2.0.99E
Release 5.2.0.99E

Change-Id: I48e91b454b8ae137388685877d8fc7fefc1dffce
CRs-Fixed: 774533
2018-10-01 13:24:36 -07:00
Abhishek Singh
ee5c9a3851 qcacld-3.0: Fix handling of QOS action frame
QOS action frame is not handled and thus HDD's dscp mapping
are not updated.

Update the HDD's dscp mapping properly once hdd receive
QOS action frame.

Change-Id: I04ba9882767918cfb0c551791783f2b7eac998d5
CRs-Fixed: 2325729
2018-10-01 13:24:35 -07:00
Alok Kumar
9b13327cfb qcacld-3.0: Remove console logging for ol_txrx_peer_get_ref
In ol_txrx_peer_get_ref(), console logging is done after holding
spin lock which leads to spinlock lockup.

Avoid excess logging into console while holding spin lock.

Change-Id: Iae4fa6006358e26796ae2c262aca01bec7eacd21
CRs-Fixed: 2325704
2018-10-01 13:24:32 -07:00