3 years agonet: wireless: bcmdhd: Update bcm4339 FW (6.37.34.43) [DO NOT MERGE]
Jerry Lee [Tue, 24 May 2016 17:40:28 +0000]
net: wireless: bcmdhd: Update bcm4339 FW (6.37.34.43) [DO NOT MERGE]

strict ckeckup for type and event data length

dhd change required (CL/603664)
BUG=26492805

Change-Id: I334e045acab391ff2a1b1bda597de463389cdaa1
Signed-off-by: Jerry Lee <jerrylee@broadcom.com>

3 years agonet: wireless: bcmdhd: Update bcm4356 FW (7.35.101.3) [DO NOT MERGE]
Jerry Lee [Tue, 24 May 2016 00:03:00 +0000]
net: wireless: bcmdhd: Update bcm4356 FW (7.35.101.3) [DO NOT MERGE]

strict ckeckup for type and event data length

dhd change required (CL/603604)
BUG=26492805

Change-Id: I0d92a96458346164ed99b8cd2ff411f9c9e1cba9
Signed-off-by: Jerry Lee <jerrylee@broadcom.com>

3 years agonet: wireless: bcmdhd: update bcm4358 FW (7.112.100.47) [DO NOT MERGE]
Insun Song [Tue, 22 Dec 2015 17:11:33 +0000]
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.47) [DO NOT MERGE]

adding filter for BRCM proprietary packet.

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

3 years agoRevert "net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE]"
Ed Tam [Mon, 4 Apr 2016 21:47:49 +0000]
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE]"

Incorrect firmware version merged.

Bug: 27977399

This reverts commit 56367a5a4371e115538c5ead9c16f4eaa2bf508d.

3 years agonet: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE]
Sreenath Sharma [Mon, 29 Feb 2016 14:31:28 +0000]
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE]

Initial check-in of debugability - packet logging in firmware

BUG=27212817

Change-Id: Ifc15c8406e612aa1c6ec0ca680e9661a39ff6b55
Signed-off-by: Sreenath Sharma <sreenath.sharma@broadcom.com>

3 years agonet: wireless: bcmdhd: Update bcm4354/56 FW(7.35.101.1) [DO NOT MERGE]
Ashwin [Tue, 26 Jan 2016 21:27:38 +0000]
net: wireless: bcmdhd: Update bcm4354/56 FW(7.35.101.1) [DO NOT MERGE]

Filter out any OTA BRCM ether type packet with subtype event.

Bug: 25662029

Change-Id: I9b95b5c77c9ecd49c1f929c16f2db254b6288731
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>

3 years agonet: wireless: bcmdhd: update bcm4339 FW 6.37.32.RC23.34.42 [DO NOT MERGE]
Insun Song [Thu, 18 Feb 2016 23:34:24 +0000]
net: wireless: bcmdhd: update bcm4339 FW 6.37.32.RC23.34.42 [DO NOT MERGE]

adding filter for BRCM proprietary packet.

BUG=25306181

Change-Id: I486bc2b327fba6f61b79b30a384e5e629ad6704f
Signed-off-by: Insun Song <insun.song@broadcom.com>

3 years agoFix use-after-free in wifi_cleanup()
Paul Stewart [Tue, 8 Dec 2015 15:42:24 +0000]
Fix use-after-free in wifi_cleanup()
am: 2ce1c4952d

* commit '2ce1c4952d871f2baad0bc69dd8500f830f43db4':
  Fix use-after-free in wifi_cleanup()

3 years agoFix use-after-free in wifi_cleanup()
Paul Stewart [Wed, 18 Nov 2015 18:28:32 +0000]
Fix use-after-free in wifi_cleanup()

Release reference to cmd only after possibly calling getType().

BUG: 25753768
Change-Id: Id2156ce51acec04e8364706cf7eafc7d4adae9eb
(cherry picked from commit d7f3cb9915d9ac514393d0ad7767662958054b8f https://googleplex-android-review.git.corp.google.com/#/c/815223)

3 years agoMerge "Revert "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)""...
Zach Jang [Tue, 27 Oct 2015 16:44:30 +0000]
Merge "Revert "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)""" into mnc-dr-dev

3 years agoMerge "Revert "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)""...
Zach Jang [Tue, 27 Oct 2015 16:44:12 +0000]
Merge "Revert "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)""" into mnc-dr-dev

