OSDN Git Service

android-x86/hardware-broadcom-wlan.git
9 years agoMerge "bcmdhd: Include driver_nl80211.h from wpa_supplicant repository"
Dmitry Shmidt [Wed, 7 Jan 2015 18:28:44 +0000 (18:28 +0000)]
Merge "bcmdhd: Include driver_nl80211.h from wpa_supplicant repository"

9 years agoam 9939561a: am 120a01d7: Firmware update for bcm4354/bcm4356 v(7.35.79.54)
Ecco Park [Tue, 6 Jan 2015 19:57:57 +0000 (19:57 +0000)]
am 9939561a: am 120a01d7: Firmware update for bcm4354/bcm4356 v(7.35.79.54)

* commit '9939561aca3de6f13d3be71d5692c2819133dbaa':
  Firmware update for bcm4354/bcm4356 v(7.35.79.54)

9 years agoam 120a01d7: Firmware update for bcm4354/bcm4356 v(7.35.79.54)
Ecco Park [Tue, 6 Jan 2015 19:19:12 +0000 (19:19 +0000)]
am 120a01d7: Firmware update for bcm4354/bcm4356 v(7.35.79.54)

* commit '120a01d7105db31cbc0244da408d410f0e8b8c48':
  Firmware update for bcm4354/bcm4356 v(7.35.79.54)

9 years agobcmdhd: Include driver_nl80211.h from wpa_supplicant repository
Dmitry Shmidt [Mon, 5 Jan 2015 23:46:34 +0000 (15:46 -0800)]
bcmdhd: Include driver_nl80211.h from wpa_supplicant repository

Change-Id: Ifefa3604e562c5be34360cf41b712162da7ccbae
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
9 years agoFirmware update for bcm4354/bcm4356 v(7.35.79.54)
Ecco Park [Mon, 5 Jan 2015 17:17:29 +0000 (09:17 -0800)]
Firmware update for bcm4354/bcm4356 v(7.35.79.54)

- Applied the recovery mechanism(Big hammer) for ucode

Bug: 18673387

Change-Id: Ib7ee2a20350e4e531b4bd6f80374ff609b4db831
Signed-off-by: Ecco Park <eccopark@broadcom.com>
9 years agoam d5704cd4: am 04917ee0: Merge "Fix missing #includes in hardware/broadcom."
Elliott Hughes [Tue, 30 Dec 2014 12:27:44 +0000 (12:27 +0000)]
am d5704cd4: am 04917ee0: Merge "Fix missing #includes in hardware/broadcom."

* commit 'd5704cd451725e7c1ee79a150e35d2105762c985':
  Fix missing #includes in hardware/broadcom.

9 years agoam 04917ee0: Merge "Fix missing #includes in hardware/broadcom."
Elliott Hughes [Tue, 30 Dec 2014 12:21:18 +0000 (12:21 +0000)]
am 04917ee0: Merge "Fix missing #includes in hardware/broadcom."

* commit '04917ee0c59471fef28ea684cf70ab33d4deb790':
  Fix missing #includes in hardware/broadcom.

9 years agoMerge "Fix missing #includes in hardware/broadcom."
Elliott Hughes [Mon, 29 Dec 2014 21:50:10 +0000 (21:50 +0000)]
Merge "Fix missing #includes in hardware/broadcom."

9 years agoFix missing #includes in hardware/broadcom.
Elliott Hughes [Mon, 29 Dec 2014 21:18:43 +0000 (13:18 -0800)]
Fix missing #includes in hardware/broadcom.

Change-Id: I95c2a1961a295e3d6b10edb8d66f12141bdd0e09

9 years agoam 65a7163e: Firmware update for bcm4354/bcm4356 v(7.35.79.52)
Ecco Park [Mon, 29 Dec 2014 17:33:13 +0000 (17:33 +0000)]
am 65a7163e: Firmware update for bcm4354/bcm4356 v(7.35.79.52)

* commit '65a7163e5d2e93a5c283e09d7107708b627dc159':
  Firmware update for bcm4354/bcm4356 v(7.35.79.52)

9 years agoFirmware update for bcm4354/bcm4356 v(7.35.79.52)
Ecco Park [Thu, 18 Dec 2014 22:37:06 +0000 (14:37 -0800)]
Firmware update for bcm4354/bcm4356 v(7.35.79.52)

1) Bug : 18793780
2) Bug : 18580958

Change-Id: I3ce731d6a74dd245c9c936bb86e77c8d3e3e4cfe
Signed-off-by: Ecco Park <eccopark@broadcom.com>
9 years agoNew Additions to WifiScanner APIs
Vinit Deshpande [Wed, 29 Oct 2014 17:46:51 +0000 (10:46 -0700)]
New Additions to WifiScanner APIs

Added single shot scan, and maxScansToCache. Also fixed getScanResults()
to report scan results to listeners.

Bug: 18087596
Bug: 17694040
Bug: 18059273

Change-Id: I8a6da5426561e22e72d1e99c5537205b893077dd

9 years agoFirmware update for bcm4354/bcm4356 v(7.35.79.49)
Vinit Deshpande [Thu, 11 Dec 2014 20:22:24 +0000 (12:22 -0800)]
Firmware update for bcm4354/bcm4356 v(7.35.79.49)

1) Fixed Bug : 18463300
2) Roam to the same AP fix
3) Revert of b/18541286 patch
4) add debug log for 18580958

