-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Link layer] GNRC PPP #5470
[Link layer] GNRC PPP #5470
Conversation
I think it's difficult, since we're already in feature freeze, it's more than +3000 lines and no-one has reviewed it so far. |
Yes, true. I have time to make the netdev2 adaption then. 2016-07-18 11:12 GMT+02:00 Oleg Hahm notifications@github.com:
|
@jia200x I interpret your comment that this PR is still WIP. Please remove label if this isn't the case (anymore). |
#ifdef MODULE_GNRC_PPP | ||
GNRC_NETTYPE_LCP, /**< Protocol is PPP LCP */ | ||
GNRC_NETTYPE_IPCP, /**< Protocol is PPP IPCP */ | ||
GNRC_NETTYPE_HDLC, /**< Protocol is HDLC */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need a type for each?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed offline that it stays this way.
Lot's of code beatification needed + I'm not sure if this PR was touched since we last spoke. |
@jia200x ping? |
Hi @miri64 Yes, the modification is still pending. As soon as I can, I will try to make it netdev2 capable. |
I finished the pppdev->netdev2 adaption for sim900. I'm working in a different branch because I need 4 different PR to make it work. I don't have the SIM card adapter for SIM900 atm, so it's not tested. Now I'm working in the gnrc_pppdev_t -> gnrc_netdev2_t adoption. You can follow the development here. |
Mhhhhh... might it make sense to implement the different PPP layers as different layers in #7736? |
@miri64 Makes sense, I will check it with more details :) |
@jia200x did you? |
@miri64 not yet, I will try to find some time to get into this again. |
I really want to push this. It's not in my short term list ;) |
@jia200x I'm trying to rebase the gnrc_ppp, can we discus some of your design choices? |
@maxvankessel sure, this is 2 years old and there are several stuff that can be improved and adapted to RIOT changes |
I'm not quite familiar the the gnrc stack. So correct me if I'm wrong.
|
We can have a voice chat or emails if you want to clarify these components. |
@maxvankessel just checked your code and the pppos approach seems to be really appropiate. What do you think? |
@jia200x That would be nice. I hope the HDLC layer within PPPoS works oké, was kinda hard to test without making some custom scripts to test it. I'm still finding a way to "inherit" the PPPoS into a modem layer, and be able to switch from data mode to command mode, retrieve IP address, etc. |
@jia200x I've rebased it to netif, still needs a lot of cleanup. Some routines can be made a lot more efficient. I do think the chosen signaling method between layers through messages is not ideal. Can you verify the working of the modules? I've tested in on native with an development kit from Qquectel (M95) |
@maxvankessel sure! I'm busy until Tuesday, but I will give it a look then ;) |
@maxvankessel I checked the update_gnrc_ppp branch. Have you tested it? Does it work? Are you in for a remote meeting? I think it will be the fastest way to proceed. |
I've tested the negotiation with my modem driver. And I got it to work, needed some minor changes because of the extra lcp header I did add. Still I didn't send any data, as you could see the netif send it still send ppp data instead of ip packages encapsulated in ppp frames. I'm in contact with Quectel (for my job) and with a local provider to see if we can enable ipv6, already made a ipv6cp. Otherwise we can use SLiRP, I think it would support it. The next step is making it more rigged, I think the messaging makes it unnecessary complex. I would like to build a different variant based on your code which doesn't need this messaging. I'm in for a remote meeting. Can you make a proposal? Medium wise and date time. |
At least for IPv4, I provided the IP encapsulation for IPCP. For IPv6CP is slightly different, but could be used as a reference.
Sure. Sounds like a good plan
Does July 4th (next monday) at 11 am work for you? Via Jitsi at https://jitsi.tools.ietf.org/gnrc_ppp |
I meant June |
Are we ok with closing this? Appearently there are replacements now (which are also staled, but this is besides the point) |
For PPP? I think there's some work in the adoption layers, but not in the stack. |
Ok, then I closed as archived. |
Hi.
I'm PR the implementation of GNRC PPP.