OSDN Git Service

android-x86/hardware-broadcom-wlan.git
8 years agoMerge "Fix verbose log flag" into mnc-dr-dev
Kevin Cernekee [Thu, 3 Sep 2015 14:35:05 +0000 (14:35 +0000)]
Merge "Fix verbose log flag" into mnc-dr-dev

8 years agoam 3522524b: Merge "manual merge for N6 FW(7.35.79.100)" into mnc-dev
Prerepa Viswanadham [Wed, 2 Sep 2015 21:02:15 +0000 (21:02 +0000)]
am 3522524b: Merge "manual merge for N6 FW(7.35.79.100)" into mnc-dev

* commit '3522524bada6acaa0a6cf2f6f94f65541febad61':
  manual merge for N6 FW(7.35.79.100)

8 years agoam 84b4a253: manual merge for N5 FW(6.37.32.RC23.34.40)
Navtej Singh Mann [Wed, 2 Sep 2015 21:02:13 +0000 (21:02 +0000)]
am 84b4a253: manual merge for N5 FW(6.37.32.RC23.34.40)

* commit '84b4a2539edf9414b539c3c935084df376ba2d7a':
  manual merge for N5 FW(6.37.32.RC23.34.40)

8 years agoMerge "manual merge for N6 FW(7.35.79.100)" into mnc-dev
Prerepa Viswanadham [Wed, 2 Sep 2015 20:52:15 +0000 (20:52 +0000)]
Merge "manual merge for N6 FW(7.35.79.100)" into mnc-dev

8 years agomanual merge for N5 FW(6.37.32.RC23.34.40)
Navtej Singh Mann [Wed, 2 Sep 2015 18:14:14 +0000 (11:14 -0700)]
manual merge for N5 FW(6.37.32.RC23.34.40)

1. Fix roaming failure prevents entering PS mode
BUG=23218044
From: https://partner-android-review.googlesource.com/#/c/376862/

Change-Id: Ifd1d5396fb6bebcb3796ad1f7432de9969571afe

8 years agomanual merge for N6 FW(7.35.79.100)
Navtej Singh Mann [Wed, 2 Sep 2015 17:43:12 +0000 (10:43 -0700)]
manual merge for N6 FW(7.35.79.100)

1. Fix roaming failure prevents entering PS mode
BUG=23218044
From: https://partner-android-review.googlesource.com/#/c/376862/

Change-Id: I9d3ff06f353828c40840bf8e11aabeb6c924e795

8 years agonet: wireless: bcmdhd: update bcm4358 FW (7.112.100.27)
Insun Song [Thu, 27 Aug 2015 19:22:00 +0000 (12:22 -0700)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.27)

bug=23590957
fix for FCC bandedge txpower measurement fail.

Signed-off-by: Insun Song <isong@broadcom.com>
Change-Id: I50a0c0b1a76e37595f43373335c23eb702d1a636

8 years agoMerge "wifi_hal: Fix array overflow retrieving gscan results" into mnc-dr-dev
Kevin Cernekee [Wed, 2 Sep 2015 02:39:29 +0000 (02:39 +0000)]
Merge "wifi_hal: Fix array overflow retrieving gscan results" into mnc-dr-dev

8 years agoFix verbose log flag
Kevin Cernekee [Sun, 30 Aug 2015 17:49:45 +0000 (10:49 -0700)]
Fix verbose log flag

Per system/core/include/log/log.h, ALOGV is compiled out if LOG_NDEBUG
is 1.

Bug: chrome-os-partner:44402
Change-Id: Ib57c01a11f875376c951f21c4553ac5a33be110d

8 years agowifi_hal: Fix array overflow retrieving gscan results
Kevin Cernekee [Sun, 30 Aug 2015 17:42:04 +0000 (10:42 -0700)]
wifi_hal: Fix array overflow retrieving gscan results

WifiNative (in frameworks) allocates a 64-element wifi_cached_scan_results
array on the stack.  The bcmdhd HAL can write past the end of this array
if the kernel provides excess scan data.  Fix the sanity check so that
it terminates processing if it is out of space.

Bug: chrome-os-partner:44402
Change-Id: I99a9bcb180c3aafb294b4af85727e9ec412312df

8 years agoam 2d571e7e: net:wireless:bcmdhd: Update bcm4354 FW(7.35.79.101)
Ritter Yeh [Fri, 28 Aug 2015 05:00:42 +0000 (05:00 +0000)]
am 2d571e7e: net:wireless:bcmdhd: Update bcm4354 FW(7.35.79.101)

* commit '2d571e7e7a7164fd51fab006e74630f5b4c1eee5':
  net:wireless:bcmdhd: Update bcm4354 FW(7.35.79.101)

8 years agonet:wireless:bcmdhd: Update bcm4354 FW(7.35.79.101)
Ritter Yeh [Thu, 27 Aug 2015 21:29:02 +0000 (14:29 -0700)]
net:wireless:bcmdhd: Update bcm4354 FW(7.35.79.101)

1) Remove channel 120/124/128 from US/0