Signed-off-by: Ecco Park <eccopark@broadcom.com>
Change-Id: I54410cf4daf78bbc16d25e6f5619b352a93da100

9 years agoMerge "bcm4343: Add firmware 7.10.226.54" into lmp-mr1-dev
Prashant Malani [Tue, 9 Dec 2014 19:11:04 +0000 (19:11 +0000)]
Merge "bcm4343: Add firmware 7.10.226.54" into lmp-mr1-dev

9 years agoMerge "Add BCM43341 wlan firmware." into lmp-mr1-dev
Sean Wan [Mon, 8 Dec 2014 19:28:08 +0000 (19:28 +0000)]
Merge "Add BCM43341 wlan firmware." into lmp-mr1-dev

9 years agoMerge "dhdutil: Fix issue with dhd_upload which causes kernel panic" into lmp-mr1-dev
Dmitry Shmidt [Fri, 5 Dec 2014 20:24:23 +0000 (20:24 +0000)]
Merge "dhdutil: Fix issue with dhd_upload which causes kernel panic" into lmp-mr1-dev

9 years agobcm4343: Add firmware 7.10.226.54
Devin Kim [Mon, 19 May 2014 22:27:02 +0000 (15:27 -0700)]
bcm4343: Add firmware 7.10.226.54

Change-Id: I349c21b35fd89102d059f64e3c4f0be2276b374a

9 years agobcmdhd: Update bcm4354/56 FW (7.35.79.45)
Ashwin [Thu, 4 Dec 2014 01:42:05 +0000 (17:42 -0800)]
bcmdhd: Update bcm4354/56 FW (7.35.79.45)

Remove roaming trigger for disassociation from AP

Bug 18580958

Change-Id: I42759f489b7213da1ce89296efde3fd52e7d0819
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
9 years agodhdutil: Fix issue with dhd_upload which causes kernel panic
Ashwin [Wed, 17 Sep 2014 22:49:57 +0000 (15:49 -0700)]
dhdutil: Fix issue with dhd_upload which causes kernel panic

Bug: 18608773

Change-Id: I6cc6a8a36c5ba386171bd7285d4d4729f44ad9e1
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
9 years agoAdd BCM43341 wlan firmware.
Sean Wan [Thu, 20 Nov 2014 00:44:56 +0000 (16:44 -0800)]
Add BCM43341 wlan firmware.

Change-Id: I258b5146614ce93b75bee66215c899220dd047f3

9 years agonet: wireless: bcmdhd: new FW (7.35.79.44)
Ashwin [Thu, 20 Nov 2014 03:09:29 +0000 (19:09 -0800)]
net: wireless: bcmdhd: new FW (7.35.79.44)

1. Fix for Valocia Regulatory Compliance Failure ( DFS )
2. Firmware appends extra bss info to link event to host for debug.
3. Added Debug information for Connection failure
4. Fixed bssid mismatch between FW and DHD for roaming case

Bug 17424752
Bug 18343313
Bug 18014398

Change-Id: I010b4a7cea8eb41151dffa25e377ecf2f4f742b9
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
10 years agobcmdhd: Update bcm4354/56 FW (7.35.79.38)
Ashwin [Thu, 6 Nov 2014 04:11:27 +0000 (20:11 -0800)]
bcmdhd: Update bcm4354/56 FW (7.35.79.38)

1. Fix for rare occuring bug where abort scan doesnt work

Bug: 18020682

Change-Id: I3d8089e7578fbf59ce1aadbe93466387134c1d70
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
10 years agonet:wireless:bcmdhd: new FW (7.35.79.37)
Ashwin [Wed, 15 Oct 2014 02:24:47 +0000 (19:24 -0700)]
net:wireless:bcmdhd: new FW (7.35.79.37)

1. Removed txphyerr related debug code and re-enabled WAR
for the same issue.

Bug 17444306

Change-Id: Iea11ec186622bb4f9beb8c611c4f06efcf71757d
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
10 years agonet: wireless: bcmdhd new FW (7.35.79.36)
Ashwin [Sun, 12 Oct 2014 02:02:38 +0000 (19:02 -0700)]
net: wireless: bcmdhd new FW (7.35.79.36)

1. Improved WAR for scan stuck issue.
2. Debug code enabled for issue with reset in WAR disabled.

Bug 1744306

Change-Id: I85861338a73b76f509226a668e4d59828641fa58
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
10 years agobcmdhd: Update bcm4354 FW to Ver (7.35.79.34)
eccopark [Sat, 4 Oct 2014 15:52:23 +0000 (08:52 -0700)]
bcmdhd: Update bcm4354 FW to Ver (7.35.79.34)

- Fix SAR in 5G Band4

Bug: 17834369

Change-Id: Ibb920e429a9b03a2cca66147c62ca626fb76e5f4
Signed-off-by: eccopark <eccopark@broadcom.com>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agobcmdhd: Update bcm4356 FW (7.35.79.33)
eccopark [Thu, 2 Oct 2014 23:41:55 +0000 (16:41 -0700)]
bcmdhd: Update bcm4356 FW (7.35.79.33)

16700988 Finalize Wifi Locales for Shamu
-> 1) CCode with DFS channels
      AU/40
      IN/28
      JP/86
      MY/16
      SG/19
   2) CCode without DFS channels
      AU/41
      IN/29
      JP/87
      MY/17
      SG/20

Bug: 16700988

