Commit Graph

3136 Commits

Author SHA1 Message Date
Frank Liu
65b17d9609 qcacld-3.0: Support southbound interface
Attach southbound interface. Each individual component is supposed
to define tx_ops and rx_ops function to attach with southbound.

Change-Id: I622a53ab76bc3bab3774e90569af53ad49b95053
CRs-Fixed: 1096553
2016-12-21 03:12:35 -08:00
qcabuildsw
32cd2a4a30 Release 5.2.0.3K
Release 5.2.0.3K

Change-Id: Ie42b90eaad86962f62c12e34f8eb212af4ca2d86
CRs-Fixed: 688141
2016-12-20 19:47:27 -08:00
Nitesh Shah
757435ed38 qcacld-3.0: Input validation for RSSI Delta for TDLS Config
Validating input for RSSI Delta for TDLS configuration in
the function wlan_hdd_tdls_check_config().

Change-Id: I74c00db19dc28f363fe4e349b2bd94440bfc9238
CRs-Fixed: 1102929
2016-12-20 19:47:26 -08:00
qcabuildsw
d612e4988c Release 5.2.0.3J
Release 5.2.0.3J

Change-Id: Ib7ad93e773eb7a15fc7b7b015e5c3a2c1401f925
CRs-Fixed: 688141
2016-12-20 13:17:38 -08:00
Arunk Khandavalli
649c009002 qcacld-3.0: Do not invoke pld_power_off during the module exit
Platform driver takes care of power off sequence during the module
exit.
Do not invoke the pld_power_off during the unload sequence.

Change-Id: Ib6d2e192849076acb60e0e6ebbbb9e5ed5938c2b
CRs-Fixed: 1093190
2016-12-20 13:17:37 -08:00
qcabuildsw
66f937362a Release 5.2.0.3I
Release 5.2.0.3I

Change-Id: I78adff926d02659871e61a55a3de8b9f775d9bdd
CRs-Fixed: 688141
2016-12-20 12:15:29 -08:00
Nitesh Shah
03161d1276 qcacld-3.0: Add INI template for concurrency feature
Add INI template for concurrency feature for documentation.

Change-Id: Idf6331a0b1c0d359058876bf256fc929175a0c9f
CRs-Fixed: 1097839
2016-12-20 12:15:27 -08:00
qcabuildsw
525c1d78b0 Release 5.2.0.3H
Release 5.2.0.3H

Change-Id: I72b47d6f30c4486b51f7523b2a5710f0165d7c0d
CRs-Fixed: 688141
2016-12-20 06:24:27 -08:00
Nitesh Shah
bb40583a0b qcacld-3.0: Add INI template for TDLS feature
Add INI template for TDLS feature for documentation.

Change-Id: I563c86bbfb55984a55ac3ae967fc9fb3ae90cd7b
CRs-Fixed: 1098818
2016-12-20 06:24:26 -08:00
qcabuildsw
33c293ab88 Release 5.2.0.3G
Release 5.2.0.3G

Change-Id: I21fc03d32cee42f69fe01ea536f176d996ae43a9
CRs-Fixed: 688141
2016-12-19 10:19:47 -08:00
Jeff Johnson
f5289be449 qcacld-3.0: Properly export qos_release_command()
We want to enable the -Wmissing-prototypes compiler switch. Currently
when enabled there is a build failure due to qos_release_command() not
having a prototype. Add a proper prototype, and remove the associated
extern declaration from sme_api.c that is no longer required. In
addition remove adjacent obsolete prototypes.

Change-Id: If5f67e4cb8fdfe01837620394f23ede74cd6cf7c
CRs-Fixed: 1095704
2016-12-19 10:19:46 -08:00
Jeff Johnson
2fb441a354 qcacld-3.0: Make cds_config_recovery_work() static
Recently change "qcacld-3.0: Add support for silent recovery in
cds_trigger_recovery()" added function cds_config_recovery_work().
This function is currently not defined as static, but it also does not
have a public prototype, and this results in a warning when the
compiler's -Wmissing-prototypes switch is used. Since this function is
not accessed from outside cds_api.c, make it static.

Change-Id: I5e78ff767931d21e99b1aff280deb3f9951ee866
CRs-Fixed: 1095791
2016-12-19 10:19:45 -08:00
Jeff Johnson
43fee1ca87 qcacld-3.0: Fix -Wmissing-prototypes in lim_process_tdls
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_process_tdls.

Change-Id: I9de6249723767fbcac8ef198174b17601293ed5f
CRs-Fixed: 1095421
2016-12-19 10:19:43 -08:00
Jeff Johnson
624240a83e qcacld-3.0: Fix -Wmissing-prototypes in sch_api.c
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code in sch_api.c that is generating warnings.