Bug: 23218044
Change-Id: I97d1095f7d38bb2e90cc241d9321603192e859c3
Signed-off-by: Ritter Yeh <ryeh@broadcom.com>
8 years agoMerge "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.26)" into mnc-dr-dev
Ed Tam [Wed, 26 Aug 2015 05:43:54 +0000 (05:43 +0000)]
Merge "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.26)" into mnc-dr-dev

8 years agoam 85113b28: Merge "net:wireless:bcmdhd: Update bcm4339 FW(6.37.32.RC23.34.40/7.35...
Prerepa Viswanadham [Wed, 26 Aug 2015 05:39:46 +0000 (05:39 +0000)]
am 85113b28: Merge "net:wireless:bcmdhd: Update bcm4339 FW(6.37.32.RC23.34.40/7.35.79.100)" into mnc-dev

* commit '85113b2816251d59eb9463311bfb933bef7d429f':
  net:wireless:bcmdhd: Update bcm4339 FW(6.37.32.RC23.34.40/7.35.79.100)

8 years agoam aa544ae2: net:wireless:bcmdhd: Update bcm4356 FW(6.37.32.RC23.34.40/7.35.79.100)
Ritter Yeh [Wed, 26 Aug 2015 05:39:46 +0000 (05:39 +0000)]
am aa544ae2: net:wireless:bcmdhd: Update bcm4356 FW(6.37.32.RC23.34.40/7.35.79.100)

* commit 'aa544ae2e5ce5d3d4a4ff9aeee7d1163a05d524d':
  net:wireless:bcmdhd: Update bcm4356 FW(6.37.32.RC23.34.40/7.35.79.100)

8 years agoMerge "net:wireless:bcmdhd: Update bcm4339 FW(6.37.32.RC23.34.40/7.35.79.100)" into...
Prerepa Viswanadham [Wed, 26 Aug 2015 05:35:04 +0000 (05:35 +0000)]
Merge "net:wireless:bcmdhd: Update bcm4339 FW(6.37.32.RC23.34.40/7.35.79.100)" into mnc-dev

8 years agonet:wireless:bcmdhd: Update bcm4339 FW(6.37.32.RC23.34.40/7.35.79.100)
Ritter Yeh [Mon, 24 Aug 2015 22:53:04 +0000 (15:53 -0700)]
net:wireless:bcmdhd: Update bcm4339 FW(6.37.32.RC23.34.40/7.35.79.100)

1. Fix roaming failure prevents entering PS mode
BUG=23218044

Change-Id: I65b6993e2a768f5ce79917140304abe661fcf43c
Signed-off-by: Ritter Yeh <ryeh@broadcom.com>
8 years agonet:wireless:bcmdhd: Update bcm4356 FW(6.37.32.RC23.34.40/7.35.79.100)
Ritter Yeh [Tue, 25 Aug 2015 01:52:20 +0000 (18:52 -0700)]
net:wireless:bcmdhd: Update bcm4356 FW(6.37.32.RC23.34.40/7.35.79.100)

1. Fix roaming failure prevents entering PS mode
BUG=23218044

Change-Id: Ia1922a0a99e7dc5d722e766c42cdbe8e4be03912
Signed-off-by: Ritter Yeh <ryeh@broadcom.com>
Signed-off-by: Prerepa Viswanadham <dham@google.com>
8 years agonet: wireless: bcmdhd: update bcm4358 FW (7.112.100.26)
Insun Song [Tue, 25 Aug 2015 18:10:53 +0000 (11:10 -0700)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.26)

bug=23328094
priortize EAPOL packets to avoid auth failure.

Change-Id: Ife8aa41c0d6ef91d47f29a674319bdf554837e92
Signed-off-by: Insun Song <isong@broadcom.com>
8 years agonet: wireless: bcmdhd: update bcm4358 FW(7.112.100.17)
Insun Song [Fri, 14 Aug 2015 02:16:02 +0000 (19:16 -0700)]
net: wireless: bcmdhd: update bcm4358 FW(7.112.100.17)

1) bug=23163857
revert logability feature due to JNI crash.

Change-Id: I2f0ace60c9ac5e2dc2080d261eb1a7e711049ce3
Signed-off-by: Insun Song <isong@broadcom.com>
8 years agoam 2c9d7bbf: Merge "Fix cleanup of COMPLETE_SCAN event" into mnc-dev
Vinit Deshpande [Thu, 13 Aug 2015 16:31:46 +0000 (16:31 +0000)]
am 2c9d7bbf: Merge "Fix cleanup of COMPLETE_SCAN event" into mnc-dev

* commit '2c9d7bbf80b19c3881229540d1ef05669bd27118':
  Fix cleanup of COMPLETE_SCAN event

8 years agoMerge "Fix cleanup of COMPLETE_SCAN event" into mnc-dev
Vinit Deshpande [Thu, 13 Aug 2015 16:25:00 +0000 (16:25 +0000)]
Merge "Fix cleanup of COMPLETE_SCAN event" into mnc-dev

8 years agoMerge "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.15)"" into mnc...
Ed Tam [Thu, 13 Aug 2015 06:52:10 +0000 (06:52 +0000)]
Merge "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.15)"" into mnc-dr-dev