Change-Id: If12c4b9f638f6f4ae41da5389b5ca77f992a9470
Signed-off-by: eccopark <eccopark@broadcom.com>
10 years agobcmdhd: bcm4354/56 FW update to (7.35.79.32)
eccopark [Thu, 2 Oct 2014 01:58:34 +0000 (18:58 -0700)]
bcmdhd: bcm4354/56 FW update to (7.35.79.32)

[Issue 17624613] Device flipping between BSSID very often
[Issue 17207309] While playing music through B/T headset on Dut,
Unable to establish p2p connection between two shamu devices

Bug: 17624613
Bug: 17207309

Signed-off-by: eccopark <eccopark@broadcom.com>
Change-Id: I79dcbd37d2211dc7cc0333aea807db1c64bcf05f

10 years agobcmdhd: Update bcm4356 FW (7.35.79.27)
eccopark [Fri, 26 Sep 2014 03:11:52 +0000 (20:11 -0700)]
bcmdhd: Update bcm4356 FW (7.35.79.27)

1) 17424752 [WiFi] - Valocia Regulatory Compliance Failure ( DFS )
  => add additional patch for phy.
2) 17444306 WiFi stack appears to have locked up, reboot fixes
  => apply FW WAR to recover this issue.
  => remove ucode debug option in FW

Bug: 174247521744430617488630

Change-Id: I5cebc9ee5c3bbb363f25d8920cc381a2ff222572
Signed-off-by: eccopark <eccopark@broadcom.com>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agobcmdhd: Update bcm4356 FW (7.35.79.24)
eccopark [Tue, 23 Sep 2014 01:03:50 +0000 (18:03 -0700)]
bcmdhd: Update bcm4356 FW (7.35.79.24)

1) b/16700988 Finalize Wifi Locales
DFS locale : US/176, E0/32, XT/49
NON DFS locale : US/177, E0/33, XT/50

Bug: 16700988
Change-Id: I651c0d80cb2bf443f9924be2020aadf95f3ea22c
Signed-off-by: eccopark <eccopark@broadcom.com>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agobcmdhd: Update bcm4356 FW (7.35.79.23)
eccopark [Fri, 19 Sep 2014 00:43:20 +0000 (17:43 -0700)]
bcmdhd: Update bcm4356 FW (7.35.79.23)

17424752 [WiFi] - Valocia Regulatory Compliance Failure ( DFS )
- Fixed spur issue on DFS channels

Bug: 17424752

Change-Id: I914600c92b797ccad7a7daeac2c368ac3c1c63ef
Signed-off-by: eccopark <eccopark@broadcom.com>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agobcmdhd: Update new bcm4354/56 FW (7.35.79.22)
eccopark [Thu, 18 Sep 2014 02:33:30 +0000 (19:33 -0700)]
bcmdhd: Update new bcm4354/56 FW (7.35.79.22)

1) Random mac for PNO/Gscan
  -> check if the random mac is same with p2p address
2) 17511002 on_time counter doesn't seem to work on bcm4356

Bug: 17511002

Change-Id: I2c5562188472871306961f3f27505481dc1a4ab2
Signed-off-by: eccopark <eccopark@broadcom.com>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agobcmdhd: Update bcm4356 FW (7.35.79.20)
eccopark [Fri, 12 Sep 2014 19:59:36 +0000 (12:59 -0700)]
bcmdhd: Update bcm4356 FW (7.35.79.20)

1) PCIe: enable Ucode debug function.

Bug: 17444306

Change-Id: I8a6ea33dfcf426449741d112d324e6ed671b3655
Signed-off-by: eccopark <eccopark@broadcom.com>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agobcmdhd: Update bcm43241 firmware to verison 6.10.197.41.16
Dmitry Shmidt [Tue, 9 Sep 2014 19:40:47 +0000 (12:40 -0700)]
bcmdhd: Update bcm43241 firmware to verison 6.10.197.41.16

1) Reduce the POOL LEN from 64 to 48 to save memory
2) 17412028 dhd_dpc permanently using 50% of CPU.
3) 12005593 Android GCastV2 sender stops sending frames after some
   period of time
4) 13531839 Connection not established to WifiDisplay Device on
   manta with Master builds & LMP builds

Bug: 174120281200559313531839

Change-Id: I79c1bffbcd7934604ef9f132ccd32f96d9a78ce9
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoMerge "Recover from socket POLLERR" into lmp-dev
Vinit Deshpande [Tue, 9 Sep 2014 01:26:01 +0000 (01:26 +0000)]
Merge "Recover from socket POLLERR" into lmp-dev

10 years agobcmdhd: Update bcm4354/56 FW (7.35.79.17)
eccopark [Mon, 8 Sep 2014 19:52:00 +0000 (12:52 -0700)]
bcmdhd: Update bcm4354/56 FW (7.35.79.17)

- Fixed continuous transmission on second Wifi antenna

Bug: 17209567

Change-Id: I0a6499c0793ff9a108e95c2cc336455a3d1bf9a9
Signed-off-by: eccopark <eccopark@broadcom.com>
10 years agobcmdhd: Update bcm4354/56 FW (7.35.79.16)
eccopark [Thu, 4 Sep 2014 20:03:22 +0000 (13:03 -0700)]
bcmdhd: Update bcm4354/56 FW (7.35.79.16)

- Add Non-DFS channel locales ( SDIO and PCIe has same locales)
- Fix continuous transmition on second Wifi antenna
Test: 1) Association
      2) GSCAN
      3) Iperf

