Commit Graph

11120 Commits

Author SHA1 Message Date
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
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
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
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
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
nshrivas
44b0d24014 Release 5.2.0.99D
Release 5.2.0.99D

Change-Id: I6c9faceba0aa589998bae51895f08982238f26a3
CRs-Fixed: 774533
2018-10-01 11:36:27 -07:00
Pragaspathi Thilagaraj
da3b5e21eb qcacld-3.0: Remove legacy WEP CFG definitions
Remove the legacy definitions that are related to the WEP
cfg.
Move them to mlme component

Change-Id: Ibcec8adf15123d12ad7c2eb6ed770b44a093673a
CRs-Fixed: 2324046
2018-10-01 11:36:26 -07:00
nshrivas
7e3322f50d Release 5.2.0.99C
Release 5.2.0.99C

Change-Id: I46a896920304c42580185c4063b93b0f19aeddc2
CRs-Fixed: 774533
2018-10-01 09:48:46 -07:00
Vignesh Viswanathan
79f7e3f682 qcacld-3.0: Move sme_is_conn_state_connected outside ifdef
sme_is_conn_state_connected API is incorrectly places inside
FEATURE_BSS_TRANSITION ifdef causing compilation failure if the
flag FEATURE_BSS_TRANSITION is disabled.

Move sme_is_conn_state_connected outside of FEATURE_BSS_TRANSITION.

Change-Id: I3563d1e24f48990b0e16919a5ddaa9ed71bd53ac
CRs-Fixed: 2325332
2018-10-01 09:48:45 -07:00
gaurank kathpalia
d001f985d2 qcacld-3.0: Add check for num_peers in wma_ibss_peer_info_event_handler
in wma_ibss_peer_info_event_handler, the driver has a upper
bound check on num_peers and not a lower bound check.
the num_peers should be a positive value.
Since there is no check to see if num_peers is set to 0,
this check can underflow and result in multiple OOB writes
once the loop has incremented more than 32 times.

Fix is to check whether num_peers is a positive value,
and return if not found true.

Change-Id: I599151cc6720ed931142ad6a519add6957fea467
CRs-Fixed: 2324139
2018-10-01 09:48:40 -07:00
Sandeep Puligilla
30bb8407cd qcacld-3.0: Add VDEV state machine for STA disconnection
Add support for VDEV state machine support
for STA disconnection

Change-Id: Iee7274fbc8ae985d034a29f920faa38aab68ccc7
CRs-Fixed: 2322539
2018-10-01 09:48:36 -07:00
nshrivas
bfdca56d3d Release 5.2.0.99B
Release 5.2.0.99B

Change-Id: Icaedb24971873fe3d3847492ee56a1db9ac7ef75
CRs-Fixed: 774533
2018-10-01 08:04:45 -07:00
Pragaspathi Thilagaraj
3551caa95b qcacld-3.0: Fix error handling in eWNI_SME_ADD_STA_SELF_RSP
When peer creation fails in wma_create_peer, vdev delete is sent
to the fw and then eWNI_SME_ADD_STA_SELF_RSP is sent to sme.
Here three error cases needs to be handled:
1. The vdev deletion has happened, but the cdp_detach_peer is
not done. So the data path peer remains. Also the vdev_active
flag that was set after vdev creation was not unset.
2. The eWNI_SME_ADD_STA_SELF_RSP msg handler
csr_process_add_sta_session_rsp invokes csr_roam_session_opened
which signals HDD that vdev is created successfully and hdd
calls hdd_vdev_ready and vdev related parameter set commands are
sent to FW for the deleted vdev.
3. Vdev delete is not sent for objmgr peer creation failure in
case of VDEV_TYPE_STA and release vdev object ref count.

Add cdp_vdev_detach() calls during error case and set the
vdev_active flag to false. Handle releasing vdev object ref
count in all needed error case flows.
Propagate the error in wma_vdev_attach() through
csr_roam_session_opened() to HDD and abort the vdev create.

Change-Id: Iec97122d011098fae7ae2a59864fbe8ca8a0980e
CRs-Fixed: 2322212
2018-10-01 09:24:20 +05:30
nshrivas
b54949b2a0 Release 5.2.0.99A
Release 5.2.0.99A

Change-Id: I2f9f3fb66d8cd5cbc290b0ebcd562ba16d0e192e
CRs-Fixed: 774533
2018-09-30 00:45:02 -07:00
Jiachao Wu
3304d6b55a qcacld-3.0: Refine mlme product details configures
Refine mlme product details configures based on converged cfg component.
Remove related legacy codes.

Change-Id: I87ca037ac5c8e6c7cd166a2de17319a9a367fc7c
CRs-Fixed: 2304075
2018-09-30 08:53:46 +08:00
nshrivas
d438427e73 Release 5.2.0.99
Release 5.2.0.99

Change-Id: I069ca2b621723dee80424c5f140c1ce4b21b2569
CRs-Fixed: 774533
2018-09-29 01:43:01 -07:00
Jianmin Zhu
82a69bf343 qcacld-3.0: Release cmd before qdf_session_close_event completed
Need release cmd e_sme_command_del_sta_session before
hdd_sme_close_session_callback.
hdd_sme_close_session_callback will call
qdf_event_set(&adapter->qdf_session_close_event),
hdd_vdev_destroy will destroy vdev after qdf_session_close_event
completed, while csr_release_command will still access vdev.