8 years agoRevert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.15)"
Ed Tam [Thu, 13 Aug 2015 06:14:09 +0000 (23:14 -0700)]
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.15)"

This reverts commit 57ffe4477b8e4629893df5824b3982eb1b352897.

Bug: 23163857
Change-Id: Ie2f1facffb162508ac32bbab96a1f3deb42379cf

8 years agoam 39ada30e: net:wireless:bcmdhd: Update bcm4339/54/56 FW(6.37.32.RC23.34.39/7.35...
Ashwin [Thu, 13 Aug 2015 04:11:34 +0000 (04:11 +0000)]
am 39ada30e: net:wireless:bcmdhd: Update bcm4339/54/56 FW(6.37.32.RC23.34.39/7.35.79.97)

* commit '39ada30e4d6723f3eb3e2360b7879a63f7240e3e':
  net:wireless:bcmdhd: Update bcm4339/54/56 FW(6.37.32.RC23.34.39/7.35.79.97)

8 years agonet:wireless:bcmdhd: Update bcm4339/54/56 FW(6.37.32.RC23.34.39/7.35.79.97)
Ashwin [Wed, 12 Aug 2015 17:54:11 +0000 (10:54 -0700)]
net:wireless:bcmdhd: Update bcm4339/54/56 FW(6.37.32.RC23.34.39/7.35.79.97)

1. bcm4354/56 - Remove channels 12 and 13 from country code XT/50
Bug 22797025
2. bcm4339 - De-prioritize gscan over escan
Bug 22776056

Basic SVT Test
STA connection test : Pass
Roaming test : Pass
Throughtput test : Pass
Regulatory test: Pass

Change-Id: I5ca3c175c9040435cc43f45d1ae34ec7957a4b0c
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
8 years agoFix cleanup of COMPLETE_SCAN event
Ashwin [Wed, 12 Aug 2015 21:55:51 +0000 (14:55 -0700)]
Fix cleanup of COMPLETE_SCAN event

unregister the event if gscan setup fails

Bug: 23030690

Change-Id: I6f20f340e96cf35af3e7fc28893fb4bc50c64ed8
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
8 years agonet: wireless: bcmdhd: update bcm4358 FW (7.112.100.15)
Insun Song [Fri, 7 Aug 2015 00:01:33 +0000 (17:01 -0700)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.15)

1. bug : 22611777
=> adding JP/991 ccode for outdoor/nonDFS/No-A-band
channels of SOFTAP

Change-Id: If5601c0ba7584a33da3fc336ece8a87e7a792ad2
Signed-off-by: Insun Song <isong@broadcom.com>
8 years agoRSSI monitor cmd cleanup
Ashwin [Thu, 6 Aug 2015 19:57:31 +0000 (12:57 -0700)]
RSSI monitor cmd cleanup

Cleanup RSSI monitor cmd if it fails

Bug 22826644

Change-Id: Iaca8201ea32d051bb2afd34e28257fc828908599
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
8 years agonet:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.96)
Ecco Park [Mon, 3 Aug 2015 20:31:11 +0000 (13:31 -0700)]
net:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.96)

1) remove anqp offload feature to save memory
2) BUG=22339691
  Prioritize EAPOL packets to avoid delay
  in the processing EAPOL packets in case of high data traffic.
3) SVT is on progress

Change-Id: I7fd1c3a2f76fbaf7b55d1b31219c406106e26e09
Signed-off-by: Ecco Park <eccopark@broadcom.com>
8 years agoMerge "bcmdhd: Update bcm4354/56 FW(7.35.79.95)" into mnc-dev
Dmitry Shmidt [Thu, 30 Jul 2015 23:41:29 +0000 (23:41 +0000)]
Merge "bcmdhd: Update bcm4354/56 FW(7.35.79.95)" into mnc-dev

8 years agobcmdhd: Update bcm4354/56 FW(7.35.79.95)
Ecco Park [Wed, 29 Jul 2015 20:51:05 +0000 (13:51 -0700)]
bcmdhd: Update bcm4354/56 FW(7.35.79.95)

1) BUG=22414864
  add county code : JP/991 for outdoor/notDFS/NO-A-band
  channels of SOFTAP in Japan

Change-Id: I3ac20518bd4da54c160890bbd7cfbc1d48f20214
Signed-off-by: Ecco Park <eccopark@broadcom.com>
9 years agoFix a potential crash in debugging code
Vinit Deshpande [Tue, 28 Jul 2015 17:33:27 +0000 (10:33 -0700)]
Fix a potential crash in debugging code

We want to catch incorrect event_cbs; but the commands
they may refer to may have been deleted by the time
the debugging messages are printed. This change fixes
that by printing before anything is deleted.

Bug: 22401861
Change-Id: I71562af940275b43057eae1f93406291924ad567

9 years agonet:wireless:bcmdhd: Update bcm4354/56 FW (7.35.79.94)
Chilam Ng [Wed, 15 Jul 2015 01:04:02 +0000 (18:04 -0700)]
net:wireless:bcmdhd: Update bcm4354/56 FW (7.35.79.94)

