OSDN Git Service
Sreenath Sharma [Thu, 28 Apr 2016 19:27:44 +0000 (19:27 +0000)]
WiFi HAL: memory leak fix
am:
6af064b77b
* commit '
6af064b77bfdc84a6f425a7c9d0941fad11f4489':
WiFi HAL: memory leak fix
Change-Id: I832c0cff87dde6a3f0a64b84080e166e89dff120
Sreenath Sharma [Fri, 22 Apr 2016 14:48:43 +0000 (20:18 +0530)]
WiFi HAL: memory leak fix
- freeing of allocated memory after use by invoking release method
- addition of NULL checking for handling allocation failures
- fixing of existing compilation warnings
- code cleanup
BUG=
28274383
Change-Id: Iea00bd7dd0a7c02f551b88137cbdbf84dfd39ebb
Signed-off-by: Sreenath Sharma <sreenath.sharma@broadcom.com>
Wei Wang [Mon, 25 Apr 2016 20:14:22 +0000 (20:14 +0000)]
Merge "Revert "Set channel info only to avoid responder role breakage."" into nyc-dev
am:
931b5c3
* commit '
931b5c3490fadeaee335d8063d87b76167bb4af9':
Revert "Set channel info only to avoid responder role breakage."
Change-Id: I022ebdc14a35998b753700433f8c4189c23afc36
Wei Wang [Mon, 25 Apr 2016 19:59:01 +0000 (19:59 +0000)]
Merge "Revert "Set channel info only to avoid responder role breakage."" into nyc-dev
Ian Pedowitz [Fri, 22 Apr 2016 17:16:06 +0000 (17:16 +0000)]
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.200.9)"
am:
0d17390d6a
* commit '
0d17390d6aa0f34501ea295f479a80df74ec159c':
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.200.9)"
Change-Id: I39fc64f32670eb1cf3c430d1a9a65634e60ce256
Ian Pedowitz [Fri, 22 Apr 2016 17:03:11 +0000 (17:03 +0000)]
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.200.9)"
This reverts commit
6050c21f1728fb127370c30bfe36b356917d003a.
Bug:
28340326
Change-Id: Iffbe12af35b2fc91ae602204eb2dc9fd9a85d4ec
Insun Song [Thu, 21 Apr 2016 18:08:22 +0000 (18:08 +0000)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.9)
am:
6050c21f17
* commit '
6050c21f1728fb127370c30bfe36b356917d003a':
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.9)
Change-Id: I92909f129c2eb4df136c7abf884df02ff0559e53
Insun Song [Wed, 13 Apr 2016 19:56:45 +0000 (12:56 -0700)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.9)
This is pre-release of runtimePM enabled version to progress SVT
testing. Once we verified and ready to merge then new official version
must be released.
1. enable runtimePM feature.
2. fix firmware crash issue during throughput test.
3. must be sync with CL/543783.
net: wireless: bcmdhd: add support for runtime pm
Bug:
28313638
Change-Id: I4a5f8ad990a3f64a877f9f21df8589e44c609a1f
Signed-off-by: Insun Song <insun.song@broadcom.com>
Wei Wang [Wed, 20 Apr 2016 23:05:24 +0000 (16:05 -0700)]
Revert "Set channel info only to avoid responder role breakage."
This reverts commit
9307ba1d2ef3848f4feb1648d586c9899d9732a8.
Bug:
28302572
Jun Lim [Wed, 13 Apr 2016 21:42:37 +0000 (21:42 +0000)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.7)
am:
3c85f4d
* commit '
3c85f4dd91a3f3e1feffd3ed25d1af56481bd27d':
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.7)
Change-Id: I608b129e47461ab80c0fcf5684bbb91342e31e36
Jun Lim [Sat, 9 Apr 2016 00:00:29 +0000 (17:00 -0700)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.7)
bug fix for association with randomized MAC address
results in DHCP failure or 4-way handshake
BUG=
24329095
Change-Id: Ib75ba20e661ab0c44dfd34d5d588f008e4ffefb5
Signed-off-by: Jun Lim <jun.lim@broadcom.com>
Wei Wang [Mon, 11 Apr 2016 20:39:17 +0000 (20:39 +0000)]
Merge changes from topic \'read_preamble_from_hal\' into nyc-dev
am:
784320f
* commit '
784320f88ba36bd57e5e66406ba7a7bef23a541e':
Set channel info only to avoid responder role breakage.
Wifi-HAL: Adding preamble for RTT API
Change-Id: I132b73b7f276600fe777e2d5287a01ffb706e12e
Wei Wang [Mon, 11 Apr 2016 20:23:10 +0000 (20:23 +0000)]
Merge changes from topic 'read_preamble_from_hal' into nyc-dev
* changes:
Set channel info only to avoid responder role breakage.
Wifi-HAL: Adding preamble for RTT API
Wei Wang [Sat, 9 Apr 2016 02:27:03 +0000 (19:27 -0700)]
Set channel info only to avoid responder role breakage.
This should be reverted once kernel CL is merged.
Change-Id: I1fd5abf6b552161758d4753ad85e49951a626ff0
Roshan Pius [Sat, 9 Apr 2016 01:02:18 +0000 (01:02 +0000)]
wifi_hal: Handle wifi_radio_stat structure changes
am:
7924edc
* commit '
7924edc5ff7af3d6bc6b36903028051d76b5d866':
wifi_hal: Handle wifi_radio_stat structure changes
Change-Id: Ib2d1761cc8a165e1f86efdea215a51d48c313cd2
Roshan Pius [Wed, 6 Apr 2016 22:00:13 +0000 (15:00 -0700)]
wifi_hal: Handle wifi_radio_stat structure changes
Add a small temporary function to handle the changes in the
|wifi_radio_stat| structure.
BUG:
27969673
Change-Id: I74ae9ca7cf52b137e696d09c980e160914ad7840
cherry-picked from:
https://partner-android-review.googlesource.com/#/c/559117/
gautam [Tue, 29 Mar 2016 14:47:42 +0000 (20:17 +0530)]
Wifi-HAL: Adding preamble for RTT API
Adding preamble support in capabilities of
responder.
Change-Id: I2107f9f71717e69bc2a90967aec4f33a205e90af
Signed-off-by: gautam <gautam.shukla@broadcom.com>
Insun Song [Tue, 5 Apr 2016 19:41:54 +0000 (19:41 +0000)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.47) [DO NOT MERGE] am:
c2e8ab4 am:
1d6774c am:
cc5363a -s ours
am:
bb2ab00
* commit '
bb2ab0009b8d53baa1a183bfd11aede65e511491':
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.47) [DO NOT MERGE]
Change-Id: Ia69d6298315c93f35ef79d37c2eacda72eaeb403
Ed Tam [Tue, 5 Apr 2016 19:41:54 +0000 (19:41 +0000)]
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE]" am:
4f4a68c am:
1d55815 am:
beb92a0 -s ours
am:
7f5edc3
* commit '
7f5edc3a2cfb2740b92d644bca685a03dbc2460f':
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE]"
Change-Id: I194be6714a8d975081fd1a9aa8ce3aec732ef284
Insun Song [Tue, 5 Apr 2016 19:38:42 +0000 (19:38 +0000)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.47) [DO NOT MERGE] am:
c2e8ab4 am:
1d6774c
am:
cc5363a -s ours
* commit '
cc5363a64086443b8fc99e3d90ca359a6775442d':
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.47) [DO NOT MERGE]
Change-Id: I2310b4fca3ee3622512ba83948061954c8643d34
Ed Tam [Tue, 5 Apr 2016 19:38:42 +0000 (19:38 +0000)]
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE]" am:
4f4a68c am:
1d55815
am:
beb92a0 -s ours
* commit '
beb92a08ae1e515ae0775d7e1e64f2c6e6805fa9':
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE]"
Change-Id: I0f0eab4eaffaa4226c1cac076d4c8146354bda8d
Insun Song [Tue, 5 Apr 2016 19:35:35 +0000 (19:35 +0000)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.47) [DO NOT MERGE] am:
c2e8ab4
am:
1d6774c
* commit '
1d6774c61021c0b7271d7149f82b3eec7ee3734a':
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.47) [DO NOT MERGE]
Change-Id: Idd2e5fd8ba7397a60980e10ef1eda73b534b4a76
Ed Tam [Tue, 5 Apr 2016 19:35:35 +0000 (19:35 +0000)]
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE]" am:
4f4a68c
am:
1d55815
* commit '
1d55815c0ba08098a1690a137a7e0481ca4e2d6d':
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE]"
Change-Id: Ibf21fa8d4dfb44477513f481a99266519a9db2be
Insun Song [Tue, 5 Apr 2016 19:31:54 +0000 (19:31 +0000)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.47) [DO NOT MERGE]
am:
c2e8ab4
* commit '
c2e8ab448fe31081e6914af38e8156281df839a2':
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.47) [DO NOT MERGE]
Change-Id: I0fe5e6623d37e5fb27eadba048e7f0efb45a2d76
Ed Tam [Tue, 5 Apr 2016 19:31:54 +0000 (19:31 +0000)]
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE]"
am:
4f4a68c
* commit '
4f4a68cd86588c6a34d253d1f0ea7f3e81359d8f':
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE]"
Change-Id: Ibc3748d3affdad339d01dcbf1939e3f94c6ba087
Insun Song [Tue, 22 Dec 2015 17:11:33 +0000 (09:11 -0800)]
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>
Ed Tam [Mon, 4 Apr 2016 21:47:49 +0000 (14:47 -0700)]
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE]"
Incorrect firmware version merged.
Bug:
27977399
This reverts commit
56367a5a4371e115538c5ead9c16f4eaa2bf508d.
Jun Lim [Fri, 1 Apr 2016 21:49:25 +0000 (21:49 +0000)]
WiFi HAL: ND offload enhancement
am:
65f9c6f
* commit '
65f9c6fbd929be309642cdaf255e8394aad2b0ca':
WiFi HAL: ND offload enhancement
Change-Id: I39d988682061db2f88f1ea69b3f0a5887a93e24a
Jun Lim [Fri, 1 Apr 2016 21:49:25 +0000 (21:49 +0000)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.6)
am:
29f4412
* commit '
29f4412ef2d91899f15f825444a36cbe84582cfe':
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.6)
Change-Id: If9f07519c17e39351b25939ec2fe0edbe2b31605
Jun Lim [Thu, 10 Mar 2016 19:13:04 +0000 (11:13 -0800)]
WiFi HAL: ND offload enhancement
Initial check-in of ND offload HAL API support
BUG=
27598285
Change-Id: I1b451c5af8e1c6f5102d1e0f4b61868adf1f34c1
Signed-off-by: Jun Lim <jun.lim@broadcom.com>
Jun Lim [Sat, 12 Mar 2016 04:57:21 +0000 (20:57 -0800)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.6)
Initial check-in of ND offload enhancement
FW supports anycast address and unsolicited NA filtering
Needs relevant driver changes for enhancements.
BUG=
27598285
Change-Id: If7940bc1b0ec19a1e757ddc7acb581a811348b46
Signed-off-by: Jun Lim <jun.lim@broadcom.com>
Sreenath Sharma [Mon, 29 Feb 2016 14:31:28 +0000 (20:01 +0530)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5)
Initial check-in of debugability - packet logging in firmware
BUG=
27212817
Change-Id: Ifc15c8406e612aa1c6ec0ca680e9661a39ff6b55
Signed-off-by: Sreenath Sharma <sreenath.sharma@broadcom.com>
Sreenath Sharma [Fri, 12 Feb 2016 08:09:00 +0000 (13:39 +0530)]
net: wireless: bcmdhd: Android Packet Filter (APF)
Initial check-in of Android Packet Filter (APF)
BUG=
26997810
Change-Id: Icf9aa7bb1152a42de340982eae58020faad7ff1a
Signed-off-by: Sreenath Sharma <sreenath.sharma@broadcom.com>
Sreenath Sharma [Fri, 25 Mar 2016 23:51:05 +0000 (23:51 +0000)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE] am:
56367a5 am:
c0931ee
am:
d80906f -s ours
* commit '
d80906f673cf3d06c7ff8817ae9b451dde7f2f0f':
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE]
Ashwin [Fri, 25 Mar 2016 23:51:04 +0000 (23:51 +0000)]
net: wireless: bcmdhd: Update bcm4354/56 FW(7.35.101.1) [DO NOT MERGE] am:
a5cc266 am:
09c8bcc
am:
d508ae1 -s ours
* commit '
d508ae1b2cbf38cb8db38a4c79e180fb366e74e5':
net: wireless: bcmdhd: Update bcm4354/56 FW(7.35.101.1) [DO NOT MERGE]
Insun Song [Fri, 25 Mar 2016 23:51:04 +0000 (23:51 +0000)]
net: wireless: bcmdhd: update bcm4339 FW 6.37.32.RC23.34.42 [DO NOT MERGE] am:
448cf7a am:
58465d2
am:
9956d04 -s ours
* commit '
9956d04cbfbe5570cbf916ec26176da7b330e357':
net: wireless: bcmdhd: update bcm4339 FW 6.37.32.RC23.34.42 [DO NOT MERGE]
Sreenath Sharma [Fri, 25 Mar 2016 23:47:48 +0000 (23:47 +0000)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE] am:
56367a5
am:
c0931ee
* commit '
c0931ee0153d6710fbc54ef206e05b251348e87c':
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE]
Ashwin [Fri, 25 Mar 2016 23:47:48 +0000 (23:47 +0000)]
net: wireless: bcmdhd: Update bcm4354/56 FW(7.35.101.1) [DO NOT MERGE] am:
a5cc266
am:
09c8bcc
* commit '
09c8bccfe5a3355f6755c59fd5d2f4ab3be5308b':
net: wireless: bcmdhd: Update bcm4354/56 FW(7.35.101.1) [DO NOT MERGE]
Insun Song [Fri, 25 Mar 2016 23:47:48 +0000 (23:47 +0000)]
net: wireless: bcmdhd: update bcm4339 FW 6.37.32.RC23.34.42 [DO NOT MERGE] am:
448cf7a
am:
58465d2
* commit '
58465d2110919d9b2ffe27d74ff4a31538ad6ac9':
net: wireless: bcmdhd: update bcm4339 FW 6.37.32.RC23.34.42 [DO NOT MERGE]
Sreenath Sharma [Fri, 25 Mar 2016 22:47:37 +0000 (22:47 +0000)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE]
am:
56367a5
* commit '
56367a5a4371e115538c5ead9c16f4eaa2bf508d':
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE]
Ashwin [Fri, 25 Mar 2016 22:47:37 +0000 (22:47 +0000)]
net: wireless: bcmdhd: Update bcm4354/56 FW(7.35.101.1) [DO NOT MERGE]
am:
a5cc266
* commit '
a5cc2664121d467f86a525ebcd1a0acb201b94d5':
net: wireless: bcmdhd: Update bcm4354/56 FW(7.35.101.1) [DO NOT MERGE]
Insun Song [Fri, 25 Mar 2016 22:47:37 +0000 (22:47 +0000)]
net: wireless: bcmdhd: update bcm4339 FW 6.37.32.RC23.34.42 [DO NOT MERGE]
am:
448cf7a
* commit '
448cf7a78310049752863ceaf6f4bfef8bfd5d27':
net: wireless: bcmdhd: update bcm4339 FW 6.37.32.RC23.34.42 [DO NOT MERGE]
Sreenath Sharma [Fri, 25 Mar 2016 22:47:20 +0000 (22:47 +0000)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE]
am:
2b154ba -s ours
* commit '
2b154bac4f281d92e14c99d2a04b98404a827b9a':
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE]
Sreenath Sharma [Mon, 29 Feb 2016 14:31:28 +0000 (20:01 +0530)]
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>
Ashwin [Tue, 26 Jan 2016 21:27:38 +0000 (13:27 -0800)]
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>
Insun Song [Thu, 18 Feb 2016 23:34:24 +0000 (15:34 -0800)]
net: wireless: bcmdhd: update bcm4339 FW 6.37.32.RC23.34.42
adding filter for BRCM proprietary packet.
BUG=
25306181
Change-Id: I486bc2b327fba6f61b79b30a384e5e629ad6704f
Signed-off-by: Insun Song <insun.song@broadcom.com>
Sreenath Sharma [Mon, 29 Feb 2016 14:31:28 +0000 (20:01 +0530)]
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>
Insun Song [Thu, 18 Feb 2016 23:34:24 +0000 (15:34 -0800)]
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>
Pierre Imai [Tue, 22 Mar 2016 02:49:32 +0000 (02:49 +0000)]
Merge "Remove references to deleted dhcpcd" into nyc-dev
Ashwin [Tue, 15 Mar 2016 20:54:16 +0000 (13:54 -0700)]
bcm_wifihal: Ensure data integrity for full_scan_results event
Ensure that here is no out of bounds read when handling the full
scan results event if corrupted event data is received.
Bug:
27653669
Change-Id: I2e72fa3476e4a9db3c46ac1b732dea5c0444216f
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Pierre Imai [Wed, 16 Mar 2016 01:33:40 +0000 (10:33 +0900)]
Remove references to deleted dhcpcd
Change-Id: I6a32417dfb26e7ed42b63b258c700b1fe4d4dbfe
Sreenath Sharma [Fri, 11 Mar 2016 23:09:52 +0000 (23:09 +0000)]
Merge "net: wireless: bcmdhd: Android Packet Filter (APF) [DO NOT MERGE]" into mm-wireless-dev
am:
f8eb896622 -s ours
* commit '
f8eb896622cec2823d2dab4f64311105396bdf55':
net: wireless: bcmdhd: Android Packet Filter (APF) [DO NOT MERGE]
Sreenath Sharma [Fri, 11 Mar 2016 23:09:52 +0000 (23:09 +0000)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE]
am:
460da3ef66 -s ours
* commit '
460da3ef66018bd68699861521dcba9d373edeea':
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.5) [DO NOT MERGE]
Mitchell Wills [Fri, 11 Mar 2016 21:22:30 +0000 (21:22 +0000)]
Merge "net: wireless: bcmdhd: Android Packet Filter (APF) [DO NOT MERGE]" into mm-wireless-dev
Sreenath Sharma [Fri, 12 Feb 2016 08:09:00 +0000 (13:39 +0530)]
net: wireless: bcmdhd: Android Packet Filter (APF) [DO NOT MERGE]
Initial check-in of Android Packet Filter (APF)
BUG=
26997810
Change-Id: Icf9aa7bb1152a42de340982eae58020faad7ff1a
Signed-off-by: Sreenath Sharma <sreenath.sharma@broadcom.com>
Sreenath Sharma [Mon, 29 Feb 2016 14:31:28 +0000 (20:01 +0530)]
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>
Ashwin [Fri, 12 Feb 2016 00:15:35 +0000 (16:15 -0800)]
HAL: ePNO and Gscan enhancements
1. Added support for ePNO Android N changes.
2. Gscan enhancements - added scan channel bucket and handling
the struct changes for results from driver, will need compatible
driver changes.
Cherry-picked from
d973ec8a5cc89648389dbcbae07b8c37961cc4cd
Change-Id: I804ffc8a8e1bf2adff04684d22cfd862f6fea927
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Ashwin [Wed, 10 Feb 2016 02:52:52 +0000 (18:52 -0800)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.2)
1. Contains Android N changes
a. Gscan enhancement - channel bucket bitmask
b. ePNO/Scan Offload
Needs accompanying driver changes.
2. Bug fix for adaptive scan
Bug:
26544773
Cherry-picked from
70034376bc5b0e38f6b8e402dc48c3570eb2ba70
Change-Id: I0f692d572ea8a39cb28b79472c6aff35f006f4db
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Ashwin [Thu, 3 Mar 2016 21:44:11 +0000 (21:44 +0000)]
Merge "HAL: ePNO and Gscan enhancements [DO NOT MERGE]" into mm-wireless-dev
am:
8b48a51a30 -s ours
* commit '
8b48a51a304d597091075ae329b3714889e6b9bb':
HAL: ePNO and Gscan enhancements [DO NOT MERGE]
Ashwin [Thu, 3 Mar 2016 21:44:06 +0000 (21:44 +0000)]
Merge "net: wireless: bcmdhd: update bcm4358 FW (7.112.200.2) [DO NOT MERGE]" into mm-wireless-dev
am:
508f5e862c -s ours
* commit '
508f5e862c700371a0ecf4dd4063b88bee22ecba':
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.2) [DO NOT MERGE]
Mitchell Wills [Thu, 3 Mar 2016 21:34:01 +0000 (21:34 +0000)]
Merge "HAL: ePNO and Gscan enhancements [DO NOT MERGE]" into mm-wireless-dev
Mitchell Wills [Thu, 3 Mar 2016 21:34:01 +0000 (21:34 +0000)]
Merge "net: wireless: bcmdhd: update bcm4358 FW (7.112.200.2) [DO NOT MERGE]" into mm-wireless-dev
Ashwin [Fri, 12 Feb 2016 00:15:35 +0000 (16:15 -0800)]
HAL: ePNO and Gscan enhancements [DO NOT MERGE]
1. Added support for ePNO Android N changes.
2. Gscan enhancements - added scan channel bucket and handling
the struct changes for results from driver, will need compatible
driver changes.
Change-Id: I804ffc8a8e1bf2adff04684d22cfd862f6fea927
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Ashwin [Wed, 10 Feb 2016 02:52:52 +0000 (18:52 -0800)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.200.2) [DO NOT MERGE]
1. Contains Android N changes
a. Gscan enhancement - channel bucket bitmask
b. ePNO/Scan Offload
Needs accompanying driver changes.
2. Bug fix for adaptive scan
Bug:
26544773
Change-Id: I0f692d572ea8a39cb28b79472c6aff35f006f4db
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Sreenath Sharma [Wed, 2 Mar 2016 18:59:57 +0000 (18:59 +0000)]
Merge "WiFi HAL: debugability - packet logging" into mm-wireless-dev
am:
6e89e01f1d
* commit '
6e89e01f1d167d9ba0726166fcf4f2eae16a0cdc':
WiFi HAL: debugability - packet logging
Mukesh Agrawal [Wed, 2 Mar 2016 18:42:05 +0000 (18:42 +0000)]
Merge "WiFi HAL: debugability - packet logging" into mm-wireless-dev
gautam [Tue, 1 Mar 2016 19:12:08 +0000 (19:12 +0000)]
Enabling responder for rtt
am:
89b86262c9
* commit '
89b86262c90552a05a6177944d0ced6b01f27d80':
Enabling responder for rtt
gautam [Mon, 29 Feb 2016 15:03:02 +0000 (20:33 +0530)]
Enabling responder for rtt
Added command implementation for responder
Change-Id: I9d61c2c336558ccf438c54895083f433a6180c70
Signed-off-by: gautam <gautam.shukla@broadcom.com>
Sreenath Sharma [Tue, 23 Feb 2016 15:41:18 +0000 (21:11 +0530)]
WiFi HAL: debugability - packet logging
Initial check-in of debugability - packet logging
BUG=
27212817
Change-Id: Ida7df4dc95356720f362c511db12b2b7e9459982
Mitchell Wills [Wed, 10 Feb 2016 22:53:48 +0000 (14:53 -0800)]
resolve merge conflicts of
b789dfc04a to nyc-dev.
Change-Id: I24c30df101b2df1697792f51f9f38a14b3f0e4e7
Mitchell Wills [Wed, 10 Feb 2016 21:10:58 +0000 (21:10 +0000)]
Merge "Remove workaround for enabling gscan full scan results" into mm-wireless-dev
Ashwin [Thu, 4 Feb 2016 23:59:40 +0000 (23:59 +0000)]
net: wireless: bcmdhd: Update bcm4354/56 FW(7.35.79.101.1)
am:
2c081a11d0
* commit '
2c081a11d0a271e8d03ad934418d8c812ef95764':
net: wireless: bcmdhd: Update bcm4354/56 FW(7.35.79.101.1)
Ashwin [Tue, 25 Aug 2015 00:54:02 +0000 (17:54 -0700)]
Remove workaround for enabling gscan full scan results
Remove the work around for enabling gscan full scan results
since the FW supports per bucket full scan results.
Have full scan results handled by ScanCommand::handleEvent
Bug:
23183717
Change-Id: I2b656095c49d06ba3ad2f30f86669086b125f7fb
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Ashwin [Tue, 26 Jan 2016 21:27:38 +0000 (13:27 -0800)]
net: wireless: bcmdhd: Update bcm4354/56 FW(7.35.79.101.1)
Filter out any OTA BRCM ether type packet with subtype event.
Bug:
25662029
Change-Id: I9b95b5c77c9ecd49c1f929c16f2db254b6288731
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Etan Cohen [Wed, 27 Jan 2016 22:07:56 +0000 (22:07 +0000)]
Fix build: update RTT API per new distance definition
am:
43f0887a64
* commit '
43f0887a640ec4c9e56dfe6f68621039e1ba3e58':
Fix build: update RTT API per new distance definition
Etan Cohen [Wed, 27 Jan 2016 20:45:06 +0000 (12:45 -0800)]
Fix build: update RTT API per new distance definition
API changed in pag/511872
(cherry-picked from
43f0887a640ec4c9e56dfe6f68621039e1ba3e58)
Change-Id: I352ae38de0d4b6e81ce2b82799608813ceba6a64
Etan Cohen [Wed, 27 Jan 2016 20:45:06 +0000 (12:45 -0800)]
Fix build: update RTT API per new distance definition
API changed in pag/511872
Change-Id: I352ae38de0d4b6e81ce2b82799608813ceba6a64
Mitchell Wills [Mon, 25 Jan 2016 19:09:05 +0000 (19:09 +0000)]
Updates for gscan HAL updates in N
am:
89296a7fc9
* commit '
89296a7fc953e68649cdb1366d22376c034ace05':
Updates for gscan HAL updates in N
Sasha Levitskiy [Wed, 6 Jan 2016 21:23:08 +0000 (13:23 -0800)]
Hammerhead_fp: remove FPC specific firmware.
Bug:
25492647
Change-Id: I7c183c4060f87e57aafe613fb0001175fa5c6e0e
Signed-off-by: Sasha Levitskiy <sanek@google.com>
Vinit Deshpande [Mon, 28 Dec 2015 20:00:35 +0000 (12:00 -0800)]
Merge "Use unsigned int to fix wrong full scan bucket calculation" am:
d67d125603
am:
296cc55f72
* commit '
296cc55f72c1a68b8c7d70058ffe003132a79b35':
Use unsigned int to fix wrong full scan bucket calculation
Vinit Deshpande [Mon, 28 Dec 2015 19:58:54 +0000 (19:58 +0000)]
Merge "Use unsigned int to fix wrong full scan bucket calculation"
am:
d67d125603
* commit '
d67d125603c2beb1dad13e68774677d3c47cb760':
Use unsigned int to fix wrong full scan bucket calculation
Vinit Deshpande [Mon, 28 Dec 2015 19:55:28 +0000 (19:55 +0000)]
Merge "Use unsigned int to fix wrong full scan bucket calculation"
Daisuke Niwa [Mon, 28 Dec 2015 16:27:00 +0000 (17:27 +0100)]
Use unsigned int to fix wrong full scan bucket calculation
Sometimes Wifi HAL crash is observed by illegal pointer access
to WifiCommand pointer. In ScanCommand, mGlobalFullScanBuckets
variable is defined as "unsigned" type and mLocalFullScanBuckets
variable is defined as "bool". This means mGlobalFullScanBuckets
will not reach "0" in most cases and FullScanResultsCommand will
not be removed at the proper time. Since FullScanResultsCommand
is managed with 0x1000 fixed value as request id, this leads to
a crash by the following sequence.
1. Register FullScanResultsCommand with 0x1000.
2. Request start GSCAN with 0x1000 from the framework.
3. FullScanResultsCommand is unregistered by stop GSCAN request.
4. Request start GSCAN from the framework.
(There are two ScanCommands registered at this point.)
5. ScanCommand registered at 4 and event_cb registered at 2 are
unregistered by stop GSCAN request.
(There is still event_cb registered at 4 that contains a pointer
to ScanCommand just unregistered and freed.)
6. Request start GSCAN from the framework.
When scan result of GSCAN issued at 6 is received, a crash happens at
a cbi->cb_arg ScanCommand(WifiCommand) pointer that was registered at
4 and already freed at 5.
By using unsigned int for mLocalFullScanBuckets to correct the bucket
calculation, step 3 will not happen and crash will not happen anymore.
Change-Id: Iab732c73cdf914549703f656be9b20fbd084d42b
Mitchell Wills [Thu, 17 Dec 2015 19:25:54 +0000 (11:25 -0800)]
Updates for gscan HAL updates in N
This will compile, but all new functionality may not work
Change-Id: Ica790a74bbf28996b1b5c5c7b959c639fa6f6301
Vinit Deshpande [Tue, 15 Dec 2015 16:17:12 +0000 (08:17 -0800)]
Fix a potential leak of nl_msg objects am:
3a30c034a9
am:
410c95ef08
* commit '
410c95ef085f6f35ad39bdc552c308ad292db01e':
Fix a potential leak of nl_msg objects
Vinit Deshpande [Tue, 15 Dec 2015 16:02:36 +0000 (16:02 +0000)]
Fix a potential leak of nl_msg objects
am:
3a30c034a9
* commit '
3a30c034a9f319692c2ba131906e009eaa254817':
Fix a potential leak of nl_msg objects
Vinit Deshpande [Fri, 11 Dec 2015 21:44:59 +0000 (13:44 -0800)]
Fix a potential leak of nl_msg objects
It was discovered on other repos that a leak can
be caused by repeated usage of create().
Bug:
26116598
Change-Id: Ie6cd318171e58d3ffa1a6c8f58cfa38ea7d78b00
Paul Stewart [Tue, 8 Dec 2015 15:59:46 +0000 (07:59 -0800)]
Fix use-after-free in wifi_cleanup() am:
2ce1c4952d am:
075a2c5085 am:
5585f1fb70
am:
2439e4c841
* commit '
2439e4c8417b61f924bf2fc09633317e774b5da7':
Fix use-after-free in wifi_cleanup()
Paul Stewart [Tue, 8 Dec 2015 15:55:24 +0000 (15:55 +0000)]
Fix use-after-free in wifi_cleanup() am:
2ce1c4952d am:
075a2c5085
am:
5585f1fb70
* commit '
5585f1fb701b327ccfbb995610f2ae5657f390c8':
Fix use-after-free in wifi_cleanup()
Paul Stewart [Tue, 8 Dec 2015 15:45:37 +0000 (07:45 -0800)]
Fix use-after-free in wifi_cleanup() am:
2ce1c4952d
am:
075a2c5085
* commit '
075a2c508582773018e098d653a98b3004764922':
Fix use-after-free in wifi_cleanup()
Paul Stewart [Tue, 8 Dec 2015 15:42:24 +0000 (07:42 -0800)]
Fix use-after-free in wifi_cleanup()
am:
2ce1c4952d
* commit '
2ce1c4952d871f2baad0bc69dd8500f830f43db4':
Fix use-after-free in wifi_cleanup()
Paul Stewart [Wed, 18 Nov 2015 18:28:32 +0000 (10:28 -0800)]
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)
Dmitry Shmidt [Tue, 1 Dec 2015 19:34:41 +0000 (19:34 +0000)]
Merge "[HAL] Increase interface name array size to accomodate P2P group interface" am:
a066cf5eaf
am:
d9b94b0639
* commit '
d9b94b0639792161a5f0ce096487f977f31aa839':
[HAL] Increase interface name array size to accomodate P2P group interface
Dmitry Shmidt [Tue, 1 Dec 2015 19:24:59 +0000 (19:24 +0000)]
Merge "[HAL] Increase interface name array size to accomodate P2P group interface"
am:
a066cf5eaf
* commit '
a066cf5eaf059ed721100c3c8c69cd4db007f68d':
[HAL] Increase interface name array size to accomodate P2P group interface
Dmitry Shmidt [Tue, 1 Dec 2015 19:20:32 +0000 (19:20 +0000)]
Merge "[HAL] Increase interface name array size to accomodate P2P group interface"
Sreenath Sharma [Mon, 23 Nov 2015 09:43:13 +0000 (15:13 +0530)]
[HAL] Increase interface name array size to accomodate P2P group interface
Increase interface name array size from 9 (8 + 1) to accommodate P2P
group interface. The P2P group interface name is p2p-wlan0-x, where x
can go up to maximum integer value. Therefore, increasing interface name
array size to 17 (IFNAMSIZ + 1). Otherwise halutil logger commands will
return strcpy() error once P2P group interface is up.
FORTIFY_SOURCE: strcpy: prevented write past end of buffer. Calling
abort().
Change-Id: I666bf4d4687ce05b8e6550fe21a0801e5e2ff42c
Signed-off-by: Sreenath Sharma <sreenats@broadcom.com>
Paul Stewart [Wed, 18 Nov 2015 18:28:32 +0000 (10:28 -0800)]
Fix use-after-free in wifi_cleanup()
Release reference to cmd only after possibly calling getType().
BUG:
25753768
Change-Id: Id2156ce51acec04e8364706cf7eafc7d4adae9eb
Zach Jang [Tue, 27 Oct 2015 17:56:33 +0000 (17:56 +0000)]
Merge "Revert "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)""" into mnc-dr-dev am:
0b49c186f3
am:
b94f62ed27
* commit '
b94f62ed27577f42efa44a730f1ff51c50a67cc8':
Revert "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)""
Zach Jang [Tue, 27 Oct 2015 17:56:30 +0000 (17:56 +0000)]
Merge "Revert "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)""" into mnc-dr-dev am:
7ca57f4b9b
am:
0696f646f9
* commit '
0696f646f9d770c6228182fe4f14ce41e60d358d':
Revert "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)""
Zach Jang [Tue, 27 Oct 2015 17:56:27 +0000 (17:56 +0000)]
Merge "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)"" into mnc-dr-dev am:
93cabcfd50
am:
316e1e1e1e
* commit '
316e1e1e1e0156284e4760048c0d5d82068933db':
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)"