Commit Graph

28405 Commits (c20ee2aa85469a86e943d46db96e3a2cdb2ac885)

Author SHA1 Message Date
Arto Kinnunen c20ee2aa85 Enable nanostack system time read/write
Allow Nanostack to read and write system time to synchronise time in
the mesh network. By default feature is enabled in the mesh json-
configuration.
2021-06-09 13:46:45 +03:00
Arto Kinnunen b8220135a3 System time read/write callbacks (#2637)
- Add new API for setting system time read and write callbacks.
- Update ws_pae to use the new time service.
2021-06-09 13:30:12 +03:00
Martin Kojtal 9c6fe22ea2
Merge pull request #14586 from debdeep-arm/ws-stats-nbr-table
[feature-wisun]: Added API to get Wi-SUN Neighbor Table
2021-05-03 12:12:13 +02:00
Debdeep Saha e5d82f058e Added API to get Wi-SUN Neighbor Table
- Added API to get Wi-SUN neighbor table information
  and added more parameters in Wi-SUN statistics GET API
  in mbed-mesh-api.
2021-04-23 16:07:52 +05:30
Arto Kinnunen b1796dedeb
Merge pull request #14525 from jarlamsa/no_duplicate_status_cb_feature_wisun
Check for duplicate status callbacks before adding to the list
2021-04-20 11:40:34 +03:00
Arto Kinnunen fd83ee5080
Merge pull request #14549 from artokin/nanostack_release_13_0_0_feature_wisun
[feature-wisun] Nanostack release v13.0.0
2021-04-20 11:39:32 +03:00
Arto Kinnunen 7c5a2c44ab Merge commit '35fc2fe1464a8c221ebcdf2b4f322e561dca2d5a' into nanostack_release_13_0
* commit '35fc2fe1464a8c221ebcdf2b4f322e561dca2d5a':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 25b9124cd2..0903b819c5
2021-04-15 12:34:18 +03:00
Arto Kinnunen 35fc2fe146 Squashed 'features/nanostack/sal-stack-nanostack/' changes from 25b9124cd2..0903b819c5
0903b819c5 Merge remote-tracking branch 'origin/release_internal' into release_external
51429c96b1 FHSS WS: api function to set TX allowance level (#2612)
01b1188932 Fix Child NUD with long ARO registrations
20b49ce0fc Optimize out of memory handler to remove more memory in EF mode
f1b03bc59d FHSS WS: Allow transmitting unicast frames on broadcast channel for 1st hop node in EF mode (#2609)
2f5e5e20ea Generic forwarding callback and EF state enabler for Wi-SUN BBR.
007dfa246f Allow transmitting on RX slot for 1st hop device in expedited forwarding mode (#2607)
6524872843 Implemented FHSS expedited forwarding mode (#2606)
91e0b4c0e3 QoS traffic class documentation update.
3acd3a49b2 Fix warnings found by cppcheck (#2605)
d2f53476e2 MPX and MAC API update
7310cc01cd MAC: "CCA fail on RX" event for TX done callback (#2602)
cd109c3a3a Clear Ack tx and tx process in MAC reset (#2601)
45504fd4b0 Optimize stagger based on uptime and startup type
ed5209ed2a Iotthd 4584 (#2599)
60726dc704 Fixed blacklisting overflow (#2597)
23334b70b2 Added support for High Priority forward state
3ec2a2c804 Corrected freed memory access on incoming EAPOL handling
aecadc4582 Fixed delayed interrupt (#2596)
1fca2c1399 CCA backoffs max to 9 (#2595)
f3d2fa1396 Added API function to get neighbor table information from Wi-SUN
3bb089bec9 Validate randomized fixed channel (#2592)
70743a1cd8 MAC stabilisation fixes (#2591)
e936a2634b Reduce periodic DNS traces
a45fe3f510 Improved CSMA-CA logic for Wi-SUN (#2585)
56b7735976 improved Wi-SUN stack statistics added
e656190570 Wi-SUN neighbour allocate update
799f837d0c Added address check for Whiteboard address ADD
0b6caa32b0 Wi-SUN network timing parameter tuning
492146567e Supress warnings
f5cecd7ca0 Enable external connection for routers
e129a0a851 Added LLC EAPOL temporary neighbor remove when authentication completes (#2583)
fa20fb9e33 Added calculation of LLC and LLC EAPOL message queue average (#2582)
7f7c01ac17 Added retry traces to authenticator EAP-TLS, 4WH, and GKH
a87646d77a On startup deletes NVM GTKs if EUI-64 has been changed (#2576)
509a6f93ed Add CI commands to PR template (#2579)
eb6a4f7500 Change stagger calculation to give more bandwidth to application
82f1d54e62 Wi-SUN bpptstrap clear destination cache at discovery phase.
71b0588439 Destination cache update:
f92c385ef0 Enabled PMTU timeout to destination cache after used.
957b35887b DHCP server and Agent relay update

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 0903b819c5eecf8a465646ef1495ca637e0285a9
2021-04-15 12:34:17 +03:00
Arto Kinnunen 8740e2f45a Merge commit '443e126118ee4c34aef2ddd218b76d7776f1b875' into nanostack_release_13_0
* commit '443e126118ee4c34aef2ddd218b76d7776f1b875':
  Squashed 'features/frameworks/mbed-client-randlib/' changes from bec82e21f0..cf3936f074
2021-04-15 12:29:29 +03:00
Arto Kinnunen 443e126118 Squashed 'features/frameworks/mbed-client-randlib/' changes from bec82e21f0..cf3936f074
cf3936f074 Update license text in test files. (#14)

git-subtree-dir: features/frameworks/mbed-client-randlib
git-subtree-split: cf3936f074954f01a6fbce4799fc40249ba7d2ac
2021-04-15 12:29:29 +03:00
Arto Kinnunen eae31b3add Merge commit '6b10857889dfa2b3646866e3daf68502c78e7722' into nanostack_release_13_0
* commit '6b10857889dfa2b3646866e3daf68502c78e7722':
  Squashed 'features/frameworks/nanostack-libservice/' changes from a526cc3f41..260d80f42d
2021-04-15 12:22:16 +03:00
Arto Kinnunen 6b10857889 Squashed 'features/frameworks/nanostack-libservice/' changes from a526cc3f41..260d80f42d
260d80f42d Update ns_nvm_helper license text and format (#98)

git-subtree-dir: features/frameworks/nanostack-libservice
git-subtree-split: 260d80f42da24fa41656222294abc38f7779bdcf
2021-04-15 12:22:16 +03:00
Arto Kinnunen 9867c3a77e 802.15.4 STM S2LP driver update
Update STM S2LP driver to version v1.0.8
2021-04-14 13:44:22 +03:00
Arto Kinnunen 0db42d0ffa 802.15.4 Atmel RF driver update
Sync with master version v3.3.5
2021-04-14 13:41:39 +03:00
Martin Kojtal 1d1a8f9e74
Merge pull request #14462 from mikaleppanen/feat_wisun_start_wisun_if
[feature-wisun] Added new start methods to Wi-SUN BR with WisunInterface parameter and deprecated the old ones
2021-04-14 11:11:45 +02:00
Arto Kinnunen 72c3981318
Merge pull request #14439 from debdeep-arm/reset-mac-wisun-stats
[feature-wisun] Added API to reset MAC and Wi-SUN statistics.
2021-04-13 15:32:55 +03:00
Arto Kinnunen e03f3c6381
Merge pull request #14526 from artokin/update_feature_wisun_baseline_to_5_15_7
[feature-wisun] Update base to mbed-os-5.15.7
2021-04-13 15:27:13 +03:00
Arto Kinnunen 32f52fe8c5 Revert "Update PSA auto-generated components and services"
This reverts commit 2a316fe73b.
2021-04-09 12:34:12 +03:00
jarlamsa 5ed33de135 Check for duplicate status callbacks before adding to the list
Duplicate status callbacks don't bring any value and can cause
memory leaks if caller calls for this function multiple times with
same status_cb. Also remove all the instances of the status_cb when
removing event listener.
2021-04-09 11:02:32 +03:00
Arto Kinnunen e00a1febd1 Merge tag 'mbed-os-5.15.7' into feature-wisun
This is the mbed-os-5.15.7 release. For a full list of changes please refer to the release notes.

* tag 'mbed-os-5.15.7': (160 commits)
  Update Mbed version block
  Improve WisunInterface set_network_size docs
  Add integer overflow check to the malloc wrappers
  targets:evkbimxrt1050: Adjust the SEMC re-order rules
  targets:RT1050: Fix the flash erase and program issue for qspi nor flash.
  targets:RT1050: Fix the low speed switch issue
  targets:clock: Update the coreclock value
  targets: clock: change default core clock to 528M
  targets:uart: Add uart_3 support
  targets:lpspi: Update the lpspi driver and api
  targets:MIMXRT1050: Add LPSPI4 support
  targets:MIMXRT1050: Update link file for application
  targets:MIMXRT1050: Add QSPI Flash FLASHIAP support
  targets:TARGET_IMX: Fix the memset issue for FLASHIAP
  targets:TARGET_IMX: Fix the flash init risk
  targets:MIMXRT1050: Add QSPI Flash boot support
  MIMXRT1050: Update for deep sleep latency
  MXRT1050: Add bootloader support
  MIMXRT1050: Enable FlashIAP support
  MIMXRT1050: Reduce NOR size used by mbed-os
  ...
2021-04-08 16:39:12 +03:00
Mika Leppänen fcac235ddc Added new start methods to Wi-SUN BR with WisunInterface parameter and deprecated the old ones
Previously WisunBorderRouter start() used NetworkInterface type for mesh interface, although only
WisunInterface type is possible for the call. Added a new overloads of the start with the
WisunInterface as mesh interface type and deprecated the old ones. This makes the calls stricter
about the interface type and safer. It also allows to remove the reinterpret_cast that causes
compiler warning on ARM compiler.
2021-04-08 09:33:22 +03:00
Debdeep Saha e686f6849b Reset all stats from wisun_tasklet.c 2021-04-06 18:04:57 +05:30
Debdeep Saha 11caebcc04 [feature-wisun] Added API to reset MAC and Wi-SUN statistics. 2021-04-06 18:04:57 +05:30
Martin Kojtal 62b57abd67
Merge pull request #14487 from mikaleppanen/feat-wisun-test-tls-cert-upd
[feature-wisun] Update cert for testing server
2021-04-06 13:37:09 +02:00
Mika Leppänen eca0e08010 Update cert for testing server 2021-03-30 13:25:28 +03:00
Anna Bridge beebd93a8a
Merge pull request #14431 from artokin/update_set_network_size_documentation
[feature-wisun] Improve WisunInterface set_network_size docs
2021-03-26 14:50:27 +00:00
adbridge 0be7685a27 Update Mbed version block 2021-03-24 11:23:47 +00:00
Arto Kinnunen c84e30af25 Review corrections
Updated based on review comments.
2021-03-23 11:44:47 +02:00
Anna Bridge 52eedfd86e
Merge pull request #14408 from LDong-Arm/malloc_wrapper_fix-5.15
Add integer overflow check to the malloc wrappers
2021-03-22 16:36:17 +00:00
Martin Kojtal 878a32cb6d
Merge pull request #14326 from artokin/porting_from_feature_wisun_to_5_15
[mbed-os-5.15] Bring in MIMXRT1050_EVK changes from feature-wisun branch
2021-03-22 16:27:59 +01:00
Martin Kojtal fcabc21c9b
Merge pull request #14443 from artokin/update_set_network_size_doc_515
[mbed-os-5.15] Improve WisunInterface set_network_size docs
2021-03-22 14:23:16 +01:00
Martin Kojtal f9501e79b7
Merge pull request #14147 from mikaleppanen/nano_coverity_corr_5_15
[mbed-os-5.15] Corrected nanostack coverity warnings
2021-03-22 14:22:39 +01:00
Martin Kojtal 04b572ee41
Merge pull request #14263 from mikaleppanen/5_15_wisun_mac_addr_get_corr
[mbed-os-5.15] Added missing const qualifier to mesh ethernet mac addr get
2021-03-22 12:35:27 +01:00
Martin Kojtal 37957e7972
Merge pull request #14251 from JarkkoPaso/feature-wisun
Mesh API: Get and validate functions for PHY mode and channel plan IDs
2021-03-22 10:59:04 +01:00
Arto Kinnunen f8f01fd04e Improve WisunInterface set_network_size docs
Clarify set_network_size usage and possible parameter values.
Clarify wisun-network-size help text in mbed-mesh-api/mbed_lib.json
2021-03-18 11:56:17 +02:00
Arto Kinnunen 77b9eb5dba Improve WisunInterface set_network_size docs
Clarify set_network_size usage and possible parameter values.
Clarify wisun-network-size help text in mbed-mesh-api/mbed_lib.json
2021-03-18 11:44:18 +02:00
Martin Kojtal 72de76596e
Merge pull request #14262 from mikaleppanen/feat_wisun_mac_addr_get_corr
[feature-wisun] Added missing const qualifier to mesh ethernet mac addr get
2021-03-16 16:49:10 +01:00
Jarkko Paso df08498562 Mesh API: Functions to set/get/validate FAN v1.1 domain configuration. 2021-03-11 11:23:33 +02:00
Arto Kinnunen 01b541b3de
Merge pull request #14327 from artokin/nanostack_update_to_feature_wisun
[feature-wisun] Update Nanostack
2021-03-11 10:28:39 +02:00
Lingkai Dong 151ebfcfc9 Add integer overflow check to the malloc wrappers
Add a check that the combined size of the buffer to allocate and
alloc_info_t does not exceed the maximum integer value representable
by size_t.
2021-03-10 09:57:12 +00:00
Arto Kinnunen 856da9bd60 Squashed 'features/nanostack/sal-stack-nanostack/' changes from 91f3ff6d7f..25b9124cd2
25b9124cd2 Merge remote-tracking branch 'origin/release_internal' into release_external
c825b04555 Corrected covery warning on delay_us multiplication
be63bbb145 Updated changelog
77a76c78bb Corrected nw size set on automatic mode
65e6c2db7a Updated unit tests
16e340286a Added waiting queue to EAPOL authentications to Border Router
b9c0b7d2ac Wi-SUN border router starts faster in static configuration
2f427e115a Local repair start and stop clear advertised_dodag_membership_since_last_repair when state is updated.
0a01ab19a4 RPL dio send update
dd3996382c Wi-SUN Border router uses Static address as DODAGID
7a3c8335b0 Additional check to detect parent connection problem
ffe48c93e5 WS management: domain configuration functions implemented (#2567)
5e9ac4ece8 Added new Callback to RPL indicate Multicast DIS received from RPL Parent
85b949e9c2 Bootstrap and EAPOL treats all MAC TX failure causes similarly
b57d9bcd66 Add support for anonymous addressing in Wi-SUN border router (#2565)
7400c8bc9e CFG: API for PHY mode id and channel plan id get & validate (#2564)
2832fe8c27 Added Socket reference limitter
890aad12f1 Wi-SUN MTU size update and IPv6 minium MTU routing skip
3ad28c1cfc Added throttling of number of simultaneous EAPOL authentications
0b84299edb Source route handler call Wi-Sun border router alive function.
c8343b1a01 Added support for dynamic RPL default lifetime
d258068555 Iotthd 4478 (#2560)
7ca6c24b67 Enable and modify memory limits for packet receiving
e2b028d9ae Close CHANGELOG.md for v12.8.1 (#2557)

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 25b9124cd240de3609ff913aa7dadf56d6c0ae16
2021-02-23 12:25:25 +02:00
Arto Kinnunen 3bb13c2405 Merge commit '856da9bd60f3409f55b21d8951bb3cc010668396' into feature-wisun
* commit '856da9bd60f3409f55b21d8951bb3cc010668396':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 91f3ff6d7f..25b9124cd2
2021-02-23 12:25:25 +02:00
Gavin Liu 55a1465671 targets:evkbimxrt1050: Adjust the SEMC re-order rules
Update the BMCR0, BMCR1 registers to adjust the SEMC
re-order rules. This can improve the SDRAM stability
under multiple AXI masters system.

Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2021-02-23 10:53:14 +02:00
Tim Wang 376b7e3ae5 targets:RT1050: Fix the flash erase and program issue for qspi nor flash.
Update the LUT to fix the winbond qspi flash erase issue.
Update the page program interface to fix the qspi flash program issue.

Signed-off-by: Tim Wang <tim.wang@nxp.com>
2021-02-23 10:52:58 +02:00
Tim Wang 98b1f0fbed targets:RT1050: Fix the low speed switch issue
Fix the low speed switch issue when using QSPI flash

Signed-off-by: Tim Wang <tim.wang@nxp.com>
2021-02-23 10:52:39 +02:00
timwang 903e0830ee targets:clock: Update the coreclock value
Update the coreclock value which will be used in middleware

Signed-off-by: timwang <tim.wang@nxp.com>
2021-02-23 10:52:15 +02:00
timwang ec9c75e26e targets: clock: change default core clock to 528M
change the clock config of the RT1050 to set the default core clock to
528M

Signed-off-by: timwang <tim.wang@nxp.com>
2021-02-23 10:52:06 +02:00
timwang 889d852913 targets:uart: Add uart_3 support
Add uart_3 support, which using GPIO_AD_B1_06 as TX pin, GPIO_AD_B1_07
as RX pin

Signed-off-by: timwang <tim.wang@nxp.com>
2021-02-23 10:51:29 +02:00
TimWang c80b05a251 targets:lpspi: Update the lpspi driver and api
Change the lpspi default transfer delays to fix the data corruption
issue.

Add the loop and judgement to retry transfer when spi bus is busy.

Add the judgement statement to fix the hang issue.

Signed-off-by: TimWang <tim.wang@nxp.com>
2021-02-23 10:51:18 +02:00
Gavin Liu 9c7ccd28f8 targets:MIMXRT1050: Add LPSPI4 support
Add LPSPI4 PIN configurations.

Signed-off-by: fred.li <fred.li@arm.com>
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2021-02-23 10:50:41 +02:00