Link stats: fixed on_time accuracy upon connection/disconnection

Bug 21613534

Basic SVT Test
STA connection test

Change-Id: I40178497a5590348d77fc883e7c7d6c4042b2a89
Signed-off-by: Chilam Ng <chilam@broadcom.com>
9 years agoFix couple of issues with unregistering event handlers
Vinit Deshpande [Thu, 16 Jul 2015 18:30:21 +0000 (11:30 -0700)]
Fix couple of issues with unregistering event handlers

First, on Hammerhead, we don't unregister GOOGLE_DEBUG_RING_EVENT
if driver command fails - that's not correct.

Also fixed a one-off error in unregistering event handlers.

Bug: 22523219

Change-Id: Idaf27bc14f13d21e18cec512db8f8c3590895c66

9 years agoClean up bad command implementation
Jerry Lee [Mon, 13 Jul 2015 20:37:58 +0000 (13:37 -0700)]
Clean up bad command implementation

    b/22349265

Change-Id: I98132e5083155de21ae241b3b3a6b8f9410d61ec
Signed-off-by: Jerry Lee <jerrylee@broadcom.com>
9 years agoMerge "don't register command for BSSID blacklist because there is no stop for blackl...
Navtej Singh Mann [Sat, 11 Jul 2015 03:36:18 +0000 (03:36 +0000)]
Merge "don't register command for BSSID blacklist because there is no stop for blacklist" into mnc-dev

9 years agodon't register command for BSSID blacklist because there is no stop for blacklist
Navtej Singh Mann [Fri, 10 Jul 2015 19:01:12 +0000 (12:01 -0700)]
don't register command for BSSID blacklist because there is no stop for blacklist

Bug:22394142
Change-Id: I2661c3833d9ca85cea8110f85aef1d039fb43c5b

9 years agonet:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.93)
Ecco Park [Thu, 9 Jul 2015 18:29:04 +0000 (11:29 -0700)]
net:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.93)

1) Bug : 22212992
=> RTT Random mac bug fix
2) Bug : 21668251
=> RA cache interval change to 10mins.
=> Filter out all of unsolicited NA packet
=> Maintain RA cache table for roaming scenario.

Change-Id: I60540533926c8bbd549b68f166fdcdf1006b1beb
Signed-off-by: Ecco Park <eccopark@broadcom.com>
9 years agonet: wireless: bcmdhd: update bcm4358 FW(7.112.100.7)
Insun Song [Tue, 7 Jul 2015 22:00:25 +0000 (15:00 -0700)]
net: wireless: bcmdhd: update bcm4358 FW(7.112.100.7)

1) update country code locales

Cherry-pick of https://partner-android-review.googlesource.com/#/c/221761/
Change-Id: I7381be5a59a002ce25443d24a989f92a1b5d70c0
Signed-off-by: Insun Song <isong@broadcom.com>
9 years agoMerge "Fix incorrect wifi_cleanup" into mnc-dev
Vinit Deshpande [Wed, 8 Jul 2015 17:43:29 +0000 (17:43 +0000)]
Merge "Fix incorrect wifi_cleanup" into mnc-dev

9 years agoMerge "Fix for system crash caused by accessing memory w/o permissions" into mnc-dev
Vinit Deshpande [Wed, 8 Jul 2015 17:43:21 +0000 (17:43 +0000)]
Merge "Fix for system crash caused by accessing memory w/o permissions" into mnc-dev

9 years agoFix incorrect wifi_cleanup
Vinit Deshpande [Tue, 7 Jul 2015 21:52:54 +0000 (14:52 -0700)]
Fix incorrect wifi_cleanup

The cleanup needs to cancel commands, not the event handlers;
and needs a while loop instead of a for loop.

Also added command names to identify which commands are causing
problems.

Bug: 22302517
Change-Id: I93c3e51f7cd3ad62c1a34eeb5708d9552e37342b

9 years agoFix for system crash caused by accessing memory w/o permissions
Ashwin [Tue, 7 Jul 2015 21:25:55 +0000 (14:25 -0700)]
Fix for system crash caused by accessing memory w/o permissions

Fix a buffer overflow access that caused a SEGV_ACCERR

Change-Id: Id38ac0637696128ee66039e8b4c5e8d73ec945a1
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
9 years agofix WifiHAL event logging issue
Navtej Singh Mann [Tue, 7 Jul 2015 02:15:50 +0000 (19:15 -0700)]
fix WifiHAL event logging issue

Bug: 22306117

Change-Id: Icddf6c28437be2531734d62fc24f13100b02bad0

9 years agoMerge "fix unregister command on failure and log restructuring" into mnc-dev
Navtej Singh Mann [Mon, 6 Jul 2015 17:11:35 +0000 (17:11 +0000)]
Merge "fix unregister command on failure and log restructuring" into mnc-dev

9 years agofix unregister command on failure and log restructuring
Navtej Singh Mann [Wed, 1 Jul 2015 22:56:28 +0000 (15:56 -0700)]
fix unregister command on failure and log restructuring

