OSDN Git Service
Connor O'Brien [Tue, 13 Dec 2016 19:25:34 +0000 (19:25 +0000)]
Merge "Add consumerir HIDL default implementation" am:
ac430dba09 am:
e09bb06994
am:
86b187c4d5
Change-Id: Ib0e0198d88088bd0b9cece60e5e20d18048e6efa
Connor O'Brien [Tue, 13 Dec 2016 19:25:24 +0000 (19:25 +0000)]
Merge "consumerir: define the consumerir HIDL interface" am:
8af27124a3 am:
efe941587a
am:
29e40a79cb
Change-Id: Icaa9cb81ae312ce85957b14e683b2305714bfee8
Connor O'Brien [Tue, 13 Dec 2016 19:19:34 +0000 (19:19 +0000)]
Merge "Add consumerir HIDL default implementation" am:
ac430dba09
am:
e09bb06994
Change-Id: Iee3e4e60e03b58be2929413a69ec151f1048b1b5
Connor O'Brien [Tue, 13 Dec 2016 19:19:23 +0000 (19:19 +0000)]
Merge "consumerir: define the consumerir HIDL interface" am:
8af27124a3
am:
efe941587a
Change-Id: I124c545dcb96efc60e7c6262cf6fc8412a5de5f9
Connor O'Brien [Tue, 13 Dec 2016 19:13:35 +0000 (19:13 +0000)]
Merge "Add consumerir HIDL default implementation"
am:
ac430dba09
Change-Id: I51c54f9fbd8fb0f5e523cc2223817aefb2644839
Connor O'Brien [Tue, 13 Dec 2016 19:13:23 +0000 (19:13 +0000)]
Merge "consumerir: define the consumerir HIDL interface"
am:
8af27124a3
Change-Id: I19d0881d172de053efa8243f9af9740a8f8ade64
Connor O'Brien [Tue, 13 Dec 2016 19:07:09 +0000 (19:07 +0000)]
Merge "Add consumerir HIDL default implementation"
Connor O'Brien [Tue, 13 Dec 2016 19:06:57 +0000 (19:06 +0000)]
Merge "consumerir: define the consumerir HIDL interface"
Yifan Hong [Tue, 13 Dec 2016 01:26:25 +0000 (01:26 +0000)]
Add test for eliding bitfield returns. am:
8b54c22992 am:
3b353f7905
am:
42dcb27402
Change-Id: I1a6024cbe0cae19d934740e658c4ee7793783091
Yifan Hong [Tue, 13 Dec 2016 01:20:24 +0000 (01:20 +0000)]
Add test for eliding bitfield returns. am:
8b54c22992
am:
3b353f7905
Change-Id: I9688f47c38bc68cf77b00eb2e88e934173d269a4
Yifan Hong [Tue, 13 Dec 2016 01:14:54 +0000 (01:14 +0000)]
Add test for eliding bitfield returns.
am:
8b54c22992
Change-Id: I0ab1dd95cfb9d3a5b5837e4edb406fa1ba605a11
Yifan Hong [Mon, 12 Dec 2016 23:30:49 +0000 (15:30 -0800)]
Add test for eliding bitfield returns.
Test: mma
Bug:
33298401
Change-Id: I9e50c20b29215664040183bcdfee6b6902c00e3d
Roshan Pius [Mon, 12 Dec 2016 23:20:15 +0000 (23:20 +0000)]
Merge changes Idde2f3b7,I5b25d334,I69db530e am:
0f13397eb3 am:
f3ba8d1d74
am:
14154da69c
Change-Id: Ib4d65a007783a5c203590ca83c7323e8b4055965
Roshan Pius [Mon, 12 Dec 2016 23:20:13 +0000 (23:20 +0000)]
wifi: Disallow iface creation based on mode am:
073d5b9fdc am:
7a3f643fa3
am:
e4645fabb5
Change-Id: I424888df4a07c2291dbc82f557b586dbcad3dc73
Roshan Pius [Mon, 12 Dec 2016 23:20:12 +0000 (23:20 +0000)]
supplicant(interface): Correct ANQP enum value/type am:
e3f25f1d0f am:
5e9cdc5a4c
am:
143d569d60
Change-Id: Iacd81197f30372a06084947c2c353b9d80dcd3a3
Roshan Pius [Mon, 12 Dec 2016 23:20:10 +0000 (23:20 +0000)]
supplicant(interface): Minor fixes in P2P iface am:
282a0b35b8 am:
fea79e33ba
am:
d6717d1e7b
Change-Id: Ia27cdf68390ff3c5a6bf3e0ec6e550de83b760a2
Roshan Pius [Mon, 12 Dec 2016 23:14:19 +0000 (23:14 +0000)]
Merge changes Idde2f3b7,I5b25d334,I69db530e am:
0f13397eb3
am:
f3ba8d1d74
Change-Id: I38e4beff83a45a0769b82dc6cfb847a6be6c6558
Roshan Pius [Mon, 12 Dec 2016 23:14:18 +0000 (23:14 +0000)]
wifi: Disallow iface creation based on mode am:
073d5b9fdc
am:
7a3f643fa3
Change-Id: Ia98f1e34ffeff9cc103be79999298b1fbd6680f1
Roshan Pius [Mon, 12 Dec 2016 23:14:16 +0000 (23:14 +0000)]
supplicant(interface): Correct ANQP enum value/type am:
e3f25f1d0f
am:
5e9cdc5a4c
Change-Id: Icba47abc968dc2791b1c74708694078d968ea5d3
Roshan Pius [Mon, 12 Dec 2016 23:14:15 +0000 (23:14 +0000)]
supplicant(interface): Minor fixes in P2P iface am:
282a0b35b8
am:
fea79e33ba
Change-Id: I8aaaf420441f976686d1d65cf5096de4f9f824e3
Roshan Pius [Mon, 12 Dec 2016 23:09:12 +0000 (23:09 +0000)]
Merge changes Idde2f3b7,I5b25d334,I69db530e
am:
0f13397eb3
Change-Id: I361ec7ed81f470b321778b66dce1e6b741fe3f8f
Roshan Pius [Mon, 12 Dec 2016 23:09:11 +0000 (23:09 +0000)]
wifi: Disallow iface creation based on mode
am:
073d5b9fdc
Change-Id: I5478cbfca44a12af66ce2f5fbb815fb09f776708
Roshan Pius [Mon, 12 Dec 2016 23:09:09 +0000 (23:09 +0000)]
supplicant(interface): Correct ANQP enum value/type
am:
e3f25f1d0f
Change-Id: I81b09891222f9c074cfac345c904343f8a70e4e5
Roshan Pius [Mon, 12 Dec 2016 23:09:07 +0000 (23:09 +0000)]
supplicant(interface): Minor fixes in P2P iface
am:
282a0b35b8
Change-Id: Ifc8d6299b5e011b6a6081eb5545743c77893eae7
Treehugger Robot [Mon, 12 Dec 2016 22:58:27 +0000 (22:58 +0000)]
Merge changes Idde2f3b7,I5b25d334,I69db530e
* changes:
wifi: Disallow iface creation based on mode
supplicant(interface): Correct ANQP enum value/type
supplicant(interface): Minor fixes in P2P iface
Steven Moreland [Mon, 12 Dec 2016 21:27:39 +0000 (21:27 +0000)]
Add check to update-makefiles.sh. am:
13b5d8034e am:
c7e7688625
am:
75f17806a4
Change-Id: I61aa97b8d5269e588d7a31c2164f8e05d7905b1a
Steven Moreland [Mon, 12 Dec 2016 21:21:08 +0000 (21:21 +0000)]
Add check to update-makefiles.sh. am:
13b5d8034e
am:
c7e7688625
Change-Id: I4b66a5a83b4bfd002b3ef3d70cb40cc73069e350
Steven Moreland [Mon, 12 Dec 2016 21:15:07 +0000 (21:15 +0000)]
Add check to update-makefiles.sh.
am:
13b5d8034e
Change-Id: I798bde83bbf2e11cc3a04b9262b38c66ea8d7631
Connor O'Brien [Sat, 3 Dec 2016 00:22:51 +0000 (16:22 -0800)]
Add consumerir HIDL default implementation
Create a basic HAL implementation that passes commands
through to the old HAL.
Test: make android.hardware.consumerir@1.0-impl
Change-Id: Idc4b0a67cf936645b699c24504e9fab219b1ffbe
Signed-off-by: Connor O'Brien <connoro@google.com>
Connor O'Brien [Sat, 3 Dec 2016 00:21:25 +0000 (16:21 -0800)]
consumerir: define the consumerir HIDL interface
Change-Id: Ifa8632915f8c5bb15da5f379202f5ddf2e08c09a
Signed-off-by: Connor O'Brien <connoro@google.com>
Steven Moreland [Mon, 12 Dec 2016 17:24:10 +0000 (09:24 -0800)]
Add check to update-makefiles.sh.
Now that we also have packages like android.hidl.base which reside in
system/libhidl/transport which are read in by hidl-gen (see
-randroid.hidl:system/libhidl/transport in the same file), we can
display a pretty warning message if they are missing.
We'll have to remember to update this after b/
33276472.
Test: ran update-makefiles.sh
Change-Id: Ia3e3183dd5139cf3a8d1bf7bd25c201d1b098c79
Roshan Pius [Fri, 9 Dec 2016 03:10:06 +0000 (19:10 -0800)]
wifi: Disallow iface creation based on mode
Based on the mode configured, limit the iface creation.
Note: Support for iface removal will be added in a follow up CL which
should help us use P2P or NAN iface dynamically.
Bug:
31997422
Test: Compiles
Change-Id: Idde2f3b749264d542d5d6608b0b2c5aa8103ade6
Roshan Pius [Thu, 8 Dec 2016 21:20:05 +0000 (13:20 -0800)]
supplicant(interface): Correct ANQP enum value/type
Correct the HS20 subtype & Anqp Info ID enum value/type to match
what is used in wpa_supplicant core.
Bug:
33493298
Test: Compiles
Change-Id: I5b25d334271c39d977e2990c643f4a2b01872f1a
Roshan Pius [Thu, 8 Dec 2016 19:08:14 +0000 (11:08 -0800)]
supplicant(interface): Minor fixes in P2P iface
Fixing couple of issues found in the interface during implementation.
1. WpsProvisionMethod::KEYPAD is not used in wpa_supplicant core. It is
only used inside Android framework. So, remove them.
2. Added |setDisallowedFrequencies| method.
3. Changed the pin type to string from vector of bytes because that is
used by Android framework and wpa_supplicant.
Bug:
31497295
Test: Compiles
Change-Id: I69db530e23c2d3af907c3a5c824cf8291cf12c35
Roshan Pius [Fri, 9 Dec 2016 02:15:51 +0000 (02:15 +0000)]
wifi: Reset internal callback pointers on failure am:
7a41d9d59f am:
3a41df3ffb
am:
2c800a1fc3
Change-Id: I6cc3f1929a944b097a7119fccba4679f55007e37
Roshan Pius [Fri, 9 Dec 2016 02:15:50 +0000 (02:15 +0000)]
wifi: Add support for RSSI monitoring am:
d476754bc0 am:
7ee5aaa8d5
am:
4bb0a3abaa
Change-Id: I97a7ba01f640fa5aa404c3e40abd967dc1a303da
Roshan Pius [Fri, 9 Dec 2016 02:15:49 +0000 (02:15 +0000)]
wifi: Add method implementations in IWifiRttController am:
e3f72ff344 am:
55e445fbd4
am:
14e73a88e6
Change-Id: Ia3757538ff1ae80748b58aa3d7b0b1ed0054467b
Roshan Pius [Fri, 9 Dec 2016 02:15:47 +0000 (02:15 +0000)]
wifi: Add method implementations in IWifiStaIface am:
970f031170 am:
9d0c9663e0
am:
043991fd8d
Change-Id: Ife0798f59a191edfc386096dbaff9bfecb27f719
Roshan Pius [Fri, 9 Dec 2016 02:15:45 +0000 (02:15 +0000)]
wifi: Add logger method implementations in IWifiChip am:
e2d0ab52ea am:
54e14629b4
am:
6e72e641bb
Change-Id: Ia2126f441ae5e15612244f0c777c823c8c768143
Roshan Pius [Fri, 9 Dec 2016 02:15:44 +0000 (02:15 +0000)]
wifi: Gscan struct conversion changes am:
881d1f7823 am:
97871355a1
am:
d4059858f5
Change-Id: I1938ea419331d30fb575d56f49ad85aad28bb4f7
Roshan Pius [Fri, 9 Dec 2016 02:15:43 +0000 (02:15 +0000)]
wifi: Add some more missing struct conversions am:
f72df2e186 am:
6197b96c25
am:
74079dd9fc
Change-Id: I998db111b99543de2075418370d039f432cf7d3d
Roshan Pius [Fri, 9 Dec 2016 02:15:41 +0000 (02:15 +0000)]
wifi: Remove unused methods in IWifiRttController am:
824e475cd1 am:
e272814d13
am:
ab7a780433
Change-Id: If734d124f6c4edefbdc13044f4e1339c3d7d33d6
Roshan Pius [Fri, 9 Dec 2016 02:15:40 +0000 (02:15 +0000)]
wifi: Add RTT structure conversion methods am:
3fae9c82a0 am:
ca2c7d355f
am:
9f1f7fafae
Change-Id: I62116123e2a2eff78fdaec8de79aa8266f2caa49
Roshan Pius [Fri, 9 Dec 2016 02:15:39 +0000 (02:15 +0000)]
wifi: Convert packet fate structures from legacy to HIDL am:
32d0ca967a am:
9ef46f44fb
am:
bb9d055fe3
Change-Id: Ie88174bff2ba12a1dad476fd47c7449a55c3387b
Roshan Pius [Fri, 9 Dec 2016 02:15:37 +0000 (02:15 +0000)]
wifi: Begin NAN iface methods implementation am:
f5f51fd039 am:
66fd78f1ae
am:
98220e807b
Change-Id: I74cb90afab362e2178294e52b2e3564b71fda944
Roshan Pius [Fri, 9 Dec 2016 02:10:49 +0000 (02:10 +0000)]
wifi: Reset internal callback pointers on failure am:
7a41d9d59f
am:
3a41df3ffb
Change-Id: Icd0a1194ad1072211ce318fc6aeb918d48809e5f
Roshan Pius [Fri, 9 Dec 2016 02:10:47 +0000 (02:10 +0000)]
wifi: Add support for RSSI monitoring am:
d476754bc0
am:
7ee5aaa8d5
Change-Id: I0f6335c29ea65a473d63d5a9091b56ca042bad1f
Roshan Pius [Fri, 9 Dec 2016 02:10:46 +0000 (02:10 +0000)]
wifi: Add method implementations in IWifiRttController am:
e3f72ff344
am:
55e445fbd4
Change-Id: Ia4194fdbef4cd3da97140b7efe3872e4ad41a488
Roshan Pius [Fri, 9 Dec 2016 02:10:45 +0000 (02:10 +0000)]
wifi: Add method implementations in IWifiStaIface am:
970f031170
am:
9d0c9663e0
Change-Id: I451dcf2c25dbbf17ccf9a37d708403c2b8ab4694
Roshan Pius [Fri, 9 Dec 2016 02:10:43 +0000 (02:10 +0000)]
wifi: Add logger method implementations in IWifiChip am:
e2d0ab52ea
am:
54e14629b4
Change-Id: I9165b83bd1d384b3248adeab698bd42e835fcf0e
Roshan Pius [Fri, 9 Dec 2016 02:10:42 +0000 (02:10 +0000)]
wifi: Gscan struct conversion changes am:
881d1f7823
am:
97871355a1
Change-Id: I3cb6cc9e4ed7840bc90e3f9366b26a329c40297f
Roshan Pius [Fri, 9 Dec 2016 02:10:41 +0000 (02:10 +0000)]
wifi: Add some more missing struct conversions am:
f72df2e186
am:
6197b96c25
Change-Id: Ic85ca42669dd6f861b1f5ae9d9d251b02786450c
Roshan Pius [Fri, 9 Dec 2016 02:10:40 +0000 (02:10 +0000)]
wifi: Remove unused methods in IWifiRttController am:
824e475cd1
am:
e272814d13
Change-Id: I67dc21e7a67e9f0e996a64cd8a253c79f68492be
Roshan Pius [Fri, 9 Dec 2016 02:10:38 +0000 (02:10 +0000)]
wifi: Add RTT structure conversion methods am:
3fae9c82a0
am:
ca2c7d355f
Change-Id: I98969bc8a4bfaf50d53c47f83772f23cc2c94ea4
Roshan Pius [Fri, 9 Dec 2016 02:10:37 +0000 (02:10 +0000)]
wifi: Convert packet fate structures from legacy to HIDL am:
32d0ca967a
am:
9ef46f44fb
Change-Id: I3cdc9452fbef30477ecd129558b82574cc2b3171
Roshan Pius [Fri, 9 Dec 2016 02:10:35 +0000 (02:10 +0000)]
wifi: Begin NAN iface methods implementation am:
f5f51fd039
am:
66fd78f1ae
Change-Id: Ibe01d93b2133184c01ad08bcfbda61c065c715f3
Roshan Pius [Fri, 9 Dec 2016 02:05:53 +0000 (02:05 +0000)]
wifi: Reset internal callback pointers on failure
am:
7a41d9d59f
Change-Id: If7821449dcd279e23cdf5987d55d1bf22dd18edd
Roshan Pius [Fri, 9 Dec 2016 02:05:52 +0000 (02:05 +0000)]
wifi: Add support for RSSI monitoring
am:
d476754bc0
Change-Id: If9335c4128485e7e8ebbf4679071c688dd12b201
Roshan Pius [Fri, 9 Dec 2016 02:05:51 +0000 (02:05 +0000)]
wifi: Add method implementations in IWifiRttController
am:
e3f72ff344
Change-Id: Ic02174fc792ca3a62e10ec4d8213f53d91c72cd7
Roshan Pius [Fri, 9 Dec 2016 02:05:50 +0000 (02:05 +0000)]
wifi: Add method implementations in IWifiStaIface
am:
970f031170
Change-Id: I279fead0d77f5edff4ea04e27217e4ad5fc3105f
Roshan Pius [Fri, 9 Dec 2016 02:05:45 +0000 (02:05 +0000)]
wifi: Add logger method implementations in IWifiChip
am:
e2d0ab52ea
Change-Id: I5099074046f927fd827949916c2ba4d7f2d7f400
Roshan Pius [Fri, 9 Dec 2016 02:05:44 +0000 (02:05 +0000)]
wifi: Gscan struct conversion changes
am:
881d1f7823
Change-Id: I79d9bfa6433a2090c28c0a377e247ee408f58463
Roshan Pius [Fri, 9 Dec 2016 02:05:41 +0000 (02:05 +0000)]
wifi: Add some more missing struct conversions
am:
f72df2e186
Change-Id: Ia605e843eff2a884bd9d7835f4400b7f595f53e2
Roshan Pius [Fri, 9 Dec 2016 02:05:40 +0000 (02:05 +0000)]
wifi: Remove unused methods in IWifiRttController
am:
824e475cd1
Change-Id: I287973dbe29ac40494a3fb62e5e1a8d2ac925a1c
Roshan Pius [Fri, 9 Dec 2016 02:05:39 +0000 (02:05 +0000)]
wifi: Add RTT structure conversion methods
am:
3fae9c82a0
Change-Id: Ifa957a9eb3007abb7fd0cf355687812140174992
Roshan Pius [Fri, 9 Dec 2016 02:05:38 +0000 (02:05 +0000)]
wifi: Convert packet fate structures from legacy to HIDL
am:
32d0ca967a
Change-Id: I48a539c30924c56659ae987ecf08e4a834a89a68
Roshan Pius [Fri, 9 Dec 2016 02:05:36 +0000 (02:05 +0000)]
wifi: Begin NAN iface methods implementation
am:
f5f51fd039
Change-Id: Ide9ece8aeffe58b09e5e40ba50276f66f610745b
Roshan Pius [Tue, 6 Dec 2016 18:12:59 +0000 (10:12 -0800)]
wifi: Reset internal callback pointers on failure
If these are not reset, any subsequent calls will not be processed
because the callback pointers are set.
Bug:
33379596
Test: Compiles
Change-Id: Ia44385fc185b7cf262366af7b0e0e62c32a0d9a0
Roshan Pius [Tue, 6 Dec 2016 18:04:05 +0000 (10:04 -0800)]
wifi: Add support for RSSI monitoring
Bug:
31991459
Test: Compiles
Change-Id: I8794cea12a0d1c727bd0e37123152c8da11eeabf
Roshan Pius [Tue, 6 Dec 2016 00:18:43 +0000 (16:18 -0800)]
wifi: Add method implementations in IWifiRttController
Hookup the legacy HAL functions to the corresponding HIDL methods in
WifiRttController and perform the necessary struct conversions.
Bug:
31991232
Test: Compiles
Change-Id: I7bd8bd7e7af2230699c079f1ad8e0a8b1e496026
Roshan Pius [Mon, 5 Dec 2016 23:25:51 +0000 (15:25 -0800)]
wifi: Add method implementations in IWifiStaIface
Hookup the legacy HAL functions to the corresponding HIDL methods in
WifiStaIface and perform the necessary struct conversions.
Bug:
31991459
Test: Compiles
Change-Id: I8c0b9be2e375dd7147408e41a88de3f1c6f98d08
Roshan Pius [Mon, 5 Dec 2016 23:24:20 +0000 (15:24 -0800)]
wifi: Add logger method implementations in IWifiChip
Hookup the legacy HAL functions to the corresponding HIDL methods in
WifiChip and perform the necessary struct conversions.
Bug:
32221997
Test: Compiles
Change-Id: I2b0cfd6484c7599e96e9edfcef18ac3148e28307
Roshan Pius [Mon, 5 Dec 2016 23:37:00 +0000 (15:37 -0800)]
wifi: Gscan struct conversion changes
Rename |Scan| to |Gscan| because that is the naming we've been using in
WifiLegacyHal.
Also group all the gscan related sturct conversion methods.
Bug:
31991459
Test: Compiles
Change-Id: Ie64bcc032a0058b5b20d0bb701020cdf7bf08890
Roshan Pius [Sun, 4 Dec 2016 18:49:38 +0000 (10:49 -0800)]
wifi: Add some more missing struct conversions
Add the remaining struct conversions and the feature set to HIDL
capabilities conversions. The legacy feature set is distributed based on
where the functionality is exposed to IWifiChip & IWifiStaIface HIDL
interfaces.
Bug:
31991459
Bug:
32221997
Test: Compiles
Change-Id: Ifdeac1bd7325b7a0581ec225b025ef0f6980c512
Roshan Pius [Fri, 2 Dec 2016 23:01:06 +0000 (15:01 -0800)]
wifi: Remove unused methods in IWifiRttController
These are currently unused in the legacy HAL function table and there
isn't any need for these to be migrated over to HIDL.
Bug:
31991232
Test: Compiles
Change-Id: I50611d1fd5a6ac276e7911ca1920c3d5ee2d5ba6
Roshan Pius [Fri, 2 Dec 2016 22:49:41 +0000 (14:49 -0800)]
wifi: Add RTT structure conversion methods
While there,
Hide |convertLegacyIeBlobToHidl| from hidl_struct_util.h. There is no
need for any of the HIDL objects to directly use this. They will be used
internally in |convertLegacyScanResultToHidl|.
Bug:
31991232
Test: Compiles
Change-Id: I5702906ea84e3c77fece7be5f9d48ff3ae418c41
Roshan Pius [Fri, 2 Dec 2016 19:21:19 +0000 (11:21 -0800)]
wifi: Convert packet fate structures from legacy to HIDL
While there fixed a couple of nits,
1. Correct a typo in one of the packet fate structs in the .hal file.
2. Renamed the scan data flag and added a helper function to convert the
legacy flag to it's equivalent and loop through it.
Bug:
32221997
Test: Compiles
Change-Id: I414a7731054e6400d22d4e6deae9495b48dce461
Roshan Pius [Thu, 1 Dec 2016 21:54:24 +0000 (13:54 -0800)]
wifi: Begin NAN iface methods implementation
Start implementation of the NAN iface HIDL methods by plumbing the HIDL
stubs to the corresponding legacy HAL methods. The incoming HIDL struct
needs to be converted to legacy for the HIDL methods. The legacy HAL
structs needs to be converted to HIDL for callbacks.
This CL only has a couple of methods and some structure conversion.
etan@ will take over the rest.
Bug:
31991076
Test: Compiles
Change-Id: Ide348f4c3318822226bb7de93d091107c7465cd3
Roshan Pius [Thu, 8 Dec 2016 23:53:02 +0000 (23:53 +0000)]
Merge changes from topic 'hal_firmware_reload' am:
0b739705d4 am:
af2f057ace
am:
41bbfca242
Change-Id: I3ba0bdff04d7f86ca369f3a8175c5714a8ffc94f
Roshan Pius [Thu, 8 Dec 2016 23:53:00 +0000 (23:53 +0000)]
wifi: Implement chip mode combinations am:
52947fbc7e am:
584c488c4f
am:
124b4c86aa
Change-Id: Ib2689976181b5892417acb6859b43ba0fb5915c5
Roshan Pius [Thu, 8 Dec 2016 23:52:59 +0000 (23:52 +0000)]
wifi: Split out initialize and start in WifiLegacyHal am:
97334114c6 am:
4ec4082519
am:
2215004970
Change-Id: Ice1499849af0b61f3107896cda948ab1a32fc2c6
Roshan Pius [Thu, 8 Dec 2016 23:52:57 +0000 (23:52 +0000)]
wifi: Add firmware mode controller am:
a26a6e0807 am:
987226de7c
am:
97f16b32c7
Change-Id: I09a3d6e3df6077b79ed7f4da3f77547cac939880
Roshan Pius [Thu, 8 Dec 2016 23:47:03 +0000 (23:47 +0000)]
Merge changes from topic 'hal_firmware_reload' am:
0b739705d4
am:
af2f057ace
Change-Id: I7370f6f2b98c3087c2bd4b4ad3e56f8dbecc40c9
Roshan Pius [Thu, 8 Dec 2016 23:47:02 +0000 (23:47 +0000)]
wifi: Implement chip mode combinations am:
52947fbc7e
am:
584c488c4f
Change-Id: Iba879a339377076dbb5805a1f001cff015af218a
Roshan Pius [Thu, 8 Dec 2016 23:47:01 +0000 (23:47 +0000)]
wifi: Split out initialize and start in WifiLegacyHal am:
97334114c6
am:
4ec4082519
Change-Id: I2c5b7da85f9c29f2da915cff71811e7685d45a6a
Roshan Pius [Thu, 8 Dec 2016 23:46:57 +0000 (23:46 +0000)]
wifi: Add firmware mode controller am:
a26a6e0807
am:
987226de7c
Change-Id: Iaa8bbd727c356da243da8117ed00d630b1d97bd7
Roshan Pius [Thu, 8 Dec 2016 23:42:31 +0000 (23:42 +0000)]
Merge changes from topic 'hal_firmware_reload'
am:
0b739705d4
Change-Id: I0c8327f5649e96f5005856c18e416f8896c3ec9d
Roshan Pius [Thu, 8 Dec 2016 23:42:30 +0000 (23:42 +0000)]
wifi: Implement chip mode combinations
am:
52947fbc7e
Change-Id: I18e8ed2a8183fa88396d6b3cf8be133edc263f1e
Roshan Pius [Thu, 8 Dec 2016 23:42:29 +0000 (23:42 +0000)]
wifi: Split out initialize and start in WifiLegacyHal
am:
97334114c6
Change-Id: If3bde7e3796f147f9da47b92e7d49b81252e300f
Roshan Pius [Thu, 8 Dec 2016 23:42:27 +0000 (23:42 +0000)]
wifi: Add firmware mode controller
am:
a26a6e0807
Change-Id: I2b8cfeb08f88024157c945ec7a8b92c19ce296a0
Treehugger Robot [Thu, 8 Dec 2016 23:36:24 +0000 (23:36 +0000)]
Merge changes from topic 'hal_firmware_reload'
* changes:
wifi: Implement chip mode combinations
wifi: Split out initialize and start in WifiLegacyHal
wifi: Add firmware mode controller
Elliott Hughes [Thu, 8 Dec 2016 17:37:24 +0000 (17:37 +0000)]
Merge "Remove unused hardware/interfaces tests dependency on libtestUtil." am:
827e038651 am:
f279b5d2cd
am:
6d2e524f46
Change-Id: If1a415d8b1e07c77363191b563fcd98ed7a67e01
Elliott Hughes [Thu, 8 Dec 2016 17:32:02 +0000 (17:32 +0000)]
Merge "Remove unused hardware/interfaces tests dependency on libtestUtil." am:
827e038651
am:
f279b5d2cd
Change-Id: Idfd89ccb1bb33b3a4e5482d90bcde429e5d08a08
Elliott Hughes [Thu, 8 Dec 2016 17:28:33 +0000 (17:28 +0000)]
Merge "Remove unused hardware/interfaces tests dependency on libtestUtil."
am:
827e038651
Change-Id: I4f786487624c45ce1b2c03e39743fa9db3650426
Elliott Hughes [Thu, 8 Dec 2016 17:21:53 +0000 (17:21 +0000)]
Merge "Remove unused hardware/interfaces tests dependency on libtestUtil."
Sanket Padawe [Thu, 8 Dec 2016 01:07:36 +0000 (01:07 +0000)]
Add missing function to telephony HIDL interface. am:
1a7eae777b am:
7a6e99c103
am:
8ed49368f7
Change-Id: If58ee464623c141e03705cfc78440c63c0b05557
Sanket Padawe [Thu, 8 Dec 2016 01:03:36 +0000 (01:03 +0000)]
Add missing function to telephony HIDL interface. am:
1a7eae777b
am:
7a6e99c103
Change-Id: I16582b36a74c880cfd9e88e2fd4cc75fbe17d7e3
Sanket Padawe [Thu, 8 Dec 2016 01:00:06 +0000 (01:00 +0000)]
Add missing function to telephony HIDL interface.
am:
1a7eae777b
Change-Id: I19055b0f2559b4d7c6bb718e53ba7cbad2ac9f0d
Roshan Pius [Fri, 18 Nov 2016 19:38:07 +0000 (11:38 -0800)]
wifi: Implement chip mode combinations
This is pretty hardcoded for now. We expose 2 chip modes:
1. STA mode: 1 STA and 1 P2P or NAN iface.
2. AP mode: 1 AP iface.
Implement the chip mode configuration related HIDL methods in
WifiChip and integrate WifiModeController. These is some change in the
order of calls invoked within the implementation to accomodate the
firmware reload:
a. Since the legacy HAL needs to reinitialized after
firmware reload, we can no longer do this in IWifi.start().
So, we'll defer this to IWifiChip.configureChip() now.
b. Refactor IWifi.startInternal() and IWifi.stopInternal() to pull
out the actual implementation into a separate helper functions and
let it invoke the required callbacks.
Bug:
31997422
Bug:
32018162
Test: Compiles
Change-Id: I461687d7ee92398bc47321e1baca609db65c7991
Roshan Pius [Fri, 18 Nov 2016 22:07:54 +0000 (14:07 -0800)]
wifi: Split out initialize and start in WifiLegacyHal
We need to separate these because we need to invoke start() after every
firmware mode change (chip reconfigure).
While there,
1. Make InterfaceTool a member of the class.
2. Make the stop() symmetric with start(). i.e interface is set
down on stop immediately instead of waiting for the thread to stop.
Bug:
31997422
Test: Compiles
Change-Id: I202afcc70571188dc076a841249761bc97fcf817