b/17167178 Non-DFS channel locales
b/17209567 [WiFi] - Continuous transmition on second Wifi antenna

Change-Id: I360a3bc538575ef7f13183db2c3e6fd0c2b7d577
Signed-off-by: eccopark <eccopark@broadcom.com>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agonet: wireless: bcmdhd new FW(7.35.79.15)
eccopark [Wed, 3 Sep 2014 16:49:48 +0000 (09:49 -0700)]
net: wireless: bcmdhd new FW(7.35.79.15)

1) 17214104 DHCP frames are not using lowest rates
2) 17269024 [Wifi][hotspot] Client cannot browse internet suddenly.
  -  enable power save option for SOFTAP of SDIO project.

Basic test: 1) association
            2) suspend/resume test
Signed-off-by: eccopark <eccopark@broadcom.com>
b/17214104 DHCP frames are not using lowest rates
b/17269024 [Wifi][hotspot] Client cannot browse internet suddenly.
Change-Id: Ia465117950322967e97b2afe46dc5b4f1d5e1544
Signed-off-by: Iliyan Malchev <malchev@google.com>
10 years agoRecover from socket POLLERR
Vinit Deshpande [Wed, 27 Aug 2014 22:18:46 +0000 (15:18 -0700)]
Recover from socket POLLERR

This happens because socket buffer is full. Since this is just an
eventing socket, and if data loss is equivalent to an event loss, we
can live with the data loss. All we really need to do is to reset
the socket error - an explicit read on the socket does that.

Bug: 17226060

Change-Id: I5a008e09fd59c1ebab4feaa99e63681fbc80eca7

10 years agobcmdhd: Update bcm4339 FW to Ver. 6.37.23.34.28
Dmitry Shmidt [Tue, 2 Sep 2014 16:58:03 +0000 (09:58 -0700)]
bcmdhd: Update bcm4339 FW to Ver. 6.37.23.34.28

- Fix sending TDLS packets with wrong BSSID on 5G
- Fix losing wifi association after screen off
- Roam scan mac prioritization over PNO

Bug: 1561413217011254

Change-Id: I481bfbbc031ddcb47b70073aa4ce1d5755f78dd7
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agobcmdhd: New FW update for bcm4354/56 (7.35.79.13)
eccopark [Wed, 27 Aug 2014 18:46:20 +0000 (11:46 -0700)]
bcmdhd: New FW update for bcm4354/56 (7.35.79.13)

- Fix lost wifi association with power saving
- Fix roaming scernaio test while GSCAN is ongoing
- Fix basic GSCAN test

Bug: 17011254

Change-Id: Ib397581e191649fa5ac485d96cecf1858185ca81
Signed-off-by: eccopark <eccopark@broadcom.com>
10 years agoMerge "halutil updates for link layer statistics" into lmp-dev
Pierre Vandwalle [Tue, 26 Aug 2014 20:46:42 +0000 (20:46 +0000)]
Merge "halutil updates for link layer statistics" into lmp-dev

10 years agobcm4354: Update new FW (7.35.79.12) for SDIO
eccopark [Fri, 22 Aug 2014 00:11:14 +0000 (17:11 -0700)]
bcm4354: Update new FW (7.35.79.12) for SDIO

Fix KSO problem at low temperature

Bug: 17277889

Change-Id: Ia2f3597440d46ca5c901b309bcee1b55cf9a1883
Signed-off-by: eccopark <eccopark@broadcom.com>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agobcmdhd: wifi: hal: Add wifi_set_nodfs_flag() function
Dmitry Shmidt [Mon, 25 Aug 2014 17:35:35 +0000 (10:35 -0700)]
bcmdhd: wifi: hal: Add wifi_set_nodfs_flag() function

Bug: 17181998

Change-Id: I8337fe6ce41716993bbe02538ef55af6129ca7b3
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agohalutil updates for link layer statistics
Chilam Ng [Thu, 24 Jul 2014 01:21:22 +0000 (18:21 -0700)]
halutil updates for link layer statistics

Change-Id: I49ab526d42b9083b8a1c2e7568d7ed9a45f492d8
Signed-off-by: Chilam Ng <chilam@broadcom.com>
10 years ago PNO MAC rotation + Hotlist Lost event
Ashwin [Mon, 4 Aug 2014 23:52:29 +0000 (16:52 -0700)]
 PNO MAC rotation + Hotlist Lost event
modified:   bcmdhd/wifi_hal/common.h
modified:   bcmdhd/wifi_hal/gscan.cpp
modified:   bcmdhd/wifi_hal/wifi_hal.cpp

Change-Id: I85b8975f1d0578e4524e30c94e8947246b8b128f

10 years agoReduce log spam of full scan result
Vinit Deshpande [Fri, 15 Aug 2014 20:44:28 +0000 (13:44 -0700)]
Reduce log spam of full scan result

Now that full scan result seems to work reasonably well, there
is no need for these logs.

Bug: 17052201
Change-Id: Ida5ac803e3db38e8e0178e0300ef08502fbae8ba

10 years agonet: wireless: bcmdhd new FW update (7.35.79.10)
eccopark [Thu, 7 Aug 2014 03:19:09 +0000 (20:19 -0700)]
net: wireless: bcmdhd new FW update (7.35.79.10)

Apply IN/4 in country map

Bug: 16392974
Signed-off-by: eccopark <eccopark@broadcom.com>
Change-Id: I502cef420c0cc45f7cc7fa65a2a8b439789c1057

