Commit Graph

5675 Commits

Author SHA1 Message Date
CNSS_WLAN Service
a67a2ad43e Merge "qcacld-3.0: Add support for attributes in MBO-OCE IE" into wlan-cld3.driver.lnx.2.0-dev 2017-07-08 18:46:07 -07:00
CNSS_WLAN Service
584a0f0e75 Merge "Release 5.2.0.33P" into wlan-cld3.driver.lnx.2.0-dev 2017-07-08 18:46:05 -07:00
CNSS_WLAN Service
8565de6531 Merge "qcacld-3.0: Fix memory leak issues in HDD" into wlan-cld3.driver.lnx.2.0-dev 2017-07-08 18:46:04 -07:00
CNSS_WLAN Service
d327eda091 Merge "Release 5.2.0.33O" into wlan-cld3.driver.lnx.2.0-dev 2017-07-08 18:46:03 -07:00
CNSS_WLAN Service
a7ed251b0d Merge "qcacld-3.0: Move IPA SSR deinit after CDS Sched close" into wlan-cld3.driver.lnx.2.0-dev 2017-07-08 18:46:02 -07:00
CNSS_WLAN Service
bf88b0531d Merge "Release 5.2.0.33N" into wlan-cld3.driver.lnx.2.0-dev 2017-07-08 18:45:59 -07:00
CNSS_WLAN Service
ed8e2ccf54 Merge "qcacld-3.0: Configure scan burst duration when NDI is active" into wlan-cld3.driver.lnx.2.0-dev 2017-07-08 18:45:58 -07:00
CNSS_WLAN Service
a30ecd54a0 Merge "qcacld-3.0: Fix stability issue while freeing NDI session" into wlan-cld3.driver.lnx.2.0-dev 2017-07-08 18:45:57 -07:00
CNSS_WLAN Service
1021f2b888 Merge "Release 5.2.0.33M" into wlan-cld3.driver.lnx.2.0-dev 2017-07-08 18:45:56 -07:00
CNSS_WLAN Service
253a73ec5e Merge "qcacld-3.0: Fix NAN peer addition/deletion with all-zero mac addr" into wlan-cld3.driver.lnx.2.0-dev 2017-07-08 18:45:55 -07:00
CNSS_WLAN Service
919a89c3f1 Merge "qcacld-3.0: Fix build errors generated by gcc 6" into wlan-cld3.driver.lnx.2.0-dev 2017-07-08 18:45:54 -07:00
CNSS_WLAN Service
cd0082ff92 Merge "qcacld-3.0: Fix cds_mc_thread getting stuck in infinite loop" into wlan-cld3.driver.lnx.2.0-dev 2017-07-08 18:45:53 -07:00
CNSS_WLAN Service
962f696816 Merge "qcacld-3.0: Fix the value of LIM_ENCR_AUTH_BODY_LEN" into wlan-cld3.driver.lnx.2.0-dev 2017-07-08 18:45:51 -07:00
CNSS_WLAN Service
1988e52ac7 Merge "qcacld-3.0: Remove obsolete FTM state data structures" into wlan-cld3.driver.lnx.2.0-dev 2017-07-08 18:45:50 -07:00
Abhishek Singh
951eed897f qcacld-3.0: Add support for attributes in MBO-OCE IE
Currently MBO-OCE IE doesn't support different attributes and
consider the IE as fixed IE with only cellular data and assoc
disallowed attributes.

To fix this added support for parsing of different attributes of
MBO-OCE IE

Change-Id: Ia7eb38cec3dbb4022acbcc06588004b5bf4ca87f
CRs-Fixed: 2063865
2017-07-06 09:41:39 -07:00
snandini
6f0ced5627 Release 5.2.0.33P
Release 5.2.0.33P

Change-Id: Id81f096a21a560864208a2782d4f5dc3d0f93111
CRs-Fixed: 774533
2017-07-06 07:45:24 -07:00
SaidiReddy Yenuga
466b3ce1b0 qcacld-3.0: Fix memory leak issues in HDD
In few instances memory allocated dynamically, but
its not freed after usage.

free the allocated space after usage.

CRs-Fixed: 2041467
Change-Id: Iae551cd3acbb6bc2618f05cfdc33e4f742d63192
2017-07-06 07:45:23 -07:00
snandini
88e2a04504 Release 5.2.0.33O
Release 5.2.0.33O

