Commit Graph

3927 Commits

Author SHA1 Message Date
Sandeep Puligilla
8c8651e43c Release 5.2.0.16N
Release 5.2.0.16N

Change-Id: I3ebf9dfddc27906a0238f9d5f872f9d58ede2cd2
CRs-Fixed: 688141
2017-03-21 13:25:07 -07:00
Manjeet Singh
1a376cea13 qcacld-3.0: Pass proper values to bit manipulation methods to avoid panic
qcacld-2.0 to qcacld-3.0 propagation

Observed kernel panic due to improper arguments passed to kernel bit
manipulation functions (like set_bit, clear_bit etc.) i.e these
functions expects bit positions as its first argument but bit mask
values are being passed.

To fix these issues ensure below points:
   - Pass bit position as a first argument to bit manipulation
     functions.
   - Re-define MACROs which gives false impression of bit mask values
     with their naming convention.

Change-Id: Ief8cd83b05f01a0926f91c0e9fb461ddd498e05e
CRs-Fixed: 981050
2017-03-21 13:25:06 -07:00
Sandeep Puligilla
0a4d0786fd Release 5.2.0.16M
Release 5.2.0.16M

Change-Id: Idfce036a6ffd92f520bbf5fe336936ec936877db
CRs-Fixed: 688141
2017-03-21 12:31:13 -07:00
Archana Ramachandran
92b4bf1196 qcacld-3.0: Fix SBS is set to true by policy manager in SCC mode
SBS is always set to true by the policy manager. so for the second
connection, if the mode is not DBS, then SBS HW mode is selected.
Since SBS is not supported the second connection fails with invalid
HW mode error.

Change-Id: I817e83cbac194cdfde73a586491d645631692f12
CRs-Fixed: 2021512
2017-03-21 12:31:12 -07:00
Sandeep Puligilla
0695335768 Release 5.2.0.16L
Release 5.2.0.16L

Change-Id: I562e1dec8ee89193f4b3513c055153a77fa2fba9
CRs-Fixed: 688141
2017-03-21 09:48:02 -07:00
Jeff Johnson
60be8a9f44 qcacld-3.0: SME: Remove obsolete support for tCsrPerStaStatsInfo
SME currently has legacy code to support the tCsrPerStaStatsInfo data
structure. However these stats were specific to the WDI firmware API
used by older generations of hardware, and this interface is not
supported by WMI. In addition the support for these stats has been
removed from HDD.  So remove support for these stats from SME.

Change-Id: Ibab7f94764c68933633c46da497613add0824ff1
CRs-Fixed: 2020067
2017-03-21 09:48:01 -07:00
Jeff Johnson
72f47475ef qcacld-3.0: WMA: Remove obsolete support for tCsrPerStaStatsInfo
WMA currently has legacy code to support the tCsrPerStaStatsInfo data
structure. However these stats were specific to the WDI firmware API
used by older generations of hardware, and this interface is not
supported by WMI. In addition the support for these stats has been
removed from HDD.  So remove support for these stats from WMA.

Change-Id: I42ba6535ccfaed99df46d389cbb8ddd9d0f9261b
CRs-Fixed: 2020066
2017-03-21 09:47:59 -07:00
Jeff Johnson
dfe895154b qcacld-3.0: HDD: Remove obsolete support for SME_PER_STA_STATS
HDD currently requests SME_PER_STA_STATS in a few of its legacy ioctl
handlers. However these stats were specific to the WDI firmware API
used by older generations of hardware, and this interface is not
supported by WMI. In addition HDD doesn't actually do anything with
the data returned. So remove support for these stats from HDD.

Change-Id: I070685a0ca2b9c53b93c1f950eab97ea65f43f1e
CRs-Fixed: 2020065
2017-03-21 09:47:58 -07:00
Jeff Johnson
dfd360e0fa qcacld-3.0: Redesign wma_get_stats_rsp_buf() buffer length logic
Currently wma_get_stats_rsp_buf() uses a loop to determine which mask
bits are set, and based upon the loop iteration count it determines
the size of the associated buffer. This calculation is fragile,
however, in that it tightly couples the loop iteration count and
eCsrRoamStatsClassTypes enumeration values. Since code under
development will be removing some of the eCsrRoamStatsClassTypes
enumerations, update this logic to remove the tight coupling.

Change-Id: Ia6cda4c8181c44d25a9da27acffe6bd10ca3b4ed
CRs-Fixed: 2020056
2017-03-21 09:47:56 -07:00
Jeff Johnson
97fdfd0e1b qcacld-3.0: Correlate SME STATS macros to underlying enumerations
Currently SME exposes a set of SME_*_STATS macros to indicate which
stats are of interest in a call to sme_get_statistics().

What is not obvious is that the values of these macros are required to
be aligned with the eCsrRoamStatsClassTypes enumerated values. Update
the macros to make that alignment explicit.