Change-Id: Idc581bdd4f1d63b4903ee802326474ba83d528e5
CRs-Fixed: 2324616
2018-09-29 01:43:00 -07:00
nshrivas
388d7efe9d Release 5.2.0.98Z
Release 5.2.0.98Z

Change-Id: I3155e9a01b1ad5e29fc9f5732f6f4345d2763377
CRs-Fixed: 774533
2018-09-28 23:38:44 -07:00
Rajeev Kumar
eb6ec172d7 qcacld-3.0: Reduce excessive console logging from chan info cb
wlan_hdd_chan_info_cb is using info log level to log debug
message and its leading to excessive console logging since
info logs are logged on console. Reduce the log level to
avoid excessive console logging.

Change-Id: I79f67aec5c223126a0de74965336048dc7d4a547
CRs-Fixed: 2323586
2018-09-28 23:38:44 -07:00
nshrivas
86134e02ec Release 5.2.0.98Y
Release 5.2.0.98Y

Change-Id: Ic5d4f8791b639dd91644837e982d6b3a1f224c62
CRs-Fixed: 774533
2018-09-28 21:33:51 -07:00
Will Huang
7b39e19a60 qcacld-3.0: Remove reachable QDF_BUG(0) in wma_vdev_start_resp_handler
While handling the WMI_VDEV_START_RESP_EVENTID WMI FW event a reachable
QDF_BUG() can occur, because the message coming from out is not
reliable.

Change-Id: I9a142152a5d65e8fa25590eac1bc63279a1de4ba
CRs-Fixed: 2321490
2018-09-28 21:33:51 -07:00
nshrivas
a7ec45d54e Release 5.2.0.98X
Release 5.2.0.98X

Change-Id: Ic27afc64d43677498068f9db8171656d9e6c37f3
CRs-Fixed: 774533
2018-09-28 19:01:43 -07:00
Pragaspathi Thilagaraj
f445a4badf qcacld-3.0: Remove legacy call to cds_is_target_ready
When wma_create_peer is called, driver checks for
cds_is_target_ready and the macro CDS_DRIVER_STATE_FW_READY is
unset during the wlan_hdd_pld_uevent. This results in race
condition where the wma_peer_create fails due to
cds_is_target_ready() failure and wma_vdev_delete is sent from
wma_vdev_attach. In wmi_stopinprogress is set when firmware is
down. But this is set only after a small delay and the vdev
commands reach the fw, which results in a race condition.

Remove the cds_is_target_ready() call from wma_create_peer.
Place the call to wma_wmi_stop() to set the wmi_stopinprogress
flag immediately after the wlan_hdd_pld_uevent is received.

Change-Id: Iea53931771afd93ffaeabf704bbaffcf2460284f
CRs-Fixed: 2320538
2018-09-28 19:01:42 -07:00
Harprit Chhabada
bec6de418b qcacld-3.0: Add CFG/INI items to mlme component
Add following mlme CFG items to mlme component

1.CFG_RTS_THRESHOLD
2.CFG_FRAGMENTATION_THRESHOLD

Change-Id: I07b5dcffe8d3d03fa2cbecc7be563c407dc4d61e
CRs-Fixed: 2313600
2018-09-28 19:01:39 -07:00
Ashish Kumar Dhanotiya
cd311c87fc qcacld-3.0: Update correct PHY mode while processing ch_info_req
Currently PHY mode is not getting updated and it is being set as
0, which is resulting in an invalid channel setting to FW
for LOWI.

To address this issue update the PHY mode correctly.

Change-Id: I1f650268e2ba1814a435994d558b4b68030eb8c1
CRs-Fixed: 2318551
2018-09-28 19:01:35 -07:00
Varun Reddy Yeturu
1f10370d1b qcacld-3.0: Fix unsafe pointer dereference in TWT enable event handler
Fix MAC context NULL pointer dereference in
wma_twt_en_complete_event_handler().

Change-Id: I4b8454032bf44827b174d131145b849935a8a5c4
CRs-Fixed: 2323570
2018-09-28 19:01:31 -07:00
nshrivas
118acc4c33 Release 5.2.0.98W
Release 5.2.0.98W

Change-Id: If07e1980d1973805b5c300c6bb4e8e5095417ba9
CRs-Fixed: 774533
2018-09-28 14:29:21 -07:00
Amar Singhal
27be4442e1 qcacld-3.0: Do not use pointer for regulatory data
Regulatory data can change without notice due to various conditions in the
WLAN sub-system. Therefore, to protect integrity of regulatory data,
always use a copy of the data.

Change-Id: If2c5c45c421e7a88285d72ea94d9ad172d22fb7e
CRs-Fixed: 2321516
2018-09-28 14:29:20 -07:00
Vignesh Viswanathan
1824d50480 qcacld-3.0: Do not limit the number of scan results to 4 for Beacon Report
Currently the number of scan entries populated from the scan results
of RRM issued scan for beacon report is limited to 4 entries in
sme_rrm_send_scan_result API. This is inspite of the fact that the
API sme_rrm_send_beacon_report_xmit_ind can handle more than 4 results
and will do the fragmentation of 4 results per frame before sending
it to the RRM.

Remove the limit of 4 entries in sme_rrm_send_scan_result and send
all the valid scan result entries to RRM.

Change-Id: I32448616a9e5f19ee816d60db8fef6e6c2f8908b
CRs-Fixed: 2321077
2018-09-28 14:29:16 -07:00
nshrivas
a6dc6e9ac1 Release 5.2.0.98V
Release 5.2.0.98V

