GitHub/LineageOS/G12/android_hardware_amlogic_kernel-modules_dhd-driver.git
8 weeks agowifi_bt: update firmware of AP6256 lineage-20
Goenjoy Huang [Fri, 14 Oct 2022 02:20:52 +0000 (10:20 +0800)]
wifi_bt: update firmware of AP6256

Change-Id: I5952ec1d8fb71d7290295d767c10ed588473f39b
Signed-off-by: Goenjoy Huang <goenjoy@khadas.com>
8 weeks agowifi_bt: update firmware of AP6256 lineage-21
Goenjoy Huang [Fri, 14 Oct 2022 02:20:52 +0000 (10:20 +0800)]
wifi_bt: update firmware of AP6256

Change-Id: I5952ec1d8fb71d7290295d767c10ed588473f39b
Signed-off-by: Goenjoy Huang <goenjoy@khadas.com>
2 months agosabrina-fw: sabrina_prod_stable-user 12 STTL.231114.004 11218674 release-keys
Nolen Johnson [Fri, 2 Feb 2024 06:58:22 +0000 (01:58 -0500)]
sabrina-fw: sabrina_prod_stable-user 12 STTL.231114.004 11218674 release-keys

Change-Id: I3c2fd9be32ec8c266559a5883b57251fd005db9b

5 months agobcmdhd: Add void argument to old-style zero prototype functions
Bruno Martins [Fri, 20 Oct 2023 22:55:45 +0000 (23:55 +0100)]
bcmdhd: Add void argument to old-style zero prototype functions

Make clang-17 happy just by adding the `void` argument.

Change-Id: I15619a55c479d392adf7da344bb3d09a1db0e8ec

5 months agodhd-driver: Strip modules using llvm-strip
Bruno Martins [Fri, 20 Oct 2023 23:16:58 +0000 (00:16 +0100)]
dhd-driver: Strip modules using llvm-strip

With this, the GCC dependency is gone for good.

Change-Id: I61acca2e1fb91353154567b9bff340cf5ca99119

6 months agobcmdhd: Ignore unused-but-set-variable compilation errors
Bruno Martins [Fri, 20 Oct 2023 14:15:33 +0000 (15:15 +0100)]
bcmdhd: Ignore unused-but-set-variable compilation errors

Change-Id: I7aad8530bad769b0283981ccb94e24c30740b750

12 months agofixup! amlogic: Compile kernel modules with clang
Nolen Johnson [Sun, 26 Mar 2023 23:07:26 +0000 (19:07 -0400)]
fixup! amlogic: Compile kernel modules with clang

* -Wno-maybe-uninitialized isn't a thing on clang, just
  use -Wno-uninitialized.

Change-Id: If28347a26de835d4e7f2f416e44762aa8156af31

14 months agoamlogic: Compile kernel modules with clang
Christian Hoffmann [Sat, 11 Feb 2023 10:55:00 +0000 (11:55 +0100)]
amlogic: Compile kernel modules with clang

Change-Id: Iedd2f240f01e25d240aeb41e7a8694c2ee29142b

16 months agodhd: Uprev to .361
Nolen Johnson [Fri, 2 Dec 2022 23:03:52 +0000 (18:03 -0500)]
dhd: Uprev to .361

* Reflects deadpool TTT1.220909.001.B7-9305992 release.

Change-Id: I2e63ec9a1acfdd783b8d954f5b85b02c89580861

16 months agodhd: Update firmware to TTT1.220909.001.B7-9305992
Nolen Johnson [Fri, 2 Dec 2022 23:05:38 +0000 (18:05 -0500)]
dhd: Update firmware to TTT1.220909.001.B7-9305992

Change-Id: I7b28f135e21e3c2781905854cd9eccd2b1e65440

16 months agodhd: firmware: Update to STT1.211025.001.Z4-7928920
Nolen Johnson [Mon, 20 Dec 2021 21:44:51 +0000 (16:44 -0500)]
dhd: firmware: Update to STT1.211025.001.Z4-7928920

Change-Id: I718a9265c06753faf59d69849b0a7a7ba88ba3f1

16 months agodhd: import wifi and bluetooth firmware
Jan Altensen [Wed, 15 Sep 2021 10:05:39 +0000 (12:05 +0200)]
dhd: import wifi and bluetooth firmware

Change-Id: I0132b1f9bd92ed997f1a4654237f39ce150e23c4

16 months agodhd: rename 100.10.315.x to 100.10.545.x
Jan Altensen [Tue, 14 Sep 2021 18:39:30 +0000 (20:39 +0200)]
dhd: rename 100.10.315.x to 100.10.545.x

 * in include/epivers.h its clearly version 100.10.545.x and history shows it got updated

Change-Id: Ie26b14f16d1caa92e5a65c8d69e3ce7f9f613e15

16 months agodhd: make driver version configurable
Jan Altensen [Tue, 3 Aug 2021 09:39:43 +0000 (11:39 +0200)]
dhd: make driver version configurable

