OSDN Git Service
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/
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 [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)"
Zach Jang [Tue, 27 Oct 2015 17:56:23 +0000 (17:56 +0000)]
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)" am:
be0867bc04
am:
1a18f19f10
* commit '
1a18f19f10a95c4d695ca37881b28fce61edbdb5':
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)"
Zach Jang [Tue, 27 Oct 2015 17:00:57 +0000 (17:00 +0000)]
Merge "Revert "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)""" into mnc-dr-dev
am:
0b49c186f3
* commit '
0b49c186f3843084d4cb0f40f4381c94c6b5dd9a':
Revert "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)""
Zach Jang [Tue, 27 Oct 2015 17:00:54 +0000 (17:00 +0000)]
Merge "Revert "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)""" into mnc-dr-dev
am:
7ca57f4b9b
* commit '
7ca57f4b9baa0d0938fa0d1d899b5c7ebfec5424':
Revert "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)""
Zach Jang [Tue, 27 Oct 2015 17:00:46 +0000 (17:00 +0000)]
Merge "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)"" into mnc-dr-dev
am:
93cabcfd50
* commit '
93cabcfd50f4dc84ccaf4c1352221927c7661b18':
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)"
Zach Jang [Tue, 27 Oct 2015 17:00:40 +0000 (17:00 +0000)]
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)"
am:
be0867bc04
* commit '
be0867bc045054d8a6e412576c794f5144a1709a':
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)"
Zach Jang [Tue, 27 Oct 2015 16:44:30 +0000 (16:44 +0000)]
Merge "Revert "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)""" into mnc-dr-dev
Zach Jang [Tue, 27 Oct 2015 16:44:12 +0000 (16:44 +0000)]
Merge "Revert "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)""" into mnc-dr-dev
Zach Jang [Tue, 27 Oct 2015 16:43:33 +0000 (16:43 +0000)]
Revert "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)""
This reverts commit
be0867bc045054d8a6e412576c794f5144a1709a.
Change-Id: Id38e35dea2a6b406df1f34e0fbbd88367598e809
Zach Jang [Tue, 27 Oct 2015 16:42:36 +0000 (16:42 +0000)]
Revert "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)""
This reverts commit
c907db16d1260243ada1baa79c0e3971df219daf.
Change-Id: I5305c66916453add2f5ba62a06ad641165e36014
Zach Jang [Tue, 27 Oct 2015 16:42:26 +0000 (16:42 +0000)]
Merge "Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)"" into mnc-dr-dev
Zach Jang [Tue, 27 Oct 2015 16:38:04 +0000 (16:38 +0000)]
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)"
This reverts commit
06a2d34583130aa2c8d923f2f850dce1ffcf3349.
Change-Id: I26ea1c34eb20d8ed45cc70c11cca5e9a1549469f
Zach Jang [Tue, 27 Oct 2015 03:03:29 +0000 (03:03 +0000)]
Revert "net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)"
This reverts commit
047718e8e7c0c9bb82e5c595b6256f2330a85f66.
Change-Id: I0c97502fee0b0c0a93a71b3be9bec8ff1ec4e0cc
Insun Song [Wed, 21 Oct 2015 18:21:33 +0000 (18:21 +0000)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44) am:
06a2d34583
am:
693ce18342
* commit '
693ce183427e46626f532c44c9fadb9a819b1550':
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)
Insun Song [Wed, 21 Oct 2015 17:57:52 +0000 (17:57 +0000)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)
am:
06a2d34583
* commit '
06a2d34583130aa2c8d923f2f850dce1ffcf3349':
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.44)
Insun Song [Wed, 21 Oct 2015 02:17:03 +0000 (19:17 -0700)]
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>
Insun Song [Tue, 20 Oct 2015 20:13:15 +0000 (20:13 +0000)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41) am:
047718e8e7
am:
d12069ccc9
* commit '
d12069ccc9c03fde3a7c5a49d63c4addcb1168d7':
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)
Insun Song [Mon, 19 Oct 2015 20:59:17 +0000 (20:59 +0000)]
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)
am:
047718e8e7
* commit '
047718e8e7c0c9bb82e5c595b6256f2330a85f66':
net: wireless: bcmdhd: update bcm4358 FW (7.112.100.41)
Prashant Malani [Sat, 17 Oct 2015 01:23:13 +0000 (01:23 +0000)]
am
2bdea8b2: bcm4343: Update firmware BCM4343A0/BCM4343A1
* commit '
2bdea8b234cc07e4de0ad91a58b0180e68ad485d':
bcm4343: Update firmware BCM4343A0/BCM4343A1
Insun Song [Fri, 16 Oct 2015 02:09:24 +0000 (19:09 -0700)]
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
Prashant Malani [Thu, 15 Oct 2015 04:58:34 +0000 (13:58 +0900)]
bcm4343: Update firmware BCM4343A0/BCM4343A1
resolved high current consumption issue after roam failure
-BCM4343A0: ver 7.10.226.54.5
-BCM4343A1: ver 7.13.53.4
Change-Id: Ib9853b0289e763f68b6979f8607e92221cf4d61d