Change-Id: I70e7beec9dafa50d6e2ddaa6a94cf3cef1d4dd9f
CRs-Fixed: 774533
2018-09-28 09:06:24 -07:00
Alok Kumar
0d1acac6bf qcacld-3.0: Unpause the Priority Queue for deficient pools
Priority Queue gets paused due to descriptor deficiency which
needs to be unpaused after distributing descriptors from a
source pool to deficient pool.

Unpause the Priority Queue of deficient pool when avail->desc
count is more than start_th.

Change-Id: Ia91fdd0ac39bf8a4ac42dafa42d346993bf6a38e
CRs-Fixed: 2318031
2018-09-28 09:06:20 -07:00
nshrivas
21d8f4f48f Release 5.2.0.98U
Release 5.2.0.98U

Change-Id: I68016a5716568c82162f2afcbb9860f04f062ce6
CRs-Fixed: 774533
2018-09-28 01:21:16 -07:00
Vignesh Viswanathan
7c43a7a55f qcacld-3.0: Check SME connection status before issuing reassoc
Currently when the supplicant sends a connect with bssid_hint and
prev_bssid, driver issues a roam_invoke (fast reassoc) command to the
FW. However, when this connect is received in the supplicant context
and if the driver is currently processing a disassoc/deauth from the
AP in the mc thread, then the CSR roam connection state would not be
associated but the HDD STA context connection state would still be
associated. In this scenario, since the disconnection is in progress
and VDEV Down might already be sent to the FW, the roam_invoke command
is ignored and FW does not send any response. However the driver
assumes that roaming is in progress and blocks all incoming scan/
connect requests from supplicant leading to a state where no further
connections can go through.

In hdd_reassoc, check the CSR Connection state also to check if
the current state is associated and then issue roam_invoke to FW.

Change-Id: I321e99b060d6ce22517a3dd604b0f4d08dd5918d
CRs-Fixed: 2319641
2018-09-28 01:21:15 -07:00
Abhishek Singh
8e913fa1ec qcacld-3.0: Handle channel switch failure in START_RESTART_PROGRESS
During CAC wait if radar indication is found, SAP try to switch to
new channel. If this channel switch fails, SAP is stopped
internally.

This stopped indication is not handled if VDEV state is
START_RESTART_PROGRESS and thus vdev down is not sent to vdev FSM.

Handle SAP stop in START_RESTART_PROGRESS vdev state.

Change-Id: I92e48cc9a85249c88315fbb09fe1a61bd07983fd
CRs-Fixed: 2322996
2018-09-28 01:21:11 -07:00
nshrivas
42900d5081 Release 5.2.0.98T
Release 5.2.0.98T

Change-Id: Ic3ac46cbcee198f0ad277d5c78aeb8a969f78cd9
CRs-Fixed: 774533
2018-09-27 23:41:50 -07:00
Dundi Raviteja
85a240a6c0 qcacld-3.0: Relocate IE whitelist cfg items
Relocate IE whitelist config items to FW offload component.

Change-Id: Idcb665f4d6069c0723b0a8ae17e54d8cbe71239d
CRs-Fixed: 2316597
2018-09-27 23:41:49 -07:00
nshrivas
e18038af1c Release 5.2.0.98S
Release 5.2.0.98S

Change-Id: Ie028a078d606b42b9e78574a1cacea7a8f6052ec
CRs-Fixed: 774533
2018-09-27 20:24:25 -07:00
Rajeev Kumar
6c3db86e5b qcacld-3.0: Remove enter and exit logs from bus bw handler
HDD bus bandwidth handler runs every 100ms and enter, exit logs
at every 100 ms is over flowing driver log buffer hence remove
hdd_enter and hdd_exit logs from __hdd_bus_bw_work_handler.

Change-Id: Ia3a3163eebf442af7371bb0bcd09bccff1f199d9
CRs-Fixed: 2323286
2018-09-27 20:24:24 -07:00
Dundi Raviteja
fb9357aa38 qcacld-3.0: Create psoc in hdd_context_create just after cfg_parse
HDD config params are getting used before creating and storing psoc
in hdd context which may cause NULL pointer dereference of psoc.

To mitigate this create psoc and parse cfg ini params just after
cfg_parse() in hdd_context_create().

Change-Id: Ida2b81eef0ebbfba2749ca89b63980201830a5e2
CRs-Fixed: 2321959
2018-09-27 20:24:21 -07:00
Harprit Chhabada
1111aa3d6a qcacld-3.0: Fix the compilation after disabling CONFIG_CRYPTO_COMPONENT
wlan_crypto_set_vdev_param() used in hdd_populate_crypto_auth_type(),
hdd_populate_crypto_akm_type() and hdd_populate_crypto_cipher_type()
is not defined when CONFIG_CRYPTO_COMPONENT is disabled

Change-Id: I5bccf391886d4db48a79ba67b903180ea626ad37
CRs-Fixed: 2321455
2018-09-27 20:24:17 -07:00
nshrivas
0e1a7b6b21 Release 5.2.0.98R
Release 5.2.0.98R

Change-Id: If94f548805ac3ef416b0000fd3b62b9703265e22
CRs-Fixed: 774533
2018-09-27 18:54:08 -07:00
Varun Reddy Yeturu
951de5dc27 qcacld-3.0: Restrict the band in SET PCL command
Restrict the band of PCL to the connected band if
intra band roaming is enabled