Change-Id: Ib7a9932601fdd1aba4fc1eef42ba6247203372ee

16 months agoAdd makefile to build bcmdhd.101.10.240.x inline
Aaron Kling [Thu, 24 Jun 2021 17:38:00 +0000 (12:38 -0500)]
Add makefile to build bcmdhd.101.10.240.x inline

Change-Id: Ic93a8a22d9455c0235601baa122afbbbe9bae4eb

22 months agowifi: update ap6356 driver to bcmdhd.101.10.361.x [1/1]
libo [Thu, 2 Jun 2022 12:42:03 +0000 (20:42 +0800)]
wifi: update ap6356 driver to bcmdhd.101.10.361.x [1/1]

PD#SWPL-81801
BUG=232494797

Problem:
update ap6356 driver to bcmdhd.101.10.361.x

Solution:
update ap6356 driver to bcmdhd.101.10.361.x

Verify:
adt3

Signed-off-by: libo <bo.li@amlogic.com>
Change-Id: I61f0851c85fc9bd8ae5802d2811cfb0a5d4bce05

22 months agoFix private modules installing path
Hongguang [Tue, 24 May 2022 02:17:51 +0000 (19:17 -0700)]
Fix private modules installing path

Bug: 220644706
Test: make and find the private modules in dist.
Change-Id: I83004e21f5d2a4f80256f2c660b4dd15fcaa6dc6

22 months agoPrivate modules should be installed into private
Hongguang [Mon, 23 May 2022 23:15:47 +0000 (16:15 -0700)]
Private modules should be installed into private

Bug: 220644706
Test: make and find the private modules in dist.
Change-Id: I920715ccdb4d39c11a9ca74e2d97096babbc7ffe

2 years agofirmware: Update to adt3-user-12-STT1.211025.001.Z4-7928920-release-keys lineage-19.1 staging/lineage-20
Nolen Johnson [Mon, 20 Dec 2021 21:44:51 +0000 (16:44 -0500)]
firmware: Update to adt3-user-12-STT1.211025.001.Z4-7928920-release-keys

Change-Id: I718a9265c06753faf59d69849b0a7a7ba88ba3f1

2 years agodhd: import wifi and bluetooth firmware
Jan Altensen [Wed, 15 Sep 2021 10:05:39 +0000 (12:05 +0200)]
dhd: import wifi and bluetooth firmware

Change-Id: I0132b1f9bd92ed997f1a4654237f39ce150e23c4

2 years agodhd: rename 100.10.315.x to 100.10.545.x
Jan Altensen [Tue, 14 Sep 2021 18:39:30 +0000 (20:39 +0200)]
dhd: rename 100.10.315.x to 100.10.545.x

 * in include/epivers.h its clearly version 100.10.545.x and history shows it got updated

Change-Id: Ie26b14f16d1caa92e5a65c8d69e3ce7f9f613e15

2 years agodhd: make driver version configurable
Jan Altensen [Tue, 3 Aug 2021 09:39:43 +0000 (11:39 +0200)]
dhd: make driver version configurable

Change-Id: Ib7a9932601fdd1aba4fc1eef42ba6247203372ee

2 years agoAdd makefile to build bcmdhd.101.10.240.x inline
Aaron Kling [Thu, 24 Jun 2021 17:38:00 +0000 (12:38 -0500)]
Add makefile to build bcmdhd.101.10.240.x inline

Change-Id: Ic93a8a22d9455c0235601baa122afbbbe9bae4eb

2 years agodhd: import wifi and bluetooth firmware lineage-18.1
Jan Altensen [Wed, 15 Sep 2021 10:05:39 +0000 (12:05 +0200)]
dhd: import wifi and bluetooth firmware

Change-Id: I0132b1f9bd92ed997f1a4654237f39ce150e23c4

2 years agodhd: rename 100.10.315.x to 100.10.545.x
Jan Altensen [Tue, 14 Sep 2021 18:39:30 +0000 (20:39 +0200)]
dhd: rename 100.10.315.x to 100.10.545.x

 * in include/epivers.h its clearly version 100.10.545.x and history shows it got updated

Change-Id: Ie26b14f16d1caa92e5a65c8d69e3ce7f9f613e15

2 years agodhd: make driver version configurable
Jan Altensen [Tue, 3 Aug 2021 09:39:43 +0000 (11:39 +0200)]
dhd: make driver version configurable

Change-Id: Ib7a9932601fdd1aba4fc1eef42ba6247203372ee

2 years agoAdd makefile to build bcmdhd.101.10.240.x inline
Aaron Kling [Thu, 24 Jun 2021 17:38:00 +0000 (12:38 -0500)]
Add makefile to build bcmdhd.101.10.240.x inline

Change-Id: Ic93a8a22d9455c0235601baa122afbbbe9bae4eb

2 years agoadt3-S dhd_driver source code [1/1]
Liang Ji [Tue, 15 Jun 2021 04:44:21 +0000 (12:44 +0800)]
adt3-S dhd_driver source code [1/1]

