Commit Graph

505 Commits (345530d141bffeb09be66a24ff31dea7deb64412)

Author SHA1 Message Date
Arto Kinnunen 9dbf5d5bf7 Merge commit 'a2cc668ba79db29ca57f2bf10ec187e63d73d3a2' into feature-wisun
* commit 'a2cc668ba79db29ca57f2bf10ec187e63d73d3a2':
  Squashed 'features/nanostack/coap-service/' changes from c021690e3a..9a9085d4cd
2021-09-23 10:27:02 +03:00
Arto Kinnunen 3d6067cb2d Merge commit '6c5b7401d42014dfd7de7bcaa21b4f844fdaa19c' into feature-wisun
* commit '6c5b7401d42014dfd7de7bcaa21b4f844fdaa19c':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 4a3c5c525b..225a4af94f
2021-09-23 10:25:06 +03:00
Arto Kinnunen 9957e7b4ae
Merge pull request #14754 from artokin/nanostack_time_sync
[feature-wisun] Add system time read/write callbacks to mbed-mesh-api
2021-06-23 14:07:16 +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 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 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 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 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
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 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
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 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
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
Arto Kinnunen c84e30af25 Review corrections
Updated based on review comments.
2021-03-23 11:44:47 +02: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 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 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
Mika Leppänen 1270a59df2 Added missing const qualifier to mesh ethernet mac addr get 2021-02-10 13:45:39 +02:00
Mika Leppänen b193f9bcea Added missing const qualifier to mesh ethernet mac addr get 2021-02-10 13:29:55 +02:00
Mika Leppänen 9500f9f6a6 Corrected nanostack coverity warnings 2021-02-02 15:32:02 +02:00
Martin Kojtal 1faaabb6fa
Merge pull request #14170 from artokin/nanostack_release_12_8_0_to_5_15
[mbed-os-5.15] Nanostack release v12.8.0
2021-02-02 13:23:51 +00:00
Martin Kojtal bfde5aa1e7
Merge pull request #14161 from JarkkoPaso/feature-wisun
Mesh api: Added PHY mode and channel plan IDs
2021-01-28 16:05:16 +00:00
Jarkko Paso a52c2e2b4d Fixed astyle issue 2021-01-28 11:03:06 +02:00
Martin Kojtal 9454bb00cd
Merge pull request #13920 from artokin/mac_address_set_get_mbed_os_5_15
[mbed-os-5.15] Network interface MAC address set/get
2021-01-25 08:50:21 +00:00
Martin Kojtal 46a045b7e0
Merge pull request #14046 from mikaleppanen/mbedos_5_15_corr_cert_add
[mbed-os-5.15] Corrected Wi-SUN certificate add and remove functions on Wi-SUN interface
2021-01-25 08:49:55 +00:00
Arto Kinnunen d4ce3bb022 Merge commit 'de3aa0520c83a48c7db870e5d3e5cd368bbaf829' into PR14164
* commit 'de3aa0520c83a48c7db870e5d3e5cd368bbaf829':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from f8ae0e9bc9..91f3ff6d7f
2021-01-22 11:25:09 +02:00
Arto Kinnunen e1fbfb682b Merge commit 'ab953a0d782c8121aaf9b6c952410fa695841781' into PR14164
* commit 'ab953a0d782c8121aaf9b6c952410fa695841781':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 3183d87e41..f8ae0e9bc9
2021-01-21 14:11:58 +02:00
Arto Kinnunen a0a284ed49 Move files back to original locations
Files were moved during rebase, move files back to original places
2021-01-21 11:35:44 +02:00
Arto Kinnunen c854c8fc02 Squashed 'features/nanostack/sal-stack-nanostack/' changes from 09d9e24f2d..3183d87e41
3183d87e41 Merge branch 'release_internal' into release_external
9e27a772f2 Disabled BR IID verify from DODAG ID
33ac7911cf Merge pull request #2548 from PelionIoT/sync_with_mbed_os
6f8b2829f4 compile out trace when not available
825373d3ef Add SPDX license identifier to Arm files
3ec3bc649d fixed warnings: static method defined but not used
ee34352ceb Check if RX channel needs to be updated when RX slot detected (#2540)
d59dc5d25e Fix doxygen 1.8.17 warnings (#2546)
1e0beb3e67 Update unit tests to support Ubuntu 2020_04 LTS (#2545)
b9b2ffd96b Fixed FHSS get retry period (#2543)
a0bf6aec91 Check if RX channel needs to be updated after broadcast received (#2539)
fde325eee2 Wi-SUN Neighbour ARO registration failure handling update:
1e1f9c66b0 RPL dio Handler update:
0421502e27 Asynch message advertiment enable added to DAO done when disabled.
0374f74013 Corrected memory leak on key storage allocation on low memory situation
23c2f7ed05 Disable ASYNCH messages at enter Local repair state.
c1df6b0d75 Added Poison_count check for First DIO time blocker.
944f934539 Added channel mask size to FHSS configuration (#2536)
20e79e05fc RPL Local repair disable clear advertised_dodag_membership_since_last_repair state
8a4638089a Fix doxygen comments (#2534)
fe06236e43 MAC ACK RX guarantee update
2388a80700 MAC layer send ack allways when it requirement's
29b387b697 RPL dao dynamic timeout
00bbd02f85 Don't allow TX slot length go below allowed minimum (#2528)
8333faa401 Out of memory improvement to remove packets from routing
0a12aebff9 Support channel plan IDs 1, 2 and 5 with NA and BZ bands (#2526)
ee4333da6f Wi-SUN Timing configuration is selected based on network size and data rate
a5b2a26eb2 WS: API to set PHY mode and Channel plan IDs as defined by FAN 1.1 (#2520)
b86a044911 Update nanostack v12.7.0 changelog (#2525)
35b95da122 Remove unnecessary files from release
0717432619 Merge remote-tracking branch 'origin/release_internal' into release_external
f68126b85a Adaptation layer MCPS confirmation handle update
e483a0748d Added OFDM configurations and FEC in RF config structure (#2513)
b88abfa1c2 BUG fix: Fixed broken Brodcast MAC overflow handling
9cad47826a Random early detection congestion API update
00aed73abc Modified the Wi-SUN stack Latency estimates a bit slower
6b83d821ea Remove periodic PAN version increase from Wi-SUN border router
ef670e21f3 Integrated ReD congestion packet drop to Wi-SUN bootstrap interface.
b956d9e983 Revert "Improved transmission in high traffic (#2511)" (#2512)
01749c2116 Improved transmission in high traffic (#2511)
3158e966e0 Adaption layer queue trace update
5a32f4a7bb Update changelog, random_early_detection_congestion_check nameupdate and minor comment fix.
b818f12c6d Extented network status for support dropped tx congestion packet.
11c0763f4d Added new service Random early detection
f2c358dc2b Optimized medium NWK MPL parameters to 40 second multicast interval (#2508)
c013bc7790 Added traces to EAPOL TX failure
c29ee94a20 Changed TLS return value to int32_t
501a2c8578 Added trace for mbed TLS errors
9d7cd22aa6 Updated change log
1290225b95 Corrected radius message memory allocation
7b1c59695b Removed trace print's
efb83934f6 Adaptation layer MCPS confirmation handle update
ac1025e7e9 Bug Fix: Accept only next possible BSI for detect BR reboot and drop unkown's.
58f0e56fe4 Updated change log
102e525b9a Nanostack now indicates connection down on RPL local repair start
395791d535 FHSS WS: Do not allow broadcast TX on unicast channel (#2501)
72f8ecb8d2 Updated changelog.md
237620827c Activated higher priority by traffic class CS6 for NS/NA and RPL, EAPOL/ DHCP Relay messages.
afbe9061b5 Adaptation layer update
13fb2bfdbb Update CHANGELOG.md
af81c48993 DIO init TX filter update
13a872c6b9 Fix typos in github template (#2498)
1af20e1aee Initial version of CHANGELOG (#2497)
d9874ede96 Feature update: Improved MAC TX queue purge
69264429f9 Wi-SUN Aro registration temporary address registation bug fix.
d3170ed50a Removed generic event and wrong trace info.
0db3486a7a Removed trace from place which is normal and not needed
a080f18d83 Added debug tarce for dropped unsecured and MPL packets.
51cd5646ed Wi-SUN NS probe update:
579f75684e Adaptation layer: Do not push CCA failed packet back to MAC (Wi-SUN) (#2487)
715ae9a693 Merge remote-tracking branch 'origin/release_internal' into release_external
42c9807207 Nanostak trace level configuration (#2489)
6f5217119a Bug fix: socket reference count made 16-bit (#2490)
f51669adc7 Bug fix: Do not print UFSI drift when fixed channel is used (#2488)
18fa0486e3 RPL DAO timeout update:
660e178506 Clear debug traces.
cbac0bbca4 DIO init send block for node
fed5d1c819 Created different MPL configuration based on network size
7ad7e81209 Wi-SUN recovery and BR BSI update:
d207f4d9f9 Merge branch 'release_internal' into release_external
d166c89427 MPL: buffered max limit increased to 8k (#2482)
0f6666a97e Fixed Unit test's
1ff9b1d6c6 LLC drop a packet if FHSS shedule is not configured.
7cecc28c98 Fixed missing asynch trigle setup stop at if down process
7a8b2bfd98 Wi-SUN fhss API default value setting fixes
164a3706c6 Fixed coverity issues from management API
8b5b433284 Corrected out of bounds access coverity warning (#2475)
4ffe6a12cc Multicast forwarding is separated from the routing flag
30f431581d Wi-SUN discovery staten enter upxdate
083b84e9c5 Iotthd 4308 (#2473)
fcc33d559c Removed time increment from NVM time read function on interface up
9c8e3afc9f fhss_tx_handle update
5491a6b052 Fixed UFSI update print function (#2470)
86f64c58b6 FHSS WS: Check if BC schedule is stopped before computing timeout delay (#2469)
a0b112a97b Corrected defects and coding style
2f4678a2f2 Corrected trace macro
5e967515ee Distributed key storage NVM writes to longer time period
9b3891fffb FHSS WS: handle blocked interrupts (#2466)
a792e832de Added validation at MAC ack buffer handler
2a465b2e49 DNS configuration lifetime validation

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 3183d87e410d80b96042c143e586967dce2ff650
2021-01-21 11:12:23 +02:00
Arto Kinnunen ae5d0426ed Squashed 'features/nanostack/coap-service/' changes from 5aa54b8e62..4a126bd278
4a126bd278 Fix compiler and cppcheck warnings (#131)
ca7ca7da30 Merge pull request #130 from PelionIoT/sync_from_mbedos
15d73dc6d4 (via Mbed OS)Remove call to function-like macro with no effect

git-subtree-dir: features/nanostack/coap-service
git-subtree-split: 4a126bd278522e7b004de35ab0887394117f1213
2021-01-21 11:12:16 +02:00
Arto Kinnunen cc7b6edc62 Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes from b560a9da36..d182fa4b3a
d182fa4b3a Follow Mbed OS coding style (#47)
806f54cea9 Use event id 0 for initialization event (#45)

git-subtree-dir: features/nanostack/sal-stack-nanostack-eventloop
git-subtree-split: d182fa4b3aad7fdc70f7e74d6ed4d524e6f9286c
2021-01-21 11:12:07 +02:00
Arto Kinnunen 3d0abfb4f5 Remove API changes
-Remove Nanostack::add_ethernet_interface API change
-Add get_mac_address to MeshEthernetInterface
2021-01-21 10:14:21 +02:00
Arto Kinnunen c5e3507e39 Update set_mac_address signature
Use nsapi_size_t instead of size_t.
Update missing method description.
2021-01-21 10:14:20 +02:00
Arto Kinnunen 90fd693061 Review correction: Remove unnecessary method
Remove unnecessary method: add_ethernet_interface_ns
2021-01-21 10:14:20 +02:00
Arto Kinnunen e71e312444 MAC address set/get support for EMAC interface
Add support to set and get MAC address from EMAC interface.
2021-01-21 10:14:20 +02:00
Arto Kinnunen f6f0286d38 Method for adding network interface MAC address
Add method set_mac_address to set network interface MAC address.
2021-01-21 10:14:20 +02:00
Arto Kinnunen 07089272fa Merge commit '02021856e4681bd5092e48b8513ff90fb5d6b1e9' into origin/nanostack_release_12_8_0_feature_wisun
* commit '02021856e4681bd5092e48b8513ff90fb5d6b1e9':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 35b95da122..3183d87e41
2021-01-18 15:24:13 +02:00
Arto Kinnunen bc16fbec3e Merge commit 'a95498f79214928d4b67efc0bd740de6f78fc205' into feature-wisun
* commit 'a95498f79214928d4b67efc0bd740de6f78fc205':
  Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes from 806f54cea9..d182fa4b3a
2021-01-18 14:29:54 +02:00
Jarkko Paso 5d3edd568e Mesh api: Added PHY mode and channel plan IDs 2021-01-15 12:43:24 +02:00