OSDN Git Service

android-x86/hardware-broadcom-wlan.git
9 years agomake some logs a bit more explicit
Pierre Vandwalle [Wed, 1 Apr 2015 18:35:33 +0000 (11:35 -0700)]
make some logs a bit more explicit

Change-Id: I698dd0590e38bcbaa9c1dbb40212134e3ccd5407

9 years agoFix a memory leak in retrieving GScan data
Vinit Deshpande [Mon, 30 Mar 2015 21:22:37 +0000 (14:22 -0700)]
Fix a memory leak in retrieving GScan data

Change-Id: I98182a5a74adf69189186a0e5f0ea49b7795f959

9 years agonet:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.73)
Ashwin [Thu, 26 Mar 2015 04:28:32 +0000 (21:28 -0700)]
net:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.73)

Fix Fw crash on PNO stop
Bug:19892954

Change-Id: I4e0113f9b58923547dd63f1f62f2d1746ad0ea0d
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
9 years agoMerge commit '01c49c3' into m-wireless-dev
Qiwen Zhao [Fri, 27 Mar 2015 04:44:06 +0000 (21:44 -0700)]
Merge commit '01c49c3' into m-wireless-dev

9 years agonet: wireless: bcmdhd Update bcm4354/56 FW(Lollipop-MR1-7.35.79.7)
Ecco Park [Thu, 26 Mar 2015 01:45:38 +0000 (18:45 -0700)]
net: wireless: bcmdhd Update bcm4354/56 FW(Lollipop-MR1-7.35.79.7)

1) Bugs : 1906018119368259
2) Fixes : ucode Fix for bt-coex issue
           Fix for no scan results due to FW wedge state
3) SVT TEST
3-1) Connection test : pass
     Roaming Test : Pass
     Throughput test : Pass
     P2P Test : Pass
Signed-off-by: Ecco Park <eccopark@broadcom.com>
Bug:19954036
Change-Id: Icb97c491fd05e0928b00ce1b923529146d88e847

9 years agoMerge "Merge Broadcom HAL codes for set country code net: wireless: bcmdhd changes...
xinhe [Sat, 21 Mar 2015 00:29:42 +0000 (00:29 +0000)]
Merge "Merge Broadcom HAL codes for set country code net: wireless: bcmdhd changes for set country" into m-wireless-dev

9 years agoMerge Broadcom HAL codes for set country code
xinhe [Fri, 20 Mar 2015 17:46:15 +0000 (10:46 -0700)]
Merge Broadcom HAL codes for set country code
net: wireless: bcmdhd changes for set country

Change-Id: I7fdb4efe00a5f6df166b8dbb071939c4aa311845
Signed-off-by: eccopark@broadcom.com <eccopark@broadcom.com>
Bug:19829530

9 years agoMerge "net: wireless: bcmdhd: Update bcm4354/56 FW (7.35.79.71)" into m-wireless-dev
Pierre Vandwalle [Fri, 20 Mar 2015 22:46:23 +0000 (22:46 +0000)]
Merge "net: wireless: bcmdhd: Update bcm4354/56 FW (7.35.79.71)" into m-wireless-dev

9 years agoMerge "net: wireles: bcmdhd rtt.cpp changes for 11mc of halutil" into m-wireless-dev
xin He [Fri, 20 Mar 2015 00:48:14 +0000 (00:48 +0000)]
Merge "net: wireles: bcmdhd rtt.cpp changes for 11mc of halutil" into m-wireless-dev

9 years agoePNO changes
Ashwin [Thu, 19 Mar 2015 23:07:39 +0000 (16:07 -0700)]
ePNO changes

Support for ePNO changes. Can send ePNO SSIDs to driver and get results
Exponential backoff will be added in the next update

Change-Id: I6a420811c0dc503ccb2d8d1a502dbdeedcf9ca2a
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
9 years agonet: wireless: bcmdhd: Update bcm4354/56 FW (7.35.79.71)
Ashwin [Thu, 19 Mar 2015 22:24:56 +0000 (15:24 -0700)]
net: wireless: bcmdhd: Update bcm4354/56 FW (7.35.79.71)

1. ePNO changes: Supports changes to support ePNO up to 32 SSIDs
 and 8 hidden SSIDs/Strict match SSIDs
2. ucode Fix for bt-coex issue.
3. Fix for no scan results due to FW wedge state

Bugs: 1906018119368259

Change-Id: I5fc2bb94c0c03e5cbd20949f472534490b466108
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
9 years agonet: wireles: bcmdhd rtt.cpp changes for 11mc of halutil
eccopark@broadcom.com [Sat, 14 Mar 2015 03:10:23 +0000 (20:10 -0700)]
net: wireles: bcmdhd rtt.cpp changes for 11mc of halutil

Change-Id: If4ccdf6e7956d25f51c946b0fbfa483a22bcdd64
Signed-off-by: eccopark@broadcom.com <eccopark@broadcom.com>
9 years agorename num_ap into num_bssid
Pierre Vandwalle [Thu, 19 Mar 2015 02:20:27 +0000 (19:20 -0700)]
rename num_ap into num_bssid

