Commit Graph

9468 Commits

Author SHA1 Message Date
nshrivas
a9b3312a91 Release 5.2.0.70Y
Release 5.2.0.70Y

Change-Id: I37c385a361b45292dd8e6d205ef82d69e5fe41e3
CRs-Fixed: 774533
2018-03-22 17:14:21 -07:00
Sravan Kumar Kairam
c056d9924f qcacld-3.0: Don't call IPA set perf level for unified WDI IPA
For unified WDI IPA rm resource manager is not initialized. Do not
call set perf level for ipa rm resources.

Change-Id: Icf9e50b4cbe8e3d1eeedd9428d48e1889339fe13
CRs-Fixed: 2210736
2018-03-22 10:15:14 -07:00
nshrivas
d0396bbd5a Release 5.2.0.70X
Release 5.2.0.70X

Change-Id: I067dbb60f8d3193ec1bceabdb46b93a09b2b655c
CRs-Fixed: 774533
2018-03-22 01:58:50 -07:00
Himanshu Agarwal
5fb304b11a qcacld-3.0: Assign center_freq1 and center_freq2 before use
As center_freq1 and center_freq2 passed in bss start params
by hostapd are not stored in sap_config, center_chan derived
in sap_ch_params_to_bonding_channels() is coming 0. And so BSS
start failed.

Store center_freq1 and center_freq2 in sap_config in
__wlan_hdd_cfg80211_start_ap().

Change-Id: I3a5869c2d8488a5bd272762b8dab67b340d72817
CRs-Fixed: 2193663
2018-03-22 01:58:50 -07:00
nshrivas
90e0ce4cfa Release 5.2.0.70W
Release 5.2.0.70W

Change-Id: Iad076888e3de7e719adb651d136e19db8321c3bc
CRs-Fixed: 774533
2018-03-21 18:57:38 -07:00
Sravan Kumar Kairam
cdf1753e97 qcacld-3.0: Fix compilation error for unified IPA WDI
Fix compilation error when unified IPA WDI is enabled in the
build.

Change-Id: Iebb47f3d34e065197d8fca3b76aae00d9390efdf
CRs-Fixed: 2177925
2018-03-21 18:57:38 -07:00
Sravan Kumar Kairam
983a445b37 qcacld-3.0: Move IPA SMMU functions to IPA component
IPA module has been moved to CLD component under the converged
driver model. Move the legacy HDD IPA SMMU functions to the
IPA component.

Change-Id: I3ac5ebe87cc48913f3e8e075e60737e78664f861
CRs-Fixed: 2177925
2018-03-21 18:57:34 -07:00
Sravan Kumar Kairam
5214f65bf9 qcacld-3.0: Move IPA WLAN event handler to IPA component
IPA module has been moved to CLD component under the converged
driver model. Move the legacy HDD IPA WLAN event handler to
the IPA component.

Change-Id: Ia53adce7ef29eea747f288fa074f96a84e47925d
CRs-Fixed: 2177925
2018-03-21 18:57:30 -07:00
Sravan Kumar Kairam
7d931ff37d qcacld-3.0: Move IPA FW OP event handler to IPA component
IPA module has been moved to CLD component under the converged
driver model. Move the legacy HDD IPA FW OP event handler to
the IPA component.

Change-Id: Idecf12c33a5b4ab80de50626029ff43b5f9336a2
CRs-Fixed: 2177925
2018-03-21 18:57:27 -07:00
Sravan Kumar Kairam
1309e7eaf5 qcacld-3.0: Move IPA UC offload initialization to IPA component
IPA module has been moved to CLD component under the converged
driver model. Move the legacy IPA UC offload initialization to
the IPA component.

Change-Id: I221a11e7f8aa2459918f87c6b043d4682e05cb04
CRs-Fixed: 2177925
2018-03-21 18:57:23 -07:00
Sravan Kumar Kairam
858073b1f9 qcacld-3.0: Remove legacy IPA code from HDD
As part of converged driver model remove IPA from
HDD and create a new IPA CLD component. Remove the
legacy code from the HDD.

Change-Id: Id4691e0f490c2f9bd9ccc8d5225be32002a5df9e
CRs-Fixed: 2177925
2018-03-21 18:57:20 -07:00
Sravan Kumar Kairam
271fab287a qcacld-3.0: Move IPA stats and debug info API to IPA component
IPA module has been moved to CLD component under the converged
driver model. Move the legacy IPA stats and debug info  APIs to
the IPA component.

Change-Id: Ieb68a1579986c835f66c84e5e3b7aa2a4004383d
CRs-Fixed: 2177925
2018-03-21 18:57:17 -07:00
Sravan Kumar Kairam
9e99e9a9f9 qcacld-3.0: Move IPA set perf level API to IPA component
IPA module has been moved to CLD component under the converged
driver model. Move the legacy IPA set perf level APIs to the IPA
component.