internal tot CL:
wifi: bcm4356 wifi not support WPA3 [1/1]

SWPL-39141

Problem:
bcm4356 not support WPA3

Solution:
update driver bcm4356 not support sae feature

Verify:
franklin

Change-Id(I6633f4f952c56c6057762f08a7de904ab35f37ed)
Signed-off-by: rongjun.chen <rongjun.chen@amlogic.com>
Signed-off-by: Liang Ji <liang.ji@amlogic.com>
Change-Id: I5a81519a20d33403a4ea107ce6b260c32cd3a8b6

3 years agowifi: add feature to support android r [1/2]
rongjun.chen [Tue, 11 Aug 2020 12:22:07 +0000 (20:22 +0800)]
wifi: add feature to support android r [1/2]

SWPL-29444

Problem:
1.VtsHalWifiV1_3TargetTest test fail

Solution:
1. add new feature to fix vts test fail issue

Verify:
deadpoo

Change-Id: I726e27a50b55adbd6de391234c2befd252481212

3 years agowifi: update bcm driver to fix testWifiUsabilityStatsEntry fail [2/2]
rongjun.chen [Tue, 11 Aug 2020 01:38:13 +0000 (09:38 +0800)]
wifi: update bcm driver to fix testWifiUsabilityStatsEntry fail [2/2]

PD#SWPL-29961

Problem:
1.cts testWifiUsabilityStatsEntry test fail

Solution:
1. update driver to push some data to fix cts test fail issue

Verify:
deadpool

Change-Id: I75ed1f74a9f5088f2c5e68ece06f7378d425247e

3 years agowifi: Wifi Setting for deadpool project only
Liang Ji [Wed, 15 Jul 2020 12:54:44 +0000 (20:54 +0800)]
wifi: Wifi Setting for deadpool project only

SWPL-8244

Problem:
Add Wi-fi Setting
Memory_Leak & WifiChannelbyunifykey

Solutioni:
Pre-initialize Wi-Fi settings for cspec.country_abbrev, cspec.ccode
Add unifykeys wifi_disable_5g_band for setting disable_5g_band.
Fix memory lead.
Check the value of unifykes "usid" to determine what values should
be used to pre-initialize cspec
Add More country for wifi channel

Verity:
deadpool

Signed-off-by: Liang Ji <liang.ji@amlogic.com>
Change-Id: If6c1a5e35d4033daaf49c55141832199b3135e8e

3 years agowifi: update bcm driver to 101.10.240 to support android r [1/2]
Liang Ji [Wed, 15 Jul 2020 12:34:27 +0000 (20:34 +0800)]
wifi: update bcm driver to 101.10.240 to support android r [1/2]

PD#SWPL-28939

Problem:
1.sta setMac let connect key fail
2.wlan1 setMac error let softap open fail

Solution:
1. update to new driver to support MAC Randomization feature

Verify:
deadpool

Signed-off-by: Liang Ji <liang.ji@amlogic.com>
Change-Id: I42b5b31f84b35cbe5261bec03a24740d7113769e

3 years agowifi: Wifi Setting for deadpool project only
Liang Ji [Wed, 10 Apr 2019 02:45:08 +0000 (10:45 +0800)]
wifi: Wifi Setting for deadpool project only

PD#SWPL-8244

Problem:
Add Wi-fi Setting
Memory_Leak & WifiChannelbyunifykey

Solutioni:
Pre-initialize Wi-Fi settings for cspec.country_abbrev, cspec.ccode
Add unifykeys wifi_disable_5g_band for setting disable_5g_band.
Fix memory lead.
Check the value of unifykes "usid" to determine what values should
be used to pre-initialize cspec
Add More country for wifi channel

Verity:
deadpool

Change-Id: I12f764507c8281eb2b80ee2211a7e142d5075714
Signed-off-by: Liang Ji <liang.ji@amlogic.com>
3 years agoupdate dhd to 100.10.545.11 [1/1]
Liang Ji [Tue, 30 Jun 2020 13:07:22 +0000 (21:07 +0800)]
update dhd to 100.10.545.11 [1/1]

PD#SWPL-28928

Problem:
cmd:
 iw --debug phy0 interface add test type managed
failed on adt3

Solution:
update dhd
Driver: 100.10.545.11 (r826445-20200610-1)

Verify:
deadpool + R

Signed-off-by: Liang Ji <liang.ji@amlogic.com>
Change-Id: I0073b34edacdb0fe69a6a0517b9be7e782afa572

3 years agokernel_build: support standalone build for 4.9 + R [4/9]
Xindong Xu [Fri, 24 Apr 2020 08:30:28 +0000 (16:30 +0800)]
kernel_build: support standalone build for 4.9 + R [4/9]

PD#SWPL-23333

Problem:
need to support standalone build for 4.9 + R

Solution:
support standalone build for 4.9 + R

Verify:
deadpool

Change-Id: I141c898ec9eb2aed097caf78ff025d5888cc4866

