[PATCH] net: wwan: mhi: Add network support for Foxconn T99W760

Slark Xiao posted 1 patch 1 week, 5 days ago
drivers/net/wwan/mhi_wwan_mbim.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[PATCH] net: wwan: mhi: Add network support for Foxconn T99W760
Posted by Slark Xiao 1 week, 5 days ago
T99W760 is designed based on Qualcomm SDX35 chip. It use similar
architecture with SDX72/SDX75 chip. So we need to assign initial
link id for this device to make sure network available.

Signed-off-by: Slark Xiao <slark_xiao@163.com>
---
 drivers/net/wwan/mhi_wwan_mbim.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/wwan/mhi_wwan_mbim.c b/drivers/net/wwan/mhi_wwan_mbim.c
index c814fbd756a1..a142af59a91f 100644
--- a/drivers/net/wwan/mhi_wwan_mbim.c
+++ b/drivers/net/wwan/mhi_wwan_mbim.c
@@ -98,7 +98,8 @@ static struct mhi_mbim_link *mhi_mbim_get_link_rcu(struct mhi_mbim_context *mbim
 static int mhi_mbim_get_link_mux_id(struct mhi_controller *cntrl)
 {
 	if (strcmp(cntrl->name, "foxconn-dw5934e") == 0 ||
-	    strcmp(cntrl->name, "foxconn-t99w515") == 0)
+	    strcmp(cntrl->name, "foxconn-t99w515") == 0 ||
+	    strcmp(cntrl->name, "foxconn-t99w760") == 0)
 		return WDS_BIND_MUX_DATA_PORT_MUX_ID;
 
 	return 0;
-- 
2.25.1
Re: [PATCH] net: wwan: mhi: Add network support for Foxconn T99W760
Posted by Loic Poulain 1 week, 5 days ago
Hi Slark,

On Wed, Nov 19, 2025 at 4:41 AM Slark Xiao <slark_xiao@163.com> wrote:
>
> T99W760 is designed based on Qualcomm SDX35 chip. It use similar
> architecture with SDX72/SDX75 chip. So we need to assign initial
> link id for this device to make sure network available.
>
> Signed-off-by: Slark Xiao <slark_xiao@163.com>

It should be in the same series as the patch introducing Foxconn
T99W760 into MHI/PCI driver.

Regards,
Loic


> ---
>  drivers/net/wwan/mhi_wwan_mbim.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/net/wwan/mhi_wwan_mbim.c b/drivers/net/wwan/mhi_wwan_mbim.c
> index c814fbd756a1..a142af59a91f 100644
> --- a/drivers/net/wwan/mhi_wwan_mbim.c
> +++ b/drivers/net/wwan/mhi_wwan_mbim.c
> @@ -98,7 +98,8 @@ static struct mhi_mbim_link *mhi_mbim_get_link_rcu(struct mhi_mbim_context *mbim
>  static int mhi_mbim_get_link_mux_id(struct mhi_controller *cntrl)
>  {
>         if (strcmp(cntrl->name, "foxconn-dw5934e") == 0 ||
> -           strcmp(cntrl->name, "foxconn-t99w515") == 0)
> +           strcmp(cntrl->name, "foxconn-t99w515") == 0 ||
> +           strcmp(cntrl->name, "foxconn-t99w760") == 0)
>                 return WDS_BIND_MUX_DATA_PORT_MUX_ID;
>
>         return 0;
> --
> 2.25.1
>
Re:Re: [PATCH] net: wwan: mhi: Add network support for Foxconn T99W760
Posted by Slark Xiao 1 week, 5 days ago
At 2025-11-19 16:18:26, "Loic Poulain" <loic.poulain@oss.qualcomm.com> wrote:
>Hi Slark,
>
>On Wed, Nov 19, 2025 at 4:41 AM Slark Xiao <slark_xiao@163.com> wrote:
>>
>> T99W760 is designed based on Qualcomm SDX35 chip. It use similar
>> architecture with SDX72/SDX75 chip. So we need to assign initial
>> link id for this device to make sure network available.
>>
>> Signed-off-by: Slark Xiao <slark_xiao@163.com>
>
>It should be in the same series as the patch introducing Foxconn
>T99W760 into MHI/PCI driver.
>
>Regards,
>Loic
>
Okay, I will send it again. And I will add  you and Mani together.
>
>> ---
>>  drivers/net/wwan/mhi_wwan_mbim.c | 3 ++-
>>  1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/net/wwan/mhi_wwan_mbim.c b/drivers/net/wwan/mhi_wwan_mbim.c
>> index c814fbd756a1..a142af59a91f 100644
>> --- a/drivers/net/wwan/mhi_wwan_mbim.c
>> +++ b/drivers/net/wwan/mhi_wwan_mbim.c
>> @@ -98,7 +98,8 @@ static struct mhi_mbim_link *mhi_mbim_get_link_rcu(struct mhi_mbim_context *mbim
>>  static int mhi_mbim_get_link_mux_id(struct mhi_controller *cntrl)
>>  {
>>         if (strcmp(cntrl->name, "foxconn-dw5934e") == 0 ||
>> -           strcmp(cntrl->name, "foxconn-t99w515") == 0)
>> +           strcmp(cntrl->name, "foxconn-t99w515") == 0 ||
>> +           strcmp(cntrl->name, "foxconn-t99w760") == 0)
>>                 return WDS_BIND_MUX_DATA_PORT_MUX_ID;
>>
>>         return 0;
>> --
>> 2.25.1
>>