Change-Id: Id54903df632c905f70ad54eb70ad4b95212dba31
CRs-Fixed: 774533
2017-07-06 03:50:30 -07:00
Manikandan Mohan
71844ea2cb qcacld-3.0: Move IPA SSR deinit after CDS Sched close
Fix crash due to race condition between MC thread and shutdown
sequence worker thread by moving IPA SSR deinit after MC thread
shutdown.

Change-Id: Id9ee6de5b176e302f865ab959aca29fb708dd6bc
CRs-fixed: 2071804
2017-07-06 03:50:29 -07:00
snandini
950e541980 Release 5.2.0.33N
Release 5.2.0.33N

Change-Id: Id135ec5392b2bfa9c60400f3fb234e38c0dc17ed
CRs-Fixed: 774533
2017-07-05 22:57:32 -07:00
Ravi Joshi
3750de94c4 qcacld-3.0: Configure scan burst duration when NDI is active
Configure burst duration for the scan when VDEV is in NDI mode
and at least one peer is connected.

CRs-Fixed: 2055300
Change-Id: I4cd582ad8df6bc2aa2095cff1933b2f9d166fd60
2017-07-05 22:57:31 -07:00
Ravi Joshi
1a2925608c qcacld-3.0: Fix stability issue while freeing NDI session
It is better to follow 2 stage sequence for NAN as well like
1) open adapter 2) start adapter (sme_open_session). Since that
is not possible making hdd_init_nan_data_mode happens at the end
when all adapters registered.

Change-Id: Ib67a8f8e9ee5546a77d90d04f0a69a2a5a739e4d
CRs-Fixed: 2049177
2017-07-05 22:57:30 -07:00
snandini
5fc7544e54 Release 5.2.0.33M
Release 5.2.0.33M

Change-Id: Ida19946d58d68e9aef33e4ca5e20917496caf82b
CRs-Fixed: 774533
2017-07-05 22:12:13 -07:00
Ravi Joshi
bf5981365c qcacld-3.0: Fix NAN peer addition/deletion with all-zero mac addr
NAN Enable/NAN Disable followed by NAN data request causes NDP to
fail. The failure is due to the firmware sending all-zero peer
mac address. Even though, FW should not be sending all-zero
peer address, the host should not attempt to add/delete such
a peer.

CRs-Fixed: 2043780
Change-Id: Ieab390d3fe4c585e1692767839856af2ad17a37b
2017-07-05 22:12:13 -07:00
wadesong
42968e93c3 qcacld-3.0: Fix build errors generated by gcc 6
Gcc 6 introduces some stricter checking for indentation,
causing warnings of misleading-indentation, which are
treated as build errors when drivers are compiled.

Fix all the identation warnings under qcacld-3.0.

Change-Id: Ie197761cfe4334ab14d593adebc56375372ba37c
CRs-Fixed: 2058158
2017-07-05 22:12:11 -07:00
Ravi Joshi
b228f09444 qcacld-3.0: Fix cds_mc_thread getting stuck in infinite loop
A null IE in the bss entry was causing a busyloop in the
cds-mc-thread.

Change-Id: Ia8bc11f7ee31b2be48d6f1fd9cfb50bc6e49c0c3
CRs-Fixed: 2043510
2017-07-05 22:12:09 -07:00
snandini
663d2424c1 Release 5.2.0.33L
Release 5.2.0.33L

Change-Id: I066b3fc3090aae05234aad2b0b0e837441f20a7f
CRs-Fixed: 774533
2017-07-05 17:51:09 -07:00
Arif Hussain
f73e843bd4 qcacld-3.0: Send WMA_SWITCH_CHANNEL_RSP in wma_set_channel for monitor mode
In wma_set_channel function for monitor mode WMI_PDEV_SET_CHANNEL_CMDID
is used to set channel.

In lim, while sending WMA_CHNL_SWITCH_REQ, defer flag was set to wait for
WMA_SWITCH_CHANNEL_RSP from firmware, incase if we don’t use
WMA_CHNL_SWITCH_REQ in monitor mode, send WMA_SWITCH_CHANNEL_RSP
from wma_set_channel itself to reset defer flag in lim.