bug:22174291
Change-Id: I621f92a3604f9a30279c4fe25cd606432df1839e

9 years agoMerge "Fixed channel checking and added more debug info in link stats HAL" into mnc-dev
Vinit Deshpande [Wed, 1 Jul 2015 19:23:22 +0000 (19:23 +0000)]
Merge "Fixed channel checking and added more debug info in link stats HAL" into mnc-dev

9 years agoMerge "net:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.91)" into mnc-dev
Dmitry Shmidt [Wed, 1 Jul 2015 19:19:49 +0000 (19:19 +0000)]
Merge "net:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.91)" into mnc-dev

9 years agoFixed channel checking and added more debug info in link stats HAL
Chilam Ng [Fri, 26 Jun 2015 02:15:18 +0000 (19:15 -0700)]
Fixed channel checking and added more debug info in link stats HAL

bug: 22051751

Change-Id: I77f393b7ff9e8f9ac1f23db3df51705c4e4e358d
Signed-off-by: Chilam Ng <chilam@broadcom.com>
9 years agobcmdhd: Add filter_rssi=-75 to config file
Dmitry Shmidt [Fri, 26 Jun 2015 19:53:33 +0000 (12:53 -0700)]
bcmdhd: Add filter_rssi=-75 to config file

Bug: 21999196

Change-Id: I8e68bdc8517dd117720bbae2652ce835cae31543
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
9 years agonet:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.91)
eccopark@broadcom.com [Tue, 30 Jun 2015 03:24:08 +0000 (20:24 -0700)]
net:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.91)

1) Bug : 21668251
=> Suppress the debug log in FW not to wake up host while device is in suspend mode.
(circular buffer in FW will be overlapped with new entry in suspend mode of device)

Change-Id: I0f6d40be00fb177d64fd0b9112495b9443e46e92
Signed-off-by: eccopark@broadcom.com <eccopark@broadcom.com>
9 years agoMerge "Remove some unhelpful logs" into mnc-dev
Vinit Deshpande [Fri, 26 Jun 2015 22:35:33 +0000 (22:35 +0000)]
Merge "Remove some unhelpful logs" into mnc-dev

9 years agonet:wireless:bcmdhd: Update bcm4354/56 FW (7.35.79.90)
Chilam Ng [Fri, 26 Jun 2015 07:05:03 +0000 (00:05 -0700)]
net:wireless:bcmdhd: Update bcm4354/56 FW (7.35.79.90)

1. Fixed issues with link stats counters continuity and monotonicity

Bug: 21613534

Basic SVT Test
STA connection test : Pass

Change-Id: I75e536590bb63813c9e379812d820f6956aa5146
Signed-off-by: Chilam Ng <chilam@broadcom.com>
9 years agoRemove some unhelpful logs
Vinit Deshpande [Thu, 25 Jun 2015 21:06:56 +0000 (14:06 -0700)]
Remove some unhelpful logs

Change-Id: I38478947d7f86872ddb10740d9de2fedcd52f393

9 years agoAdd wifi offload feature: mkeep_alive
Ecco Park [Fri, 19 Jun 2015 00:02:35 +0000 (17:02 -0700)]
Add wifi offload feature: mkeep_alive

    b/21405946

Change-Id: I8e9a2f2b2f76d1d689fcd645b9332b290d710ae6
Signed-off-by: JerryLee <jerrylee@broadcom.com>
9 years agoAdd a debuggability interface: stop logging
JerryLee [Thu, 18 Jun 2015 02:16:50 +0000 (19:16 -0700)]
Add a debuggability interface: stop logging

    bug: 21730601

Change-Id: Icdc4e118884ec16a8b1a52ed60c9e49fa521a9fd
Signed-off-by: JerryLee <jerrylee@broadcom.com>
9 years agoRSSI monitor changes
Ashwin [Fri, 12 Jun 2015 20:08:45 +0000 (13:08 -0700)]
RSSI monitor changes

RSSI monitor is used to set RSSI thresholds to driver and rx
events when thresholds are crossed. also includes some code cleanup

Change-Id: Ia55ded489ed5d4232e6fea0ffdcfc824522613b1
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
9 years agoam 00b22e5..00b22e5 from mirror-m-wireless-internal-release
Vinit Deshpande [Mon, 22 Jun 2015 22:52:04 +0000 (15:52 -0700)]
am 00b22e5..00b22e5 from mirror-m-wireless-internal-release

00b22e5 Merge "net:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.88)" into m-wireless-dev

9 years agoam "Fix Broadcom's crash [DO NOT MERGE]"
Vinit Deshpande [Mon, 22 Jun 2015 22:52:04 +0000 (15:52 -0700)]
am "Fix Broadcom's crash [DO NOT MERGE]"

merged from mirror-m-wireless-internal-release with -s ours
No changes were actually committed

3ef0c6e Fix Broadcom's crash [DO NOT MERGE]