Change-Id: I78e9a29d7f8eb226e899e944e4d2980629c52a01
CRs-Fixed: 2302607
2018-09-27 18:54:07 -07:00
nshrivas
c0edc4ada3 Release 5.2.0.98Q
Release 5.2.0.98Q

Change-Id: Ibb84804ca7190b75a3672aeb94d6e5227da4a06c
CRs-Fixed: 774533
2018-09-27 16:36:41 -07:00
Arunk Khandavalli
987c8d514a qcacld-3.0: cleanup the interface if it went down during SSR
If the interface down is issued during the SSR the driver simply
rejects the interface down and silently initializes during the
reinitialization. This can result in resource leakages and also
results in upper layer and driver out-of-sync.

Hence mark the adapter that interface went down during ssr and
cleanup the same during the end of reinitialization so we can
cleanup all the resources.

Change-Id: I426eff3be09abdbafeaf7501df551ea7c49a0f47
CRs-Fixed: 2256433
2018-09-27 16:36:41 -07:00
nshrivas
d76d55854b Release 5.2.0.98P
Release 5.2.0.98P

Change-Id: Iad125d2360078b2d9b65b93c84465ce488552422
CRs-Fixed: 774533
2018-09-27 15:00:34 -07:00
Sandeep Puligilla
45e0c5e030 qcacld-3.0: Add VDEV state machine for STA
Add support for VDEV state machine support
for STA connection

Change-Id: Ifbf12d13e936b6535baee8f9bbf7062e56f84014
CRs-Fixed: 2321423
2018-09-27 15:00:33 -07:00
nshrivas
0fe832f428 Release 5.2.0.98O
Release 5.2.0.98O

Change-Id: I169342ee49f3dd7fa47e890ba9f692f6e459c155
CRs-Fixed: 774533
2018-09-26 16:58:35 -07:00
Pragaspathi Thilagaraj
84b728464a qcacld-3.0: Check for zero mac during hdd adapter open
When zero mac address is configured on nvram, the
hdd_open_adapter accepts the value and passes this zero mac to
csr_session_open where the self mac address is stored as zero
value mac and peer creation is done with the same. When peer
delete is sent to firmware with this mac, firmware asserts.

Add check to validate mac address value is not zero.

Change-Id: I077c29c98ef4e1b11e4c587224acd4405629fa83
CRs-Fixed: 2310499
2018-09-26 16:58:34 -07:00
Dustin Brown
05d8130311 qcacld-3.0: Remove hdd_context.hdd_psoc
The name 'hdd_psoc' is misleading, since it is not actually an HDD psoc
context. Rather, it is the Object Manager psoc context. Rename hdd_psoc
to psoc for consistency, and to make room for HDD to have its own psoc
context.

After I1aa67d0554400ed552dc488805ba3421531a26c3, replace the
remaining instances of hdd_psoc and finally remove hdd_psoc from
hdd_context.

Change-Id: If9a4941e18a75563f9ab978bd4b38bd1145e4ada
CRs-Fixed: 2312429
2018-09-26 16:58:31 -07:00
nshrivas
75c20f3716 Release 5.2.0.98N
Release 5.2.0.98N

Change-Id: I0c578ac346433cdfd10bdeeb022491a5141cdc3e
CRs-Fixed: 774533
2018-09-25 15:33:38 -07:00
gaurank kathpalia
e5a17e4acb qcacld-3.0: Add MLME-CFG items for feature flags
Add these cfg mlme items for feature flags:-
1. ACCEPT_SHORT_SLOT_ASSOC_ONLY
2. HCF_ENABLED
3. RSN_ENABLED
4. 11G_SHORT_PREAMBLE_ENABLED
5. 11G_SHORT_SLOT_TIME_ENABLED
6. CHANNEL_BONDING_MODE
7. CFG_BLOCK_ACK_ENABLED

Change-Id: Id55299ece0169d40608df8508fbd768bb8aed741
CRs-Fixed: 2315584
2018-09-25 15:33:37 -07:00
Abhishek Singh
0b0105f565 qcacld-3.0: Enable logging for common mlme and vdev state machine
Enable logging for common mlme and vdev state machine.

Change-Id: I4b64101a66a4f19c6d84d1d0bb7f4927dd1e2c9b
CRs-Fixed: 2321730
2018-09-25 15:33:28 -07:00
nshrivas
026492bd72 Release 5.2.0.98M
Release 5.2.0.98M

Change-Id: Iabfce678b763b2d806e34a4fff21090933b496f8
CRs-Fixed: 774533
2018-09-25 13:52:41 -07:00
Dustin Brown
1dbefe660e qcacld-3.0: Replace hdd_psoc with psoc
The name 'hdd_psoc' is misleading, since it is not actually an HDD psoc
context. Rather, it is the Object Manager psoc context. Rename hdd_psoc
to psoc for consistency, and to make room for HDD to have its own psoc
context.

After the introduction of hdd_context.psoc in
I9971c478c0d1dc111bb20a7cd6614f73ffb0b15d, replace more instances of
hdd_psoc with psoc.

Change-Id: I1aa67d0554400ed552dc488805ba3421531a26c3
CRs-Fixed: 2315992
2018-09-25 13:52:40 -07:00
nshrivas
45fdd10bde Release 5.2.0.98L
Release 5.2.0.98L