Change-Id: Idbbab9cc6885b6acf1cd40d432a236f0629c8dff
CRs-Fixed: 2177925
2018-03-21 18:57:14 -07:00
Sravan Kumar Kairam
2e7aae9fdb qcacld-3.0: Move IPA RM functionalities to IPA component
IPA module has been moved to CLD component under the converged
driver model. Move the legacy IPA RM APIs to the IPA component.

Change-Id: Iaff12ae3cec9ee6ff20543579692385c9a555613
CRs-Fixed: 2177925
2018-03-21 18:57:11 -07:00
Sravan Kumar Kairam
d01b445db4 qcacld-3.0: Move IPA setup and initialization to IPA component
IPA module has been moved to CLD component under the converged
driver model. Move the legacy IPA setup and initialization code
to the IPA component.

Change-Id: I63717eb2601c569131c6642f7330e4182e604424
CRs-Fixed: 2177925
2018-03-21 18:57:08 -07:00
Sravan Kumar Kairam
a0600b8a87 qcacld-3.0: Modify IPA UC offload control cmd
IPA module has been moved to CLD component under the converged
driver model. Remove legacy WMA interface IPA command and use
the new defined API.

Change-Id: Icd9a207f43f8df4dc563d0078d402470683cfd7d
CRs-Fixed: 2177925
2018-03-21 18:57:06 -07:00
Sravan Kumar Kairam
4af61cf612 qcacld-3.0: Create IPA CLD component
As part of converged driver model remove IPA from
HDD and create a new IPA CLD component. Add files for
IPA core, dispatcher and target_if. Define IPA related
public and private structures.

Change-Id: I8848331edc7dd878f9fc51ef9f5e311ad91ed70b
CRs-Fixed: 2177925
2018-03-21 18:57:03 -07:00
Dustin Brown
89ccc3958c qcacld-3.0: Migrate PMO to level-specific log wrappers
Change Ie062ada403f8a31aebcde691396987ad9e5352b5 introduced level-
specific logging wrappers to support compiling out entire levels of
logging messages. Migrate the PMO logging wrappers to consumer these
new APIs instead of QDF_TRACE.

Change-Id: I3f46450e76cc6422a0877e95785bfd41e4c0af0c
CRs-Fixed: 2208536
2018-03-21 16:09:08 -07:00
Jeff Johnson
f908cd0cad qcacld-3.0: Use roam profile accessor in wlan_hdd_wext.c
Update wlan_hdd_wext.c to use the recently introduced roam profile
accessor function hdd_roam_profile().

Change-Id: I0b7998f674fae9b021b2f5c4d5911b930ed40a39
CRs-Fixed: 2207896
2018-03-21 16:08:45 -07:00
Jeff Johnson
eb21475834 qcacld-3.0: Use roam profile accessor in wlan_hdd_scan.c
Update wlan_hdd_scan.c to use the recently introduced roam profile
accessor function hdd_roam_profile().

Change-Id: I0aec410024263a2f44b79cbcb5f49b3347a5b46f
CRs-Fixed: 2207895
2018-03-21 16:08:35 -07:00
Jeff Johnson
a0c1ca7751 qcacld-3.0: Use roam profile accessor in wlan_hdd_power.c
Update wlan_hdd_power.c to use the recently introduced roam profile
accessor function hdd_roam_profile().

Change-Id: I1d7be21fa5bec21f9502e7c078360d72fc426a6d
CRs-Fixed: 2207894
2018-03-21 16:08:25 -07:00
Jeff Johnson
641839e239 qcacld-3.0: Use roam profile accessor in wlan_hdd_nan_datapath.c
Update wlan_hdd_nan_datapath.c to use the recently introduced roam
profile accessor function hdd_roam_profile().

Change-Id: I442aa7a4ea62f8a5105ed7d7783394f883d5f215
CRs-Fixed: 2207893
2018-03-21 16:08:14 -07:00
Jeff Johnson
025618cb1a qcacld-3.0: Use roam profile accessor in wlan_hdd_main.c
Update wlan_hdd_main.c to use the recently introduced roam profile
accessor function hdd_roam_profile().

Change-Id: Idfb20fbf55c45051e8e67d6a2a746e44c5176ff3
CRs-Fixed: 2207892
2018-03-21 16:08:05 -07:00
Jeff Johnson
8313b9dfdd qcacld-3.0: Use roam profile accessor in wlan_hdd_ioctl.c
Update wlan_hdd_ioctl.c to use the recently introduced roam profile
accessor function hdd_roam_profile().