9 years agoam 5c08550..5c08550 from mirror-m-wireless-internal-release
Vinit Deshpande [Mon, 22 Jun 2015 22:52:04 +0000 (15:52 -0700)]
am 5c08550..5c08550 from mirror-m-wireless-internal-release

5c08550 net:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.88)

9 years agoMerge "net:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.88)" into m-wireless-dev
Vinit Deshpande [Sat, 13 Jun 2015 00:51:50 +0000 (00:51 +0000)]
Merge "net:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.88)" into m-wireless-dev

9 years agoFix Broadcom's crash [DO NOT MERGE]
Vinit Deshpande [Thu, 11 Jun 2015 23:44:04 +0000 (16:44 -0700)]
Fix Broadcom's crash [DO NOT MERGE]

Bug: 21730601

Change-Id: I3a5f442e210166acf5239c173ed0f9be94fe14b2

9 years agonet:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.88)
Ashwin [Fri, 12 Jun 2015 18:24:14 +0000 (11:24 -0700)]
net:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.88)

1. Added RSSI monitor feature

Basic SVT Test
STA connection test : Pass
Roaming test : Pass
Throughtput test : Pass

Change-Id: I47efece98e2459129985cefbfd3d3f85e73df0f4
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
9 years agoFix Broadcom's crash
Vinit Deshpande [Thu, 11 Jun 2015 23:44:04 +0000 (16:44 -0700)]
Fix Broadcom's crash

Bug: 21730601

Change-Id: I3a5f442e210166acf5239c173ed0f9be94fe14b2

9 years agoam e162833..172fcf7 from mirror-m-wireless-internal-release
Vinit Deshpande [Wed, 10 Jun 2015 19:13:33 +0000 (12:13 -0700)]
am e162833..172fcf7 from mirror-m-wireless-internal-release

172fcf7 Merge "net:wireless:bcmdhd: Update bcm4354/56 FW (7.35.79.87)" into m-wireless-dev
9ed8ceb net:wireless:bcmdhd: Update bcm4354/56 FW (7.35.79.87)

9 years agoam "Shut up a noisy log from HAL [DO NOT MERGE]"
Vinit Deshpande [Wed, 10 Jun 2015 19:13:33 +0000 (12:13 -0700)]
am "Shut up a noisy log from HAL [DO NOT MERGE]"

merged from mirror-m-wireless-internal-release with -s ours
No changes were actually committed

940146c Shut up a noisy log from HAL [DO NOT MERGE]

9 years agoam "Fix a deadlock in wifi_cleanup [DO NOT MERGE]"
Vinit Deshpande [Wed, 10 Jun 2015 19:13:33 +0000 (12:13 -0700)]
am "Fix a deadlock in wifi_cleanup [DO NOT MERGE]"

merged from mirror-m-wireless-internal-release with -s ours
No changes were actually committed

74d118d Fix a deadlock in wifi_cleanup [DO NOT MERGE]

9 years agoMerge "net:wireless:bcmdhd: Update bcm4354/56 FW (7.35.79.87)" into m-wireless-dev
Vinit Deshpande [Wed, 10 Jun 2015 02:07:01 +0000 (02:07 +0000)]
Merge "net:wireless:bcmdhd: Update bcm4354/56 FW (7.35.79.87)" into m-wireless-dev

9 years agonet:wireless:bcmdhd: Update bcm4354/56 FW (7.35.79.87)
Ashwin [Wed, 10 Jun 2015 00:34:37 +0000 (17:34 -0700)]
net:wireless:bcmdhd: Update bcm4354/56 FW (7.35.79.87)

1. RTT mac randomization.
2. Set escan priority above gscan.
3. Fixed a FW trap caused by inappropriately accessing registers.
4. Added debug print for gscan channel list.

Bugs 2088675021555861

Basic SVT Test
STA connection test : Pass
Roaming test : Pass
Throughtput test : Pass

Change-Id: I17e2f2f0d823106524e1a5d2c41a24df5289b724
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
9 years agoRemove confusing "Error polling socket" log
Vinit Deshpande [Wed, 10 Jun 2015 00:12:05 +0000 (17:12 -0700)]
Remove confusing "Error polling socket" log

There are lots of legitimate cases where poll()
returns error; so this log isn't useful.

Bug: 21733400
Change-Id: If8dee9812e4d50c11c47f3daebe0dba33b6d6f8f

9 years agonet: wireless: bcmdhd: Update bcm4358 FW(7.112.100.3)
Insun Song [Sun, 7 Jun 2015 06:00:47 +0000 (23:00 -0700)]
net: wireless: bcmdhd: Update bcm4358 FW(7.112.100.3)

1. HW_OOB polarity changed from ACTIVE_HIGH to ACTIVE_LOW
Signed-off-by: Insun Song <isong@broadcom.com>
Change-Id: I7d85af41c1abd0523aca136865f506d3c45f8de4

9 years agoShut up a noisy log from HAL [DO NOT MERGE]
Vinit Deshpande [Wed, 3 Jun 2015 22:41:49 +0000 (15:41 -0700)]
Shut up a noisy log from HAL [DO NOT MERGE]

Bug: 20416721

Change-Id: I2cc1b4404952365e31c2dc705374d30c59930ef9