To address these warnings:
1) remove unused/obsolete functions sch_get_cfp_count() and
   sch_get_cfp_dur_remaining().
2) make local function lim_remove_p2p_ie_from_add_ie() static.

Change-Id: I9d211c920cef24fe2a105c6620b4fac5221b2ebc
CRs-Fixed: 1095738
2016-12-19 10:19:41 -08:00
Jeff Johnson
945f843326 qcacld-3.0: Fix -Wmissing-prototypes in lim_process_message_queue
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_process_message_queue.

Change-Id: Ic95960eef7086a780d46291f7dd49313a144084c
CRs-Fixed: 1095421
2016-12-19 10:19:40 -08:00
Jeff Johnson
ec8ebff1bd qcacld-3.0: Fix -Wmissing-prototypes in parser_api.c
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code in parser_api.c that is generating warnings.

To address these warnings:
1) remove unused/obsolete function swap_bit_field32.
2) make all local functions static.

Change-Id: I80fecfdef2465e6006eb00cc77a22fce81398deb
CRs-Fixed: 1095740
2016-12-19 10:19:38 -08:00
qcabuildsw
4747161a5d Release 5.2.0.3F
Release 5.2.0.3F

Change-Id: I0070a5b9ec24feb58e4bdefda421608548caabf6
CRs-Fixed: 688141
2016-12-18 17:07:07 -08:00
Nitesh Shah
61c10d9d43 qcacld-3.0: Enable/Disable TDLS on p2p remain on channel request
Propagation from qcacld-2.0 to qcacld-3.0

Currently, TDLS mode is not changed on p2p remain on channel
request and if other source enable TDLS during ROC in progress
then TDLS connection may proceed which is not supported.

Fix is to ensure that TDLS will not be enabled/disabled
until all the resources agree upon it.

Change-Id: Ic20f364fc833008d8782c28efb21a7b884a2cb14
CRs-Fixed: 959085
2016-12-18 17:07:06 -08:00
qcabuildsw
293ebba0db Release 5.2.0.3E
Release 5.2.0.3E

Change-Id: Ied10978cf96532e3705a41e1afdaaa1822077128
CRs-Fixed: 688141
2016-12-18 15:43:14 -08:00
Nitesh Shah
c87a7a8a14 qcacld-3.0: Add IOCTL template for concurrency feature
Add IOCTL template for concurrency feature for documentation.

Change-Id: Ia47b00a0912c6a65362bddeef1c37cb26a807e8c
CRs-Fixed: 1097839
2016-12-18 15:43:14 -08:00
qcabuildsw
30bc01eace Release 5.2.0.3D
Release 5.2.0.3D

Change-Id: Ie269773b8f8ef036d52add51f3acaa1f7981fc67
CRs-Fixed: 688141
2016-12-17 05:32:33 -08:00
Nitesh Shah
8ed3b579b9 qcacld-3.0: Define gVdevTypeNss_2g and VdevTypeNss_5g as Hex
The ini parameters gVdevTypeNss_2g and VdevTypeNss_5g is
defined as Integer, but it need to be used as hex inputs.

The fix is to define the type for both ini as Hex.

Change-Id: Ic0adb8287652ab1dcc89107e1610637342c426ec
CRs-Fixed: 1102612
2016-12-17 05:32:32 -08:00
qcabuildsw
83ef219724 Release 5.2.0.3C
Release 5.2.0.3C

Change-Id: Iab4fbaa7eed1da1ad83f93f61923889009de16f2
CRs-Fixed: 688141
2016-12-16 15:06:42 -08:00
Jeff Johnson
f89f58f632 qcacld-3.0: Fix -Wmissing-prototypes in TXRX
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in core/dp/txrx.

Change-Id: Ib6ad0a6414456e2b4c6b881b94d716843cdf24cc
CRs-Fixed: 1091496
2016-12-16 15:06:41 -08:00
qcabuildsw
b21187e3fa Release 5.2.0.3B
Release 5.2.0.3B

Change-Id: Ic4bf6b0e04d6e6b0e679af0a9e99c5af7547d932
CRs-Fixed: 688141
2016-12-16 01:19:44 -08:00
Himanshu Agarwal
f0481724e8 qcacld-3.0: Update ini/ioctl template
Update ini and ioctl template in the code base
with the defined template to generate the document
using the script.

This change includes the following features:
LRO, NAPI

Change-Id: I66d4d5a78faacfe2673649281cf037135ef108b7
CRs-Fixed: 1097299
2016-12-16 01:19:43 -08:00
qcabuildsw
d86ffded41 Release 5.2.0.3A
Release 5.2.0.3A

