Thread (45 messages) 45 messages, 3 authors, 2022-04-05

Re: [PATCH net-next v5 06/13] net: wwan: t7xx: Add AT and MBIM WWAN ports

From: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Date: 2022-02-25 12:23:30
Also in: linux-wireless

On Wed, 23 Feb 2022, Ricardo Martinez wrote:
From: Chandrashekar Devegowda <chandrashekar.devegowda@intel.com>

Adds AT and MBIM ports to the port proxy infrastructure.
The initialization method is responsible for creating the corresponding
ports using the WWAN framework infrastructure. The implemented WWAN port
operations are start, stop, and TX.

Signed-off-by: Chandrashekar Devegowda <chandrashekar.devegowda@intel.com>
Co-developed-by: Ricardo Martinez <ricardo.martinez@linux.intel.com>
Signed-off-by: Ricardo Martinez <ricardo.martinez@linux.intel.com>
quoted
From a WWAN framework perspective:
Reviewed-by: Loic Poulain <redacted>
---
+static int t7xx_port_ctrl_tx(struct wwan_port *port, struct sk_buff *skb)
+{
...
+	if (!len || !port_private->rx_length_th || !port_private->chan_enable)
It raises eyebrows to see rx_xx being used on something called "tx".
Is it trying to tests port not inited?


-- 
 i.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help