9 years agoFix a deadlock in wifi_cleanup [DO NOT MERGE]
Vinit Deshpande [Fri, 5 Jun 2015 03:01:03 +0000 (20:01 -0700)]
Fix a deadlock in wifi_cleanup [DO NOT MERGE]

pthread_mutex isn't re-entrant; and results in a hang
if called second time from the same thread. This change
ensures that it is locked only once.

Bug: 21627368
Change-Id: I9c28c1df240316c2a7eafdefa990b9582bc05a9a

9 years agoFix a deadlock in wifi_cleanup
Vinit Deshpande [Fri, 5 Jun 2015 03:01:03 +0000 (20:01 -0700)]
Fix a deadlock in wifi_cleanup

pthread_mutex isn't re-entrant; and results in a hang
if called second time from the same thread. This change
ensures that it is locked only once.

Bug: 21627368
Change-Id: I9c28c1df240316c2a7eafdefa990b9582bc05a9a

9 years agoRemove trivial GScan logs
Vinit Deshpande [Thu, 4 Jun 2015 00:42:35 +0000 (17:42 -0700)]
Remove trivial GScan logs

These helped once; but now this is just noise. Also
given that GMSCore starts/stops scans many times it is
taking too much of log real estate.

Bug: 20416721

Change-Id: I965ed919afbac56e123e8d019be84d7d33abf3f9

9 years agoShut up a noisy log from HAL
Vinit Deshpande [Wed, 3 Jun 2015 22:41:49 +0000 (15:41 -0700)]
Shut up a noisy log from HAL

Bug: 20416721

Change-Id: I2cc1b4404952365e31c2dc705374d30c59930ef9

9 years agoam 05e31d4..3df1ce6 from mirror-m-wireless-internal-release
Vinit Deshpande [Wed, 3 Jun 2015 18:19:07 +0000 (11:19 -0700)]
am 05e31d4..3df1ce6 from mirror-m-wireless-internal-release

3df1ce6 Merge "Issue start/stop HAL along with load/unload driver" into m-wireless-dev
f7098f4 net:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.85)

Change-Id: I6e8fa3854726e01ef9a24826bf5486cd05a0356c

9 years agoMerge "Issue start/stop HAL along with load/unload driver" into m-wireless-dev
Vinit Deshpande [Tue, 2 Jun 2015 23:41:53 +0000 (23:41 +0000)]
Merge "Issue start/stop HAL along with load/unload driver" into m-wireless-dev

9 years agonet:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.85)
Ashwin [Tue, 2 Jun 2015 19:43:21 +0000 (12:43 -0700)]
net:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.85)

1. Increased legacy PNO SSID  back to 16.
2. Fixed issue with Host not receiving FW events.

bug 2131606721353777

Change-Id: If28b1df774bd7b50d5444176989a54e3c45768f7
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
9 years agoam 79bf2da..25a0fb8 from mirror-m-wireless-internal-release
Vinit Deshpande [Tue, 2 Jun 2015 19:01:25 +0000 (12:01 -0700)]
am 79bf2da..25a0fb8 from mirror-m-wireless-internal-release

25a0fb8 Enable adaptive channel bucket and ePNO bssid

9 years agoIssue start/stop HAL along with load/unload driver
Vinit Deshpande [Thu, 28 May 2015 02:28:39 +0000 (19:28 -0700)]
Issue start/stop HAL along with load/unload driver

This ensures that HAL is enabled when driver is loaded; and
HAL is torn down when driver is unloaded.

Change-Id: Ia7a3e0a485a37b137750040aaecde7cb92eb59e4

9 years agoEnable adaptive channel bucket and ePNO bssid
Ashwin [Sat, 16 May 2015 00:15:12 +0000 (17:15 -0700)]
Enable adaptive channel bucket and ePNO bssid

1. Enabled binary adaptive channel bucket params
2. Added BSSID to ePNO BSSID

Needs FW version 7.35.79.82 or greater

Change-Id: I460c309e6c0847213c268d1837e01dd446009ba8
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
9 years agoMerge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into merging
xinhe [Mon, 18 May 2015 18:11:10 +0000 (11:11 -0700)]
Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into merging

Change-Id: I24f1ac9e60f09d3771ee6fb99daf75ade7c659eb

9 years agonet:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.82)
Ashwin [Fri, 15 May 2015 23:30:29 +0000 (16:30 -0700)]
net:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.82)

1. Support for gscan adaptive buckets
2. Support for BSSID info in ePNO result
3. Current 5 GHz AP also gets a boost in lazy roam
note: Will need CL 215599 for Gscan to work

Bug 20697564

Change-Id: I3bbe62f370677b310d747e6f0cc346ebfc01f3d3
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
9 years agoMerge "fix to enable lazy roam" into m-wireless-dev
Pierre Vandwalle [Thu, 14 May 2015 20:02:56 +0000 (20:02 +0000)]
Merge "fix to enable lazy roam" into m-wireless-dev

9 years agofix to enable lazy roam
Pierre Vandwalle [Tue, 12 May 2015 18:31:16 +0000 (11:31 -0700)]
fix to enable lazy roam