Change-Id: I4e4b028e550c917ef1c26bf9f2c70fa0dc471590
CRs-Fixed: 688141
2016-12-15 10:21:31 -08:00
Dustin Brown
4d1e846b92 qcacld-3.0: Validate packet filter data offset
When configuring a packet filter request, ensure the provided data
offset values are less than the maximum data offset supported by
firmware.

Change-Id: I74ac672dd51245ab954457fdc87bd1e8421b3e1b
CRs-Fixed: 1101487
2016-12-15 10:21:30 -08:00
Dustin Brown
2afb6f5c96 qcacld-3.0: Fix memory leaks when WMI send fails
Calls to wmi_unified_cmd_send() do not cleanup the passed buffer on
failure. Ensure all calls to wmi_unified_cmd_send() handle the failure
case and free the passed buffer.

Change-Id: I222bfbafc7e1f2eb0e11a54775a5d01a7a339521
CRs-Fixed: 1100325
2016-12-15 10:21:28 -08:00
qcabuildsw
5c0534e029 Release 5.2.0.3
Release 5.2.0.3

Change-Id: I6514a548a896fbe75137870cf00c825f15075007
CRs-Fixed: 688141
2016-12-14 22:34:00 -08:00
Poddar, Siddarth
cc250aa092 qcacld-3.0: Update ini/ioctl template
Update ini and ioctl template in the code base
with the defined template to generate the document
using the script.
This change includes the following features:
Dynamic Flow Control, Tcp_delay_seg_adj and TSO.

CRs-Fixed: 1097299
Change-Id: I3e9f54d0f22cb6438688d03fe722e0cc8e8fe035
2016-12-14 22:33:59 -08:00
qcabuildsw
0cdc0396d3 Release 5.2.0.2Z
Release 5.2.0.2Z

Change-Id: I58f24714d459834460a71775c7429387ea8e507c
CRs-Fixed: 688141
2016-12-14 20:49:44 -08:00
Rajeev Kumar
0b73295ef9 qcacld-3.0: Rename scheduler_resume_complete to scheduler_resume
Rename scheduler_resume_complete to scheduler_resume as an API
needs to hide its internal implementation.

Change-Id: I1b7cfbfeeffd4e108d86624dc1ecf6dd73f301c7
CRs-Fixed: 1101516
2016-12-14 20:49:43 -08:00
Rajeev Kumar
eada0d05db qcacld-3.0: Rename legacy isMcThreadSuspended to is_scheduler_suspended
Rename legacy isMcThreadSuspended to is_scheduler_suspended as MC thread
terminology is obsolete and scheduler is common name for new control
path scheduling entity.

Change-Id: I21ec90855e794ad6bea154d7b7b86417a564cac3
CRs-Fixed: 1101514
2016-12-14 20:49:41 -08:00
qcabuildsw
5791f36a5d Release 5.2.0.2Y
Release 5.2.0.2Y

Change-Id: I149aedcb057f0b3308b05ac4e456e3a385ffc721
CRs-Fixed: 688141
2016-12-14 14:25:14 -08:00
Krishna Kumaar Natarajan
5fb9ac1213 qcacld-3.0: Register mgmt_send driver ops in data path
Register mgmt_send driver ops in data path

Change-Id: Id5d49cd87ca9ca03c66a1f9e48af821d4a6f0510
CRs-Fixed: 1100834
2016-12-14 14:25:11 -08:00
qcabuildsw
7c8bf1a903 Release 5.2.0.2X
Release 5.2.0.2X

Change-Id: I640a2d2d58e484fad4a41e2bea271eb244a06d67
CRs-Fixed: 688141
2016-12-14 14:25:09 -08:00
Anurag Chouhan
ae15544ec4 qcacld-3.0: move unnecessary error logs to warning
Propagation from qcacld-2.0 to qcacld-3.0.

Remove frequently seen unnecessary error logs to warning and info.

Change-Id: Idbeed4f66cf89e161db0674a261e701c77ed59c8
CRs-Fixed: 971507
2016-12-14 14:25:07 -08:00
qcabuildsw
5c4608af81 Release 5.2.0.2W
Release 5.2.0.2W

Change-Id: I3eeb7eb24aaaffabec5c363aef66148c87f36e8a
CRs-Fixed: 688141
2016-12-14 14:25:04 -08:00
Rajeev Kumar
e4cbd534a6 qcacld-3.0: Clean up obsolete conditional compilation NAPIER_CODE
Clean up obsolete conditional compilation NAPIER_CODE.