Change-Id: Iffde7b008e994016db2c30d072f22b2433f3d59f
CRs-Fixed: 774533
2018-09-25 08:31:30 -07:00
Sourav Mohapatra
b22d2691f6 qcacld-3.0: Correct the actual rate flags being sent to framework
Presently, in VHT case also, the HT MCS rate flag is being set when the
SGI is enabled. This is causing the kernel to misinterpret the rates.
Instead of getting the VHT rates, the kernel is enabling the HT rates.
This issue is not present in kernel 4.9 as the preference was given to
VHT rates. For kernel 4.14, the preference is given to HT rates thus
highlighting the problem.

To solve this issue, do not set the RATE_INFO_FLAGS_MCS for SGI enabled.

Change-Id: Icce5b661c3fee21fa4522f06ff54827238e0d255
CRs-Fixed: 2317669
2018-09-25 08:31:29 -07:00
nshrivas
a753a38e44 Release 5.2.0.98K
Release 5.2.0.98K

Change-Id: I913d5936d23efc51bfa9c75764e4eb86d55a73ab
CRs-Fixed: 774533
2018-09-25 07:01:54 -07:00
Rajeev Kumar Sirasanagandla
9770bbac0a qcacld-3.0: Add ETSI13 SRD channels info in dump_survey
Currently, in __wlan_hdd_cfg80211_dump_survey(), ETSI13 SRD channels
169 and 173 are not considered for filling channel survey info.

To fix this, consider ETSI13 SRD channels when WLAN_FEATURE_DSRC
is not defined.

Change-Id: I71307d58548304df6c1dcfa377dfe677a15db89f
CRs-Fixed: 2319454
2018-09-25 07:01:53 -07:00
nshrivas
14ef84ea7c Release 5.2.0.98J
Release 5.2.0.98J

Change-Id: I6bcce95537648c598ad86a87dadf67638aa3dc9a
CRs-Fixed: 774533
2018-09-24 18:55:07 -07:00
Dundi Raviteja
47ac70974a qcacld-3.0: Relocate thermal info cfg items
Relocate thermal info config items to FW offload component.

Change-Id: If03507a44041b53aa81837f687914931e8a05ec8
CRs-Fixed: 2316595
2018-09-24 18:55:07 -07:00
Dundi Raviteja
3b63709be9 qcacld-3.0: Add ini params for three antenna BTC mode
Add below ini parameters for three antenna BTC mode and send
them to firmware using WMI command WMI_COEX_CONFIG_CMDID.
1. gSetBTCMode
2. gSetAntennaIsolation
3. gSetMaxTxPowerForBTC
4. gSetWlanLowRssiThreshold
5. gSetBtLowRssiThreshold
6. gSetBtInterferenceLowLL
7. gSetBtInterferenceLowUL
8. gSetBtInterferenceMediumLL
9. gSetBtInterferenceMediumUL
10. gSetBtInterferenceHighLL
11. gSetBtInterferenceHighUL

Change-Id: I69030b6e80ee99912e2f3baced883894d18db0b6
CRs-Fixed: 2298652
2018-09-24 18:55:03 -07:00
nshrivas
54ec6bfc8a Release 5.2.0.98I
Release 5.2.0.98I

Change-Id: I0630dabb99934b79595acd687f749e31528f0418
CRs-Fixed: 774533
2018-09-24 17:16:09 -07:00
Yuanyuan Liu
46dc5cd3b1 qcacld-3.0: Fix return value for pld_is_fw_down
Fix return value for pld_is_fw_down. Always return 0 for
unsupported bus type.

CRs-Fixed: 2319880
Change-Id: I64de028c7dd0c6a411b2d5b5f5e03bdfebed03cc
2018-09-24 17:16:08 -07:00
nshrivas
9d8489c5a8 Release 5.2.0.98H
Release 5.2.0.98H

Change-Id: I86f11097bbf423016cb1c59a9202a3676e8b997e
CRs-Fixed: 774533
2018-09-24 15:37:53 -07:00
gaurank kathpalia
e5f6690a60 qcacld-3.0: Fix OOB read in scan_id get
In wma_extscan_find_unique_scan_ids() the TLV structures
for param_buf are pulled from the WMI message.
wma_extscan_find_unique_scan_ids parses the data (param_buf)
which is obtained from the firmware.
This parsing logic of rssi_list does not consider the
size of the list and thus results in an OOB access.

Fix is loop for the num_rssi_list and not the num of entries

Change-Id: Icf79b59a17b66ac858222b79589641787022572d
CRs-Fixed: 2316805
2018-09-24 15:37:49 -07:00
nshrivas
6150d72bed Release 5.2.0.98G
Release 5.2.0.98G

Change-Id: Id3d355c14e023a044844ab179f96e848e65da6fc
CRs-Fixed: 774533
2018-09-24 15:37:44 -07:00
Bala Venkatesh
a0cd1f14e2 qcacld-3.0: Fix return status in wlan_hdd_set_powersave
Return correct status in wlan_hdd_set_powersave.

Change-Id: I20226e903cd4f3f3e4197b7a3bc30775e3c30890
CRs-Fixed: 2305859
2018-09-24 15:37:40 -07:00
nshrivas
844170070a Release 5.2.0.98F
Release 5.2.0.98F