4 years agodhd: fix wifi driver caused selinux denied issue [1/1]
Shuide Chen [Tue, 22 Oct 2019 07:20:32 +0000 (15:20 +0800)]
dhd: fix wifi driver caused selinux denied issue [1/1]

PD#SWPL-15494

Problem:
type=1400 audit(1571727793.256:4): avc: denied { search } for comm=
"init" name="wifi" dev="mmcblk0p17" ino=153543 scontext=u:r:vendor_
init:s0 tcontext=u:object_r:wifi_data_file:s0 tclass=dir permissive=0

when insmod dhd driver, trigger avc denied

Solution:
from android O, wifi related path changed from /data/misc/wifi
to /data/vendor/misc/wifi

Verify:
Locally

Change-Id: I69255412f9b666fd66981e7adc358132abcb43f6
Signed-off-by: Shuide Chen <shuide.chen@amlogic.com>
4 years agowifi: update driver to fix vts crash issue [1/1]
Rongjun Chen [Tue, 17 Sep 2019 02:44:18 +0000 (10:44 +0800)]
wifi: update driver to fix vts crash issue [1/1]

PD#SWPL-13921

Problem:
vts test crash

Solution:
update driver to fix it

Verify:
ampere

Change-Id: I2049e3ccc950126f1b5f921ee0927029c3198070

4 years agowifi: update driver to 100.10.545.2 to support STA/AP concurrent [1/2]
Rongjun Chen [Fri, 9 Aug 2019 08:54:05 +0000 (16:54 +0800)]
wifi: update driver to 100.10.545.2 to support STA/AP concurrent [1/2]

PD#SWPL-12561

Problem:
STA/AP concurrent support

Solution:
update driver to fix it

Verify:
ampere

Change-Id: I47f18a31e4e8d1049497b252ad8ecc04c27d7a0d
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
4 years agoInitial empty repository
Inna Palant [Fri, 21 Jun 2019 20:49:59 +0000 (13:49 -0700)]
Initial empty repository

5 years agowifi: fix selinux error [1/1]
libo [Fri, 12 Apr 2019 02:33:16 +0000 (10:33 +0800)]
wifi: fix selinux error [1/1]

PD#SWPL-5893

Problem:
selinux error

Solution:
fix it

Verify:
test pass on x301

Change-Id: Ib943b51a340f066b53032c2129e442de39110cea
Signed-off-by: libo <bo.li@amlogic.com>
5 years agowifi: fix wifi panic issue [1/1]
Rongjun Chen [Tue, 19 Feb 2019 06:47:17 +0000 (14:47 +0800)]
wifi: fix wifi panic issue [1/1]

PD#SWPL-4229

Problem:
autoreboot test wifi will panic

Solution:
fix wifi panic issue

Verify:
ampere

Change-Id: I9dcb81fb0f07c0fade264bf23f335c46a8fc4e4f

5 years agowifi: delete the invalid prints [1/1]
Rongjun Chen [Wed, 13 Feb 2019 02:30:40 +0000 (10:30 +0800)]
wifi: delete the invalid prints [1/1]

PD#SWPL-4729

Problem:
invalid prints

Solution:
delete the invalid prints

Verify:
ampere

Change-Id: I4314d77afb680657d0211ac9094601319c06ee82

5 years agowifi: debug wifi auto close issue [1/1]
Rongjun Chen [Mon, 14 Jan 2019 07:28:11 +0000 (15:28 +0800)]
wifi: debug wifi auto close issue [1/1]

PD#SWPL-4058

Problem:
wifi auto close

Solution:
add debug for wifi close

Verify:
franklin

Change-Id: Ie0b547f0e79949303ec323ef972a860e2694e64c

5 years agoWIFI: fix wifi connect fail issue [1/1]
Rongjun Chen [Wed, 9 Jan 2019 02:19:35 +0000 (10:19 +0800)]
WIFI: fix wifi connect fail issue [1/1]

PD#SWPL-1958

Problem:
connect 5G wifi fail

Solution:
set assoc_rety_max=30

Verify:
p215

Change-Id: I56f12f4dd07712b2840cda0a3fd4a3eeb84720e5
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
5 years agoWIFI: fix ap62x8 cts test fail issue [1/5]
Rongjun Chen [Fri, 4 Jan 2019 02:00:48 +0000 (10:00 +0800)]
WIFI: fix ap62x8 cts test fail issue [1/5]

PD#SWPL-3773

Problem:
CtsNetTestCases Module 3 Fails

Solution:
update driver to fix cts test fail issue

Verify:
r311

Change-Id: Ibea9da241061f1ce2771ba2c39f78952bd201976
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
5 years agowifi: change usb wifi fw load [1/1]
Rongjun Chen [Thu, 20 Dec 2018 08:21:30 +0000 (16:21 +0800)]
wifi: change usb wifi fw load [1/1]

PD#SWPL-3082

Problem:
dumpsys usb fail with ap62x8

Solution:
change the usb fw load