10 years agoFix a crash in Broadcom's HAL
Vinit Deshpande [Tue, 5 Aug 2014 22:35:33 +0000 (15:35 -0700)]
Fix a crash in Broadcom's HAL

Scan command registers for two events, but then unregisters only for one
leaving a dangling pointer which results in crashes.

Bug: 16820118

Change-Id: Ie5599a4928f3a122c3a3ef538db9ca31c7ca8a22

10 years agoMerge "Workaround for RTT driver bugs" into lmp-dev
Vinit Deshpande [Tue, 5 Aug 2014 21:53:54 +0000 (21:53 +0000)]
Merge "Workaround for RTT driver bugs" into lmp-dev

10 years agonet: wireless: bcmdhd new FW update (7.35.79.9)
eccopark [Mon, 4 Aug 2014 21:44:29 +0000 (14:44 -0700)]
net: wireless: bcmdhd new FW update (7.35.79.9)

1) add new feature for random mac address for GSCAN and PNO.
2) Fixed cert issues for 11n SoftAP.
Signed-off-by: eccopark <eccopark@broadcom.com>
Change-Id: I3d91843f5cbb17149d4aff6a4d20d87b14da7ed9

10 years agoWorkaround for RTT driver bugs
Vinit Deshpande [Tue, 5 Aug 2014 02:23:28 +0000 (19:23 -0700)]
Workaround for RTT driver bugs

Sometimes there are no results in an RTT event; when this happens
there is no HAL callback ever, and no new requests can be generated.
To avoid this, we just treat this as no RTT data event.

Also, there is no clean up code here; so events are returned for the
first command, working around that by adding cleanup code. Renamed
all incorrect instances of GSCAN event handlers with RTT event handlers.

Also fixed some log entries - as they incorrectly say 'scan started'.

Bug: 16637086

Change-Id: I7da27d12b0d8e82f5fcba16fa14e3c444ac1b5ae

10 years agonet: wireless: bcmdhd FW update (7.35.79.7)
eccopark [Thu, 31 Jul 2014 02:52:21 +0000 (19:52 -0700)]
net: wireless: bcmdhd FW update (7.35.79.7)

Fixes one bug to handle PCIe status D3 from D0 in firmware.

Bug: 16626492
Signed-off-by: eccopark <eccopark@broadcom.com>
Change-Id: I417bc12fe5b928bef59e9281c2a6007832a898e4

10 years agoFix a deadlock in event/command interaction
Vinit Deshpande [Thu, 31 Jul 2014 18:05:14 +0000 (11:05 -0700)]
Fix a deadlock in event/command interaction

There are two locks, one in HAL which takes care of adding/removing event
handlers from a common data structure; and another in the Framework
which synchronizes access to WifiNative. Commands and events grab these
locks in opposite order, and hence can cause deadlock.

This change fixes the deadlock by holding on to the HAL lock only for
a short time. This is achieved by refcounting the commands so they
don't have to be destroyed while holding locks.

Bug: 16660861

Change-Id: I35f9f688c8c1ddb2116b228c52e0bb1125df0568

10 years agoRe-instate REPORT_EVENT_AFTER_EACH_SCAN workaround
Vinit Deshpande [Wed, 30 Jul 2014 01:38:01 +0000 (18:38 -0700)]
Re-instate REPORT_EVENT_AFTER_EACH_SCAN workaround

Hammerhead still doesn't support this flag - this unblocks some tests.

Bug: 16633917

Change-Id: I04f3d1bc61f55bd58751fa4ae6b92df6970159e7

10 years agobcmdhd: Update FW (7.35.79.6) for bcm4354/bcm4356
eccopark [Mon, 28 Jul 2014 20:39:33 +0000 (13:39 -0700)]
bcmdhd: Update FW (7.35.79.6) for bcm4354/bcm4356

1) 16572556 Allow IPv6 RA filtering in FW
2) 16490602 WiFi: The "Spectrum Management Bit" is set to 1
   for NON AUTO GO in 2.4 GHz & 5GHZ

Bug: 1657255616490602

Change-Id: I80b1f4aeceec32d895b90f5be6da34a25dbcfaa7
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoMerge "Fixed an incorrect RTT log message" into lmp-dev
Vinit Deshpande [Wed, 23 Jul 2014 21:38:02 +0000 (21:38 +0000)]
Merge "Fixed an incorrect RTT log message" into lmp-dev

10 years agoFixed an incorrect RTT log message
Vinit Deshpande [Wed, 23 Jul 2014 19:11:38 +0000 (12:11 -0700)]
Fixed an incorrect RTT log message

RTT event put out a log indicating GScan event was recevied, that
is very confusing; so changing it to put out the right entry.

Change-Id: I8158235bbfc68f262daa3ee262740aaf0b69c260

10 years agoMerge "net:wireless RTT change for BRCM" into lmp-dev
Vinit Deshpande [Wed, 23 Jul 2014 21:37:31 +0000 (21:37 +0000)]
Merge "net:wireless RTT change for BRCM" into lmp-dev

10 years agoCleanup: Delete dead code.
Sreeram Ramachandran [Sun, 20 Jul 2014 05:41:15 +0000 (22:41 -0700)]
Cleanup: Delete dead code.

Bug: 15413389
Change-Id: I315468832ef18ffc84174e54774ab63b86d284dc

10 years agonet:wireless RTT change for BRCM
Ecco park [Tue, 8 Jul 2014 17:42:08 +0000 (10:42 -0700)]
net:wireless RTT change for BRCM

