Skip to content
Permalink
Branch: 19.10-release
Commits on Sep 19, 2019
  1. [tiwifi] Improve logging info for tiwifi

    Kevin Liu
    Kevin Liu committed Sep 19, 2019
    Added additional printout statements to provide more info about
    tiwifi execution flow at boot time.
    
    Also degraded some logging message from error to warning as they
    may create false alarm.
    
    Resolves: LE-13531
    Related: LXSWIREF-1540 LE-12379
    Change-Id: I4603cc23a4f7f583bbc64ccfdb468401bed01e42
    Signed-off-by: Kevin Liu <keliu@sierrawireless.com>
Commits on Sep 12, 2019
  1. Introduce wifi.sinc and wifi_samples.sinc

    dpfrey committed Sep 11, 2019
    Introduce wifi.sinc as a building block for user SDEFs that require WiFi
    functionality. This has the advantage of allowing the user to include
    WiFi support into their own SDEF without forcing them to pull in all of
    Legato's default.sdef the way the previous wifi.sdef did. Also introduce
    wifi_samples.sinc which just includes the wifi sample apps. wifi.sdef
    has been re-written in terms of these new .sinc files.
    
    Resolves: LE-8695
    Change-Id: I6a33ce4a718dc2a290ae8853434958a7e12399c2
Commits on Jul 5, 2019
  1. Terminate wpa_supplicant if it is still running in wifi client stop c…

    kevincaocanada committed Jul 5, 2019
    …ommand
    
    Resolves: LE-13151
    Change-Id: Id659665b802fc9765ea76426310d8b9a8dd59444
Commits on May 22, 2019
  1. Add supporting QCA9377 WiFi chipset in Legato

    kevincaocanada committed May 7, 2019
    Modifications:
        1: Add platform adapter code to support QCA9377 WiFi chipset
        2: Change channel data type to support larger channel number used in IEEE802.11a mode
        3: Reorder WiFi hardware start and event monitoring thread creation. QCA9377 WiFi
           driver needs the new order
    
    Resolves: LE-12704
    
    Change-Id: I95c7f05112ac730d889f5dc83e96ab3bc2d34f64
Commits on May 21, 2019
  1. Fix the problem that WiFi connection can not be established with

    kevincaocanada committed May 21, 2019
    security protocol WPA2-EAP
    
    Add key_mgmt type and eap type since default setting does not work.
    
    Write the common part and the security protocol part to
    wpa_supplicant.conf separately for easier debug.
    
    Resolves: LE-12874
    Change-Id: Ib11fc0113fd17f1b698e6cbb9f4933e0de6a5d3f
Commits on May 17, 2019
  1. Keep pa_wifiClient_AddEventHandler() registered in le_wifiClient.c

    kevincaocanada committed May 17, 2019
    To support the backward compatibility, pa_wifiClient_AddEventHandler()
    should be registered in le_wifiClient.c
    
    Resolves: LE-12865
    Change-Id: I7411d28d1f8071ae0c5194e9c1f4851a4a045e80
Commits on May 3, 2019
  1. Revise the usage of wifi PA path

    nushcone committed May 3, 2019
    The LEGATO_WIFI_PA is currently used to specify the exact PA to use
    (e.g. 'ti' in the default case). However, this variable should allow
    users to specify a full path to their own wifi PA implementation and
    override ours.
    
    Resolves: LE-12784
    Change-Id: Ie2694d974ac6a91fe39acf61fc344778ea535b98
Commits on May 2, 2019
  1. Use safe string copy/append functions

    CoRfr committed May 1, 2019
    This fixes the build with 8.3.0.
    
    In LE_WIFICLIENT_SECURITY_WPA_EAP_PEAP0_ENTERPRISE case, it seems
    that identity and password could be truncated.
    
    Resolves: LE-12749
    Change-Id: I00f550d7eaf0ab548c672501c502d88957fd08ca
  2. Call reset function when specific exit code is returned from wifi sta…

    kevincaocanada committed Apr 26, 2019
    …rt script
    
    Resolves: LE-12723
    
    Change-Id: I7da2185e287468651ec2c9f59f0b276421224a36