Change-Id: Id992a8230a1aa4df941ea7666bc00a661a9ab68e
CRs-Fixed: 2020055
2017-03-21 09:47:54 -07:00
Sandeep Puligilla
78c80e3bfb Release 5.2.0.16K
Release 5.2.0.16K

Change-Id: Ib341d387cf0baba1c521173fe55defb2c6ba8de5
CRs-Fixed: 688141
2017-03-21 06:12:14 -07:00
Nitesh Shah
99dd95556b qcacld-3.0: Send Deauth and delete all TDLS stations
This change addresses sending Deauth to TDLS peers,
delete TDLS stations and clear hdd structures if
concurrency is detected.

Change-Id: Ia9f6724a9db20c6d9ebfc2fa735569305f35f084
CRs-Fixed: 2022489
2017-03-21 06:12:14 -07:00
Sandeep Puligilla
39a65ce005 Release 5.2.0.16J
Release 5.2.0.16J

Change-Id: I0d9a4c525aafd63308f3360ced2d45ab8f6b7b25
CRs-Fixed: 688141
2017-03-21 02:16:05 -07:00
Sandeep Puligilla
784bc88288 Release 5.2.0.16I
Release 5.2.0.16I

Change-Id: I2ab2bd43dfb3f10cdc8c43c728787549611544ea
CRs-Fixed: 688141
2017-03-21 01:10:22 -07:00
Naveen Rawat
910726a844 qcacld-3.0: MCL changes for WIFI Positioning component
Implement MCL changes to use new WIFI POS component APIs

Change-Id: Ifccc7f6e9c614570de758fde3a23b63ee5f387d7
CRs-Fixed: 2003488
2017-03-21 01:10:21 -07:00
Sandeep Puligilla
c3f5fec55e Release 5.2.0.16H
Release 5.2.0.16H

Change-Id: Ief48470f9435c29e174094f92b76008fd49837a6
CRs-Fixed: 688141
2017-03-20 23:57:03 -07:00
Sreelakshmi Konamki
17d15ff8eb qcacld-3.0: Add MTRACE parser script parse_mac_trace.cmm file
qcacld-2.0 to qcacld-3.0 propagation

The parse_mac_trace.cmm file will be maintained
under core/mac/src/sys/legacy/src/utils/src/.
This script helps to decode MTRACE logs when we get crash dumps.

Change-Id: I421b53edc18c49e737411d3723b0a1536e86bc58
CRs-fixed: 957900
2017-03-20 23:57:02 -07:00
Sandeep Puligilla
d5b3f06380 Release 5.2.0.16G
Release 5.2.0.16G

Change-Id: I3ba760f0397f0e767887421cc4fa70d420d4a9f9
CRs-Fixed: 688141
2017-03-20 23:57:01 -07:00
Sandeep Puligilla
927809c0bb Release 5.2.0.16F
Release 5.2.0.16F

Change-Id: Ieb8095adeec34d288d7a7513c78f8b2870de4cdf
CRs-Fixed: 688141
2017-03-20 23:57:00 -07:00
Jeff Johnson
b7a168b658 qcacld-3.0: Correctly handle update of scan IEs
Excessive logging of the following error message was observed:
__wlan_hdd_cfg80211_scan: Update scan IEs with default Scan IEs failed

This message was being printed because wlan_hdd_update_scan_ies()
returns an error code when no default scan IEs have been configured.
But this is a valid scenario, so modify wlan_hdd_update_scan_ies()
to return success (0) when no default IEs have been configured.

Change-Id: I4b9dc1d38d38d326861b7c95d13b891cb0d0c522
CRs-Fixed: 2013531
2017-03-20 23:56:59 -07:00
Sandeep Puligilla
cbd36c2e5d Release 5.2.0.16E
Release 5.2.0.16E

Change-Id: I3e66cd64f8d75ce618a5d772e3e093dee5285647
CRs-Fixed: 688141
2017-03-20 23:56:58 -07:00
Naveen Rawat
7df318650c qcacld-3.0: Introduce ini knob for wifi pos logging
Add ini param qdf_trace_enable_wifi_pos to control WIFI_POS logging
level from config.ini

Change-Id: I9baa59448b9badaae94193bd7367a104309d0a1a
CRs-Fixed: 2003488
2017-03-20 23:56:57 -07:00
Naveen Rawat
dd76180765 qcacld-3.0: Remove nl_srv_ucast_oem from wlan_hdd_oemdata.c
This API is moved to qcacmn as part of WIFI_POS convergence.
Remove this API from MCL code include necessary header file
for API.

Change-Id: I8622d0bbfd90c7aee5630aaa3e6e3540dfc9df9b
CRs-Fixed: 2003488
2017-03-20 11:38:13 -07:00
Sandeep Puligilla
1db28e1959 Release 5.2.0.16D
Release 5.2.0.16D