3 years agoRevert "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)""
Zach Jang [Tue, 27 Oct 2015 16:43:33 +0000]
Revert "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)""

This reverts commit be0867bc045054d8a6e412576c794f5144a1709a.

Change-Id: Id38e35dea2a6b406df1f34e0fbbd88367598e809

3 years agoRevert "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)""
Zach Jang [Tue, 27 Oct 2015 16:42:36 +0000]
Revert "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)""

This reverts commit c907db16d1260243ada1baa79c0e3971df219daf.

Change-Id: I5305c66916453add2f5ba62a06ad641165e36014

3 years agoMerge "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)"" into mnc...
Zach Jang [Tue, 27 Oct 2015 16:42:26 +0000]
Merge "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)"" into mnc-dr-dev

3 years agoRevert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)"
Zach Jang [Tue, 27 Oct 2015 16:38:04 +0000]
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)"

This reverts commit 06a2d34583130aa2c8d923f2f850dce1ffcf3349.

Change-Id: I26ea1c34eb20d8ed45cc70c11cca5e9a1549469f

3 years agoRevert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)"
Zach Jang [Tue, 27 Oct 2015 03:03:29 +0000]
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)"

This reverts commit 047718e8e7c0c9bb82e5c595b6256f2330a85f66.

Change-Id: I0c97502fee0b0c0a93a71b3be9bec8ff1ec4e0cc

3 years agonet: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)
Insun Song [Wed, 21 Oct 2015 02:17:03 +0000]
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)

1. Fix for the where host posts more ioctl/event buffers more than
   FW could hold.

2. Fix for corner case where scan wouldn't go through.

3. Fix for EAP packet fragmenting issue.

4. Wifi not detected, not on LTE in coverage area

Bug: 24427813
Bug: 24306599
Bug: 24196403

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

3 years agonet: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)
Insun Song [Fri, 16 Oct 2015 02:09:24 +0000]
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)

revert below fixes from 100.40 ver.

1. Fix for the where host posts more ioctl/event buffers more than
   FW could hold.
   BUG=24306599

2. Fix for corner case where scan wouldn't go through.
   BUG=24427813

Change-Id: Ia2cd845692da82ced20658045022e7dcafb639fc

3 years agoRevert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.35)"
Ramanan Rajeswaran [Mon, 28 Sep 2015 03:44:38 +0000]
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.35)"

This reverts commit 0ad6d3d6ca2981168596743dab5e1dd2e10cf5d8.

Change-Id: I28d184558e3b714aa22551382a8d577242eae82f

3 years agonet: wireless: bcmdhd: update bcm4358 FW (7.112.100.35)
Insun Song [Thu, 24 Sep 2015 21:08:17 +0000]
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.35)

increase TX power limit 1.5dB for all 2.4G channels.
BUG=24312329

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

3 years agonet: wireless: bcmdhd: update bcm4358 FW (7.112.100.34)
Insun Song [Thu, 24 Sep 2015 05:38:29 +0000]
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.34)

increase TX power limit 1.5dB for all 2.4G channels.
bug=24312329

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

3 years agoMerge "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.33)" into mnc-dr-dev
Ed Tam [Mon, 21 Sep 2015 23:22:29 +0000]
Merge "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.33)" into mnc-dr-dev

3 years agonet: wireless: bcmdhd: update bcm4358 FW (7.112.100.33)
Insun Song [Fri, 18 Sep 2015 17:59:13 +0000]
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.33)

5G channel disabled in XT/993 code for universal softAP use.

Bug=24044521

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

3 years agoMerge "Fix crash caused in wifi_cleanup" into mnc-dr-dev
xin He [Mon, 21 Sep 2015 17:02:19 +0000]
Merge "Fix crash caused in wifi_cleanup" into mnc-dr-dev

3 years agoFix crash caused in wifi_cleanup
Ashwin [Sun, 20 Sep 2015 17:32:34 +0000]
Fix crash caused in wifi_cleanup

Check if ptr is NULL before dereferncing in debug print statements.

Bug: 24196226

