/Zephyr-Core-3.7.0/drivers/ieee802154/ |
D | ieee802154_b91.c | 478 static int b91_set_txpower(const struct device *dev, int16_t dbm) in b91_set_txpower() argument 483 if (dbm < B91_TX_POWER_MIN) { in b91_set_txpower() 484 dbm = B91_TX_POWER_MIN; in b91_set_txpower() 485 } else if (dbm > B91_TX_POWER_MAX) { in b91_set_txpower() 486 dbm = B91_TX_POWER_MAX; in b91_set_txpower() 490 rf_set_power_level(b91_tx_pwr_lt[dbm - B91_TX_POWER_MIN]); in b91_set_txpower()
|
D | ieee802154_cc1200.c | 580 static int cc1200_set_txpower(const struct device *dev, int16_t dbm) in cc1200_set_txpower() argument 584 LOG_DBG("%d dbm", dbm); in cc1200_set_txpower() 587 dbm = ((dbm + 18) * 2) - 1; in cc1200_set_txpower() 588 if ((dbm <= 3) || (dbm >= 64)) { in cc1200_set_txpower() 594 pa_power_ramp |= ((uint8_t) dbm) & PA_POWER_RAMP_MASK; in cc1200_set_txpower()
|
D | ieee802154_kw41z.c | 447 static int kw41z_set_txpower(const struct device *dev, int16_t dbm) in kw41z_set_txpower() argument 449 if (dbm < KW41Z_OUTPUT_POWER_MIN) { in kw41z_set_txpower() 451 dbm, in kw41z_set_txpower() 454 dbm = KW41Z_OUTPUT_POWER_MIN; in kw41z_set_txpower() 455 } else if (dbm > KW41Z_OUTPUT_POWER_MAX) { in kw41z_set_txpower() 457 dbm, in kw41z_set_txpower() 460 dbm = KW41Z_OUTPUT_POWER_MAX; in kw41z_set_txpower() 463 ZLL->PA_PWR = pa_pwr_lt[dbm - KW41Z_OUTPUT_POWER_MIN]; in kw41z_set_txpower()
|
D | ieee802154_rf2xx.c | 468 static int rf2xx_set_txpower(const struct device *dev, int16_t dbm) in rf2xx_set_txpower() argument 477 LOG_DBG("Try set Power to %d", dbm); in rf2xx_set_txpower() 513 if (dbm < min) { in rf2xx_set_txpower() 515 dbm, (double)min, (double)max); in rf2xx_set_txpower() 516 dbm = min; in rf2xx_set_txpower() 517 } else if (dbm > max) { in rf2xx_set_txpower() 519 dbm, (double)min, (double)max); in rf2xx_set_txpower() 520 dbm = max; in rf2xx_set_txpower() 523 idx = abs((int) (((float)(dbm - max) / step))); in rf2xx_set_txpower() 538 dbm, val, idx); in rf2xx_set_txpower()
|
D | ieee802154_uart_pipe.c | 255 static int upipe_set_txpower(const struct device *dev, int16_t dbm) in upipe_set_txpower() argument 258 ARG_UNUSED(dbm); in upipe_set_txpower()
|
D | Kconfig.cc1200 | 107 int "Value in dbm of the CCA threshold" 114 int "Value in dbm of the RSSI offset"
|
D | ieee802154_mcr20a.c | 1047 static int mcr20a_set_txpower(const struct device *dev, int16_t dbm) in mcr20a_set_txpower() argument 1053 LOG_DBG("%d", dbm); in mcr20a_set_txpower() 1055 if ((dbm > MCR20A_OUTPUT_POWER_MAX) || in mcr20a_set_txpower() 1056 (dbm < MCR20A_OUTPUT_POWER_MIN)) { in mcr20a_set_txpower() 1060 pwr = pow_lt[dbm - MCR20A_OUTPUT_POWER_MIN]; in mcr20a_set_txpower()
|
D | ieee802154_nrf5.c | 388 static int nrf5_set_txpower(const struct device *dev, int16_t dbm) in nrf5_set_txpower() argument 392 LOG_DBG("%d", dbm); in nrf5_set_txpower() 394 nrf5_data.txpwr = dbm; in nrf5_set_txpower()
|
D | ieee802154_cc13xx_cc26xx.c | 269 int16_t dbm) in ieee802154_cc13xx_cc26xx_set_txpower() argument 279 (RF_TxPowerTable_Entry *)table, dbm); in ieee802154_cc13xx_cc26xx_set_txpower()
|
D | ieee802154_cc13xx_cc26xx_subg.c | 636 const struct device *dev, int16_t dbm) in ieee802154_cc13xx_cc26xx_subg_set_txpower() argument 644 (RF_TxPowerTable_Entry *)ieee802154_cc13xx_subg_power_table, dbm); in ieee802154_cc13xx_cc26xx_subg_set_txpower()
|
D | ieee802154_cc2520.c | 731 static int cc2520_set_txpower(const struct device *dev, int16_t dbm) in cc2520_set_txpower() argument 735 LOG_DBG("%d", dbm); in cc2520_set_txpower() 738 switch (dbm) { in cc2520_set_txpower()
|
D | ieee802154_dw1000.c | 772 static int dwt_set_power(const struct device *dev, int16_t dbm) in dwt_set_power() argument
|
/Zephyr-Core-3.7.0/tests/net/ieee802154/l2/src/ |
D | ieee802154_fake_driver.c | 44 static int fake_set_txpower(const struct device *dev, int16_t dbm) in fake_set_txpower() argument 46 NET_INFO("TX power %d dbm", dbm); in fake_set_txpower()
|
/Zephyr-Core-3.7.0/subsys/net/l2/ieee802154/ |
D | ieee802154_utils.h | 60 static inline int ieee802154_radio_set_tx_power(struct net_if *iface, int16_t dbm) in ieee802154_radio_set_tx_power() argument 69 return radio->set_txpower(net_if_get_device(iface), dbm); in ieee802154_radio_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.7.0/include/zephyr/net/ |
D | ieee802154_radio.h | 1607 int (*set_txpower)(const struct device *dev, int16_t dbm);
|
/Zephyr-Core-3.7.0/boards/silabs/radio_boards/xg24_rb4187c/doc/ |
D | index.rst | 145 https://www.silabs.com/development-tools/wireless/efr32xg24-pro-kit-20-dbm
|
/Zephyr-Core-3.7.0/subsys/net/lib/config/ |
D | Kconfig | 141 int "IEEE 802.15.4 TX power in dbm"
|