Change-Id: Ib1fcb4a6380953369f5e9c2b732bf2c86f0fa491
CRs-Fixed: 688141
2017-03-20 07:47:44 -07:00
Poddar, Siddarth
28014e9769 qcacld-3.0: Handle error condition when dma map fail
Change the return type to QDF_STATUS of htt_tx_desc_init function
to handle dma map and other error condition.
Free the tx descriptor if this function returns error.

CRs-Fixed: 2021634
Change-Id: Ib9154de308154c43c202ad8a88ecdfff04be47a2
2017-03-20 07:47:44 -07:00
Sandeep Puligilla
7b043b3501 Release 5.2.0.16C
Release 5.2.0.16C

Change-Id: I5eddda0ec9e1f1a05f7786534d373ca098d3aeb9
CRs-Fixed: 688141
2017-03-20 07:05:21 -07:00
Padma, Santhosh Kumar
8392fb49c6 qcacld-3.0: Invoke sme_dhcp_done_ind in all states
Currently driver drops RRM request before completion of DHCP.
Driver uses global variable dhcp_done to check completion of DHCP.
In static IP case, there is a chance that sme_dhcp_done_ind be
invoked before connection. Hence there is a chance that global
variable dhcp_done may not be set. This can cause driver to drop
RRM requests forever in static IP scenarios.

Invoke sme_dhcp_done_ind in all states to allow processing of
RRM requests in static IP scenarios as well.

Change-Id: I20e07eea7a66e7f3336dd783b9533ff642721209
CRs-Fixed: 2021041
2017-03-20 07:05:20 -07:00
Sandeep Puligilla
0e7cf24c43 Release 5.2.0.16B
Release 5.2.0.16B

Change-Id: I0e5ebabb3e10349327ed0174f4ae94dca0c79c69
CRs-Fixed: 688141
2017-03-20 02:47:44 -07:00
Poddar, Siddarth
d6b2fd232e qcacld-3.0: Add a flag in skb->cb for packet tracking
When a packet is generated internally, host adds a debug
node entry to the table and deletes the entry once received
tx completion for that packet by calling qdf_nbuf_free.
But when a packet is coming from network stack, host doesn’t
add any debug entry to the table and on receiving tx completion,
it calls qdf_nbuf_tx_free which will simply free the skb.

In case of P2P GO mode where packets are forwarded internally,
host creates a private copy of skb and add debug node entry in
the table. But when receiving a tx completion for the same packet
host calls qdf_nbuf_tx_free which will free the skb but will not
remove this node entry from the table. Currently, this api is common
for all data tx completion packets.

Add an extra flag in control block to differentiate whether skb is
generated by driver or come from network stack. If flag is true,
that means generated internally and need to remove the entry from
debug node table.

CRs-Fixed: 2021277
Change-Id: I07c12b5bf134a3e56d13005dbe03778781cdf176
2017-03-20 02:47:43 -07:00
Sandeep Puligilla
7cd0b291f4 Release 5.2.0.16A
Release 5.2.0.16A

Change-Id: I96d08713ac2b7dc9cdd15d9554d031100f878bc1
CRs-Fixed: 688141
2017-03-18 16:00:06 -07:00
Krishna Kumaar Natarajan
ed1efd9653 qcacld-3.0: [11AX] Add support in HDD to update HE Capabilities
Add support in HDD to update 11ax - High Efficiency(HE) Capabilities
received as part of the target configuration.

Add support for new WNI_CFG global config parameters to be
used for implementing 11AX standard.

Change-Id: I3f0d3af2369157c657ac59676a434dc794f84b19
CRs-Fixed: 1073481
2017-03-18 16:00:05 -07:00
Krishna Kumaar Natarajan
d0bbb3c52f qcacld-3.0: [11AX] Add support in WMA to receive HE Capabilities
Add support in WMA to receive and store HE capabilities coming
from extended service ready event.

Add support to receive HE capabilities, convert into OTA type of
internal host structure and pass it to the uppper layer as target
config. Add utility funciton for the conversion as well.

Change-Id: If0ceeb3db74be6cf6893b8e74c710863bab8b41b
CRs-Fixed: 1073481
2017-03-18 16:00:03 -07:00
Krishna Kumaar Natarajan
7ee45235ca qcacld-3.0: [11AX] Add 11ax related IEs in dot11f.frms
Add 11ax related IEs in dot11f.frms file.

Add new IEs to support 11ax/High Efficiency(HE). HE capabilities and
HE Operation are the two new IEs added and the IE definition is based on
the 11ax D1.0 specification.

Change-Id: Iab4219a7c068faca0337f70f921ec178f7170952
CRs-Fixed: 1073481
2017-03-18 16:00:00 -07:00
Sandeep Puligilla
0a8be68224 Release 5.2.0.16
Release 5.2.0.16

Change-Id: I9da1ecba00d4e27fd9c3408359410ed8937f20df
CRs-Fixed: 688141
2017-03-17 16:58:03 -07:00
Sandeep Puligilla
095acd9a3d Release 5.2.0.15Z
Release 5.2.0.15Z

