SiliconLabs / wisun-br-linux

Silicon Labs Wi-SUN Linux border router reference implementation
https://www.silabs.com/wireless/wi-sun
Other
37 stars 14 forks source link

Implemented channel hopping for FHSS #4

Closed mahboobkarimian closed 1 year ago

mahboobkarimian commented 2 years ago

This commit expands the RF driver for MAC simulation to support channel hopping and enables CCA. It can be enabled/disabled with CHANNEL_HOPPING_ON macro definition within Cmake. The implementation creates a thread for every transmission. This will help to wait for CCA time and do relevant callbacks to the MAC layer. The TX procedure is inspired by the open-source STM s2lp PHY driver available in the Mbed OS repository at https://github.com/ARMmbed/mbed-os/blob/master/connectivity/drivers/802.15.4_RF/stm-s2lp-rf-driver/source/NanostackRfPhys2lp.cpp

mahboobkarimian commented 1 year ago

Jerome, I updated the pull request by requested/recommended modifications and marked them as "Resolved". For more rest that you had concerns, I answered them. Please review the code. Thanks

jerome-pouiller commented 1 year ago

Hello @mahboobkarimian,

In order to simplify the review process, could you squash/split your commits to make them more atomic (the process is well described here https://github.blog/2022-06-30-write-better-commits-build-better-projects/ ).

It will ask you a bit of time, but it simplifies the review process a lot.