[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4b74bb1d92b9e9351bc504d18f96116b@codeaurora.org>
Date: Sat, 09 Jun 2018 11:55:22 -0600
From: Subash Abhinov Kasiviswanathan <subashab@...eaurora.org>
To: Daniele Palmas <dnlplm@...il.com>
Cc: Bjørn Mork <bjorn@...k.no>,
Dan Williams <dcbw@...hat.com>, netdev@...r.kernel.org
Subject: Re: Qualcomm rmnet driver and qmi_wwan
> thanks, I will test it on Monday.
>
> Just a question for my knowledge: is the new sysfs attribute really
> needed? I mean, is there not any other way to understand from qmi_wwan
> without user intervention that there is the rmnet device attached?
>
> Regards,
> Daniele
>
Hi Daniele
You can check for the rx_handler attached to qmi_wwan dev and see if it
belongs to rmnet. You can use the attached patch for it but it think the
sysfs way might be a bit cleaner.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
View attachment "0001-net-qmi_wwan-Allow-packets-to-pass-through-to-rmnet.patch" of type "text/x-diff" (3460 bytes)
Powered by blists - more mailing lists