Change-Id: I96e811a1628f4966c9334a83fa3514775d861cf1
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>

3 years agonet: wireless: bcmdhd: update bcm4358 FW (7.112.100.32)
Insun Song [Thu, 17 Sep 2015 22:14:57 +0000]
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.32)

updating FW country code regarding 5G channel policy.

Bug: 22361348

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

3 years agoMerge "Modify the cleanup procedure" into mnc-dr-dev
Vinit Deshpande [Fri, 4 Sep 2015 23:05:34 +0000]
Merge "Modify the cleanup procedure" into mnc-dr-dev

3 years agoMerge "fix scan_id and flag for ScanData" into mnc-dr-dev
Navtej Singh Mann [Fri, 4 Sep 2015 21:38:15 +0000]
Merge "fix scan_id and flag for ScanData" into mnc-dr-dev

3 years agoModify the cleanup procedure
Ashwin [Fri, 28 Aug 2015 21:47:42 +0000]
Modify the cleanup procedure

1. Use the cleanup sockets to communicate to the evnt thread to exit and rx a
ack for the same.
2. Added some missing cleanup on error during init.

Bug: 23537437

Change-Id: Iac42e28c79e5ddf8c1a6a57719c3b08904330107
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>

3 years agoMerge "Fix verbose log flag" into mnc-dr-dev
Kevin Cernekee [Thu, 3 Sep 2015 14:35:05 +0000]
Merge "Fix verbose log flag" into mnc-dr-dev

3 years agofix scan_id and flag for ScanData
Navtej Singh Mann [Thu, 3 Sep 2015 01:44:10 +0000]
fix scan_id and flag for ScanData

bug: 23766442
Change-Id: I4455e11e079468236800c45f98c0394f3ce26e96

3 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]
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)

3 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]
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)

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

3 years agomanual merge for N5 FW(6.37.32.RC23.34.40)
Navtej Singh Mann [Wed, 2 Sep 2015 18:14:14 +0000]
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

3 years agomanual merge for N6 FW(7.35.79.100)
Navtej Singh Mann [Wed, 2 Sep 2015 17:43:12 +0000]
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

3 years agonet: wireless: bcmdhd: update bcm4358 FW (7.112.100.27)
Insun Song [Thu, 27 Aug 2015 19:22:00 +0000]
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

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

3 years agoFix verbose log flag
Kevin Cernekee [Sun, 30 Aug 2015 17:49:45 +0000]
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

3 years agowifi_hal: Fix array overflow retrieving gscan results
Kevin Cernekee [Sun, 30 Aug 2015 17:42:04 +0000]
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

3 years agoam 2d571e7e: net:wireless:bcmdhd: Update bcm4354 FW(7.35.79.101)
Ritter Yeh [Fri, 28 Aug 2015 05:00:42 +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)

3 years agonet:wireless:bcmdhd: Update bcm4354 FW(7.35.79.101)
Ritter Yeh [Thu, 27 Aug 2015 21:29:02 +0000]
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>

3 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]
Merge "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.26)" into mnc-dr-dev

3 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]
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)

3 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]
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)

3 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]
Merge "net:wireless:bcmdhd: Update bcm4339 FW(6.37.32.RC23.34.40/7.35.79.100)" into mnc-dev

3 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]
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>

3 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]
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>

3 years agonet: wireless: bcmdhd: update bcm4358 FW (7.112.100.26)
Insun Song [Tue, 25 Aug 2015 18:10:53 +0000]
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>

3 years agonet: wireless: bcmdhd: update bcm4358 FW(7.112.100.17)
Insun Song [Fri, 14 Aug 2015 02:16:02 +0000]
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>

3 years agoam 2c9d7bbf: Merge "Fix cleanup of COMPLETE_SCAN event" into mnc-dev
Vinit Deshpande [Thu, 13 Aug 2015 16:31:46 +0000]
am 2c9d7bbf: Merge "Fix cleanup of COMPLETE_SCAN event" into mnc-dev

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

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

3 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]
Merge "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.15)"" into mnc-dr-dev

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

This reverts commit 57ffe4477b8e4629893df5824b3982eb1b352897.

Bug: 23163857
Change-Id: Ie2f1facffb162508ac32bbab96a1f3deb42379cf

