/Zephyr-Core-3.4.0/tests/net/ieee802154/l2/src/ |
D | ieee802154_fake_driver.c | 40 static int fake_set_txpower(const struct device *dev, int16_t dbm) in fake_set_txpower() argument 42 NET_INFO("TX power %d dbm\n", dbm); in fake_set_txpower()
|
/Zephyr-Core-3.4.0/drivers/ieee802154/ |
D | ieee802154_b91.c | 466 static int b91_set_txpower(const struct device *dev, int16_t dbm) in b91_set_txpower() argument 471 if (dbm < B91_TX_POWER_MIN) { in b91_set_txpower() 472 dbm = B91_TX_POWER_MIN; in b91_set_txpower() 473 } else if (dbm > B91_TX_POWER_MAX) { in b91_set_txpower() 474 dbm = B91_TX_POWER_MAX; in b91_set_txpower() 478 rf_set_power_level(b91_tx_pwr_lt[dbm - B91_TX_POWER_MIN]); in b91_set_txpower()
|
D | ieee802154_cc1200.c | 565 static int cc1200_set_txpower(const struct device *dev, int16_t dbm) in cc1200_set_txpower() argument 569 LOG_DBG("%d dbm", dbm); in cc1200_set_txpower() 572 dbm = ((dbm + 18) * 2) - 1; in cc1200_set_txpower() 573 if ((dbm <= 3) || (dbm >= 64)) { in cc1200_set_txpower() 579 pa_power_ramp |= ((uint8_t) dbm) & PA_POWER_RAMP_MASK; in cc1200_set_txpower()
|
D | ieee802154_rf2xx.c | 461 static int rf2xx_set_txpower(const struct device *dev, int16_t dbm) in rf2xx_set_txpower() argument 470 LOG_DBG("Try set Power to %d", dbm); in rf2xx_set_txpower() 506 if (dbm < min) { in rf2xx_set_txpower() 508 dbm, (double)min, (double)max); in rf2xx_set_txpower() 509 dbm = min; in rf2xx_set_txpower() 510 } else if (dbm > max) { in rf2xx_set_txpower() 512 dbm, (double)min, (double)max); in rf2xx_set_txpower() 513 dbm = max; in rf2xx_set_txpower() 516 idx = abs((int) (((float)(dbm - max) / step))); in rf2xx_set_txpower() 531 dbm, val, idx); in rf2xx_set_txpower()
|
D | ieee802154_kw41z.c | 449 static int kw41z_set_txpower(const struct device *dev, int16_t dbm) in kw41z_set_txpower() argument 451 if (dbm < KW41Z_OUTPUT_POWER_MIN) { in kw41z_set_txpower() 453 dbm, in kw41z_set_txpower() 456 dbm = KW41Z_OUTPUT_POWER_MIN; in kw41z_set_txpower() 457 } else if (dbm > KW41Z_OUTPUT_POWER_MAX) { in kw41z_set_txpower() 459 dbm, in kw41z_set_txpower() 462 dbm = KW41Z_OUTPUT_POWER_MAX; in kw41z_set_txpower() 465 ZLL->PA_PWR = pa_pwr_lt[dbm - KW41Z_OUTPUT_POWER_MIN]; in kw41z_set_txpower()
|
D | ieee802154_nrf5.c | 360 static int nrf5_set_txpower(const struct device *dev, int16_t dbm) in nrf5_set_txpower() argument 364 LOG_DBG("%d", dbm); in nrf5_set_txpower() 366 nrf_802154_tx_power_set(dbm); in nrf5_set_txpower() 1124 int16_t dbm; in nrf_802154_energy_detected() local 1128 dbm = nrf_802154_dbm_from_energy_level_calculate(result); in nrf_802154_energy_detected() 1129 callback(net_if_get_device(nrf5_data.iface), dbm); in nrf_802154_energy_detected()
|
D | Kconfig.cc1200 | 99 int "Value in dbm of the CCA threshold" 106 int "Value in dbm of the RSSI offset"
|
D | ieee802154_uart_pipe.c | 264 static int upipe_set_txpower(const struct device *dev, int16_t dbm) in upipe_set_txpower() argument 267 ARG_UNUSED(dbm); in upipe_set_txpower()
|
D | ieee802154_mcr20a.c | 1036 static int mcr20a_set_txpower(const struct device *dev, int16_t dbm) in mcr20a_set_txpower() argument 1042 LOG_DBG("%d", dbm); in mcr20a_set_txpower() 1044 if ((dbm > MCR20A_OUTPUT_POWER_MAX) || in mcr20a_set_txpower() 1045 (dbm < MCR20A_OUTPUT_POWER_MIN)) { in mcr20a_set_txpower() 1049 pwr = pow_lt[dbm - MCR20A_OUTPUT_POWER_MIN]; in mcr20a_set_txpower()
|
D | ieee802154_cc13xx_cc26xx.c | 275 int16_t dbm) in ieee802154_cc13xx_cc26xx_set_txpower() argument 285 (RF_TxPowerTable_Entry *)table, dbm); in ieee802154_cc13xx_cc26xx_set_txpower()
|
D | ieee802154_cc13xx_cc26xx_subg.c | 451 const struct device *dev, int16_t dbm) in ieee802154_cc13xx_cc26xx_subg_set_txpower() argument 457 (RF_TxPowerTable_Entry *)ieee802154_cc13xx_subg_power_table, dbm); in ieee802154_cc13xx_cc26xx_subg_set_txpower()
|
D | ieee802154_cc2520.c | 727 static int cc2520_set_txpower(const struct device *dev, int16_t dbm) in cc2520_set_txpower() argument 731 LOG_DBG("%d", dbm); in cc2520_set_txpower() 734 switch (dbm) { in cc2520_set_txpower()
|
D | ieee802154_dw1000.c | 768 static int dwt_set_power(const struct device *dev, int16_t dbm) in dwt_set_power() argument
|
/Zephyr-Core-3.4.0/subsys/net/l2/ieee802154/ |
D | ieee802154_utils.h | 54 static inline int ieee802154_set_tx_power(struct net_if *iface, int16_t dbm) in ieee802154_set_tx_power() argument 63 return radio->set_txpower(net_if_get_device(iface), dbm); in ieee802154_set_tx_power()
|
D | Kconfig.radio | 10 TX power in dbm. Valid setting are: -18, -7, -4, -2, 0, 1, 2, 3, 5
|
/Zephyr-Core-3.4.0/include/zephyr/net/ |
D | ieee802154_radio.h | 338 int (*set_txpower)(const struct device *dev, int16_t dbm);
|
/Zephyr-Core-3.4.0/boards/arm/efr32_radio/doc/ |
D | brd4187c.rst | 150 https://www.silabs.com/development-tools/wireless/efr32xg24-pro-kit-20-dbm
|
/Zephyr-Core-3.4.0/subsys/net/lib/config/ |
D | Kconfig | 134 int "IEEE 802.15.4 TX power in dbm"
|