Commits on Apr 24, 2019
  1. Add new wifi connection handler API to report more information

    kevincaocanada committed Mar 28, 2019
    Issue Description
    1: Ensure all device specific information is moved into platform adapter.
    2: Pull out some common platform adapter codes into common folder
    
    Modifications:
    1: Remove all hard coded WLAN interface in Legato
    2: Add WiFi connection event handler to report connection status,
    WLAN interface name, BSSID of AP, and disconnect cause
    3: Shared PA code is moved to common folder
    4: Change the way to kill iw event thread
    5: Remove the function to generatepsk to reduce overhead
    6: Add more return status of pa_wifiClient_Connect
    7: Refine WiFi connection commands
    8: Add reset mechanism when wifi firmware boot fail
    9: Add disconnect cause (enum type)
    
    Resolves: LE-12118 LE-11677 LE-12487 LE-12255 LE-12525 LE-11776
    Change-Id: Ibccc27d60e3f98059216a704918ad120afd46851
Commits on Apr 8, 2019
  1. Fix string handling warnings from GCC 8.2.

    Kaz Kylheku authored and CoRfr committed Apr 2, 2019
    * apps/sample/wifiWebAp/wifiWebApComponent/wifiWebAp.c
    (WifiEventHandler, StartWebServer): Here, the issue is that the buffer
    used for formatting a time is of the same size (BUF_SIZE) as a buffer
    which receives that time via a larger format string. GCC informs us that
    we're trying to stick a string that might be to BUF_SIZE-1 characters
    long into a formatted content that is itself confined to BUF_SIZE.
    Since the time is nowhere near BUF_SIZE, the fix for this is to just use
    a small buffer for the time string (that is HH:MM:SS).
    
    * service/platformAdaptor/ti/pa_wifi_ap_ti.c (pa_wifiap_SetPassPhrase):
    Replace strncpy and null termination steps with le_utf8_Copy based on
    the destination buffer size.
    
    Resolves: LE-12273
    Change-Id: I616a43fb5654e1ab997999ea99c944e1fd8ecade
Commits on Apr 2, 2019
  1. Correct a typo in a debug message in wifiClient's TI platform adaptor

    Andrew Au Andrew Au
    Andrew Au authored and Andrew Au committed Apr 2, 2019
    Resolves: LE-12527
    Change-Id: Ibeee25cf0926a0d8c851f08b36a530538afbe23d
Commits on Mar 26, 2019
  1. Add new APIs for set/get IEEE 802.11 standards and set country code f…

    kevincaocanada committed Mar 15, 2019
    …or WiFi AP mode
    
    Add API to set IEEE 802.11 standards bit mask
    Add API to get IEEE 802.11 standards bit mask
    Add API to set country code
    Modify the function of setting channel number
    Add related WiFi AP tools
    
    Resolves: LE-10889 LE-12249
    Change-Id: I52a91206eaa31bf72e970dbd2541989e3bc386e5
Commits on Mar 20, 2019
  1. Move Wifi security configs to secStore and complete support for all s…

    Andrew Au Andrew Au
    Andrew Au authored and Andrew Au committed Mar 5, 2019
    …ecurity protocols
    
    This set of 2 code patches seeks to move Wifi security configurations from the config tree
    to secStore to improve confidentiality. It thus also changes the recently added API
    le_wifiClient_LoadSsid() to load security configs from the new secStore item locations.
    Moreover, 4 new wifiClient APIs are implemented for configuring security protocols that
    couldn't be configured before. With these, all the supported protocols including WEP, PSK,
    EAP and open security become configurable and usable, and such feature gap is considered
    sealed.
    
    Resolves: LE-12257 LE-12242
    Change-Id: Iddca11ee9e05f984dcc37ab05dd92723dc9ec9ce
Commits on Mar 15, 2019
  1. Fix the problem that SSID is not updated in scan result

    kevincaocanada committed Mar 14, 2019
    Update SSID and SSID length in every WiFi client scaning
    
    Resolves: LE-12333
    Change-Id: I8893cb0dbd4148167f429ddaf7119ba98679122c
Commits on Mar 9, 2019
  1. Reduce excessive Wifi logs and convert those ERR ones for legitimate …

    Andrew Au Andrew Au
    Andrew Au authored and Andrew Au committed Mar 8, 2019
    …failures to WARN
    
    The wifiService has been generating lots of log messages and some are determined as errors
    causing false alarms, although they are expected & legitimate for cases like where Wifi is
    absent, Wifi can't start due to a wrong driver, etc. This code patch converts some INFO
    logs into DEBUG logs and selective DEBUG logs into WARN ones.
    
    Resolves: LE-12380
    Change-Id: I2119a383b6aaae54aa7db21a687db43e29a7a466
