Commit Graph

28418 Commits (fdcd70eff0131a95719ec68c5dba31a9495cec54)

Author SHA1 Message Date
Arto Kinnunen fdcd70eff0 802.15.4 Atmel RF driver update
Sync with master version v3.3.6
2021-06-22 12:54:56 +03:00
Arto Kinnunen e7979d0622 Merge commit '4e7dfcabb57ea1f6e787ab62c9281badc1d2990e' into nanostack_rel_14_0_0
* commit '4e7dfcabb57ea1f6e787ab62c9281badc1d2990e':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 0903b819c5..4a3c5c525b
2021-06-22 12:42:14 +03:00
Arto Kinnunen 4e7dfcabb5 Squashed 'features/nanostack/sal-stack-nanostack/' changes from 0903b819c5..4a3c5c525b
4a3c5c525b Merge remote-tracking branch 'origin/release_internal' into release_external
2b8d2e1356 Do not reset radio when MAC data request timeouts (#2647)
95c506a276 Frame counters for nw keys are now stored to NVM only after send key is set (#2641)
3b3010a79b Adjusted stagger random to [min,min+max] and for small nw set the stagger value to 10 seconds
02bc33a242 Adjusted security protocol (EAP-TLS,4WH,2WH) retry timers
eb26726020 High Priority timestamp compare overflow support fix.
928723a33e FHSS WS: Initialize broadcast channel count when enabling FHSS (#2642)
6040d703c8 Updated change log
667b191223 Changed initial EAPOL-key retries from trickle to exponential backup
d925145d33 Add RTT calculation for DHCP Time calculation
0b82953567 Traceroute bug fix.
04de6e26d8 Merge pull request #2638 from PelionIoT/mbed_os_fix_ufsi_calculation
20123477c6 Fixed FHSS UFSI calculation unit tests
436f16e84f Handle timer rollover in calculate_ufsi
411cf5c7a4 coding style
d6f44218d6 Correct ufsi timing calculation
560619d85d Add network time vendor data element to DHCPv6 reply message
6d290dc3c1 System time read/write callbacks (#2637)
7905df666d Restart or remove transmission when MAC data request timeouts (#2636)
c97695cfc6 Bug fix: EAPOL parent compare fix
e283e6285c Fixed channel mask usage with OFDM configurations (#2633)
24168f891b Do not send too old packets (#2632)
dbd83be16d Fix copyrights (#2631)
7f0cffdbf7 Merge pull request #2630 from PelionIoT/use_pelion_copyright
511bd5a3ad Corrected coding style
57ec0281a8 Corrected comparison
7d853de862 When EAPOL waiting queue is full oldest entry is removed
acf580fbd0 Update copyright in changed MDNS files
933c0bbf0a Update copyright
3aeb2af77c Statistics for data request latencies (#2629)
3f7eae64ef EAPOL FHSS temp entry discover
5200b666e7 DHCP time elapsed time write fix.
0536874f64 Removed empty EAPOL-key message send after 4WH completion to nodes on relay
8a2a683aef Fixed DHCP wrong time elapsed value write.
283f2ee685 DHCPv6 update:
99be7783ec EAPOL temp neighbour update
4f9e3d12ab Adaptation layer to remove oldest packet first
20f1f6492f Added ignoring of retry messages from RADIUS server when waiting EAP-TLS
8a8b407c47 Add RSL check for ETX Calculation for RPL parent selection
c05e1da757 Fix DHCP server Uninitialized memory read
77229eefa6 Fix CPP error from domain prefix check
7e47889111 support filtering of EAPOL parents based device-min-sens configuration
618a19192c Wi-SUN Expedite forward state update
4371462d66 Fix NULL read from RPL header addition
7802c7ee97 Update CHANGELOG.md
b2c810402c CHANGELOG for Nanostack v13.0.0 (#2615)

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 4a3c5c525b2a62c19ecfb0ac64d09bd2a7f56ceb
2021-06-22 12:42:13 +03:00
Arto Kinnunen 5f903b2049 Merge commit '1ca92194f14733ef964d16cee692f23a70c987b5' into nanostack_rel_14_0_0
* commit '1ca92194f14733ef964d16cee692f23a70c987b5':
  Squashed 'features/nanostack/coap-service/' changes from 4a126bd278..c021690e3a
2021-06-22 12:41:44 +03:00
Arto Kinnunen 1ca92194f1 Squashed 'features/nanostack/coap-service/' changes from 4a126bd278..c021690e3a
c021690e3a Update copyright to Makefiles and scripts (#133)
5fb7a6c3b8 Update copyright (#132)

git-subtree-dir: features/nanostack/coap-service
git-subtree-split: c021690e3a90e06a5f46730a9c9075041f7fc4a6
2021-06-22 12:41:44 +03:00
Arto Kinnunen 447cd36a48 Merge commit '2105fb35684203e7e3416cbd9b4a52a935cd8bd4' into nanostack_rel_14_0_0
* commit '2105fb35684203e7e3416cbd9b4a52a935cd8bd4':
  Squashed 'features/frameworks/mbed-client-randlib/' changes from cf3936f074..4870f0da56
2021-06-22 12:38:51 +03:00
Arto Kinnunen 2105fb3568 Squashed 'features/frameworks/mbed-client-randlib/' changes from cf3936f074..4870f0da56
4870f0da56 Update copyright (#15)

git-subtree-dir: features/frameworks/mbed-client-randlib
git-subtree-split: 4870f0da56bb5b0e8e9a655bc11e1f392140c785
2021-06-22 12:38:50 +03:00
Arto Kinnunen 1fd885a1fd Merge commit 'c54b6f99701b1ee2d3b056a3bb5493a826c8c2fb' into nanostack_rel_14_0_0
* commit 'c54b6f99701b1ee2d3b056a3bb5493a826c8c2fb':
  Squashed 'features/frameworks/mbed-trace/' changes from b98f6a9050..425669d6b1
2021-06-22 12:36:31 +03:00
Arto Kinnunen c54b6f9970 Squashed 'features/frameworks/mbed-trace/' changes from b98f6a9050..425669d6b1
425669d6b1 Merge remote-tracking branch 'origin/master' into release_for_mbed_os
e99f2124dd Merge pull request #104 from PelionIoT/move_ns_trace
eb0d23a210 Move ns_trace.h to mbed-trace folder
d96ad6923c Merge pull request #102 from PelionIoT/add_ns_trace
72bc311b9b Moved ns_trace.h from nanostack-libservice
e060c630f3 Moved ns_trace.h from nanostack-libservice
ead8b30353 Merge pull request #101 from TeroJaasko/fix_use_after_free_bug_on_tr_array
8a06eff8ca tr_array: fix use after free error after mbed_trace_free() is called

git-subtree-dir: features/frameworks/mbed-trace
git-subtree-split: 425669d6b18046ab65d23d0e395b5a6a433be5bd
2021-06-22 12:36:31 +03:00
Arto Kinnunen a563970cf6 Merge commit '7d51801c764efdcd155d7f3f0ca4213a9946704b' into nanostack_rel_14_0_0
* commit '7d51801c764efdcd155d7f3f0ca4213a9946704b':
  Squashed 'features/frameworks/nanostack-libservice/' changes from 260d80f42d..c343e4e2cc
2021-06-22 12:29:14 +03:00
Arto Kinnunen 7d51801c76 Squashed 'features/frameworks/nanostack-libservice/' changes from 260d80f42d..c343e4e2cc
c343e4e2cc Merge pull request #99 from PelionIoT/remove_ns_trace
70c411b0f8 Remove ns_trace.h
60e99d2c02 Update copyright (#100)

git-subtree-dir: features/frameworks/nanostack-libservice
git-subtree-split: c343e4e2ccb1517881ac85140974f3eb8cd85d46
2021-06-22 12:29:14 +03:00
Arto Kinnunen bd51396afd Merge commit 'c5ddd2b299b02acd441ff64a730c8de8ccfb83d6' into nanostack_rel_14_0_0
* commit 'c5ddd2b299b02acd441ff64a730c8de8ccfb83d6':
  Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes from d182fa4b3a..b8e6ed9def
2021-06-22 12:23:28 +03:00
Arto Kinnunen c5ddd2b299 Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes from d182fa4b3a..b8e6ed9def
b8e6ed9def Update copyright (#48)

git-subtree-dir: features/nanostack/sal-stack-nanostack-eventloop
git-subtree-split: b8e6ed9defafad47d16ab2bd717a801cc4105ddd
2021-06-22 12:23:28 +03:00
Arto Kinnunen 9d6df65c2a
Merge pull request #14806 from artokin/sync_ci_tests_with_5_15_7
[feature-wisun] test examples: remove tls socket, it was deprecated some time ago
2021-06-22 12:02:13 +03:00
Martin Kojtal 7e9a49eb86 test examples: remove tls socket, it was deprecated some time ago 2021-06-21 14:35:59 +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 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 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 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 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 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