bus: mhi: pci_generic: T99W175: update channel name from AT to DUN
Subsystems (2)
PATCH 1/1 bus: mhi: pci_generic: T99W175: update channel name from AT to DUN
According to MHI v1.1 specification, change the channel name of T99W175 from "AT" to "DUN" (Dial-up networking) for both channel 32 and 33, so that the channels can be bound to the Qcom WWAN control driver, and device node such as /dev/wwan0p3AT will be generated, which is very useful for debugging modem
--- drivers/bus/mhi/pci_generic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/bus/mhi/pci_generic.c +2 -2
@@ -311,8 +311,8 @@ static const struct mhi_channel_config mhi_foxconn_sdx55_channels[] = {MHI_CHANNEL_CONFIG_DL (5 ,"DIAG" ,32 ,1 ),MHI_CHANNEL_CONFIG_UL (12 ,"MBIM" ,32 ,0 ),MHI_CHANNEL_CONFIG_DL (13 ,"MBIM" ,32 ,0 ), -MHI_CHANNEL_CONFIG_UL (32 ,"AT" ,32 ,0 ), -MHI_CHANNEL_CONFIG_DL (33 ,"AT" ,32 ,0 ), +MHI_CHANNEL_CONFIG_UL (32 ,"DUN" ,32 ,0 ), +MHI_CHANNEL_CONFIG_DL (33 ,"DUN" ,32 ,0 ),MHI_CHANNEL_CONFIG_HW_UL (100 ,"IP_HW0_MBIM" ,128 ,2 ), MHI_CHANNEL_CONFIG_HW_DL(101, "IP_HW0_MBIM", 128, 3), };
Signature · 1 line
2.25.1
Quoted 8 lines · Jarvis Jiang
According to MHI v1.1 specification, change the channel name of T99W175 from "AT" to "DUN" (Dial-up networking) for both channel 32 and 33, so that the channels can be bound to the Qcom WWAN control driver, and device node such as
/dev/wwan0p3ATwill be generated, which is very useful for debugging modemSigned-off-by Jarvis Jiang <[email protected]>
Ok, it seems the spec claims it's a DUN channel, but all vendors use it for AT protocol, so it's fine (and correctly handled by the mhi_wwan_ctrl driver).
Could you please add a Fixes tag since it fixes your previous commit?
with that
Quoted 22 lines
--- drivers/bus/mhi/pci_generic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/bus/mhi/pci_generic.c +2
-3@@ -311,8 +311,8 @@ static const struct mhi_channel_config mhi_foxconn_sdx55_channels[] = {MHI_CHANNEL_CONFIG_DL (5 ,"DIAG" ,32 ,1 ),MHI_CHANNEL_CONFIG_UL (12 ,"MBIM" ,32 ,0 ),MHI_CHANNEL_CONFIG_DL (13 ,"MBIM" ,32 ,0 ), -MHI_CHANNEL_CONFIG_UL (32 ,"AT" ,32 ,0 ), -MHI_CHANNEL_CONFIG_DL (33 ,"AT" ,32 ,0 ), +MHI_CHANNEL_CONFIG_UL (32 ,"DUN" ,32 ,0 ), +MHI_CHANNEL_CONFIG_DL (33 ,"DUN" ,32 ,0 ),MHI_CHANNEL_CONFIG_HW_UL (100 ,"IP_HW0_MBIM" ,128 ,2 ), MHI_CHANNEL_CONFIG_HW_DL(101, "IP_HW0_MBIM", 128, 3), }; --2.25.1
Quoted 9 lines · Loic Poulain
Quoted 7 lines · Jarvis Jiang
According to MHI v1.1 specification, change the channel name of T99W175 from "AT" to "DUN" (Dial-up networking) for both channel 32 and 33, so that the channels can be bound to the Qcom WWAN control driver, and device node such as
/dev/wwan0p3ATwill be generated, which is very useful for debugging modem
Quoted 8 lines
Quoted 1 line
Signed-off-by Jarvis Jiang <[email protected]>Ok, it seems the spec claims it's a DUN channel, but all vendors use it for AT protocol, so it's fine (and correctly handled by the
mhi_wwan_ctrldriver).Could you please add a Fixes tag since it fixes your previous commit?
Sure, I will add it in the next patch.
thanks,
Jarvis
Quoted 28 lines
with that
Reviewed-by Loic Poulain <[email protected]>Quoted 22 lines
--- drivers/bus/mhi/pci_generic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/bus/mhi/pci_generic.c +2
-3@@ -311,8 +311,8 @@ static const struct mhi_channel_config mhi_foxconn_sdx55_channels[] = {MHI_CHANNEL_CONFIG_DL (5 ,"DIAG" ,32 ,1 ),MHI_CHANNEL_CONFIG_UL (12 ,"MBIM" ,32 ,0 ),MHI_CHANNEL_CONFIG_DL (13 ,"MBIM" ,32 ,0 ), -MHI_CHANNEL_CONFIG_UL (32 ,"AT" ,32 ,0 ), -MHI_CHANNEL_CONFIG_DL (33 ,"AT" ,32 ,0 ), +MHI_CHANNEL_CONFIG_UL (32 ,"DUN" ,32 ,0 ), +MHI_CHANNEL_CONFIG_DL (33 ,"DUN" ,32 ,0 ),MHI_CHANNEL_CONFIG_HW_UL (100 ,"IP_HW0_MBIM" ,128 ,2 ), MHI_CHANNEL_CONFIG_HW_DL(101, "IP_HW0_MBIM", 128, 3), }; --2.25.1