Change-Id: Ic796b84603627ac1410bdf8692caa9b5fbbfe195
CRs-Fixed: 774533
2018-09-24 15:37:36 -07:00
Pragaspathi Thilagaraj
fe1efeccfc qcacld-3.0: Add EDCA mlme cfg API
Add mlme cfg api functions to get EDCA parameters.
Also remove the legacy CFG item definitions.

Change-Id: I075240279e2cf3fda4424b77b7cfcf50ac9619f4
CRs-Fixed: 2316205
2018-09-24 15:37:33 -07:00
nshrivas
7a6daa38c1 Release 5.2.0.98E
Release 5.2.0.98E

Change-Id: I9a8def7f0ce0968a256232f19e57036df85ee5f2
CRs-Fixed: 774533
2018-09-24 15:37:26 -07:00
Karthik Kantamneni
24f71bcfbf qcacld-3.0: Add MLME CFG items of RTT and PMF
Add CFG items of RTT and PMF as generic items based
on converged cfg component.

Change-Id: Ic95d1e7b052259149704d9faf65ebe5f51536fdf
CRs-Fixed: 2313281
2018-09-24 15:37:23 -07:00
nshrivas
c830cbd55b Release 5.2.0.98D
Release 5.2.0.98D

Change-Id: I211396e22097625a384c772f3d2be62f4466cf70
CRs-Fixed: 774533
2018-09-24 15:37:20 -07:00
Karthik Kantamneni
2231a23f44 qcacld-3.0: Add MLME OCE CFG items
Add OCE CFG items based on converged cfg component,
remove related legacy code.

Change-Id: I976981048be2df3f429003fc5db13f48a6ad27d0
CRs-Fixed: 2313157
2018-09-24 15:37:16 -07:00
nshrivas
19a690098e Release 5.2.0.98C
Release 5.2.0.98C

Change-Id: I87fb1d5dede0242b6691f68281544f7a24e2a843
CRs-Fixed: 774533
2018-09-24 15:37:11 -07:00
Dustin Brown
32ffab3d24 qcacld-3.0: Reorganize SoC-level PLD handlers
Reorganize the SoC-level PLD callback handlers for improved consistency
and clarity. This includes the following changes:
 * Remove wlan_hdd_probe()
 * Rename wlan_hdd_remove() to hdd_soc_remove()
 * Rename hdd_soc_reinit() to hdd_soc_recovery_reinit()
 * Rename wlan_hdd_shutdown() to hdd_soc_recovery_shutdown()
 * Add documentation to probe, remove, shutdown, and reinit handlers
 * Avoid irq disable if load/unload in progress (in shutdown)

Change-Id: I8212f1cbbeac8cc431e3008097f62196911efdeb
CRs-Fixed: 2320582
2018-09-24 15:37:05 -07:00
Frank Liu
c4ee407c4b qcacld-3.0: Remove extra disconnection for tdls
When station does LFR3 roaming, tdls will get an extra disconnection
notification which is wrong, remove the notification because tdls has
got the disconnection and connection event when roaming is successful.

Change-Id: I7bc56dae5fd653a44d8ac19be19083528c987d8b
CRs-Fixed: 2308503
2018-09-24 15:35:36 -07:00
nshrivas
d4ac45a158 Release 5.2.0.98B
Release 5.2.0.98B

Change-Id: Ib5f44d3c45f1bcb80ba5bbc64b450fa646762ee3
CRs-Fixed: 774533
2018-09-21 17:46:00 -07:00
nshrivas
ecb40b0e2f Release 5.2.0.98A
Release 5.2.0.98A

Change-Id: I7aa41bb09f1bb5d6c2c0eb4a35eaf33b1697fc89
CRs-Fixed: 774533
2018-09-21 14:42:59 -07:00
Tushnim Bhattacharyya
2d693b9dda qcacld-3.0: Honor the vht capability from vandor IE in SAP mode
While sending the peer assoc to FW, fill up the vht information from
vandor IE, if it is carrying the VHT capability information.

Change-Id: Ifcb299a5b16a14a1b20ae39ffcf3126e8bc20f9b
CRs-Fixed: 2318709
2018-09-21 14:42:58 -07:00
Yeshwanth Sriram Guntuka
d777eeaef6 qcacld-3.0: Enable FILS discovery in SAP by default
Enable FILS discovery in SAP mode by default.

Change-Id: Id21042172db59900814d3cbc557327c7b55a3ef2
CRs-Fixed: 2317667
2018-09-21 14:42:55 -07:00
nshrivas
aaff688718 Release 5.2.0.98
Release 5.2.0.98

Change-Id: I189c61681caeae614077724e6db3aa06c0698cc9
CRs-Fixed: 774533
2018-09-21 07:09:15 -07:00
Abhishek Singh
a063f1c658 qcacld-3.0: Remove legacy vdev restart and hidden ssid restart flags
Remove legacy vdev restart and hidden ssid restart flags as vdev mlme
new vdev mlme priv flags.

Change-Id: I31a1541fe4504bfb635b3151ea3afd05ffce7cea
CRs-Fixed: 2319427
2018-09-21 07:09:14 -07:00
Abhishek Singh
c5a5408b00 qcacld-3.0: Add vdev state machine for start BSS and CSA failure
Adds vdev state machine for start bss and CSA failure.

Change-Id: I77979af192e40fe44dd9ea7ce41d7be52f40ad15
CRs-Fixed: 2316581
2018-09-21 07:09:09 -07:00
Abhishek Singh
6c681f4b63 qcacld-3.0: Add vdev state machine for hidden ssid restart
Adds vdev state machine for hidden ssid restart.