Change-Id: I9dc5e8045476f1cd7e7ed31d65282f9a8aa94855
Signed-off-by: Ecco park <eccopark@broadcom.com>
10 years agonet:wireless:bcmdhd update firmware to 7.35.79.5
eccopark [Wed, 16 Jul 2014 21:39:15 +0000 (14:39 -0700)]
net:wireless:bcmdhd update firmware to 7.35.79.5

1) SDIO
2) PCIe
Signed-off-by: eccopark <eccopark@broadcom.com>
Change-Id: Ie951f9dee6b2ea1dedb1fbbe34714d24b1695d94

10 years agoRevert "Revert "bcmdhd: Set wowlan_triggers=any in wpa_supplicant overlay file""
Dmitry Shmidt [Tue, 8 Jul 2014 22:30:43 +0000 (15:30 -0700)]
Revert "Revert "bcmdhd: Set wowlan_triggers=any in wpa_supplicant overlay file""

This reverts commit b8848b9e96138db225aa179ac7a0c5103fd754ca.

Bug: 16153069
Change-Id: Iad985c22d8d1ca72fd91eb20fc935f5e86d31d31

10 years agoUpgrade bcm4354 FW to 7.35.79.2
Vinit Deshpande [Thu, 10 Jul 2014 22:15:48 +0000 (15:15 -0700)]
Upgrade bcm4354 FW to 7.35.79.2

BCM4354A1 HTC Volantis Firmware Release ver (7.35.79.2) (402KB)

Change-Id: I80eaf1604489871438bd2df9d129a447904a7b63

10 years agoMore GScan feature tweaks
Ashwin [Wed, 25 Jun 2014 23:33:35 +0000 (16:33 -0700)]
More GScan feature tweaks

1. Scan complete event
2. get feature list
3. get channel list

 Changes to be committed:
modified:   bcmdhd/firmware/bcm4339/fw_bcmdhd.bin
modified:   bcmdhd/wifi_hal/common.h
modified:   bcmdhd/wifi_hal/gscan.cpp
modified:   bcmdhd/wifi_hal/wifi_hal.cpp

Change-Id: I98383f8aca1a486dbe16560e0e65a6764556cca3

10 years agoAdded support for channel list
Ashwin [Thu, 12 Jun 2014 00:54:24 +0000 (17:54 -0700)]
Added support for channel list

modified:   bcmdhd/wifi_hal/gscan.cpp

Change-Id: If9e27e30743598e02893f092cbff45eaf943fd24

10 years agoImplement RTT API in wifi HAL
Ashwin [Fri, 6 Jun 2014 20:56:31 +0000 (13:56 -0700)]
Implement RTT API in wifi HAL

Change-Id: I25181c40de7cce0ea97ee069739486f799f2a727

10 years agoRevert "bcmdhd: Set wowlan_triggers=any in wpa_supplicant overlay file"
Dmitry Shmidt [Tue, 8 Jul 2014 01:53:48 +0000 (18:53 -0700)]
Revert "bcmdhd: Set wowlan_triggers=any in wpa_supplicant overlay file"

This reverts commit 4e09c4751e91a48747cc7c0408be0be2f31f2c3f.

10 years agoRevert "bcmdhd: Update bcm4354 FW to Version 7.35.79.1"
Dmitry Shmidt [Mon, 7 Jul 2014 23:46:02 +0000 (16:46 -0700)]
Revert "bcmdhd: Update bcm4354 FW to Version 7.35.79.1"

This reverts commit 2a8ddef7173cf4aad90628b3a516bafe6102d8c7.

10 years agobcmdhd: Set wowlan_triggers=any in wpa_supplicant overlay file
mark_tzeng [Mon, 7 Jul 2014 19:23:25 +0000 (12:23 -0700)]
bcmdhd: Set wowlan_triggers=any in wpa_supplicant overlay file

New kernel will call cfg80211_leave_all() on suspend if wowlan is not set

Change-Id: I17e3515910b4dceb7c0b15c241fe60eb80a692bc
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agobcmdhd: Update bcm4354 FW to Version 7.35.79.1
Dmitry Shmidt [Mon, 7 Jul 2014 17:24:11 +0000 (10:24 -0700)]
bcmdhd: Update bcm4354 FW to Version 7.35.79.1

- Add new features: GSCAN, RTT, Link Stats

Change-Id: I9a0a595954f7c370e4606bdeeba0ca35e9249aac
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoMerge "Remove noisy logs from Broadcom's WifiHAL"
Vinit Deshpande [Fri, 27 Jun 2014 15:58:39 +0000 (15:58 +0000)]
Merge "Remove noisy logs from Broadcom's WifiHAL"

10 years agobcmdhd: Clean wpa_driver_set_ap_wps_p2p_ie() func
Dmitry Shmidt [Wed, 25 Jun 2014 16:48:18 +0000 (09:48 -0700)]
bcmdhd: Clean wpa_driver_set_ap_wps_p2p_ie() func

Change-Id: I436d1e4e1dd9bdba4c5dc5e38c86d83e1c679a09
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoRemove noisy logs from Broadcom's WifiHAL
Vinit Deshpande [Wed, 25 Jun 2014 01:42:34 +0000 (18:42 -0700)]
Remove noisy logs from Broadcom's WifiHAL

Change-Id: I50f8f69c27d04ba57dfca6404809a5fac2a7b68c