3 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]
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)

3 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]
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>

3 years agoFix cleanup of COMPLETE_SCAN event
Ashwin [Wed, 12 Aug 2015 21:55:51 +0000]
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>

3 years agonet: wireless: bcmdhd: update bcm4358 FW (7.112.100.15)
Insun Song [Fri, 7 Aug 2015 00:01:33 +0000]
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>

3 years agoRSSI monitor cmd cleanup
Ashwin [Thu, 6 Aug 2015 19:57:31 +0000]
RSSI monitor cmd cleanup

Cleanup RSSI monitor cmd if it fails

Bug 22826644

Change-Id: Iaca8201ea32d051bb2afd34e28257fc828908599
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>

3 years agonet:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.96)
Ecco Park [Mon, 3 Aug 2015 20:31:11 +0000]
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>

3 years agoMerge "bcmdhd: Update bcm4354/56 FW(7.35.79.95)" into mnc-dev
Dmitry Shmidt [Thu, 30 Jul 2015 23:41:29 +0000]
Merge "bcmdhd: Update bcm4354/56 FW(7.35.79.95)" into mnc-dev

3 years agobcmdhd: Update bcm4354/56 FW(7.35.79.95)
Ecco Park [Wed, 29 Jul 2015 20:51:05 +0000]
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>

3 years agoFix a potential crash in debugging code
Vinit Deshpande [Tue, 28 Jul 2015 17:33:27 +0000]
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

4 years agonet:wireless:bcmdhd: Update bcm4354/56 FW (7.35.79.94)
Chilam Ng [Wed, 15 Jul 2015 01:04:02 +0000]
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>

4 years agoFix couple of issues with unregistering event handlers
Vinit Deshpande [Thu, 16 Jul 2015 18:30:21 +0000]
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

4 years agoClean up bad command implementation
Jerry Lee [Mon, 13 Jul 2015 20:37:58 +0000]
Clean up bad command implementation

    b/22349265

Change-Id: I98132e5083155de21ae241b3b3a6b8f9410d61ec
Signed-off-by: Jerry Lee <jerrylee@broadcom.com>

4 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]
Merge "don't register command for BSSID blacklist because there is no stop for blacklist" into mnc-dev

4 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]
don't register command for BSSID blacklist because there is no stop for blacklist

Bug:22394142
Change-Id: I2661c3833d9ca85cea8110f85aef1d039fb43c5b

4 years agonet:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.93)
Ecco Park [Thu, 9 Jul 2015 18:29:04 +0000]
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>

4 years agonet: wireless: bcmdhd: update bcm4358 FW(7.112.100.7)
Insun Song [Tue, 7 Jul 2015 22:00:25 +0000]
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>

4 years agoMerge "Fix incorrect wifi_cleanup" into mnc-dev
Vinit Deshpande [Wed, 8 Jul 2015 17:43:29 +0000]
Merge "Fix incorrect wifi_cleanup" into mnc-dev

4 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]
Merge "Fix for system crash caused by accessing memory w/o permissions" into mnc-dev

4 years agoFix incorrect wifi_cleanup
Vinit Deshpande [Tue, 7 Jul 2015 21:52:54 +0000]
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

4 years agoFix for system crash caused by accessing memory w/o permissions
Ashwin [Tue, 7 Jul 2015 21:25:55 +0000]
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>

4 years agofix WifiHAL event logging issue
Navtej Singh Mann [Tue, 7 Jul 2015 02:15:50 +0000]
fix WifiHAL event logging issue

Bug: 22306117

Change-Id: Icddf6c28437be2531734d62fc24f13100b02bad0

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

4 years agofix unregister command on failure and log restructuring
Navtej Singh Mann [Wed, 1 Jul 2015 22:56:28 +0000]
fix unregister command on failure and log restructuring

bug:22174291
Change-Id: I621f92a3604f9a30279c4fe25cd606432df1839e

4 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]
Merge "Fixed channel checking and added more debug info in link stats HAL" into mnc-dev

4 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]
Merge "net:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.91)" into mnc-dev

4 years agoFixed channel checking and added more debug info in link stats HAL
Chilam Ng [Fri, 26 Jun 2015 02:15:18 +0000]
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>

