| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Bug: 26991160
Change-Id: I21f8c30627bf2a7fbcd5b4d5f1f1ad1a2dda759b
|
| |
|
|
|
|
|
|
| |
This state leaves dhcpcd running and polls for results, with
exponential backoff to once every 32 seconds.
Bug: 19422416
Change-Id: I87f481969629ba104491f25ea36de1efc4ad105a
|
| |
|
|
|
|
|
|
|
|
| |
This can be used to switch between different DHCP client
implementations. The caller can declare objects of type
BaseDhcpStateMachine, and call its methods, without needing to
care what implementation is in use.
Bug: 19704592
Change-Id: Icefad9b0d0f83b349681388b1fa16b5e2e37c042
|
| |
|
|
| |
Change-Id: I4063b18532c476280f343658bf3641495e526ed4
|
| |
|
|
|
|
|
| |
Found our bug, so switching the logging back off.
bug:8377625
Change-Id: I254bd83c48f1dd8dd62db1fcb162d460328169c5
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
This reverts commit bb5bcaaaed37e6215f5f253d968afcb10c1b2f3d
bug:8377625
Change-Id: I9663a4646f7581c86b2303aec2655cbf3742fd80
|
| |/
|
|
|
| |
bug:8377625
Change-Id: I11d2c29728078813bfb1245cc46e8cce2b307a2c
|
| |
|
|
|
| |
bug:8377625
Change-Id: I0c086402122d45fc409d237a3b96d96146f1f74c
|
| |
|
|
|
| |
bug:8377625
Change-Id: Ifd0c4081a2f1238dbbc39c6904b993e2fb95455a
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
First step in accepting a set of patches.
bug:6799630
Change-Id: I6c894c60aeb3022960c2aaa45451bb1dde2b493b
|
| |/
|
|
|
| |
Bug: 7227463
Change-Id: Iaa0df7522edc38d25fae2bbda8d24490e997e733
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wifi can have a quick disconnection followed by a reconnection. We used to
create a new DHCP state machine thread for every new connection and
never really waited until it quit after disconnect. This may have lead to
situations where repeated disconnect/reconnects resulted in multiple dhcp
start calls.
We now keep the statemachine after a disconnect and only shut it at supplicant
stop.
Bug: 6417686
Change-Id: Icf66efdc654be886e3eb46c81f09f8cce536f2f6
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make StateMachine#quit non-conditional and remove the need to
process the SM_QUIT_CMD it is now private.
Rename halting to onHalting.
Add onQuitting
Change the message specific logging to be more generic and change
the xxxProcessedMessagesYyy methods to xxxLogRecXyy names. Also add
addLogRec(String) and addLogRec(String, State) as the generic logging
methods.
bug: 5678189
Change-Id: I22f66d11828bfd70498db625fe1be728b90478b7
|
| |
|
|
|
| |
Bug: 5649076
Change-Id: I29e3b41d8bd1173b155f3173e65a3b45ad17a45c
|
| |
|
|
|
| |
Bug: 5410239
Change-Id: I2f91dfde0b701e8905a1235696591b3154693c7c
|
| |
|
|
|
|
|
|
| |
DHCP renewal can fail to fill DNS information. In such
a case retain info from DHCP request
Bug: 5314392
Change-Id: I2413f738be7c8c965ef9e7ffbc348e2738aa68b5
|
| |\
| |
| |
| |
| | |
* commit 'ecce539f3d739fbf4b395639a485fddf51f688d6':
Release wakelock after use
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
DHCP renewal can finish pretty quick most times and holding
a timed wakelock wastes battery.
Hold a non-reference counted lock and release it immediate
while having the safety of a 40s release
Bug: 4575773
Change-Id: I49d2e8c27b2723690aef26417c4b9a145843a401
|
| |\|
| |
| |
| |
| | |
* commit '41b35884ff68a62f5fc8f65dcc26342d0889113d':
Revert "DO NOT MERGE Revert "Fix lease duration handling""
|
| | |
| |
| |
| | |
This reverts commit 7dd120058972226158176b292c00841efecc259f.
|
| |\|
| |
| |
| | |
Change-Id: I616b7ba5c27d0cc4247f5cce4303effe14658e1e
|
| |/
|
|
| |
This reverts commit 58d1bb497e0d83e28a02fbcdc1f33f29a992db7e.
|
| |
|
|
|
|
| |
This reverts commit fe3b33d4ead06c546202753e38188db5e2eaa7fa.
Change-Id: I3a9ae1f0d17e7a154d27d4f3f3eb1efa21a34f64
|
| |
|
|
| |
This reverts commit 56878760c3f0255dbcc8d78572f784b96ee36cb0.
|
| |
|
|
|
|
|
| |
Convert lease time in seconds to long before alarm
set up and add sanity check
Change-Id: I99524c97d9a643ffa8234d016d0e819a284977a1
|
|
|
Add DhcpStateMachine for interation with dhcpcd
- Supports wakeup and renewal on dhcp
- Supports multiple controllers to use the state machine
simultaneously
- Optionally, a controller can request a notification prior
to DHCP request/renewal being sent
Change-Id: I5324814b19ff19863aa6fa89f1e3f0a202930c98
|