10 years agobcmdhd: Allocate memory dynamically in wpa_driver_set_ap_wps_p2p_ie()
Ecco park [Tue, 24 Jun 2014 20:30:32 +0000 (13:30 -0700)]
bcmdhd: Allocate memory dynamically in wpa_driver_set_ap_wps_p2p_ie()

Bug: 15695771

Change-Id: I86bc9cb5f6b1e712c62185d82f59d08b2b6cd2a8
Signed-off-by: Ecco park <eccopark@broadcom.com>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoUpdated output directories to support vendor partition.
Daniel Rosenberg [Tue, 10 Jun 2014 00:58:59 +0000 (17:58 -0700)]
Updated output directories to support vendor partition.

Switched target location to use TARGET_COPY_OUT_VENDOR

Change-Id: I2e09a5fb2df10174d948eb32fccf07dfec991a60
Signed-off-by: Daniel Rosenberg <drosen@google.com>
10 years agobcmdhd: Update bcm4354 FW to Version 7.26.8.0
Dmitry Shmidt [Tue, 17 Jun 2014 18:20:01 +0000 (11:20 -0700)]
bcmdhd: Update bcm4354 FW to Version 7.26.8.0

- Use null frame instead of QoS null frame for CCX keep alive
- Keep SAR control configuration after disconnection with AP

Change-Id: If590089c1e932009035eb175fd90d6799b7556a6
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agonet: wireless: bcmdhd: upgrade FW to 35.58
Ecco park [Thu, 12 Jun 2014 18:13:08 +0000 (11:13 -0700)]
net: wireless: bcmdhd: upgrade FW to 35.58

Fixed power management issue in FW for PCie.
Signed-off-by: Ecco park <eccopark@broadcom.com>
Change-Id: I34a7a985fbcdff5555e571ff5d8c7e1d29dae2b3

10 years agoAdd mutual exclusion to wifi HAL infrastructure
Vinit Deshpande [Mon, 2 Jun 2014 16:44:35 +0000 (09:44 -0700)]
Add mutual exclusion to wifi HAL infrastructure

This change restricts free access from multiple threads to event buffers.
Mutual exclusion is added to avoid crashes and corruption that may
happen because of simultaneous access from a command and an event.

Access to commands from multiple threads is still not protected. But
thankfully, framework takes care of it.

Bug: 15188917
Change-Id: I41e294f01a85097e30078f603b113da9a319ba83

10 years agoMore GScan API changes
Vinit Deshpande [Wed, 28 May 2014 00:53:07 +0000 (17:53 -0700)]
More GScan API changes

Main changes are -

1. max_bssid_history_entries in wifi_gscan_capabilities
2. A new callback to report extra status of scan
3. Channel hint for hotlist APs
4. More details on significant change event

Change-Id: I665cb28df99cf152e6b95c8050ea246c5fce81e9

10 years agobcmdhd: Add p2p_search_delay=0 to sync with 09f57ba wpa_supplicant update
Dmitry Shmidt [Tue, 10 Jun 2014 23:14:42 +0000 (16:14 -0700)]
bcmdhd: Add p2p_search_delay=0 to sync with 09f57ba wpa_supplicant update

Change-Id: Ic10087beadc72908909adad66a35399fb34366ce
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoGscan v3 changes
Ashwin [Tue, 13 May 2014 02:07:30 +0000 (19:07 -0700)]
Gscan v3 changes
modified:   bcmdhd/firmware/bcm4339/fw_bcmdhd.bin

Change-Id: I78b3cf803bc6b7788840df15baf433136d0e4254

10 years agoRemove duplicate copies of nl80211_copy.h
Vinit Deshpande [Fri, 23 May 2014 00:31:45 +0000 (17:31 -0700)]
Remove duplicate copies of nl80211_copy.h

We'll use a single copy - the one in external/wpa_supplicant_8 project.

Bug: 14889555
Change-Id: I2e432bddcff278e792579970122cdea9e80ffb64

10 years agoMerge "More Libnl fixes for Broadcom's WifiHAL"
Vinit Deshpande [Thu, 22 May 2014 23:15:14 +0000 (23:15 +0000)]
Merge "More Libnl fixes for Broadcom's WifiHAL"

10 years agoMore Libnl fixes for Broadcom's WifiHAL
Vinit Deshpande [Thu, 22 May 2014 22:46:29 +0000 (15:46 -0700)]
More Libnl fixes for Broadcom's WifiHAL

We don't look for sequence match on event messages; also removed
references to netlink-types which is from an older version.

This change also reduces NUM_SCANS_TO_CACHE from 10 to 4 in order to
work around a driver bug.

Change-Id: I09de75b00a79635b0921a9fb1c2939438bc13287

10 years agobcm4356: Add initial SDIO FW Version 7.35.17.0
Dmitry Shmidt [Thu, 22 May 2014 22:35:43 +0000 (15:35 -0700)]
bcm4356: Add initial SDIO FW Version 7.35.17.0

Change-Id: I36bfea50b10cb9fa02801f5ec05c6192febd6acf
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agobcm4356: Add option to choose between PCIe and SDIO FW
Dmitry Shmidt [Thu, 22 May 2014 22:31:34 +0000 (15:31 -0700)]
bcm4356: Add option to choose between PCIe and SDIO FW

Change-Id: I1f9afe71c324dccc0e15a2b3f3dc5f733adaa657
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoThis change fixes an incorrectly resolved merge.
Vinit Deshpande [Thu, 22 May 2014 18:50:40 +0000 (11:50 -0700)]
This change fixes an incorrectly resolved merge.

