WDS Bind Mux Port?

Reinhard Speyerer rspmn at arcor.de
Tue Jan 10 21:48:26 UTC 2017


On Tue, Jan 10, 2017 at 03:32:44PM +0100, Daniele Palmas wrote:
> Hi Aleksander,
> 
> 2017-01-10 15:12 GMT+01:00 Aleksander Morgado <aleksander at aleksander.es>:
> > Hey,
> >
> > I've noticed a "WDS Bind Mux Port" operation (WDS 0x00a2)  in the
> > latest gobinet sources from qualcomm:
> > https://source.codeaurora.org/patches/quic/gobi/Gobi_Linux/GobiNet_2016-10-20.tar.gz
> >
> > Any idea what that is about?
> 
> from a high level perspective, this has been probably done to support
> multiple ip data sessions with virtual multiplexed network devices,
> but currently I don't have more details.
> 

Hi Aleksander and Daniele,

from looking at commit
https://portland.source.codeaurora.org/quic/qsdk/oss/lklm/gobinet/commit/GobiNet?id=6effcb052f0320bf32b44409f09643d548578e6b
("gobinet: Added support for QMAP with aggregation")
"WDS Bind Mux Port" seems to be used together with additional WDASetDataFormat
TLVs 0x12, ..., 0x17.

>From a quick check with a Huawei ME909u (MDM9215) running in QMI mode

  $ sqmuxdqwa -p 4200 /dev/cdc-wdm0 &
  [2] 2084
  $ +OK sqmuxdqwa 1.34 (Kleinkunst) connected to /dev/cdc-wdm0, QMI service(s) 0:1.5,1:1.36,2:1.14,3:1.25,4:1.3,5:1.10,7:1.2,8:1.2,9:2.1,10:2.16,11:1.25,12:1.4,15:1.0,16:2.0,17:1.0,18:1.0,23:1.0,24:1.0,26:1.10,29:1.0,30:1.0,31:1.0,33:1.0,34:1.0,41:1.0,42:1.0,227:0.0,229:0.0, listen port 4200
  $ gobicmapicli -g $GOBICMAPISO SOCKET:TCP:127.0.0.1:4200,0 1 2 3 5 7 9 26
  +OK gobicmapicli 2.18 connected to SOCKET:TCP:127.0.0.1:4200,0, QMI service(s) 1,2,3,5,7,9,26
  WDAGetDataFormat 3000
  +OK 020400000000001001000011040001000000120400000000001304000000000014040000000000150400000000001604000000000019040001000000
  WDASetDataFormat 3000 1001000011040002000000120400050000001304000500000015040020000000160400008000001708000300000002000000
  +OK 020400000000001001000011040002000000120400000000001304000000000014040000000000150400200000001604000000000019040001000000
  WDAGetDataFormat 3000
  +OK 020400000000001001000011040002000000120400000000001304000000000014040000000000150400000000001604000000000019040001000000
  quit
  +OK Bye

it seems that the firmware lacks support for this feature as only the setting
of TLV 0x11 is honored. Perhaps this feature is only available in firmwares
for newer Qualcomm chipset?

Regards,
Reinhard


More information about the libqmi-devel mailing list