Commits on Feb 21, 2019
  1. Retry time is too long to check the connection status

    kevincaocanada committed Dec 6, 2018
    Reduce retries times from 25 to 10
    
    Resolves: LE-11816
    Change-Id: I71bd9e90c19d2f6e73c9c42ceede12da7edd328d
Commits on Feb 18, 2019
  1. Implement DCS Refactoring phase 2's feature code to support Wifi

    Andrew Au Andrew Au
    Andrew Au authored and Andrew Au committed Dec 7, 2018
    This set of code diffs adds the new le_wifiClient_GetSsid() API for DCS to query
    the SSID of the active Wifi connection, and improves some debug printing.
    
    Resolves: LE-11544 LE-11546
    Change-Id: If61767614e18df3d6c1b284c0aa48b2496674703
Commits on Jan 30, 2019
  1. Fix le_WifiClient_Create string length problems

    kevincaocanada authored and CoRfr committed Jan 24, 2019
    - Use ssidLength to generate wpa_supplicant.conf
    
    Resolves: LE-12112
    Change-Id: I3505eb0c03fd066473779ea6f7cf934958bae60f
Commits on Dec 5, 2018
  1. Replace "MangOH" with "mangOH"

    dpfrey committed Dec 5, 2018
    Change-Id: I90bb7b4a22038fdd260fb97d131967685c283cd0
    Resolves: LE-11808
Commits on Nov 13, 2018
  1. [WiFi] Fix connectivity issue through DCS

    oabid committed Oct 30, 2018
    - Update WiFi client tool and integration test
    - Add a unit test for WiFi client
    
    Resolves: LE-11562 LE-11558
    Related: LE-11465
    Change-Id: I115da9d2110da3f83a5dace5b5fc10073be008aa
Commits on Nov 9, 2018
  1. Introduce KConfig for Legato build configuration

    Andrew MacIsaac authored and CoRfr committed Jul 17, 2018
    The KConfig settings subsume a number of disparate settings that were
    previously controlled by various environment variables and preprocessor
    defines.  The legacy environment variables are still used to populate
    the initial values if no configuration is present, however the KConfig
    output has become the single point of truth for these values going
    forward.
    
    The default behaviour of "make" and "make <target>" is preserved.  In
    addition, "make menuconfig" and "make menuconfig_<target>" can be used
    to explicitly change the configuration values.
    
    The largest changes are the addition of the new KConfig files defining
    the options, and extensive modifications to the Makefiles to generate
    and use the configured values.  Most of the rest of the changes are
    modifying preprocessor directives and values to use the new
    configuration names.
    
    Resolves: LE-10145 LE-10147
    Change-Id: I24f0539b4e43df68340dfb184789a81a43871f1a
  2. Revert "[WiFi] Fix connectivity issue through DCS"

    Gilles Raynal
    Gilles Raynal committed Nov 9, 2018
    This reverts commit 637d935.
    
    Change-Id: Id194eb27248a47637e4b27b613bd7fc7fb2b1215
Commits on Oct 31, 2018
  1. [WiFi] Fix connectivity issue through DCS

    oabid committed Oct 30, 2018
    - Remove LE_BUSY and replace it by LE_DUPLICATE when the WiFi device
      is already started.
    - Update WiFi client tool and integration test
    - Add a unit test for WiFi client
    
    Resolves: LE-11465
    Change-Id: I1aa7036f2dcd79c0b57dc2bcc931bbf42b66c43f
Commits on Oct 5, 2018
  1. Do not trigger new scan from le_wifiClient_GetSignalStrength

    CoRfr committed Oct 5, 2018
    The behavior of the API changed and is now triggering a new
    scan instead of returning the result from the last scan.
    
    The new behavior prevents the client from iterating over a
    scan result to get the results.
    
    Resolves: LE-11297
    Change-Id: I8b766ec8cdbb8eca623428e580e337ccaa7acd2c
