Netgear Aircard 341U in QMI mode, switching to 802.3

Markus Gothe nietzsche at lysator.liu.se
Fri Jun 5 16:45:22 PDT 2015


The ugly duckling of Sprint? Yeah it behaves like the Sprint 770S I guess... Seems like Netgear management decided to default to raw-ip after taking over from Sierra Wireless, the same happened with last fw for 340U. I am still unsure if it needed WDA or if CTL did the job.

//Markus - Now with a new panama-hat for the season.

Den 5 jun 2015 20:03 skrev Aleksander Morgado <aleksander at aleksander.es>:
>
> Hey,
>
> This device has multiple firmware versions, one of them QMI based.
>
> Interestingly the device always boots up with the wwan in raw-ip mode,
> and using CTL Set Data Format to 802.3 *never* succeeds...
>
> # qmicli -d /dev/cdc-wdm0 --dms-noop
> --device-open-net="net-802-3|net-no-qos-header" --verbose
>
> The CTL Set Data format either returns SUCCESS but with "raw-ip" in
> the Protocol TLV (i.e. it didn't change anything) or otherwise it
> returns an error.
>
> In order to switch the wwan to 802.3 you can use --wda-set-data-format:
>
> # qmicli -d /dev/cdc-wdm0 --wda-get-data-format
> [/dev/cdc-wdm0] Successfully got data format
>                    QoS flow header: no
>                Link layer protocol: 'raw-ip'
>   Uplink data aggregation protocol: 'disabled'
> Downlink data aggregation protocol: 'disabled'
>                      NDP signature: '0'
>   Uplink data aggregation max size: '0'
> Downlink data aggregation max size: '0'
>
> # qmicli -d /dev/cdc-wdm0 --dms-noop
> --device-open-net="net-802-3|net-no-qos-header"
> (success returned, but didn't really work as we can see in the next command)
>
> # qmicli -d /dev/cdc-wdm0 --wda-get-data-format
> [/dev/cdc-wdm0] Successfully got data format
>                    QoS flow header: no
>                Link layer protocol: 'raw-ip'
>   Uplink data aggregation protocol: 'disabled'
> Downlink data aggregation protocol: 'disabled'
>                      NDP signature: '0'
>   Uplink data aggregation max size: '0'
> Downlink data aggregation max size: '0'
>
> # qmicli -d /dev/cdc-wdm0 --wda-set-data-format=802-3
> [/dev/cdc-wdm0] Successfully set data format
>                         QoS flow header: no
>                     Link layer protocol: '802-3'
> <--------------------------------
>        Uplink data aggregation protocol: 'disabled'
>      Downlink data aggregation protocol: 'disabled'
>                           NDP signature: '0'
> Downlink data aggregation max datagrams: '0'
>      Downlink data aggregation max size: '0'
>
> We need to handle this in ModemManager automatically...
>
> -- 
> Aleksander
> https://aleksander.es
> _______________________________________________
> libqmi-devel mailing list
> libqmi-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libqmi-devel


More information about the libqmi-devel mailing list