<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 27, 2020 at 7:42 AM Bjørn Mork <<a href="mailto:bjorn@mork.no">bjorn@mork.no</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Jeonghum Joh <<a href="mailto:oosaprogrammer@gmail.com" target="_blank">oosaprogrammer@gmail.com</a>> writes:<br>
<br>
> I am porting a 5G/LTE modem into OpenWRT.<br>
<br>
Follow the instructions for LTE modems. A 5G modem is pretty much the<br>
same wrt drivers and basic management. At least for Qualcomm based<br>
modems on a USB bus. Have no experience with anything else. The Intel<br>
and Huawei modems are competely unknown to me, and most likely<br>
unsupported for the forseeable future. And I'm also blank on the magic<br>
of Qualcomms PCIe interface. Qualcomm did work on a driver, but it's<br>
been a long time since I saw any update on that. I guess no one cares<br>
enough. SuperSpeed USB is fine for most users for now.<br>
<br>
Anyway, several X55 based modems are already supported out of the box in<br>
OpenWrt master. There is no need to reinvent the wheel if you are using<br>
one of those.<br>
<br>
You may obviously decide to implement your own alternative solutions,<br>
like using some vendor software. But that will limit the user community<br>
severely. At least until the solution attracts more users. And<br>
community support depends on users, which I believe is something you<br>
should consider since you have ended up in this forum. You are unlikely<br>
to find anyone here who have any experience with your particular vendor<br>
software version.<br>
<br>
Personally, I am happy to give advice about anything regardless of<br>
experience. But the quality of that advice is probably a tiny bit<br>
better when it is based on something I've tried myself. Or maybe not?<br>
Is probably bad in any case.<br>
<br>
<br>
Bjørn<br><br></blockquote><div><br></div><div>@Jeonghum Joh</div><div><br></div><div>If you decide to use the connection management software that the vendor supplied, you'll want to integrate it into Netifd and Hotplug.d to ensure appropriate cross communication with things in the OpenWRT system.</div><div><br></div><div>Please look at this file to see an example of how that is done: <a href="https://github.com/openwrt/packages/blob/master/net/modemmanager/files/modemmanager.proto">https://github.com/openwrt/packages/blob/master/net/modemmanager/files/modemmanager.proto</a> There's a whole rabbit hole that you can follow on this topic to get every detail right, but it's probably sufficient for your purposes to get the high level details, and then let the OpenWRT stack take care of the rest.</div></div></div>