Change-Id: I2b8dc807bc08b25304dabd587b8420257ab5078f
CRs-Fixed: 688141
2017-03-17 16:19:41 -07:00
Arif Hussain
405587c313 qcacld-3.0: Remove unnecessary log from wlansap_roam_callback
wlansap_roam_callback function logging an error message if
roam_status is not handled, in default case of switch, but same
information is logged before switch. So remove this log.

Change-Id: Id53eb392929d9328f959c7e54d7f0a5dd77b0739
CRs-Fixed: 2007415
2017-03-17 16:19:41 -07:00
Sandeep Puligilla
cfa8a4d50d Release 5.2.0.15Y
Release 5.2.0.15Y

Change-Id: I0d660d372b9de2c98e7e52230a3399c7834fcb0f
CRs-Fixed: 688141
2017-03-17 15:39:18 -07:00
Tushnim Bhattacharyya
6796d8df5e qcacld-3.0: Enable Policy Manager logging
Enable logging from new policy manager component.

Change-Id: I538b70d7261573a1673386a3984f6a5a821c70f2
CRs-Fixed: 2009818
2017-03-17 15:39:17 -07:00
Sandeep Puligilla
d616db2710 Release 5.2.0.15X
Release 5.2.0.15X

Change-Id: I117d932fc0db9d5cb43ef9f0cf5087de029a0eee
CRs-Fixed: 688141
2017-03-17 14:49:32 -07:00
Naveen Rawat
222b2e9b58 qcacld-3.0: Set Band Capability ini config to PSOC user config
Set Band Capability ini config to PSOC user config. This can later
be used in UMAC component.

Change-Id: I9044cec35cdb478881b827101ee79bcf87084d73
CRs-Fixed: 2003488
2017-03-17 14:49:32 -07:00
Sandeep Puligilla
a1156ed567 Release 5.2.0.15W
Release 5.2.0.15W

Change-Id: Id9398297da41d2176788c4453f30368d68a719d8
CRs-Fixed: 688141
2017-03-17 11:11:09 -07:00
Dustin Brown
dba48c8d9d qcacld-3.0: Add debug prints to catch session_id/vdev_id desync
When HDD detects that the session id and vdev id have de-synchronized,
print the PSOC reference tree and induce a crash.

Change-Id: I1ca47837cd024fd66e19d86222cfbbd85e3f5704
CRs-Fixed: 2020092
2017-03-17 11:11:09 -07:00
Sandeep Puligilla
fa6b646144 Release 5.2.0.15V
Release 5.2.0.15V

Change-Id: I4d8ba5bc106682e261cad75bb86a6b0e3a99536e
CRs-Fixed: 688141
2017-03-17 08:48:28 -07:00
Sreelakshmi Konamki
2d67be24ab qcacld-3.0: Resolve "Unknown" values in MTRACE logs
Sometimes MTRACE dump functions returns "unknown" values instead of
data passed to MTRACE. To resolve this add any missing MTRACE code and
data enums to the corresponding trace functions.

Change-Id: I86b9b9f433be64879c96ccc65c142e07aaf23ed0
CRs-Fixed: 2018532
2017-03-17 08:48:27 -07:00
Sreelakshmi Konamki
40032d588e qcacld-3.0: Update MDIE when PNO match event found
qcacld-2.0 to qcacld-3.0 propagation

Current implementation does not update MDIE while processing of
PNO match event due to this STA is unable to connect to 11r AP.

Add changes to update MDIE to 'tSirBssDescription' in
csr_scan_save_preferred_network_found()

Change-Id: Ia419c0f7284fc168434d91bcc3d7b29b99a06f3f
CRs-Fixed: 2005101
2017-03-17 08:48:26 -07:00
Sreelakshmi Konamki
33a0231baf qcacld-3.0: Remove redundant ini configuration
qcacld-2.0 to qcacld-3.0 propagation

'apDataAvailPollPeriodInMs' ini is redundant in registry table and
hdd_update_config_dat().

Fix to remove redundant ini 'apDataAvailPollPeriodInMs' variable.

Change-Id: Ieb5214ec3052bbec793e91d294b03e425292e348
CRs-Fixed: 2000336
2017-03-17 08:48:24 -07:00
Sandeep Puligilla
e952e222c6 Release 5.2.0.15U
Release 5.2.0.15U

Change-Id: Ie5f34beaf0dcfcc448863f0818b03e2fc4dfb127
CRs-Fixed: 688141
2017-03-17 06:35:38 -07:00
Poddar, Siddarth
a5075466e4 qcacld-3.0: Drop the pkt if deauth is in progress
When SAP initiates deauth/diassoc for peer device, it sets
isDeauthInProgress flag. So, if host receives tx packets
for peer from network layer or ipa path while peer remove
is in progress, then drop the tx packets at hdd level
in __hdd_softap_hard_start_xmit based on above flag check.