Verify:
verify by r311

Change-Id: I36785ea060ec0e4abcc9e19fc58796188760b906
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
5 years agowifi: optimize fix r311 wifi panic issue [1/1]
Rongjun Chen [Fri, 14 Dec 2018 08:04:27 +0000 (16:04 +0800)]
wifi: optimize fix r311 wifi panic issue [1/1]

PD#SWPL-3107

Problem:
r311 autoreboot wifi panic

Solution:
fix the null pointer issue

Verify:
r311

Change-Id: I9f15fe6badb709448c53731fc97d74364a13bd03
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
5 years agowifi: fix r311 wifi panic issue [1/1]
Rongjun Chen [Thu, 13 Dec 2018 02:05:27 +0000 (10:05 +0800)]
wifi: fix r311 wifi panic issue [1/1]

PD#SWPL-3107

Problem:
r311 autoreboot wifi panic

Solution:
fix the null pointer issue

Verify:
r311

Change-Id: Ia2d1f402ffa5a46e2bfb5367ba79890f8b8d3cc8

5 years agowifi: fix bcmdhd.100.10.31 make fail issue [1/2]
Rongjun Chen [Thu, 29 Nov 2018 11:11:45 +0000 (19:11 +0800)]
wifi: fix bcmdhd.100.10.31 make fail issue [1/2]

PD#SWPL-2210

Problem:
bcmdhd.100.10.31 driver make fail

Solution:
fix driver make fail issue

Verify:
ampere

Change-Id: Idf451428580966c78c58e040c7a5f7d3d78b0d86
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
5 years agowifi: add bcmdhd.100.10.315.x driver to support ap6271S [2/3]
Rongjun Chen [Fri, 23 Nov 2018 05:36:06 +0000 (13:36 +0800)]
wifi: add bcmdhd.100.10.315.x driver to support ap6271S  [2/3]

PD# OTT-766

Problem:
AP6271S wifi not support

Solution:
add AP6271S support

Verify:
test pass on u221

Change-Id: I79e864b584a6baa955db9b9b152f9b4fbd237970
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
5 years agowifi: fix wifi close issue and ap62x8 open fail issue
Rongjun Chen [Mon, 8 Oct 2018 11:47:16 +0000 (19:47 +0800)]
wifi: fix wifi close issue and ap62x8 open fail issue

PD# 174173

root cause: interrupt not enabled when ctrl cmd comming in some conner case
solution: enable the interrupt when ctrl command is comming

Change-Id: Ief804d124150cbfe9ec1134c527bdb536b8375a0
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
5 years agoRevert "wifi: fix wifi close issue"
Luan Yuan [Tue, 2 Oct 2018 06:39:41 +0000 (14:39 +0800)]
Revert "wifi: fix wifi close issue"

This reverts commit 5011fc31db0edb4c57e72ee04815508804124857.

Change-Id: I5e9d96b72255243d5524e0e043e42ef79bf6876c

5 years agowifi: fix wifi close issue
Rongjun Chen [Tue, 25 Sep 2018 02:11:59 +0000 (10:11 +0800)]
wifi: fix wifi close issue

PD# 174173

root cause: interrupt not enabled when ctrl cmd comming in some conner case
solution: enable the interrupt when ctrl command is comming

Change-Id: Ic7f9b688f56f2c131b12328c30b1d3431c8d157b
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
5 years agowifi: update bcmdhd.1.579.77.41.1.cn from ampak[3/3]
libo [Wed, 19 Sep 2018 08:49:31 +0000 (16:49 +0800)]
wifi: update bcmdhd.1.579.77.41.1.cn from ampak[3/3]

PD# 171947

Change-Id: Ife58252353890336d59c93384cf2bd2c04c02d65
Signed-off-by: libo <bo.li@amlogic.com>
5 years agowifi: fix wext cmd ioctl fail issue
Rongjun Chen [Tue, 18 Sep 2018 07:49:44 +0000 (15:49 +0800)]
wifi: fix wext cmd ioctl fail issue

Change-Id: Ie4d2202a4601b15b17a351a8d51c0cd62fce7ec8

5 years agowifi: add ap62x8 support[1/5]
libo [Thu, 30 Aug 2018 12:42:44 +0000 (20:42 +0800)]
wifi: add ap62x8 support[1/5]

PD#173039

Change-Id: Ib05864eceb61de79cb4c5c9cf3e208e9c7f05635
Signed-off-by: libo <bo.li@amlogic.com>
5 years agowifi: fix vma let wifi open fail issue
Rongjun Chen [Tue, 28 Aug 2018 06:07:58 +0000 (14:07 +0800)]
wifi: fix vma let wifi open fail issue

PD# 172294

fix vmap let wifi open fail issue
Change-Id: Ib3cf910c0df62370cb42e17d3723abb0718919f8
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
5 years agowifi: fix vmap let wifi open fail issue
Rongjun Chen [Thu, 23 Aug 2018 09:24:31 +0000 (17:24 +0800)]
wifi: fix vmap let wifi open fail issue