Change-Id: Ica96be08d8fb2af5ca5dc07182b690ea5c2bdbae
CRs-Fixed: 2010363
2017-07-05 17:51:08 -07:00
Sameer Thalappil
ac5d26eb5e qcacld-3.0: Add support for host initiated recovery
If platform has a mechanism to initiate target assert, trigger
that interface to force assert target. Certain integrated platforms
(where WLAN runs on it's own PD) provides a mechanism to initiate PDR
from host. That interface can be triggered when WLAN host detect
timeout scenarios.

CRs-Fixed: 1110243
Change-Id: I6a9408f47ca4245380dbf4177363c3c461ff948d
2017-07-05 17:51:06 -07:00
Rajeev Kumar
170310b310 qcacld-3.0: Remove obsolete FTM state data structures
FTM state structures wlan_hdd_ftm_state and wlan_hdd_ftm_status
are not used hence remove them.

Change-Id: I03e0e11e3f7436da99eeb6a1b0fd128e5bf31e7e
CRs-Fixed: 2052605
2017-07-05 15:53:25 -07:00
snandini
2a519af313 Release 5.2.0.33K
Release 5.2.0.33K

Change-Id: I4eadd0d92f758373f0131e7095b9f488efd09941
CRs-Fixed: 774533
2017-07-05 11:50:54 -07:00
Deepak Dhamdhere
be72e80caa qcacld-3.0: Fix error handling in peer creation
Return error instead of QDF_BUG(0) in ol_txrx_peer_attach() when it
times out on duplicate peer detection. Peer unmap events from firmware
may take more than 500 ms timeout observed by this routine.
wma_create_peer() should return error status on failure to create peer.

CRs-Fixed: 2004665
Change-Id: I8368c6320139f97584bd1647f1806a695d4a5929
2017-07-05 11:50:53 -07:00
snandini
7add0f66d1 Release 5.2.0.33J
Release 5.2.0.33J

Change-Id: I3576b8052369aa6c4a06d34a642525f8c0cf1eb8
CRs-Fixed: 774533
2017-07-05 09:45:01 -07:00
Jeff Johnson
ab01d2b9af qcacld-3.0: Move WMI_PDEV_FIPS_EVENTID handling to workqueue
Currently the WMI_PDEV_FIPS_EVENTID handler is registered to use
WMA_RX_SERIALIZER_CTX. However the FIPS feature does not use pMac and
hence does not require serialization through the MC Thread. So change
the registration to use WMA_RX_WORK_CTX.

Change-Id: Iec0b87331008bbe393efa1cbc2071af75012022e
CRs-Fixed: 2068572
2017-07-05 09:45:00 -07:00
snandini
f87f0df229 Release 5.2.0.33I
Release 5.2.0.33I

Change-Id: I8ccf64cdbf4f8cf5ccdceb9a7b348f10039f67c9
CRs-Fixed: 774533
2017-07-05 07:45:16 -07:00
Wu Gao
2968fc953f qcacld-3.0: Check pointer pLimJoinReq before access
When reassoc to AP, pLimJoinReq will be NULL and there is not NUll
check before access, which cause DUT crash. Verify the pointer before
access it, set SMPS for both join and reassoc cases.

Change-Id: Ifbaf8d52c4be1a2a31506e4ab49e6d5b68596645
CRs-Fixed: 2062392
2017-07-05 07:45:16 -07:00
snandini
2a0d9a51d1 Release 5.2.0.33H
Release 5.2.0.33H

Change-Id: Ic616d4e81988cf6ea5d58576b2e033b17d73d385
CRs-Fixed: 774533
2017-07-05 05:50:40 -07:00
Ashish Kumar Dhanotiya
9335d81f23 qcacld-3.0: Add host support to configure ITO repeat count
Add Host support to configure inactivity timeout repeated
count from ini.

Change-Id: I6b079ab55470838a9bf5488ec18dbd2977c3ee17
CRs-Fixed: 2066004
2017-07-05 05:50:39 -07:00
snandini
205f9d15e5 Release 5.2.0.33G
Release 5.2.0.33G

Change-Id: Ib3613fc014c2599825598e44c925f89b66e26722
CRs-Fixed: 774533
2017-07-05 03:40:56 -07:00
Ashish Kumar Dhanotiya
09d22cf288 qcacld-3.0: Add correct api call to get proper boot time
Propagation from qcacld-2.0 to qcacld-3.0.

Currently to get clock boottime, qdf_get_monotonic_boottime_ns
api is getting used which does not include the suspend time.

To include the system suspend time also in clock boottime, use
qdf_get_bootbased_boottime_ns api which uses ktime_get_boot_ns
kernel api.

Change-Id: Ibcc628c315201fa3ced7e1ad96753772d91707b2
CRs-Fixed: 2067770
2017-07-05 03:40:55 -07:00
snandini
4f0e084945 Release 5.2.0.33F
Release 5.2.0.33F

Change-Id: I7ae2446cdbbd4750d0d715bd5aca2dfbb9f75733
CRs-Fixed: 774533
2017-07-04 05:40:43 -07:00
Wu Gao
5f107a05ad qcacld-3.0: Free ipa uc tx buffer pool with adaptive method
If do not define QCA_WIFI_3_0, it alloc ipa uc tx buffer by
qdf_nbuf_alloc, but free by qdf_mem_free_consistent, which cause
memory leak. Solution is freeing with corresponding method.

Change-Id: I407712e545acfe5aeef8c8afa58785e42556ca02
CRs-Fixed: 2061922
2017-07-04 05:40:42 -07:00
snandini
511043a2fe Release 5.2.0.33E
Release 5.2.0.33E

Change-Id: I14fbfdd7542932b35790976199497d96e9010707
CRs-Fixed: 774533
2017-07-04 04:29:57 -07:00
jge
35cba62d45 qcacld-3.0: Correct NULL check when using ol_tx_dest_addr_find
Fix static analyze issues. add NULL pointer check.

Change-Id: Icc80211b945d1eaabfb6015ba93e0c3114f2c589
CRs-Fixed: 2059683
2017-07-04 04:29:56 -07:00
snandini
264d8cc94e Release 5.2.0.33D
Release 5.2.0.33D

Change-Id: Ic80a20cb94e07c6d6a802cf1f809072860fefd62
CRs-Fixed: 774533
2017-07-04 03:45:23 -07:00
Rajeev Kumar Sirasanagandla
873b6d9b66 qcacld-3.0: Send proper CTL info to fw in world regd
Currently, for world regd and some other regds where conformance test
limit is NO_CTL, host is sending invalid CTL info to fw instead of
NO_CTL (0xff) due to type conversion issues.

To fix this, use proper unsigned type for CTL info.

Change-Id: I6aff04f0142b5c8e4ff2ea91d85ae7108390c89f
CRs-Fixed: 2056834
2017-07-04 03:45:22 -07:00
snandini
6646bd4be6 Release 5.2.0.33C
Release 5.2.0.33C

Change-Id: Id447ce883de579e21dd499edec8ffd2bde56682f
CRs-Fixed: 774533
2017-07-04 01:42:26 -07:00
Deepak Dhamdhere
57c95ffabf qcacld-3.0: Scan stuck when lfr enable/disable using pvt ioctl
When dissassoc or deauth is issued by user a.k.a (supplicant), it has
dependency on few parameters like isFastRoamIniFeatureEnable in
cleanup path. This change removes the dependency.

Change-Id: I601e33e7e57b0ebb76fd06d3c176bfabb9568ba8
CRs-Fixed: 754116
2017-07-04 01:42:25 -07:00
snandini
5e3ef0ac56 Release 5.2.0.33B
Release 5.2.0.33B

Change-Id: Ib6f955e3e9c05fbbe18c8de3c984fcc6a33b32f4
CRs-Fixed: 774533
2017-07-03 19:54:20 -07:00
Hanumanth Reddy Pothula
2a8a740a4d qcacld-3.0: Add support for SSR within SSR
Add below changes to support SSR within SSR,
1.Add new driver state, CDS_DRIVER_STATE_BAD, which will be set
  on re-init failure and reset on re-init success and if this
  state is set, don't allow any north-bound calls.
2.Don't de-register wiphy/netdev on re-init failure.
3.BUG_ON if re-init or probe fails successively for two times.
4.During driver unload, don't wait for SSR to be completed.

Change-Id: Id05a3e4b592664c9b56c7dd83b965b973f1d5ca5
CRs-Fixed: 2037628
2017-07-03 19:54:20 -07:00