Skip to content

Commit

Permalink
nrf_802154: rev f6b4290ab51c02526de43b06b18d2c253251c198
Browse files Browse the repository at this point in the history
This commit updates revision of the nrf_802154 component.

Signed-off-by: Dawid Przybylo <[email protected]>
  • Loading branch information
dawidprzybylo committed Oct 22, 2024
1 parent d433afe commit 39dfc7a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
3 changes: 1 addition & 2 deletions nrf_802154/driver/src/nrf_802154_trx.c
Original file line number Diff line number Diff line change
Expand Up @@ -932,6 +932,7 @@ void nrf_802154_trx_enable(void)

NRF_802154_ASSERT(nrf_radio_shorts_get(NRF_RADIO) == SHORTS_IDLE);

mpsl_fem_enable();
#if defined(DPPI_PRESENT)
mpsl_fem_abort_set(NRF_802154_DPPI_RADIO_DISABLED,
0U); /* The group parameter is ignored by FEM for SoCs with DPPIs */
Expand All @@ -940,8 +941,6 @@ void nrf_802154_trx_enable(void)
PPI_CHGRP_ABORT);
#endif

mpsl_fem_deactivate_now(MPSL_FEM_ALL);

m_trx_state = TRX_STATE_IDLE;

nrf_802154_log_function_exit(NRF_802154_LOG_VERBOSITY_LOW);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,17 @@ typedef struct
*/
void mpsl_fem_caps_get(mpsl_fem_caps_t * p_caps);

/** @brief Enable Front End Module.
*
* Some Front End Module devices should be explicitly enabled before they can be configured
* for radio operation. This function is intended to enable Front End Module shortly before
* radio operations are started.
*
* After the Front End Module performed all it's operations complementary @ref mpsl_fem_disable
* function should be called.
*/
void mpsl_fem_enable(void);

/** @brief Disable Front End Module.
*
* Some Front End Module devices can be explicitly disabled after PA and LNA activities are
Expand Down
5 changes: 5 additions & 0 deletions nrf_802154/sl/sl_opensource/src/nrf_802154_sl_fem.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ void mpsl_fem_caps_get(mpsl_fem_caps_t * p_caps)
*p_caps = (mpsl_fem_caps_t){};
}

void mpsl_fem_enable(void)
{
// Intentionally empty
}

int32_t mpsl_fem_disable(void)
{
return 0;
Expand Down

0 comments on commit 39dfc7a

Please sign in to comment.