Change-Id: I6a535f56ed93ebbeb77d3b23f21562e8cd1beb1e
CRs-Fixed: 2207891
2018-03-21 16:07:53 -07:00
Jeff Johnson
2b89f8b8bd qcacld-3.0: Use roam profile accessor in wlan_hdd_hostapd.c
Update wlan_hdd_hostapd.c to use the recently introduced roam profile
accessor function hdd_roam_profile().

Change-Id: Ieb772ec0b851d9a036f01f5002f35033c628d8db
CRs-Fixed: 2207890
2018-03-21 16:07:42 -07:00
Jeff Johnson
20227a9fa2 qcacld-3.0: Use roam profile accessors in wlan_hdd_cfg80211.c
Update wlan_hdd_cfg80211.c to use the recently introduced roam profile
accessor functions.

Change-Id: I7170a1c8c3d499fd84c5187ea5f3097c5c566c35
CRs-Fixed: 2207889
2018-03-21 16:07:33 -07:00
CNSS_WLAN Service
e503affb69 Merge "qcacld-3.0: Use roam profile accessors in wlan_hdd_assoc.c" into wlan-cld3.driver.lnx.2.0 2018-03-21 12:37:25 -07:00
CNSS_WLAN Service
54ec46409c Merge "qcacld-3.0: Introduce hdd roam profile accessor functions" into wlan-cld3.driver.lnx.2.0 2018-03-21 12:37:23 -07:00
Jeff Johnson
844eec7fc8 qcacld-3.0: Use roam profile accessors in wlan_hdd_assoc.c
Update wlan_hdd_assoc.c to use the recently introduced roam profile
accessor functions.

Change-Id: Ie74414bf0038ae8f12e18c8bc13de48c3e37f8a5
CRs-Fixed: 2207888
2018-03-21 12:07:08 -07:00
Jeff Johnson
57e0751622 qcacld-3.0: Introduce hdd roam profile accessor functions
Currently the roam profile associated with an adapter, along with two
accessory buffers, are located within the adapter's hdd_wext_state
structure. However the roam profile is independent of wireless
extensions (WEXT) support, so there is a plan to relocate these
structures. In order to facilitate this relocation first introduce
accessor functions.

Change-Id: Ifdec89d3b529eb50042b08b31615854791024e4d
CRs-Fixed: 2207887
2018-03-21 12:07:04 -07:00
nshrivas
29a01f5be7 Release 5.2.0.70V
Release 5.2.0.70V

Change-Id: Ia8d7f2d24a11fae6fe472b0001a0ec51d7c44cac
CRs-Fixed: 774533
2018-03-21 05:57:44 -07:00
Poddar, Siddarth
762c5475b6 qcacld-3.0: Send NUD diag event when ARP tracking is enabled
Send NUD failure event to diag only when ARP tracking
is enabled, otherwise ignore.

CRs-Fixed: 2178801
Change-Id: I9296df8461671f46d6d90c510a6d47c0d3c13d5c
2018-03-21 05:57:43 -07:00
nshrivas
22d8ec820f Release 5.2.0.70U
Release 5.2.0.70U

Change-Id: I712b334f022df869795d6b0576cd8c0d7fb7634c
CRs-Fixed: 774533
2018-03-20 22:35:07 -07:00
Krunal Soni
4b6c946459 qcacld-3.0: Add new diag event to capture connection stats
Add diag event and its structure to log various connection statistics
after the connection has been made.

Change-Id: I3572cd9230d89e2d4154fd43579c258a2e2bdb58
CRs-Fixed: 2208503
2018-03-20 22:35:07 -07:00
Krunal Soni
c65fc490c5 qcacld-3.0: Add new diag events to log TX and RX mgmt frames
Add diag events and their structures to log TX and RX mgmt
frames.

Change-Id: I2f30c46d0087dc6a31fcb874713a574fe5936ea7
CRs-Fixed: 2171137
2018-03-20 22:35:04 -07:00
nshrivas
a56eb54285 Release 5.2.0.70T
Release 5.2.0.70T

Change-Id: I4d840f1ac8a2ca6d430d3fb67cfaff26008b29cd
CRs-Fixed: 774533
2018-03-20 20:02:12 -07:00
Dustin Brown
a2868623a0 qcacld-3.0: Use logging wrappers for HDD logs
Several logs are using QDF_TRACE with QDF_MODULE_ID_HDD directly.
Migrate these calls to the hdd_* logging wrappers instead.

Change-Id: I191014f0fd1ae55db71393655d96407ffa5953cb
CRs-Fixed: 2209514
2018-03-20 20:02:12 -07:00
nshrivas
081d365bc1 Release 5.2.0.70S
Release 5.2.0.70S