Change-Id: I41d8c8d71050c1e80597787db4623b1359cbb92d
CRs-Fixed: 2316576
2018-09-21 07:09:05 -07:00
Abhishek Singh
20a8e44ab2 qcacld-3.0: Add vdev state machine for CSA and radar
Add vdev state machine for Channel change and to handle
radar indication.

Change-Id: Ib5a5476510ffe55611325c98dd9779261c7bd9a3
CRs-Fixed: 2316574
2018-09-21 07:09:01 -07:00
nshrivas
e438e4296c Release 5.2.0.97Z
Release 5.2.0.97Z

Change-Id: I4540b3979f709ac38a671c6efc2b4a62f4fff366
CRs-Fixed: 774533
2018-09-21 05:28:39 -07:00
Abhishek Singh
caa6185945 qcacld-3.0: Add vdev state machine for stop BSS
Adds vdev state machine for stop BSS request

Change-Id: I3324f6e7c5747d8a75817fc02620b6bca013326e
CRs-Fixed: 2316547
2018-09-21 05:28:39 -07:00
Abhishek Singh
3d30a3bb0c qcacld-3.0: Add vdev state machine for start BSS
Adds vdev state machine changes for start BSS req.

Change-Id: I9c8a5129db4ddc81f179256b077ab0cd038b5b27
CRs-Fixed: 2316552
2018-09-21 05:28:35 -07:00
Pragaspathi Thilagaraj
1ee7600f9f qcacld-3.0: Remove legacy CFG macro definitions
Remove the legacy macro definitions that are related to the
mlme cfg.
Move them to wlan_mlme_public_struct.h

Change-Id: I64f474512463d3ba7ac238b2efd0f4cf2e36999b
CRs-Fixed: 2317750
2018-09-21 05:28:32 -07:00
nshrivas
0342a179dd Release 5.2.0.97Y
Release 5.2.0.97Y

Change-Id: Ibec2006db4bf41f72d3d03c0b508fe03bc4b4058
CRs-Fixed: 774533
2018-09-21 03:53:31 -07:00
Kiran Kumar Lokere
1dbf722f63 qcacld-3.0: Fix issue with MU EDCA param update setting
The MU EDCA params setting message is not processed as the message
type is not present in the handler. Fix the issue by adding the
message type in handler.

Change-Id: Iccc8dabd98cb873cd050fd250dbd77226751c6d8
CRs-Fixed: 2319665
2018-09-21 03:53:31 -07:00
nshrivas
49f278781c Release 5.2.0.97X
Release 5.2.0.97X

Change-Id: Ie153ed54b8496d60a4cedc40c7ae1d31d64c95c3
CRs-Fixed: 774533
2018-09-21 00:27:08 -07:00
Harprit Chhabada
aae8efa3e0 qcacld-3.0: Fix the incorrect data type for vdev_id
vdev_id data type used in csr_scan_abort_mac_scan()
is declared as uint8_t and is compared with INVALID_VDEV_ID,
a 32 bit integer, which can never be true.

Change-Id: Id5ca042bf24fa3a3f683abae95f5c424824e230f
CRS-Fixed: 2315003
2018-09-21 00:27:07 -07:00
nshrivas
2662b19d3f Release 5.2.0.97W
Release 5.2.0.97W

Change-Id: Ife97dcff74c6da0d1072b8b0ea797fc4b38cf326
CRs-Fixed: 774533
2018-09-20 22:24:24 -07:00
Qun Zhang
4a83a46fab qcacld-3.0: update changes for fully supporting MULTI_IF_NAME
Currently, driver don't fully support MULTI_IF_NAME when two wlan
cards are supported by using two drivers:
1. if two wlan cards are all PCIe, driver can't distinguish
two PCIe cards firmware path.
2. When create hdd sysfs file upper folder, it will repeatly create the
same folder if not use MULTI_IF_NAME to distinguish them. It's not
necessary to distinguish the sub-folder once upper folder is different.

Change-Id: I511de46eec98e736d4e97d5c94ab22592d33f347
CRs-Fixed: 2311137
2018-09-20 22:24:21 -07:00
Nijun Gong
104ccc7742 qcacld-3.0: In SSR, clear flow control flag
When TX queues stopped by flow control right before SSR, corresponding
TX complete event used to clear the pause_map bit never come.
Flow control should reset its state during SSR, so clear this bit.

Change-Id: I462de1e20c9e2fc40476fc6b2d999c10e6396d8c
CRs-Fixed: 2274955
2018-09-20 22:24:18 -07:00
nshrivas
1b92b14a84 Release 5.2.0.97V
Release 5.2.0.97V

Change-Id: Ic03286822211b3ae8a443d70dbb14fcd76d1bd72
CRs-Fixed: 774533
2018-09-20 16:40:21 -07:00
Dustin Brown
a2a39dcfd5 qcacld-3.0: Move QDF init to HDD from CDS
QDF is effectively the driver's library for base primitives and data
structures, especially logging. As such, we want to initialize it as
early as possible in the driver loading process such that various
components can leverage this library code as much as possible. To this
end, move QDF init functionality into HDD from CDS, and invoke it first
thing in hdd_driver_load().