Commits on Aug 1, 2018
  1. [Wifi] Fix le_wifiClient_GetSignalStrength()

    Eric Charon Eric Charon
    Eric Charon authored and Eric Charon committed Aug 1, 2018
    Before the fix:
    The API returns the signal strength of the access point got with the
    last scan.
    After the fix:
    - The API returns the current signal strength of the access point.
    
    Fix Wifi client tool :
    - exit with appropriate error when launching a scan on wrong access point.
    - Add get signal strength of the access point.
    
    Resolves: LE-10254
    Change-Id: I449f659e0327861ddbe1ccd21f9f3516c0d91223
Commits on Jul 20, 2018
  1. [WIFI] Fix the WIFI client Service tool

    Eric Charon Eric Charon
    Eric Charon authored and Eric Charon committed Jul 20, 2018
    Fix the WIFI client command line regarding the WEPKEY management.
    
    Resolves: LE-10617
    Change-Id: I9a28c9f9ec69a65365c238ce5db36ad068977a18
Commits on Jun 28, 2018
  1. [WIFI] Fix le_wifiClient_GetSignalStrength()

    Eric Charon Eric Charon
    Eric Charon authored and Eric Charon committed Jun 28, 2018
    Fix the return of le_wifiClient_GetSignalStrength() function in case no
    signal is available.
    
    Resolves: LE-10254
    Change-Id: I79fde2f80dac77eab3c5e90008915199e3f45945
Commits on May 22, 2018
  1. Update moduleDefs to use $(TARGET) instead of $(MAKECMDGOALS)

    CoRfr committed May 22, 2018
    New targets are being introduced at the top-level (all_, samples_...)
    and this moduleDefs does not currently support them.
    
    Resolves: LE-9776
    Change-Id: Ib156d05549f3f8888744b4b3dccb45f8ef7c75c7
Commits on May 14, 2018
  1. Fix a buffer overflow in le_wifiClient_GetSsid

    dpfrey authored and CoRfr committed Jan 22, 2018
    Resolves: #2 LE-9970
    Change-Id: I7697bcf283943511b33652925f71f85b104e82b5
Commits on Mar 26, 2018
  1. Exit status WiFi scan not checked for errors

    dclark75 authored and oabid committed Feb 28, 2018
    Updated the WiFi service to check the return code of excuting a WiFi scan and
    returning the status to the client via an event.
    
    Resolves: LE-9739
    Change-Id: I6ad45f242a1c2173bedbf43576a09d1e922f0d5f
Commits on Mar 15, 2018
  1. WiFi Scan with no Results Hangs WiFi Service

    dclark75 committed Feb 28, 2018
    Updated to asynchronously read scan results with a timeout value.
    
    Resolves: LE-9303
    Change-Id: I8206ba3c92e822c5567bc73c7582aa506b318915
  2. Fix WiFi for secure networks

    dclark75 authored and CoRfr committed Feb 27, 2018
    Currently the WiFi service is appending the networking info to a wpa_supplicant
    file /etc/wpa_supplicant.conf which contains an existing network section for
    unsecure networks. This is breaking connecting to a secure AP.
    
    This was resolved by always re-creating the /tmp/wpa_supplicant file from
    scratch and writing the unsecure network section from the PA adaptor code as
    well.
    
    Resolves: LE-9561
    Change-Id: Ifc444c072d6105edccda53bc3e98c17000374329
Commits on Mar 13, 2018
  1. Clean resources when stopping WiFi AP/Client

    oabid committed Mar 13, 2018
    Whether in AP or client mode, a thread to monitor WiFi events
    is created. This thread is not destroyed properly when WiFi is
    stopped which leads to several instances of a script running in
    background. This has been fixed in addition of a code clean up.
    
    Resolves: LE-9614
    Change-Id: Ic1e77a4706a4eaf6decc96b85a68d3414277c0bd
Commits on Mar 2, 2018
  1. Ensure that dnsmasq is stopped before config update

    oabid authored and Michel Giroux committed Feb 27, 2018
    [WifiWebAp] When starting an AP, dnsmaq has to be stopped and then
    relaunched with the new configuration. However, if the daemon doesn't
    stop as expected, we need to SIGKILL the process before updating
    the configuration.
    
    Resolves: LE-9442
    Change-Id: Ic104614a6384b4ab23835d21c85b229e768876ac
Older
You can’t perform that action at this time.