CRs-Fixed: 2016092
Change-Id: I52c3bcd92478eb657bdd90d15eb13d1cd95ee090
2017-03-17 06:35:36 -07:00
Sandeep Puligilla
b8a8babc8f Release 5.2.0.15T
Release 5.2.0.15T

Change-Id: I762a088a7a51964e694d555490bb8cfa8357c97a
CRs-Fixed: 688141
2017-03-17 05:37:37 -07:00
yeshwanth sriram guntuka
e345b66378 qcacld-3.0: Fix double peer clear during disconnect
wma_remove_peer does clear peer as part of disconnect.
hdd_roam_deregister_sta also does clear peer which results
in clear peer failed error message.

Fix is to avoid clear peer again in disconnect handler.

Change-Id: I0399a81779aad87201cb67e070421ec549b2d837
CRs-Fixed: 2019168
2017-03-17 05:37:36 -07:00
Sandeep Puligilla
6e9dba15f9 Release 5.2.0.15S
Release 5.2.0.15S

Change-Id: I48e8b46a54006000e47434f95aa5705e822995cb
CRs-Fixed: 688141
2017-03-17 04:59:18 -07:00
Abhishek Singh
897b27a745 qcacld-3.0: Don't send reg hint during start modules after PDR
After PDR driver send regulatory hint with the same country code
which was already set by driver before PDR. As part of regulatory
hint kernel remove the custom regulatory flag from wiphy flags
and as in this case country has not changed, no reg notifier is
called and thus wiphy flags are not restored by driver.
Due to this if user set an country the channel flags and power
are not reset and 5Ghz channels remain Passive.

To fix this don't send reg hint during start modules if
init_by_driver flag is set.

Change-Id: I126465aa91f40df5c92da44361f414a7792e927f
CRs-Fixed: 2019049
2017-03-17 04:59:18 -07:00
Abhishek Singh
cfb4448302 qcacld-3.0: Fix compile errors when WLAN_FEATURE_11W is disabled
Fix compilation errors when WLAN_FEATURE_11W is disabled.

Change-Id: I5bed89f0077a51117c57e176568f849293d40ee5
CRs-Fixed: 2019223
2017-03-17 04:59:16 -07:00
Sandeep Puligilla
482456d4d1 Release 5.2.0.15R
Release 5.2.0.15R

Change-Id: Iae6f0d570ce1360bc61305cb8b2866e8a1cb3c34
CRs-Fixed: 688141
2017-03-17 04:19:15 -07:00
Sandeep Puligilla
cccccab307 Release 5.2.0.15Q
Release 5.2.0.15Q

Change-Id: I2740136f700c203b506eb6dfe630a16ea67afd46
CRs-Fixed: 688141
2017-03-17 03:40:29 -07:00
Wu Gao
2ae0b59e42 qcacld-3.0: Save qdf device to soc object
It need qdf device if send mgmt frame. But host common can not access
legacy codes. Save it to soc object.

Change-Id: Ib943c5f3356e02b946ad1d30838d464e36dd643f
CRs-Fixed: 2014648
2017-03-17 16:43:39 +08:00
Sandeep Puligilla
995ea87265 Release 5.2.0.15P
Release 5.2.0.15P

Change-Id: I012c21ea9e66ba9f794ab0d756d4c4bfb563269a
CRs-Fixed: 688141
2017-03-16 11:21:34 -07:00
Varun Reddy Yeturu
1ce7affdda qcacld-3.0: Handle roam synch propagation failure
Handle Roam synch propagation failure properly.
Disable the roaming in progress flags in HDD.
Send a ROAM STOP command to firmware immediately.

Change-Id: I5f014ab79db553a1df758bf639362f26272a6a23
CRs-Fixed: 2020168
2017-03-16 11:21:33 -07:00
Sandeep Puligilla
5298cd5d19 Release 5.2.0.15O
Release 5.2.0.15O

Change-Id: I4e39dd4dd02abcd573bda49307791255ca87ed28
CRs-Fixed: 688141
2017-03-16 09:49:53 -07:00
Nishank Aggarwal
4a88884148 qcacld-3.0: Fix ASSERT while loading driver
Currently in csr_purge_old_scan_results() mutex_lock
did't acquire by current thread but same thread is
releasing the lock due to which there is a ASSERT while
releasing mutex_lock.

Fix is to acuire the mutex_lock properly before releasing.

Change-Id: I1023dca73ffaa3d3b3a123d474c3ac5b0e1c1af2
CRs-Fixed: 2020452
2017-03-16 09:49:52 -07:00
Sandeep Puligilla
ada3b6e1b3 Release 5.2.0.15N
Release 5.2.0.15N