Fw version: 6.37.34.21 must go with DHD driver version:1.88 gscan v2 (r)
modified:   bcmdhd/firmware/bcm4339/fw_bcmdhd.bin

cherry-picked from partner:klp-wireless-dev
SHA1 bdbe9e21b5b9f7d1b4018b50256869fb3b6b1df6

Change-Id: I2bfb61295c475bd79795c3fe27d2afbd83fbd16f

10 years agoadd BCM4356A2 firmware for initial bring up
Ecco park [Wed, 21 May 2014 21:14:24 +0000 (14:14 -0700)]
add BCM4356A2 firmware for initial bring up

Change-Id: Icae437803498b009023550570cb7d42c60a6320e
Signed-off-by: Ecco park <eccopark@broadcom.com>
10 years agoadd BCM4356A2 firmware for initial bring up
Ecco park [Tue, 20 May 2014 22:35:56 +0000 (15:35 -0700)]
add BCM4356A2 firmware for initial bring up

Change-Id: I53e8c5e5fc82a997e5d1a5292c40fd091e74b913
Signed-off-by: Ecco park <eccopark@broadcom.com>
10 years agoBroadcom HAL implementation of Link Layer Statistics
Chilam Ng [Sat, 3 May 2014 00:06:07 +0000 (17:06 -0700)]
Broadcom HAL implementation of Link Layer Statistics

Change-Id: I40f51dbf75b5c63c96339c8b58c2eba2a662f730
Signed-off-by: Chilam Ng <chilam@broadcom.com>
10 years agochanges related to full scan result and band
Vinit Deshapnde [Tue, 13 May 2014 22:38:05 +0000 (15:38 -0700)]
changes related to full scan result and band

Change-Id: I7accbd79f86a616c1d7e11fcebae12dbefaa3612

10 years agoMerge "Fw update: version: 6.37.34.21 for bcm4339"
Vineeta Srivastava [Thu, 8 May 2014 16:25:01 +0000 (16:25 +0000)]
Merge "Fw update: version: 6.37.34.21 for bcm4339"

10 years agoBuild fixes for sources merged from KWD
Vinit Deshapnde [Thu, 8 May 2014 03:47:44 +0000 (20:47 -0700)]
Build fixes for sources merged from KWD

KWD doesn't have shared libnl; but L does; hence some build changes

Change-Id: Idbd0f852f9bcfe12f76e194808fa85df3653a011

10 years agoWorkaround for report_events functionality
Vinit Deshapnde [Mon, 5 May 2014 18:29:53 +0000 (11:29 -0700)]
Workaround for report_events functionality

This change sets mscan value to 1 if any of the buckets has report_events
set to some value other than zero. This is a workaround till per bucket
functionality is implemented.

Also includes some logging improvements.

Change-Id: I7f10970f777f3498b3d69ef59dce6409b4830e2e

10 years agoMoving Wifi HAL to hardware
Vinit Deshapnde [Tue, 8 Apr 2014 22:36:03 +0000 (15:36 -0700)]
Moving Wifi HAL to hardware

This change moves all Wifi HAL headers to libhardware_legacy; and moves
hal implementation under hardware/<vendor>/wlan. This way different
vendors will be able to tailor implementation to their drivers.

Change-Id: I55789bb6788ab694f4896aa36d76f7887b32dad6

10 years agoFw update: version: 6.37.34.21 for bcm4339
Vinit Deshapnde [Thu, 8 May 2014 00:23:53 +0000 (17:23 -0700)]
Fw update: version: 6.37.34.21 for bcm4339

must go with DHD driver version:1.88 gscan v2 (r)
modified: bcmdhd/firmware/bcm4339/fw_bcmdhd.bin

Change-Id: Ia0933d137a934306b6364583b9c83b8ba20855ae

10 years agobcmdhd: Update bcm43241 firmware to verison 6.10.197.41.15
Dmitry Shmidt [Wed, 7 May 2014 18:18:41 +0000 (11:18 -0700)]
bcmdhd: Update bcm43241 firmware to verison 6.10.197.41.15

- Fix P2P issue when devices can not see each other

Bug: 13915608

Change-Id: Iaee9ab639bd8853b202e9ba846b26b8fef0e70a3
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoMerge "bcm4339: update firmware to 6.37.32.23.34.18"
Patrick Tjin [Wed, 7 May 2014 15:40:48 +0000 (15:40 +0000)]
Merge "bcm4339: update firmware to 6.37.32.23.34.18"

10 years agoam a08736b4: am 47a3b8f4: am ff4d18ed: Merge "broadcom wlan: fix include path for...
Colin Cross [Wed, 30 Apr 2014 12:17:31 +0000 (12:17 +0000)]
am a08736b4: am 47a3b8f4: am ff4d18ed: Merge "broadcom wlan: fix include path for libnl headers"

* commit 'a08736b4957ac4dee2feb38898c4545ae76e3bc9':

10 years agoam 507a512f: am 0377e982: am ab3e9a4c: Merge "broadcom/wlan: 64-bit compile issue"
Mark Salyzyn [Wed, 30 Apr 2014 12:17:30 +0000 (12:17 +0000)]
am 507a512f: am 0377e982: am ab3e9a4c: Merge "broadcom/wlan: 64-bit compile issue"

* commit '507a512fc8bfd5a25d1cb526c48d684f0cc66f6f':