4 years agobcmdhd: Add filter_rssi=-75 to config file
Dmitry Shmidt [Fri, 26 Jun 2015 19:53:33 +0000]
bcmdhd: Add filter_rssi=-75 to config file

Bug: 21999196

Change-Id: I8e68bdc8517dd117720bbae2652ce835cae31543
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

4 years agonet:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.91)
eccopark@broadcom.com [Tue, 30 Jun 2015 03:24:08 +0000]
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>

4 years agoMerge "Remove some unhelpful logs" into mnc-dev
Vinit Deshpande [Fri, 26 Jun 2015 22:35:33 +0000]
Merge "Remove some unhelpful logs" into mnc-dev

4 years agonet:wireless:bcmdhd: Update bcm4354/56 FW (7.35.79.90)
Chilam Ng [Fri, 26 Jun 2015 07:05:03 +0000]
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>

4 years agoRemove some unhelpful logs
Vinit Deshpande [Thu, 25 Jun 2015 21:06:56 +0000]
Remove some unhelpful logs

Change-Id: I38478947d7f86872ddb10740d9de2fedcd52f393

4 years agoAdd wifi offload feature: mkeep_alive
Ecco Park [Fri, 19 Jun 2015 00:02:35 +0000]
Add wifi offload feature: mkeep_alive

    b/21405946

Change-Id: I8e9a2f2b2f76d1d689fcd645b9332b290d710ae6
Signed-off-by: JerryLee <jerrylee@broadcom.com>

4 years agoAdd a debuggability interface: stop logging
JerryLee [Thu, 18 Jun 2015 02:16:50 +0000]
Add a debuggability interface: stop logging

    bug: 21730601

Change-Id: Icdc4e118884ec16a8b1a52ed60c9e49fa521a9fd
Signed-off-by: JerryLee <jerrylee@broadcom.com>

4 years agoRSSI monitor changes
Ashwin [Fri, 12 Jun 2015 20:08:45 +0000]
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>

4 years agoam 00b22e5..00b22e5 from mirror-m-wireless-internal-release
Vinit Deshpande [Mon, 22 Jun 2015 22:52:04 +0000]
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

4 years agoam "Fix Broadcom's crash [DO NOT MERGE]"
Vinit Deshpande [Mon, 22 Jun 2015 22:52:04 +0000]
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]

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

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

4 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]
Merge "net:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.88)" into m-wireless-dev

4 years agoFix Broadcom's crash [DO NOT MERGE]
Vinit Deshpande [Thu, 11 Jun 2015 23:44:04 +0000]
Fix Broadcom's crash [DO NOT MERGE]

Bug: 21730601

Change-Id: I3a5f442e210166acf5239c173ed0f9be94fe14b2

4 years agonet:wireless:bcmdhd: Update bcm4354/56 FW(7.35.79.88)
Ashwin [Fri, 12 Jun 2015 18:24:14 +0000]
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>

4 years agoFix Broadcom's crash
Vinit Deshpande [Thu, 11 Jun 2015 23:44:04 +0000]
Fix Broadcom's crash

Bug: 21730601

Change-Id: I3a5f442e210166acf5239c173ed0f9be94fe14b2

4 years agoam e162833..172fcf7 from mirror-m-wireless-internal-release
Vinit Deshpande [Wed, 10 Jun 2015 19:13:33 +0000]
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)

4 years agoam "Shut up a noisy log from HAL [DO NOT MERGE]"
Vinit Deshpande [Wed, 10 Jun 2015 19:13:33 +0000]
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]

4 years agoam "Fix a deadlock in wifi_cleanup [DO NOT MERGE]"
Vinit Deshpande [Wed, 10 Jun 2015 19:13:33 +0000]
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]

4 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]
Merge "net:wireless:bcmdhd: Update bcm4354/56 FW (7.35.79.87)" into m-wireless-dev

4 years agonet:wireless:bcmdhd: Update bcm4354/56 FW (7.35.79.87)
Ashwin [Wed, 10 Jun 2015 00:34:37 +0000]
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 20886750, 21555861

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

Change-Id: I17e2f2f0d823106524e1a5d2c41a24df5289b724
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>