Change-Id: I9e15459324f5d401fbe884c7f8e08261fcaf69bd
CRs-Fixed: 688141
2017-03-16 08:33:24 -07:00
Sandeep Puligilla
a836686bb4 Release 5.2.0.15M
Release 5.2.0.15M

Change-Id: I12420d407f2938b580eb2c525449b822b2293a02
CRs-Fixed: 688141
2017-03-16 07:00:29 -07:00
Nitesh Shah
49f5390c82 qcacld-3.0: Acquire mutex before accessing p2p context
Every access to remain_on_chan_ctx need to be protected
with mutex lock.

This change refactors the code in the function wlan_hdd_
cancel_existing_remain_on_channel() and wlan_hdd_cancel_
pending_roc().

Change-Id: Ie4551ab7cc4297f04ea2980aff7e613f6d3d2bb6
CRs-Fixed: 2020554
2017-03-16 07:00:28 -07:00
Sandeep Puligilla
c6c0475e0e Release 5.2.0.15L
Release 5.2.0.15L

Change-Id: I18e78f84aa50361f4b210a27573b1f53ad4b52f5
CRs-Fixed: 688141
2017-03-16 06:20:27 -07:00
Wu Gao
e960db6cb8 qcacld-3.0: Add os interface to vdev
Some of cfg80211 callbacks need os structure wireless_dev. Pass it to
vdev object when creating.

Change-Id: I360f5a6d205dfa223139b7ca0de8e567146770f7
CRs-Fixed: 2014563
2017-03-16 06:20:26 -07:00
Sandeep Puligilla
e2ffa6654e Release 5.2.0.15K
Release 5.2.0.15K

Change-Id: Iab773b8db49662d2e5b2f266a2cde650486e7d31
CRs-Fixed: 688141
2017-03-16 05:38:58 -07:00
Abhishek Singh
9e42cff3c5 qcacld-3.0: Prioritize connection req frames in pe queue
qcacld-2.0 to qcacld-3.0 propagation

If there are many beacon/probe received and posted to pe queue
the connection req frames may get delayed and thus effect the
connection. This may also lead to connection failures.

To avoid this prioritize the connection req frames in pe queue.

Change-Id: I5a6fd5c21242205dd080b2ba0cff5f823f51d109
CRs-Fixed: 2013381
2017-03-16 05:38:58 -07:00
Sandeep Puligilla
641d554f52 Release 5.2.0.15J
Release 5.2.0.15J

Change-Id: I7bc1249283c0bb73e70696401712c852a9757f3d
CRs-Fixed: 688141
2017-03-16 00:55:49 -07:00
yeshwanth sriram guntuka
945b621a79 qcacld-3.0: Fix memory leak in lim_del_sta
Memory is not freed in lim_del_sta API when response
required is not enabled and wmi service
(WMI_SERVICE_SYNC_DELETE_CMDS) is enabled.

Fix is to free memory in wma peer delete handler.

Change-Id: I8d8a799935ad6199357b4a534e58d54dcbea8d2c
CRs-Fixed: 2015973
2017-03-16 00:55:48 -07:00
Sandeep Puligilla
37a40d737c Release 5.2.0.15I
Release 5.2.0.15I

Change-Id: I1e7f47a6165b5465e6d5efb86ca4d0effb340a3d
CRs-Fixed: 688141
2017-03-15 18:26:41 -07:00
Dustin Brown
9ef609b196 qcacld-3.0: Fix unit-test suspend regression
A previous commit failed to propagate WoW enable parameters down to
the Power Management Offload (PMO) component. Propagate WoW enable
parameters to the PMO component to restore unit-test suspend
functionality.

Change-Id: I6531a262a189b416499953bc013efdf64111ac5a
CRs-Fixed: 2020034
2017-03-15 18:26:41 -07:00
Sandeep Puligilla
e402d5676c Release 5.2.0.15H
Release 5.2.0.15H

Change-Id: I9351e74039ce65380d40b34389a4e98adf48af25
CRs-Fixed: 688141
2017-03-15 15:22:42 -07:00
Arif Hussain
15115cb9b8 qcacld-3.0: Add support for delay_start_time in scheduled scan request
Add support to pass delay_start_time to firmware, this delay will be
used before starting the first scan cycle.

Change-Id: Ia3043eecc38507b1581fa85b8787b2e7786017de
CRs-Fixed: 2014142
2017-03-15 15:22:41 -07:00
Sandeep Puligilla
ee5d2ba391 Release 5.2.0.15G
Release 5.2.0.15G

Change-Id: If23460ea5f234a1dd42de8fac9b86734932efc39
CRs-Fixed: 688141
2017-03-15 09:16:22 -07:00
Ashish Kumar Dhanotiya
147860eb6a qcacld-3.0: Decrease default waiting timer value for interface up
Currently default waiting timer value is 100 sec which is too large,
change the timer value to 15 sec.