Change-Id: If07a6c0b3f9bb29768c17409abaa2995a003b669

9 years agoRemove HAL workaround for single shot scan
Vinit Deshpande [Wed, 11 Mar 2015 19:27:11 +0000 (12:27 -0700)]
Remove HAL workaround for single shot scan

When report_threshold_num_scans and scan status event
weren't supported; we set num_scans to 1 to implement
single shot scan. Now that these are supported; we
don't need this workaround.

Bug: 19535383

Change-Id: Id86813f72b85cd154cf6867650c508c70ab4162b

9 years agoMerge "stubs for HAL API functions" into m-wireless-dev
Pierre Vandwalle [Thu, 19 Mar 2015 00:03:59 +0000 (00:03 +0000)]
Merge "stubs for HAL API functions" into m-wireless-dev

9 years agostubs for HAL API functions
Pierre Vandwalle [Wed, 18 Mar 2015 19:25:23 +0000 (12:25 -0700)]
stubs for HAL API functions

Change-Id: I74d53ae187d002edafb6f3de32079c36c8c10552

9 years agonet: wireless: bcmdhd new FW(7.35.79.67)
eccopark [Sat, 7 Mar 2015 02:18:57 +0000 (18:18 -0800)]
net: wireless: bcmdhd new FW(7.35.79.67)

1) 802.11 mc support and changes for Google RTT result
2) Basic Test
   SOFTAP connection
   STA connection with 2.4/5 GHZ
   Roaming test
   Iperf test

for device 4354 STA/AP and 4356 STA/AP
Signed-off-by: eccopark <eccopark@broadcom.com>
Change-Id: I20b98f1b17c8a3dd312257c0ec0fab648a91ac37

9 years agoam "net: wireless: bcmdhd new FW (6.37.32.RC23.34.34)"
Vinit Deshpande [Fri, 13 Mar 2015 00:32:45 +0000 (17:32 -0700)]
am "net: wireless: bcmdhd new FW (6.37.32.RC23.34.34)"

merged from partner/m-wireless-wifi-dev
f5a875f net: wireless: bcmdhd new FW (6.37.32.RC23.34.34)

9 years agoam "modify the interface rtt.h"
Vinit Deshpande [Fri, 6 Mar 2015 21:55:32 +0000 (13:55 -0800)]
am "modify the interface rtt.h"

merged from partner/m-wireless-wifi-dev
c86cb4f modify the interface rtt.h

9 years agoam "net: wireless: bcmdhd new FW (7.35.79.63)"
Vinit Deshpande [Fri, 6 Mar 2015 21:55:32 +0000 (13:55 -0800)]
am "net: wireless: bcmdhd new FW (7.35.79.63)"

merged from partner/m-wireless-wifi-dev
184f714 net: wireless: bcmdhd new FW (7.35.79.63)

9 years agoam "Merge "net: wireless: bcmdhd: update new FW (7.35.79.59)" into m-wireless-wifi...
Vinit Deshpande [Fri, 6 Mar 2015 21:55:32 +0000 (13:55 -0800)]
am "Merge "net: wireless: bcmdhd: update new FW (7.35.79.59)" into m-wireless-wifi-dev"

merged from partner/m-wireless-wifi-dev
ab60158 Merge "net: wireless: bcmdhd: update new FW (7.35.79.59)" into m-wireless-wifi-dev

9 years agoam "update rtt.h for 11mc double side RTT"
Vinit Deshpande [Fri, 6 Mar 2015 21:55:32 +0000 (13:55 -0800)]
am "update rtt.h for 11mc double side RTT"

merged from partner/m-wireless-wifi-dev
02883db update rtt.h for 11mc double side RTT

9 years agoam "net: wireless: bcmdhd: update new FW (7.35.79.59)"
Vinit Deshpande [Fri, 6 Mar 2015 21:55:31 +0000 (13:55 -0800)]
am "net: wireless: bcmdhd: update new FW (7.35.79.59)"

merged from partner/m-wireless-wifi-dev
4cc904c net: wireless: bcmdhd: update new FW (7.35.79.59)

9 years agoam "Firmware update for bcm4354/bcm4356 v(7.35.79.54)"
Vinit Deshpande [Fri, 6 Mar 2015 21:54:22 +0000 (13:54 -0800)]
am "Firmware update for bcm4354/bcm4356 v(7.35.79.54)"

Merged from partner/m-wireless-wifi-dev
e4eadb2 Firmware update for bcm4354/bcm4356 v(7.35.79.54)

9 years agoam "bcmdhd: Include driver_nl80211.h from wpa_supplicant repository [DO NOT MERGE]"
Vinit Deshpande [Fri, 6 Mar 2015 21:53:55 +0000 (13:53 -0800)]
am "bcmdhd: Include driver_nl80211.h from wpa_supplicant repository [DO NOT MERGE]"

merged from partner/m-wireless-wifi-dev
005fe74 bcmdhd: Include driver_nl80211.h from wpa_supplicant repository [DO NOT MERGE]