Change-Id: Id8a2bd78f924d06ebfe7c3f29758f836d4eff48f

9 years agoMerge "fix reseting pno list" into m-wireless-dev
Pierre Vandwalle [Thu, 14 May 2015 18:06:04 +0000 (18:06 +0000)]
Merge "fix reseting pno list" into m-wireless-dev

9 years agoam f02e958..dee2763 from mirror-m-wireless-internal-release
Vinit Deshpande [Thu, 14 May 2015 01:36:47 +0000 (18:36 -0700)]
am f02e958..dee2763 from mirror-m-wireless-internal-release

dee2763 Merge "net:wireless:bcmdhd: Update bcm4339 FW (6.37.32.RC23.34.37)" into m-wireless-dev
d4438c7 net:wireless:bcmdhd: Update bcm4339 FW (6.37.32.RC23.34.37)
262499e net:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.81)
040ee11 change wifi Logging header

9 years agoam "Fix halutil build error [DO NOT MERGE]"
Vinit Deshpande [Thu, 14 May 2015 01:36:47 +0000 (18:36 -0700)]
am "Fix halutil build error [DO NOT MERGE]"

merged from mirror-m-wireless-internal-release with -s ours
No changes were actually committed

62b585a Fix halutil build error [DO NOT MERGE]

9 years agoMerge "Wifi HAL fix for 64bit addressing" into m-wireless-dev
xin He [Wed, 13 May 2015 16:59:42 +0000 (16:59 +0000)]
Merge "Wifi HAL fix for 64bit addressing" into m-wireless-dev

9 years agofix reseting pno list
Pierre Vandwalle [Tue, 12 May 2015 04:58:12 +0000 (21:58 -0700)]
fix reseting pno list

Change-Id: If5b93c225783c0417b3aadfa41a92782a3669128

9 years agoMerge "net:wireless:bcmdhd: Update bcm4339 FW (6.37.32.RC23.34.37)" into m-wireless-dev
xin He [Tue, 12 May 2015 16:47:48 +0000 (16:47 +0000)]
Merge "net:wireless:bcmdhd: Update bcm4339 FW (6.37.32.RC23.34.37)" into m-wireless-dev

9 years agoWifi HAL fix for 64bit addressing
Jerry Lee [Mon, 11 May 2015 22:06:02 +0000 (15:06 -0700)]
Wifi HAL fix for 64bit addressing

    1) Bug: 20950010
    2) minor wifi HAL event enum fix which breaks loghandler

Change-Id: I48a052d703e3f3b14b47aedf9faaa53ebbfa0300
Signed-off-by: Jerry Lee <jerrylee@broadcom.com>
9 years agonet:wireless:bcmdhd: Update bcm4339 FW (6.37.32.RC23.34.37)
Ashwin [Fri, 8 May 2015 21:24:22 +0000 (14:24 -0700)]
net:wireless:bcmdhd: Update bcm4339 FW (6.37.32.RC23.34.37)

Merged Autjoin offload/enhanced roam feature to N5 FW.

Change-Id: Iad6d015a4ef0ea16647012f0cf5a3124d7b11b8f
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
9 years agonet:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.81)
eccopark@broadcom.com [Thu, 7 May 2015 22:39:31 +0000 (15:39 -0700)]
net:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.81)

1) add ucode dump functionality in FW.
2) we are under SVT
 2-1) Basic connection Test : OK
 2-2) Roaming Test : OK
 2-3) Throughput Test : OK
 2-4) Feature Test is still under test.

Change-Id: Ib50d64fc43247cf13190da6be892528c2fddb121
Signed-off-by: eccopark@broadcom.com <eccopark@broadcom.com>
9 years agoStop using stlport.
Dan Albert [Thu, 7 May 2015 20:29:56 +0000 (13:29 -0700)]
Stop using stlport.

Bug: http://b/15193147
Change-Id: I04232525770c0b15bfdc2b540accec708a66557c
(cherry picked from commit 396a83453334fceabf713288502f700e4bdcd7b9)

9 years agochange wifi Logging header
xinhe [Tue, 5 May 2015 18:13:37 +0000 (11:13 -0700)]
change wifi Logging header

    Allocate the memory at JNI layer. Thus, instead pass
    down ** , pass * down

Bug:20853404
Change-Id: Id306ecda661ecb189c03925cfbf05077ae79c9f5

9 years agoinitial adding bcm4358 firmware
isong [Fri, 1 May 2015 02:13:45 +0000 (19:13 -0700)]
initial adding bcm4358 firmware

Change-Id: Iea43867feb8d89c45f82a9f6d000c0f14ee892ea
Signed-off-by: isong <isong@broadcom.com>
9 years agoHAL changes for ANQPO
Chilam Ng [Wed, 8 Apr 2015 16:33:29 +0000 (09:33 -0700)]
HAL changes for ANQPO

Change-Id: Ic6c506c688e324bd048bb2e682a172c6c37ff662
Signed-off-by: Chilam Ng <chilam@broadcom.com>