PD# 172294

fix vmap let wifi open fail issue

Change-Id: I08642cabeca6a890f013c25e45e7c930dac9521d
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
5 years agowifi: solve 32bit compile issue
Ao Xu [Mon, 30 Jul 2018 11:43:52 +0000 (07:43 -0400)]
wifi: solve 32bit compile issue

PD#169652

add -Wno-maybe-uninitialized flag to avoid
gcc6.3 uninitialized error

Change-Id: I965b616524bc654a4d40dfe5e3bfbc30e81f5ada
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
5 years agowifi: update wifi driver to support country code
Rongjun Chen [Fri, 6 Jul 2018 09:21:25 +0000 (17:21 +0800)]
wifi: update wifi driver to support country code

PD# 169693

update driver to support country code

Change-Id: If1adc58dd70fab2397a620d4aa8e647fecfdd63a

5 years agowifi: fix wifi_driect cts fail & some panic issue
Rongjun Chen [Mon, 28 May 2018 05:48:19 +0000 (13:48 +0800)]
wifi: fix wifi_driect cts fail & some panic issue

PD# 167139

fix cts fail and some panic issue
Change-Id: I55c10a60464f7dccd2428e03a6f05e8bc8633f95
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
5 years agowifi: fix some make fail issue
Rongjun Chen [Fri, 27 Apr 2018 01:56:48 +0000 (09:56 +0800)]
wifi: fix some make fail issue

Change-Id: Ibb518eb554768cf3a952a6d928172372b731cbb5

5 years agowifi: fix some not init issue
Rongjun Chen [Thu, 26 Apr 2018 11:34:57 +0000 (19:34 +0800)]
wifi: fix some not init issue

Change-Id: I9a4453e42f2f4b3d808c04401a174e940f2b2e44

5 years agowifi: fix reboot panic issue
Rongjun Chen [Tue, 24 Apr 2018 02:56:19 +0000 (10:56 +0800)]
wifi: fix reboot panic issue

Change-Id: Ie32f16fe783f753e81160078f7f166673e9b7932
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
6 years agowifi: fix ap62x8 vts test fail
Rongjun Chen [Wed, 11 Apr 2018 10:36:14 +0000 (18:36 +0800)]
wifi: fix ap62x8 vts test fail

PD# 163673

fix ap62x8 vts test fail

Change-Id: I0f7210466167f7ebe24a40daf9ff9aa3ea53ccd4
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
6 years agowifi: update wifi driver to 1.579.77.41.5
Rongjun Chen [Sun, 8 Apr 2018 03:52:03 +0000 (11:52 +0800)]
wifi: update wifi driver to 1.579.77.41.5

Change-Id: Id27b780e0c87ae14a2b8c7369ef3cd8a4c36e237
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
6 years agowifi: add bcm43751 support [1/4]
Weiguang.ruan [Sun, 11 Feb 2018 14:16:52 +0000 (22:16 +0800)]
wifi: add bcm43751 support [1/4]

PD#161120

1. add bcm43751 support

2. don't use enable_irq_wake/disable_irq_wake

Change-Id: I57d3a5b997d126ffa3ae6f0cd3df32c90afbc1f3

6 years agowifi: add wifi power to bcmdhd-usb.1.363.110.17.x
Rongjun Chen [Tue, 23 Jan 2018 02:14:30 +0000 (10:14 +0800)]
wifi: add wifi power to bcmdhd-usb.1.363.110.17.x

Change-Id: I0f2888d7ec8e7a20f5b688b96e358ce27b8f2099

6 years agowifi: update bcmdhd-usb.1.363.110.17 wifi driver to fix some issue
Rongjun Chen [Sat, 20 Jan 2018 03:28:42 +0000 (11:28 +0800)]
wifi: update bcmdhd-usb.1.363.110.17 wifi driver to fix some issue

Change-Id: I363728b4b5bab1f482ae8dbbd80f08c3aa6e40d1

6 years agowifi: fix gts WifiHostTest#testWifiRttCapability test fail issue
Rongjun Chen [Tue, 9 Jan 2018 02:04:16 +0000 (10:04 +0800)]
wifi: fix gts WifiHostTest#testWifiRttCapability test fail issue

PD# 158061

update bcm driver to fix gts test fail

Change-Id: Ie92552284b8c0aa6abbd9160ceeee7947aa6427d

6 years agowifi: update bcm 1.57 wifi driver to fix ap6255 country code issue
Rongjun Chen [Mon, 25 Dec 2017 05:24:00 +0000 (13:24 +0800)]
wifi: update bcm 1.57 wifi driver to fix ap6255 country code issue

PD# 157312

update wifi driver

Change-Id: I6a98921411f990dce92a2de5a6eb0d37da33fd4f

6 years agowifi: fix bcmdhd-usb.1.363.110.17.x make fail issue
Rongjun Chen [Fri, 15 Dec 2017 08:17:43 +0000 (16:17 +0800)]
wifi: fix bcmdhd-usb.1.363.110.17.x make fail issue

