openwrt / odhcpd

This repository is a mirror of https://git.openwrt.org/?p=project/odhcpd.git. Pull requests will be accepted which will be merged in odhcpd.git
GNU General Public License v2.0
162 stars 98 forks source link

Feature Reqeust: odhcpd in 17.04.4 control of Unsolicited RA timing (see RFC 7772) #107

Closed cvmiller closed 6 years ago

cvmiller commented 6 years ago

Based on RFC 7772, saving the battery life of mobile devices, it would be good to have control of how often RAs are sent and the maximum life time. From the RFC:

In order to limit the amount of power used to receive Router Advertisements to, say, 2% of idle power (i.e., to impact idle battery life by no more than 2%), the average power budget for receiving RAs must be no more than 0.1 mA, or approximately 7 RAs per hour.

Thus, the minimum lifetimes for RA configuration parameters such as default router lifetime might reasonably be 5-10 times the RA period, or roughly 45-90 minutes.

dedeckeh commented 6 years ago

As described in the README the transmission interval for unsolicited RAs can be tweaked by the uci parameters ra_mininterval and ra_maxinterval; default router lifetime can be tweaked via the uci parameter ra_lifetime

cvmiller commented 6 years ago

Great, I'll see about updating the wiki documentation to match the README. Thanks.