Change-Id: I769126ec293f741dced50c0dccc2f49e600aea43
CRs-Fixed: 2317861
2018-09-20 16:40:18 -07:00
Dustin Brown
25843ad715 qcacld-3.0: Move pld_init just before pld_register
The PLD data structures initialized in pld_init() are not used before
PLD registration, and do not need to be the very first thing initialized
in the driver. Move the call to pld_init() to immediately before these
data structures are used for the first time in the PLD registration
process.

Change-Id: I5bee6b03eddfd749758f48a82f5c7f0a870b1504
CRs-Fixed: 2317859
2018-09-20 16:40:15 -07:00
nshrivas
a5d7d9a5ec Release 5.2.0.97U
Release 5.2.0.97U

Change-Id: I0f4705c41db0b026b91de11d145d6bb7ce80e9b7
CRs-Fixed: 774533
2018-09-20 14:54:44 -07:00
Alok Kumar
ea70b1c815 qcacld-3.0: Enable NUD tracking feature by default in driver
By default enable the NUD tracking within driver.

Change-Id: I0501ae4f90934139a3610c2cd74464e97a1100d8
CRs-Fixed: 2317572
2018-09-20 14:54:43 -07:00
Sravan Kumar Kairam
657f89e1e5 qcacld-3.0: Send IPA UC disconnect events during SSR
Currently during SSR IPA events such as AP DISCONNECT/
STA DISCONNECT are not sent and also wlan ipa interafces
are not deregistered. After SSR when host sends AP CONNECT/
STA CONNECT and register interafce IPACM will reject as for
previous events before SSR there are no disconnect events.
This leads to data come via exception path instead taking
IPA HW route as interface headers are not registered.

In this fix send IPA UC disconnect events and deregister
interafces during SSR.

Change-Id: I6e617261ec53b7d572023613d212eae057b13b03
CRs-Fixed: 2315828
2018-09-20 14:54:40 -07:00
nshrivas
f23e4d7636 Release 5.2.0.97T
Release 5.2.0.97T

Change-Id: I5c6dec0b8cd27850c77ce7c74a7061c0a1098d08
CRs-Fixed: 774533
2018-09-20 13:10:34 -07:00
Jianmin Zhu
c2eae9c566 qcacld-3.0: MCL change after serialization enhancement
1. Set all MCL cmds as blocking cmds.
2. Rename WLAN_SER_CMD_STOP_BSS to WLAN_SER_CMD_VDEV_STOP_BSS.
3. Add new binary files and remove old binary files in Kbuild.
4. Disable CONFIG_SERIALIZATION_V1 in Kbuild, switch to new
   serialization code.

Change-Id: I46f876e4cbc31881ca0559e4705cddf4a26a46c1
CRs-Fixed: 2315411
2018-09-20 13:10:34 -07:00
nshrivas
6e45afbd0d Release 5.2.0.97S
Release 5.2.0.97S

Change-Id: I60533098a2c20ef4e90b7b689b66e081f591d290
CRs-Fixed: 774533
2018-09-20 10:30:08 -07:00
Bala Venkatesh
2fde2c61db qcacld-3.0: SAP CFG Items part 2
Add support for the sap cfg items in new mlme component

Change-Id: I80f3f00a85720fe7bec11575fe67dd2f6b9d44b2
CRs-Fixed: 2316643
2018-09-20 10:30:08 -07:00
nshrivas
422389dc4d Release 5.2.0.97R
Release 5.2.0.97R

Change-Id: Iadcd7a2c1f4080d4f5c7d23696609ae1edeb4ef4
CRs-Fixed: 774533
2018-09-20 00:56:16 -07:00
Jianmin Zhu
9058c52fb6 qcacld-3.0: Fix assert for NULL vdev in csr_nonscan_pending_ll_next
If SSR during sme close session when interface down and vdev
destroy, qdf_session_close_event is completed forcely before
peer detached, vdev becomes LOGICALLY_DELETED instead of
destroyed actually for peer ref count is held.

When bss is deleted and eWNI_SME_JOIN_RSP is handled,
is_disconnect_pending-> csr_nonscan_pending_ll_next is called,
wlan_objmgr_get_vdev_by_id_from_psoc return NULL,  cmd.vdev is
NULL, NULL pointer dereference will happen.

Change-Id: I790a12483c2b9f967da9ced387935f93a6168e81
CRs-Fixed: 2316960
2018-09-20 00:56:16 -07:00
nshrivas
e17cad6f05 Release 5.2.0.97Q
Release 5.2.0.97Q

Change-Id: Ia941f8473696b59fe576f33c6c584c8202694e1d
CRs-Fixed: 774533
2018-09-19 23:15:16 -07:00
Vignesh Viswanathan
987f0bba09 qcacld-3.0: Use MLME CFG for BSS Scoring Items
Implement the usage of MLME CFG infra for BSS Scoring related INI Items
and remove the older INI definitions from HDD.

Change-Id: I0db69138f0439131916a38176b5b21b706ff3671
CRs-Fixed: 2318320
2018-09-19 23:15:15 -07:00
Sravan Kumar Kairam
0ebf453164 qcacld-3.0: Use psoc handle to check for wmi service cap
wma_mgmt_nbuf_unmap_cb uses wma handle to check if wmi service
capability for mgmt is supported. If wma handle is freed before
call back is invoked it returns with out doing unmap of nbuf.
Instead of wma handle use psoc object handle which has the
information about wmi service capability support.

Change-Id: Icbdeb155be0fb5d056dd876faa2bd73f78cd9db7
CRs-Fixed: 2317785
2018-09-19 23:15:04 -07:00