Change-Id: I92a372340ad47f7b300c47047f5ce2ccdc0d80f2

6 years agowifi: fix wifi panic issue
Rongjun Chen [Thu, 14 Dec 2017 05:44:56 +0000 (13:44 +0800)]
wifi: fix wifi panic issue

PD# NONE

fix if cfg is NULL, wifi will panic issue

Change-Id: I16627a2e7a62f03a656d71f85f12e198a4b2c4b0

6 years agoit cause ap6xxx wifi con't open
Zhiwei Gong [Thu, 30 Nov 2017 07:51:56 +0000 (15:51 +0800)]
it cause ap6xxx wifi con't open

Revert "wifi: add ap6398 ap6256 ap6236 support"

This reverts commit bd23d4cbe5aa1915b2dbcdd3790f00baf533bf33.

Change-Id: I5e2bd7b5f8de7dc813dd3a07fbdcd1fd0ad0d7d3
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
6 years agowifi: add ap6398 ap6256 ap6236 support
Rongjun Chen [Tue, 21 Nov 2017 03:19:02 +0000 (11:19 +0800)]
wifi: add ap6398 ap6256 ap6236 support

Change-Id: Ib8c200a6dfd6daeeb901ae79e28ccad9a26f8d47
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
6 years agoMerge "wifi: fix GTS test fail issue" into m-amlogic
Larson Jiang [Wed, 15 Nov 2017 09:31:24 +0000 (01:31 -0800)]
Merge "wifi: fix GTS test fail issue" into m-amlogic

6 years agoMerge "PD#153826 wifi: fix p2p go connect fail issue" into m-amlogic
Larson Jiang [Wed, 15 Nov 2017 09:30:52 +0000 (01:30 -0800)]
Merge "PD#153826 wifi: fix p2p go connect fail issue" into m-amlogic

6 years agowifi: fix GTS test fail issue
Rongjun Chen [Wed, 15 Nov 2017 06:39:56 +0000 (14:39 +0800)]
wifi: fix GTS test fail issue

PD# 154487

fix gts test fail issue

Change-Id: Ib31e27268aa58685ba7e365afbc9f8724bea5e6b

6 years agoPD#153826 wifi: fix p2p go connect fail issue
Rongjun Chen [Wed, 8 Nov 2017 08:30:56 +0000 (16:30 +0800)]
PD#153826 wifi: fix p2p go connect fail issue

Change-Id: Ib04a6a163c8215e535d8c03a507acaa9fd96c019

6 years agoMerge "PD#147193 wifi: fix p2p connect fail issue" into m-amlogic
Larson Jiang [Mon, 6 Nov 2017 02:33:04 +0000 (18:33 -0800)]
Merge "PD#147193 wifi: fix p2p connect fail issue" into m-amlogic

6 years agowifi: update driver 201 to adapter LEDE
Yueguie He [Fri, 3 Nov 2017 03:05:30 +0000 (11:05 +0800)]
wifi: update driver 201 to  adapter LEDE

PD#NONE

Change-Id: I4a8fb6e02fee314829a045ab27d544b25bb8cd51
Signed-off-by: Yueguie He <yuegui.he@amlogic.com>
6 years agoPD#147193 wifi: fix p2p connect fail issue
Rongjun Chen [Wed, 1 Nov 2017 07:36:32 +0000 (15:36 +0800)]
PD#147193 wifi: fix p2p connect fail issue

Change-Id: I759eef717746d0faa3b35c34be2bce129d032650
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
6 years agowifi: broadcom sta + ap mode use hostapd [1/3]
Weiguang Ruan [Thu, 19 Oct 2017 06:54:42 +0000 (14:54 +0800)]
wifi: broadcom sta + ap mode use hostapd [1/3]

PD#151669

1. add sta + ap with hostapd mode support
2. fix unload driver kernel panic(wowlan_config->nd_config)

Change-Id: Ie72b70a22c1f3c5c0bedb3ee1de912b64d228018

6 years agowifi: update driver to 1.579.77.41.2 (r)
Rongjun Chen [Wed, 11 Oct 2017 09:34:35 +0000 (17:34 +0800)]
wifi: update driver to 1.579.77.41.2 (r)

PD# 151866

update wifi driver

Change-Id: Iaa65eca2adedd58cd484cfc96b3f7a3c557c6e4f
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
6 years agoMerge "wifi:fix wl_escan_timeout panic issue" into m-amlogic
Larson Jiang [Tue, 26 Sep 2017 08:29:10 +0000 (01:29 -0700)]
Merge "wifi:fix wl_escan_timeout panic issue" into m-amlogic

6 years agoMerge "wifi: fix error msg "Error getting the SSID"" into m-amlogic
Larson Jiang [Tue, 26 Sep 2017 02:45:01 +0000 (19:45 -0700)]
Merge "wifi: fix error msg "Error getting the SSID"" into m-amlogic

