Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | build: update copyright years | Aleksander Morgado | 2017-02-10 | 1 | -2/+2 |
| | |||||
* | utils,swi-update: fix image length check in download_image() | Ben Chan | 2017-02-06 | 1 | -2/+2 |
| | | | | | | This patch fixes the image length check in download_image(). The check 'if (filelen < 0)' in download_image() is always false as 'filelen' is a size_t and thus unsigned value. The check is effectively bypassed. | ||||
* | utils,swi-update: fix building with musl-libc | Stuart Cardall | 2017-01-31 | 1 | -0/+1 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=99495 | ||||
* | utils,swi-update: untabify | Aleksander Morgado | 2017-01-20 | 1 | -603/+603 |
| | |||||
* | utils,swi-update: don't ignore write() return | Aleksander Morgado | 2017-01-20 | 1 | -3/+8 |
| | | | | | | | | | | | | swi-update.c: In function ‘download_image’: swi-update.c:846:8: error: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Werror=unused-result] write(serfd, buf, rlen); ^ swi-update.c: In function ‘write_hdlc’: swi-update.c:704:8: error: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Werror=unused-result] write(fd, wbuf, wlen); ^ cc1: all warnings being treated as errors | ||||
* | utils,swi-update: fix build error when DEBUG not defined | Aleksander Morgado | 2017-01-16 | 1 | -2/+0 |
| | | | | | | | swi-update.c: In function ‘download_image’: swi-update.c:838:8: error: ‘debug’ undeclared (first use in this function) if (!debug) ^~~~~ | ||||
* | utils/swi-update: avoid shadowing global variable | Aleksander Morgado | 2017-01-16 | 1 | -10/+10 |
| | | | | | | | | | | swi-update.c: In function ‘parse_sdp_hello’: swi-update.c:506:7: error: declaration of ‘buf’ shadows a global declaration [-Werror=shadow] char buf[sizeof(*r) + sizeof(__u16)]; ^~~ swi-update.c:75:14: note: shadowed declaration is here static char *buf = NULL; ^~~ | ||||
* | utils,swi-update: include in build | Aleksander Morgado | 2017-01-16 | 1 | -0/+1 |
| | |||||
* | utils,swi-update: add license in header and use unix EOL | Aleksander Morgado | 2017-01-16 | 1 | -982/+997 |
| | |||||
* | utils,swi-update: new tool to update QMI firmware | Aleksander Morgado | 2017-01-16 | 1 | -0/+982 |
| | | | | From: Bjørn Mork <bjorn@mork.no> | ||||
* | qmi-network: avoid more bashisms when comparing strings | Aleksander Morgado | 2016-06-30 | 1 | -1/+1 |
| | |||||
* | qmi-network: avoid bashisms when checking arguments | Aleksander Morgado | 2016-06-19 | 1 | -1/+1 |
| | |||||
* | qmi-network: don't explicitly quote start network argument | Aleksander Morgado | 2016-03-04 | 1 | -1/+1 |
| | |||||
* | qmi-network: support APN user/password | Aleksander Morgado | 2016-03-04 | 1 | -4/+29 |
| | |||||
* | qmi-network: update checks of variable contents | Aleksander Morgado | 2016-03-04 | 1 | -28/+28 |
| | | | | Use -z and -n consistently. | ||||
* | trivial: whitespace fixes | Dan Williams | 2016-03-03 | 1 | -288/+288 |
| | |||||
* | qmi-network: if kernel allows updating LLP, prefer device-reported LLP | Aleksander Morgado | 2016-01-24 | 1 | -37/+90 |
| | | | | | | In new kernels, updating expected LLP is a valid operation. If so, we prefer changing the expected LLP in the kernel instead of in the device, because new chipsets like the MC7455 only do raw-ip. | ||||
* | qmi-network: fix indentation | Aleksander Morgado | 2015-12-29 | 1 | -13/+13 |
| | |||||
* | qmi-network: update it to work with more than one device | Aleksander Morgado | 2015-08-02 | 1 | -15/+58 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This update includes two main changes: * The internal state file generated in /tmp is now named according to the cdc-wdm control port in use; e.g. /tmp/qmi-network-state-cdc-wdm0 * A new --profile option is included, which allows specifying a custom path from where to read the profile information. After this change, qmi-network may be called for different modems in the same machine just providing a different profile path (if needed), or even reusing the same one if both modems need the same configuration. E.g.: $ qmi-network --profile=/path/to/one.conf /dev/cdc-wdm1 start $ qmi-network --profile=/path/to/two.conf /dev/cdc-wdm2 start At any moment, you can know the WWAN interface associated to each /dev/cdc-wdm port using either qmicli, e.g.: $ qmicli -d /dev/cdc-wdm1 --get-wwan-iface wwp0s29u1u6i8 $ qmicli -d /dev/cdc-wdm2 --get-wwan-iface wwp0s29u1u6i10 Or, otherwise directly from sysfs: $ ls /sys/class/usbmisc/cdc-wdm1/device/net wwp0s29u1u6i8 $ ls /sys/class/usbmisc/cdc-wdm2/device/net wwp0s29u1u6i10 | ||||
* | qmi-network: fix indentation | Aleksander Morgado | 2015-02-26 | 1 | -7/+7 |
| | |||||
* | qmi-network: try to update LLP before connecting if the wrong one found | Aleksander Morgado | 2015-02-26 | 1 | -0/+48 |
| | |||||
* | qmi-network: add missing proxy option when stopping network | Aleksander Morgado | 2015-02-26 | 1 | -1/+1 |
| | |||||
* | qmi-network: allow running with the qmi-proxy | Aleksander Morgado | 2015-02-23 | 1 | -5/+21 |
| | | | | | | | The qmi-proxy setup will be used by default if the profile has the following setting: PROXY=yes | ||||
* | qmi-network: improved --help output with more detailed information | Aleksander Morgado | 2015-02-23 | 1 | -3/+23 |
| | |||||
* | Fix bashism, as the script uses "sh", not "bash". | Marius B. Kotsbak | 2014-12-30 | 1 | -2/+2 |
| | | | | See downstream bug report https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772328 | ||||
* | qmi-network: fix bashisms | Aleksander Morgado | 2014-12-08 | 1 | -2/+2 |
| | | | | | Equivalent to the fix done in mbim-network, see: https://bugs.freedesktop.org/show_bug.cgi?id=87093 | ||||
* | qmi-network: use dot instead of 'source' to load the profiles | Aleksander Morgado | 2013-09-13 | 1 | -2/+2 |
| | | | | | | | | The qmi-network script doesn't work properly because it uses a bash-specific "source" command. In Ubuntu, /bin/sh is dash. The solution is to just change "source" to a dot, which is the proper way to do a "source" in POSIX sh. Bug report and original fix by Heath Kehoe <heath@digitalartefacts.com> | ||||
* | qmi-network: implement --help and --version | Aleksander Morgado | 2013-09-13 | 2 | -2/+43 |
| | |||||
* | utils,qmi-network: program is GPLv2+ | Aleksander Morgado | 2013-08-14 | 1 | -1/+2 |
| | |||||
* | qmi-network: Fix grabbing output from lines with spaces | Shawn J. Goff | 2013-02-15 | 1 | -3/+3 |
| | | | | | | | | | The qmi-network script used awk with a field separator of ":". The output looked like key: 'value'. The second field in this case includes a space at the beginning. This was making the 'status' command fail. Now, we account for the space. It is now also not dependent on awk (this can matter on embedded systems). | ||||
* | qmi-codegen python3: fix dict.has_key('key') to 'key' in dict | Shawn J. Goff | 2012-12-17 | 2 | -2/+2 |
| | | | | | | | Python 3 no longer supports the has_key() method. sed regex: s/\([^ ]\+\)\.has_key(\([^)]*\))/\2 in \1/g | ||||
* | cli,qmi-network: `--start-network' now requires the APN passed as a string | Aleksander Morgado | 2012-08-23 | 1 | -1/+17 |
| | |||||
* | qmi-network: add missing copyright header | Aleksander Morgado | 2012-07-03 | 1 | -0/+15 |
| | |||||
* | qmi-network: avoid double brackets on if statements | Aleksander Morgado | 2012-07-03 | 1 | -7/+7 |
| | |||||
* | qmi-network: don't issue error if clearing already cleared state | Aleksander Morgado | 2012-07-03 | 1 | -1/+1 |
| | |||||
* | qmi-network: if network start fails, release CID | Aleksander Morgado | 2012-07-03 | 1 | -0/+3 |
| | |||||
* | qmi-network: stopping while already stopped won't issue an error | Aleksander Morgado | 2012-07-03 | 1 | -17/+15 |
| | |||||
* | utils,qmi-network: try to use /bin/sh instead of /bin/bash | Aleksander Morgado | 2012-07-03 | 1 | -1/+1 |
| | |||||
* | utils,qmi-network: always compare strings in if() conditions | Aleksander Morgado | 2012-07-03 | 1 | -3/+3 |
| | |||||
* | utils: new `qmi-network' script which helps starting/stopping the network | Aleksander Morgado | 2012-07-03 | 2 | -0/+198 |
| | |||||
* | core: moved Gobi API sources and utils to their own subdirectories | Aleksander Morgado | 2012-07-03 | 7 | -0/+1699 |