Change-Id: If116f9ace2e2c0c41438c4be9c9fa834ae9e4a60
CRs-Fixed: 2019739
2017-03-15 09:16:22 -07:00
Sandeep Puligilla
bb53d31b0b Release 5.2.0.15F
Release 5.2.0.15F

Change-Id: I0d722fd65e80d696086dcc2b69db59c5f6152804
CRs-Fixed: 688141
2017-03-15 05:08:55 -07:00
yeshwanth sriram guntuka
47f26e6a0d qcacld-3.0: Add HT/VHT check when getting network type
11n or 11ac AP does not include 11g rates due to which
driver treats the AP as 11b AP.

Fix is to add HT/VHT check so that driver treats AP
based on capabilities.

Change-Id: I1bb49408e4e480578e2f190c5f7c0408f734d82e
CRs-Fixed: 2015843
2017-03-15 05:08:55 -07:00
Sandeep Puligilla
7deaee9e98 Release 5.2.0.15E
Release 5.2.0.15E

Change-Id: I33b2135c4e659bfd148c6efc83105ef5f3084ab8
CRs-Fixed: 688141
2017-03-15 04:26:47 -07:00
Abhishek Singh
257a9483f6 qcacld-3.0: Add support to update the def scan params from INI file
Add support to update the scan params depending on the values in
INI file

Change-Id: Idebc7e6c02bc6a7405b33a9f99c1e5186341c494
CRs-Fixed: 2013212
2017-03-15 04:26:47 -07:00
Sandeep Puligilla
1a61cd5c0d Release 5.2.0.15D
Release 5.2.0.15D

Change-Id: Ic4a6724af709c3515cc2e8d811d1f498bd460959
CRs-Fixed: 688141
2017-03-15 02:57:27 -07:00
Ganesh Kondabattini
520a83deeb qcacld-3.0: Don't change the limSmeState for tdls peer
For TDLS peer delete, mlme changes the limSmeState of STA session
to eLIM_MLM_WT_DEL_STA_RSP_STATE.

This leads to not sending vdev down to FW for STA interface as
psessionEntry->limMlmState is not in eLIM_MLM_LINK_ESTABLISHED_STATE.

CRs-Fixed: 2019041
Change-Id: I0707eabc8f4cf2571996d8ef2d6d621e01bcbb39
2017-03-15 02:57:27 -07:00
Sandeep Puligilla
850e523bbc Release 5.2.0.15C
Release 5.2.0.15C

Change-Id: Iffd0c4d6f577d646465a2f1740f7b24c928ea0e5
CRs-Fixed: 688141
2017-03-15 02:19:16 -07:00
Ashish Kumar Dhanotiya
f998a58976 qcacld-3.0: Change default fw log mode
Set default fw log mode to 1, which will re-direct fw logs to WMI.

Change-Id: Iec2d344bf3a419858fb92950bc234b5d1576c3d9
CRs-Fixed: 2007175
2017-03-15 02:19:16 -07:00
Sandeep Puligilla
c3a99faf66 Release 5.2.0.15B
Release 5.2.0.15B

Change-Id: I8a3cce9ead89ead3c806600f7ce78abc9e360347
CRs-Fixed: 688141
2017-03-15 01:03:11 -07:00
Mukul Sharma
72ffb7e14b qcacld-3.0: Free wow params as apart of the suspend/resume
Free wow params as apart of the suspend/resume.

Change-Id: I6a3ab9098704cfd7e7d270b0a77f0521ae9d9ce9
CRs-Fixed: 2019140
2017-03-15 01:03:11 -07:00
Sandeep Puligilla
2caeaf7b4a Release 5.2.0.15A
Release 5.2.0.15A

Change-Id: I8d2185dbace96bb7a50578b8523a56d3a0f3b3d0
CRs-Fixed: 688141
2017-03-14 23:40:52 -07:00
Varun Reddy Yeturu
88f123c804 qcacld-3.0: Ignore RSI if disconnect is initiated
Ignore the Roam Synch Indication from firmware if the
user space has already issued a disconnect before
receiving ROAM_START from firmware.

Disconnect might have cleared the roam profile and will be
sitting in the queue for the PE processing to happen.
If the disconnect is in the queue and a roam synch indication
is received, then check the CSR state from the first callback
of roam synch propagation and bail out there itself.

Disconnect will eventually send a ROAM_STOP command to the
firmware and it will cleanup

Change-Id: I528f552cd601dc9d23f709410115fb0af944899d
CRs-Fixed: 2018928
2017-03-14 23:40:51 -07:00
Varun Reddy Yeturu
f86f052f74 qcacld-3.0: Issue disconnect if roaming fails
If the offloaded roaming feature has started, but
has not completed for some reason, then issue a
disconnect and cleanup

Change-Id: Ibcd4f83ea126a1d05531f9bf30d6827008fdbfea
CRs-Fixed: 2019435
2017-03-14 23:40:50 -07:00
Sandeep Puligilla
0eb6f340e3 Release 5.2.0.15
Release 5.2.0.15