6 years agowifi:fix wl_escan_timeout panic issue
Rongjun Chen [Fri, 22 Sep 2017 02:51:40 +0000 (10:51 +0800)]
wifi:fix wl_escan_timeout panic issue

PD# 151464

fix escan_timeout panic issue

Change-Id: Id7fafa99ef54757212d3abc0bfb9a9fb79270b69
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
6 years agowifi: fix vts test panic issue[1/2]
Rongjun Chen [Fri, 15 Sep 2017 11:04:50 +0000 (19:04 +0800)]
wifi: fix vts test panic issue[1/2]

PD# NONE

fix wifi vts test panic issue

Change-Id: I059d168dd0aadfd797ab64c38ee5af5e44baa1b2
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
6 years agowifi: fix error msg "Error getting the SSID"
Weiguang Ruan [Tue, 19 Sep 2017 13:49:37 +0000 (21:49 +0800)]
wifi: fix error msg "Error getting the SSID"

PD#150582

struct compat_wl_ioctl has uint32 pointer to buff
but we are 64bit kernel. fix this bug, so uper can
get the right ssid from this buff.

Change-Id: I19642af9eddb4babb03fc285d205f0c17c6c5529

6 years agowifi: update dhd_static_buf
Rongjun Chen [Tue, 12 Sep 2017 08:35:05 +0000 (16:35 +0800)]
wifi: update dhd_static_buf

PD# 146454

update dhd_static_buf to fix prealloc mem issue

Change-Id: I5d61a4ae54a70a42a23e97b33b5f8894b9e31f93

6 years agowifi: update dhd_static_buf[2/2]
Rongjun Chen [Mon, 11 Sep 2017 08:20:45 +0000 (16:20 +0800)]
wifi: update dhd_static_buf[2/2]

PD# 146454

update dhd_static_buf to fix prealloc mem issue

Change-Id: If03cf5cda22bd251df13753c67aa46490dc17321

6 years agowifi: change 4358fw name to fix wifi up issue[1/1]
Rongjun Chen [Fri, 8 Sep 2017 09:16:47 +0000 (17:16 +0800)]
wifi: change 4358fw name to fix wifi up issue[1/1]

PD# 146454

change 4358 fw name to 4358_ag.bin

Change-Id: I012b3110b4890c4527f5a112e198346ef5acc0d2

6 years agoMerge "wifi: add pci reinit [5/7]" into m-amlogic
Larson Jiang [Thu, 7 Sep 2017 06:26:13 +0000 (23:26 -0700)]
Merge "wifi: add pci reinit           [5/7]" into m-amlogic

6 years agoMerge "wifi: fix compile error [4/8]" into m-amlogic
Larson Jiang [Fri, 1 Sep 2017 06:11:52 +0000 (23:11 -0700)]
Merge "wifi: fix compile error  [4/8]" into m-amlogic

6 years agowifi: fix 1.57 wifi driver make fail issue
Rongjun Chen [Fri, 1 Sep 2017 02:48:50 +0000 (10:48 +0800)]
wifi: fix 1.57 wifi driver make fail issue

Change-Id: I0cb8e593aabeafd565b1b2b5f6fae8f65811ae65

6 years agowifi: add pci reinit [5/7]
Weiguang Ruan [Thu, 31 Aug 2017 08:01:09 +0000 (16:01 +0800)]
wifi: add pci reinit           [5/7]

PD# 148564

bcm pci wifi needs to remove pci device and
the bus it is on. so we call pci_remove_reinit,
a function realize in wifi_dt.c

Change-Id: I54de64d81301e9b004da1a9f55556ee161f88f99

6 years agowifi: add kso_enable to fix sdio error
Rongjun Chen [Thu, 31 Aug 2017 07:42:25 +0000 (15:42 +0800)]
wifi: add kso_enable to fix sdio error

Change-Id: I2a206a37e38e81ee6657185bf66f4212a446dc39

6 years agowifi: add bcm driver 1.579.77.41.1 (r)
Rongjun Chen [Thu, 31 Aug 2017 06:32:53 +0000 (14:32 +0800)]
wifi: add bcm driver 1.579.77.41.1 (r)

Change-Id: Ied1c43a957f7b1661792ba10e47c0120a838e552

6 years agowifi: fix wl_event_hander Duplicate creation issue [1/1]
Rongjun Chen [Thu, 31 Aug 2017 05:49:22 +0000 (13:49 +0800)]
wifi: fix wl_event_hander Duplicate creation issue [1/1]

PD#150156

Change-Id: I3c0820c6141e3a8a70df7e03af1b2b68925adbb7
wifi: fix wl_event_hander Duplicate creation issue

6 years agowifi: fix compile error [4/8]
Weiguang Ruan [Wed, 30 Aug 2017 08:14:12 +0000 (16:14 +0800)]
wifi: fix compile error  [4/8]

PD# 150114:

Change-Id: Id8c4429a721f45a43339bf22b51b644fab8a9521
driver: bcmdhd.1.363.59.144.x.cn