Commit Graph

11885 Commits

Author SHA1 Message Date
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
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