Change-Id: I569aa089ee1e79d93a44ef9698d376d58f3ee54c
CRs-Fixed: 774533
2018-03-20 14:33:54 -07:00
Alok Kumar
504230b163 qcacld-3.0: Fix buffer overflow in process_tx_info and process_rx_info
Currently data in "pl_tgt_hdr" is used directly from firmware without
any length check which may cause buffer over-read.

To address this issue add length check before accessing data offset

Change-Id: Ic2930fdf7168b79a8522be282b0e1cd19214742a
CRs-Fixed: 2148631
2018-03-20 14:33:54 -07:00
nshrivas
a9b2135b71 Release 5.2.0.70R
Release 5.2.0.70R

Change-Id: I22cb5b74221297017cff711178b062dbc1855d8a
CRs-Fixed: 774533
2018-03-20 10:36:37 -07:00
Poddar, Siddarth
df07667dc8 qcacld-3.0: Support WLAN TX/RX Stats in STA mode only
WLAN TX/RX connectivity stats are supported only
for STA mode. Host driver does not honour set/get
connectivity stat command for mode other than STA mode.

Change-Id: I0a96562478ede38321a1e323fb798b7e414b5f59
CRs-Fixed: 2195563
2018-03-20 10:36:37 -07:00
nshrivas
2636469a9d Release 5.2.0.70Q
Release 5.2.0.70Q

Change-Id: I4244789b3ff779d60f3c18de22004461d7f05b6c
CRs-Fixed: 774533
2018-03-20 07:38:18 -07:00
Abhinav Kumar
49d08a742f qcacld-3.0: Move Channel convert and frame indication logic to lim_utils.c
Move Channel convert and frame indication logic from lim_p2p.c
to lim_utils.c and remove unused timer
pMac->lim.limTimers.gLimP2pSingleShotNoaInsertTimer.

Change-Id: I71de90d5fb88462e52148a434d43ea80c41cfe36
CRs-Fixed: 2191282
2018-03-20 07:38:17 -07:00
nshrivas
f18dc8d5fe Release 5.2.0.70P
Release 5.2.0.70P

Change-Id: I9c05783e27aa22a16fa04e878d155511814c7b6f
CRs-Fixed: 774533
2018-03-19 22:46:05 -07:00
Dustin Brown
ba083735cc qcacld-3.0: Rename ENTER/EXIT macros (part 5)
In order to better align with the rest of the driver, rename the
following macros:
 * ENTER -> hdd_enter
 * ENTER_DEV -> hdd_enter_dev
 * EXIT -> hdd_exit

For part 5, remove the original macro definitions

Change-Id: Ic456c9ded0006989410bd7b2a318f4583c99f54b
CRs-Fixed: 2205851
2018-03-19 22:46:05 -07:00
Dustin Brown
632af71bb3 qcacld-3.0: Migrate HDD to level-specific log wrappers
Change Ie062ada403f8a31aebcde691396987ad9e5352b5 introduced level-
specific logging wrappers to support compiling out entire levels of
logging messages. Migrate the HDD logging wrappers to consume these
new APIs instead of QDF_TRACE.

Change-Id: I20dd9e4844ef9b2170cee0297ef52fd4d27780ff
CRs-Fixed: 2208572
2018-03-19 22:46:01 -07:00
Dustin Brown
500ae3de11 qcacld-3.0: Use level-specific QDF_TRACE_RATE_LIMITED
Change Ie062ada403f8a31aebcde691396987ad9e5352b5 introduced level-
specific logging wrappers. Instead of using QDF_TRACE_RATE_LIMITED
directly, use the level-specific versions.

Change-Id: I21b47f443ae53d1780fd21e352f69b0ea48ae726
CRs-Fixed: 2208563
2018-03-19 22:45:58 -07:00
nshrivas
1b431f19fc Release 5.2.0.70O
Release 5.2.0.70O

Change-Id: I28c14124c3294837c5f1ea36be0683b6b5397163
CRs-Fixed: 774533
2018-03-19 19:57:59 -07:00
Jeff Johnson
66ee8a92fe qcacld-3.0: Replace typedef tCsrRoamProfile
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tCsrRoamProfile typedef does
not meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ie78bc34c5c39a56058d0daa0240047ec67392ab3
CRs-Fixed: 2207843
2018-03-19 19:57:58 -07:00
nshrivas
bb3517f917 Release 5.2.0.70N
Release 5.2.0.70N

Change-Id: Ic9b3a70b038e4bb799e5cb8098654d19cd24ca63
CRs-Fixed: 774533
2018-03-19 15:33:06 -07:00