Change-Id: I8567b307634bc8d9981f2c70bee04e72ae18e804
CRs-Fixed: 688141
2017-03-14 22:23:37 -07:00
Jeff Johnson
0d26ae673f qcacld-3.0: Fix HDD scan cleanup issues
While addressing the issue fixed by change "qcacld-3.0: Cleanup scan
queue during driver unload" a couple of issues were observed in the
HDD scan cleanup code:
1) list node was directly typecast to hdd_scan_req instead of using
   container_of() operation.
2) hdd_scan_req_q_lock spinlock was not being destroyed.

Address these issues.

Change-Id: I6d1e7f5a78848d43e62f893b82f538b960ea0609
CRs-Fixed: 2018045
2017-03-14 22:23:36 -07:00
Jeff Johnson
f337b0c176 qcacld-3.0: Cleanup scan queue during driver unload
The following assert was observed during driver unload:
  QDF ASSERT in qdf_list_destroy Line 90
  PC is at hdd_scan_context_destroy+0x4c/0x78 [wlan]

There was also an associated memory leak detected:
 memory Leak@ File core/hdd/src/wlan_hdd_scan.c, @Line 562, size 48
 memory Leak@ File core/hdd/src/wlan_hdd_scan.c, @Line 2284, size 584

The issue is that the scan cleanup routine, hdd_cleanup_scan_queue(),
is currently only called during SSR and is not being called during the
driver unload sequence. Update the unload sequence to call this API.

Change-Id: Ib398a528cbb504bc132d985a0fa8c2a772d44332
CRs-Fixed: 2018045
2017-03-14 22:23:35 -07:00
Sandeep Puligilla
129083e411 Release 5.2.0.14Z
Release 5.2.0.14Z

Change-Id: I4fcd426641abae6e09c1b5db527ee2709cfff7f9
CRs-Fixed: 688141
2017-03-14 20:58:01 -07:00
Rajeev Kumar
662d75d26b qcacld-3.0: Purge shutdown notification before wma_close
WMA registers for shutdown notification and during wma_close
WMA events are destroyed which are accessed from WMA shutdown
callback. Hence make sure to purge shutdown notification 1st
before calling wma_close.

Change-Id: I868a835f3da52596c0451f9c99638dbc97ea6abe
CRs-Fixed: 2018911
2017-03-14 20:58:01 -07:00
Sandeep Puligilla
faf089a04a Release 5.2.0.14Y
Release 5.2.0.14Y

Change-Id: I72a10f2b87c8b09c90b2cba75dd4dbece324c2e9
CRs-Fixed: 688141
2017-03-14 20:22:17 -07:00
Ashish Kumar Dhanotiya
ff4e1c4bc4 qcacld-3.0: Check module status before processing driver command
If the driver module is closed do not process the driver command,
it will lead to a crash by accesssing uninitialized lock.

To handle this issue check the module status before processing
driver command and if module is closed, simply return error.

Change-Id: Ic651e1abdf6b2efa27e57695c04ace249f9d21bb
CRs-Fixed: 2018746
2017-03-14 20:22:17 -07:00
Sandeep Puligilla
086986f0c8 Release 5.2.0.14X
Release 5.2.0.14X

Change-Id: If72ae63bd7703605724ed942bd1eaba3b37e20dc
CRs-Fixed: 688141
2017-03-14 12:57:54 -07:00
Selvaraj, Sridhar
4f684bbaf2 qcacld-3.0: Add "g_enable_bcast_probe_rsp" INI and pass it to firmware
Add "g_enable_bcast_probe_rsp" INI and pass the configured value
to firmware for STA vdev as part of vdev attach. Based on this INI,
firmware will send the dwell time IE in probe request.

Change-Id: I446c7d7589534688e04579ed434de0803ed8b4ff
CRs-Fixed: 1113498
2017-03-14 12:57:54 -07:00
Sandeep Puligilla
1f33d4293e Release 5.2.0.14W
Release 5.2.0.14W

Change-Id: Ib286c892c8b80128fe2ed0c3d3d5e38137e4c36e
CRs-Fixed: 688141
2017-03-14 11:26:58 -07:00
Dustin Brown
d5f1294562 qcacld-3.0: Acquire wakelock before sending VDEV_START
The host driver should not attempt to power collapse while pending
VDEV_START commands are in flight. Acquire a wakelock before sending a
VDEV_START request to firmware, and release it upon receipt of
VDEV_START response.

Change-Id: Iccca8ce4213b7527421f6b93fc4e08be9c31f471
CRs-Fixed: 2018066
2017-03-14 11:26:58 -07:00
Sandeep Puligilla
5581285544 Release 5.2.0.14V
Release 5.2.0.14V

Change-Id: I64e23eb45918fd068dc0a766289737a62c07bd4b
CRs-Fixed: 688141
2017-03-14 00:52:01 -07:00