Giter Club home page Giter Club logo

Comments (9)

mpvader avatar mpvader commented on July 27, 2024

Regarding 1. hwclock: read this to see ConnMans maintainers opinion on syncing to the hwclock:
https://bugs.tizen.org/jira/si/jira.issueviews:issue-html/TC-165/TC-165.html

Also, rtc and all related datetime mgmt works fine on the ccgx. No complaints and no issues. So just adding a few explanation lines on that patch, for example a link to this issue, is more than enough.

@jhofstee: you'll be happy to know that systemd is coming and all will be better. See Tizen link 😄.

from venus.

mpvader avatar mpvader commented on July 27, 2024

Some extra info:

about 1) "normally" the hwclock is saved during shutdown / reboot. Since
a color control can just be removed from power, we always update the rtc as well.

about 3) g-web multi header:

it belongs to this thread:

from venus.

mansr avatar mansr commented on July 27, 2024

Some findings:

1) hwclock

The patch is not suitable for upstream, but it's small and should be easy to maintain. An alternative could be a cron job that periodically syncs the hardware clock.

2) ntp max poll

From RFC5905:

Poll: 8-bit signed integer representing the maximum interval between successive messages, in log2 seconds. Suggested default limits for minimum and maximum poll intervals are 6 and 10, respectively.

Increasing the value from 10 to 16 changes the maximum interval from 17 minutes to 18 hours although there actual intervals may be shorter depending on network conditions and clock stability.

The patch as is would probably not be accepted upstream as it changes behaviour without a good reason. A new option allowing this value to be set in the config file might have a better chance.

3) gweb multi-header

An attempt to ask about this on the connman mailing list has received no response, and the message to the list appears to have been black-holed.

from venus.

mpvader avatar mpvader commented on July 27, 2024

@mansr

  1. hwclock: let's leave that as a patch

  2. ntp max poll: I think the rationale is to reduce network traffic. Let's leave as a patch as well

  3. gweb multi-header: have you looked into reproducing that yet?

  4. wifi: ignore invalid key on AR failure:
    you already made the patch apply to the latest Connman version right? Is there much work involved in testing its effectiveness?

I'd prefer to first update our Connman to latest version including these patches; except possibly 3. And then see about mainlining patch (4).

from venus.

mansr avatar mansr commented on July 27, 2024

The gweb patch is now upstream: http://git.kernel.org/cgit/network/connman/connman.git/commit/?id=22901212105055b24f73504a74f5a57eee809777

from venus.

mpvader avatar mpvader commented on July 27, 2024

@mansr how is the upstreaming going?

from venus.

mpvader avatar mpvader commented on July 27, 2024

just for record keeping, the last attempt at upstreaming the 'dont ever give up' wifi patch is here:
https://lists.01.org/pipermail/connman/2017-January/021470.html. And here the discussion ended.

And the patch is also here. It is scheduled to replace what we have in meta-victronenergy/master now soon.

from venus.

mpvader avatar mpvader commented on July 27, 2024

I've sent connman a reminder email: https://lists.01.org/pipermail/connman/2017-August/021993.html

from venus.

jhofstee avatar jhofstee commented on July 27, 2024

Since upstreaming the remaining patches seems impossible, I am closing this issue.

from venus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.