9 years agoam "New Additions to WifiScanner APIs [DO NOT MERGE]"
Vinit Deshpande [Fri, 6 Mar 2015 21:53:55 +0000 (13:53 -0800)]
am "New Additions to WifiScanner APIs [DO NOT MERGE]"

merged from partner/m-wireless-wifi-dev
bcd42ae New Additions to WifiScanner APIs [DO NOT MERGE]

9 years agonet: wireless: bcmdhd new FW (6.37.32.RC23.34.34)
Ecco Park [Fri, 6 Feb 2015 01:48:24 +0000 (17:48 -0800)]
net: wireless: bcmdhd new FW (6.37.32.RC23.34.34)

1) Bug : 19208921
Merge : all of roaming patches from N6 to N5.
1-1) prevent the STA from roaming to same AP.
1-2) prevent roaming trigger for DISASSOC
1-3) prevent roaming trigger for DEAUTH
1-4) prevent roaming trigger for DEAUTH
1-5) send WLC_E_SET_SSID  event with status -1 to DHD
when the wpa_supplicant aborts current connection
while we are doing association scan.
1-6) Clear Authenticated bit for previous AP if not roaming to same AP

2) Basic sanity test
2-1) Connection test (open,TKIP,WES)
2-2) Roaming test
2-3) Iperf test for 5GHZ and 2.4GHZ AP
2-4) Checked channels list for US and Universal
Signed-off-by: Ecco Park <eccopark@broadcom.com>
Change-Id: I24193500af5ed8f84729a49442b77f7a66dbe59d

9 years agomodify the interface rtt.h
xinhe [Tue, 3 Mar 2015 00:48:32 +0000 (16:48 -0800)]
modify the interface rtt.h

Bug:19570769
Change-Id: Ifec3fb04548fb102837f70318481e5e9a4e455e3

9 years agonet: wireless: bcmdhd new FW (7.35.79.63)
eccopark [Tue, 24 Feb 2015 00:16:43 +0000 (16:16 -0800)]
net: wireless: bcmdhd new FW (7.35.79.63)

1) 11mc support for STA and SOFTAP

2) Basic SVT Test
STA connection test : Pass
Roaming test : Pass
Throughtput test : Pass
Signed-off-by: eccopark <eccopark@broadcom.com>
Bug:19517162
Change-Id: I7cf0b3a7c8b34b83802e03ffbc49a05791dc1476

9 years agoMerge "net: wireless: bcmdhd: update new FW (7.35.79.59)" into m-wireless-wifi-dev
Vinit Deshpande [Tue, 17 Feb 2015 22:17:12 +0000 (22:17 +0000)]
Merge "net: wireless: bcmdhd: update new FW (7.35.79.59)" into m-wireless-wifi-dev

9 years agoupdate rtt.h for 11mc double side RTT
xinhe [Thu, 12 Feb 2015 18:45:14 +0000 (10:45 -0800)]
update rtt.h for 11mc double side RTT

Bug:19364957
Change-Id: I466b795251605f7890ea50ab252c84e342bbaa23

9 years agonet: wireless: bcmdhd: update new FW (7.35.79.59)
Ashwin [Thu, 12 Feb 2015 18:02:45 +0000 (10:02 -0800)]
net: wireless: bcmdhd: update new FW (7.35.79.59)

FW with increased batch scan bssid capacity, increased to 32.

Bug 19003980

Change-Id: I6b55286380b3c3dceb6fa83feace5284ab071458
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
9 years agobcm4343: Update firmware to 7.10.226.54.1
Devin Kim [Tue, 20 Jan 2015 00:46:01 +0000 (09:46 +0900)]
bcm4343: Update firmware to 7.10.226.54.1

Change the max peak current to 450mA from 800mA on WiFi scan.
This will help improvement for power consumption.

Change-Id: I3b0bc9280c78df5dcd6bb08c6df88b003c71812c

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 agobcmdhd: Include driver_nl80211.h from wpa_supplicant repository [DO NOT MERGE]
Dmitry Shmidt [Mon, 5 Jan 2015 23:46:34 +0000 (15:46 -0800)]
bcmdhd: Include driver_nl80211.h from wpa_supplicant repository [DO NOT MERGE]

Change-Id: Ifefa3604e562c5be34360cf41b712162da7ccbae
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
9 years agoFirmware update for bcm4354/bcm4356 v(7.35.79.57)
Ecco Park [Mon, 12 Jan 2015 23:50:01 +0000 (15:50 -0800)]
Firmware update for bcm4354/bcm4356 v(7.35.79.57)

1) b/18852281 Can't connect to Wifi
=> Apply aging logic for AP control information.

2) b/18984566 [WiFi] - Locale for Russia that
supports 5Ghz Channels => apply RU/50

Bug: 18852281

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

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

Bug: 18087596
Bug: 17694040
Bug: 18059273

Change-Id: Id623ab9ee2ab89c86a35082279331fa609016347

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 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 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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

9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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

9 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>
9 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>
9 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>
9 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

9 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>
9 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>
9 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

9 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>
9 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>
9 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>
9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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