Change-Id: I6655c135757117535be1ccdc688dbe7ff5bd5a6a
CRs-Fixed: 1095867
2016-12-14 14:25:02 -08:00
Krunal Soni
d32c6bc3fd qcacld-3.0: Enable converged control path scheduler
Enable converged control path scheduler for cld driver
and disable legacy cds MC thread scheduler.

Change-Id: I11ecc6a5ee930a1039ed3460b3a3d4e5f7b75ac6
CRs-Fixed: 1095867
2016-12-14 14:25:00 -08:00
Rajeev Kumar
1705fc275e qcacld-3.0: Add Kbuild changes for control path converged scheduler
Add Kbuild changes for control path converged scheduler.

Change-Id: I62381d9a3ca4d950f9c44223222c68484f856188
CRs-Fixed: 1095867
2016-12-14 14:24:57 -08:00
qcabuildsw
d55f3164ec Release 5.2.0.2V
Release 5.2.0.2V

Change-Id: Idd389353b2fc34b2496208b8c5d543a4612150fa
CRs-Fixed: 688141
2016-12-14 14:24:55 -08:00
Dustin Brown
d95b96b398 qcacld-3.0: Expose Suspend/Resume Unit-Test Ioctls for SAP
Suspend/Resume unit-test framework exposes two ioctls when in station
mode. Expose these ioctls in SAP and P2P modes also.

Change-Id: I2c70e37cac72becc95fd3e3f94ac17ca5352ba66
CRs-Fixed: 1099735
2016-12-14 14:24:52 -08:00
qcabuildsw
b79485d157 Release 5.2.0.2U
Release 5.2.0.2U

Change-Id: I5e68e5b6e989973ca9b9121d1c9e7684e49c5a3b
CRs-Fixed: 688141
2016-12-14 14:08:43 -08:00
Varun Reddy Yeturu
dce1c564b8 qcacld-3.0: Do not allow disconnect during roaming
The roam synch indication processing cleans up the entire stack
with respect to the old peer and establishes the context of
the new peer. A disconnect request from upper layer during the
roam synch processing would cleanup old peer context partially
and request be queued to the PE queue to be processed further.
The roam synch indication processing resumes and picks up the
semi-cleaned context of the old peer.
So, do not allow disconnect if roaming is in progress.
Set the roaming in progress flag when is a ROAM START
is indicated by the firmware. Reset the flag once the
roaming is complete or even if it failed for some reason.
During the period when the flag is set, do not allow
disconnections from upper layers to go through.

Change-Id: If7cc92b25e2330f4280c7bf32c1ddd88fd4a510f
CRs-Fixed: 1091054
2016-12-14 14:08:41 -08:00
Ganesh Kondabattini
1a9d1e4e74 qcacld-3.0: aquire mutex qdf_conc_list_lock only if required
The mutex qdf_conc_list_lock should be used to protect the
access of conc_connection_list. If driver holds this lock and calls
sme api, then there is a chance of entering into a deadlock scenario
as sme api is going to aquire the sme global lock.

This change is going to make sure that driver doesn't hold
qdf_conc_list_lock and call any sme api.

CRs-Fixed: 1086929
Change-Id: I93819d13905609a6a2886b77e951db4253f281bd
2016-12-14 14:08:39 -08:00
Samuel Ahn
c9c48ca408 qcacld-3.0: Add support for multiple instances of the host driver
Propagation from qcacld-2.0 to qcacld-3.0.

If the module name is changed to something other than wlan in
Makefile or Kbuild, then MULTI_IF_NAME is defined to be the module name.
When MULTI_IF_NAME is defined, the names for the config files, log files,
and firmware files are prepended or appended with MULTI_IF_NAME. This
prevents file name collisions allowing multiple instances of this driver
to be loaded with different module names.

Change-Id: Id880c5fe423eb0b2a2c01677d8fa7c4a784c74df
CRs-Fixed: 946520
2016-12-14 14:08:37 -08:00
qcabuildsw
42234d808e Release 5.2.0.2T
Release 5.2.0.2T

Change-Id: I460b0573f670874c7c261a55d5f4e5d6f2a28909
CRs-Fixed: 688141
2016-12-14 14:08:35 -08:00
Deepak Dhamdhere
5a36a4a9f6 qcacld-3.0: Allow REASSOC to same BSSID
Allow wlan_hdd_cfg80211_connect() and wpa_cli "REASSOC" command
to reassociate to same bssid by using the currently connected
channel.

CRs-Fixed: 1089293
Change-Id: Idee480dc480a137426dd3189e1ca1e542bcf053a
2016-12-14 14:08:33 -08:00