Home
last modified time | relevance | path

Searched refs:tx_power (Results 1 – 25 of 42) sorted by relevance

12

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_test.c280 static uint8_t tx_power_check(int8_t tx_power) in tx_power_check() argument
282 if ((tx_power != BT_HCI_TX_TEST_POWER_MIN_SET) && in tx_power_check()
283 (tx_power != BT_HCI_TX_TEST_POWER_MAX_SET) && in tx_power_check()
284 ((tx_power < BT_HCI_TX_TEST_POWER_MIN) || (tx_power > BT_HCI_TX_TEST_POWER_MAX))) { in tx_power_check()
291 static uint8_t tx_power_set(int8_t tx_power) in tx_power_set() argument
295 err = tx_power_check(tx_power); in tx_power_set()
300 if (tx_power == BT_HCI_TX_TEST_POWER_MAX_SET) { in tx_power_set()
301 tx_power = radio_tx_power_max_get(); in tx_power_set()
302 } else if (tx_power == BT_HCI_TX_TEST_POWER_MIN_SET) { in tx_power_set()
303 tx_power = radio_tx_power_min_get(); in tx_power_set()
[all …]
/Zephyr-latest/include/zephyr/drivers/
Dlora.h85 int8_t tx_power; member
181 int8_t tx_power, uint16_t duration);
315 int8_t tx_power, uint16_t duration) in lora_test_cw() argument
324 return api->test_cw(dev, frequency, tx_power, duration); in lora_test_cw()
/Zephyr-latest/subsys/net/lib/config/
Dieee802154_settings.c26 int16_t tx_power = CONFIG_NET_CONFIG_IEEE802154_RADIO_TX_POWER; in z_net_config_ieee802154_setup() local
59 iface, &tx_power, sizeof(int16_t))) { in z_net_config_ieee802154_setup()
/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154_shell.c569 int16_t tx_power; in cmd_ieee802154_set_tx_power() local
582 tx_power = (int16_t)atoi(argv[1]); in cmd_ieee802154_set_tx_power()
585 &tx_power, sizeof(int16_t))) { in cmd_ieee802154_set_tx_power()
587 "Could not set TX power %d\n", tx_power); in cmd_ieee802154_set_tx_power()
592 "TX power %d set\n", tx_power); in cmd_ieee802154_set_tx_power()
602 int16_t tx_power; in cmd_ieee802154_get_tx_power() local
611 &tx_power, sizeof(int16_t))) { in cmd_ieee802154_get_tx_power()
618 "TX power (in dbm) %d\n", tx_power); in cmd_ieee802154_get_tx_power()
Dieee802154.c621 int16_t tx_power = CONFIG_NET_L2_IEEE802154_RADIO_DFLT_TX_POWER; in ieee802154_init() local
676 if (!ieee802154_radio_set_tx_power(iface, tx_power)) { in ieee802154_init()
677 ctx->tx_power = tx_power; in ieee802154_init()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dll_test.h9 const uint8_t *ant_id, int8_t tx_power);
/Zephyr-latest/samples/bluetooth/eddystone/src/
Dmain.c119 uint8_t tx_power; member
141 uint8_t tx_power; member
218 return bt_gatt_attr_read(conn, attr, buf, len, offset, &slot->tx_power, in read_tx_power()
219 sizeof(slot->tx_power)); in read_tx_power()
233 if (offset + len > sizeof(slot->tx_power)) { in write_tx_power()
237 memcpy(&slot->tx_power, buf, len); in write_tx_power()
252 return bt_gatt_attr_read(conn, attr, buf, len, offset, &slot->tx_power, in read_adv_tx_power()
253 sizeof(slot->tx_power)); in read_adv_tx_power()
/Zephyr-latest/samples/drivers/lora/send/src/
Dmain.c43 config.tx_power = 4; in main()
/Zephyr-latest/drivers/lora/
Dsx12xx_common.h38 int8_t tx_power,
Dshell.c25 .tx_power = 4,
134 modem_config.tx_power); in lora_conf_dump()
161 modem_config.tx_power = lval; in lora_conf_set()
Dsx12xx_common.c351 Radio.SetTxConfig(MODEM_LORA, config->tx_power, 0, in sx12xx_lora_config()
370 int8_t tx_power, in sx12xx_lora_test_cw() argument
378 Radio.SetTxContinuousWave(frequency, tx_power, duration); in sx12xx_lora_test_cw()
Dsx127x.c200 uint8_t tx_power; member
303 if (SX127X_PA_OUTPUT(dev_data.tx_power) == SX127X_PA_BOOST) { in SX127xSetAntSw()
497 dev_data.tx_power = power; in SX127xSetRfTxPower()
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dhci.c48 cp->tx_power = 0; in cmd_mesh_adv()
/Zephyr-latest/include/zephyr/net/
Dieee802154.h347 int16_t tx_power; member
/Zephyr-latest/samples/drivers/lora/receive/src/
Dmain.c63 config.tx_power = 14; in main()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_test.c202 const uint8_t *ant_id, int8_t tx_power) in ll_test_tx() argument
213 ARG_UNUSED(tx_power); in ll_test_tx()
/Zephyr-latest/samples/bluetooth/periodic_sync/src/
Dmain.c92 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
170 bt_le_per_adv_sync_get_index(sync), le_addr, info->tx_power, in recv_cb()
/Zephyr-latest/samples/bluetooth/observer/src/
Dobserver.c73 le_addr, info->adv_type, info->tx_power, info->rssi, in scan_recv()
/Zephyr-latest/samples/bluetooth/central_past/src/
Dmain.c79 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
241 bt_le_per_adv_sync_get_index(sync), le_addr, info->tx_power, in recv_cb()
/Zephyr-latest/include/zephyr/bluetooth/
Dbluetooth.h102 int8_t tx_power; member
1436 int8_t tx_power; member
1629 int8_t tx_power; member
2222 int8_t tx_power; member
Dhci_vs.h370 int8_t tx_power; member
393 int8_t tx_power; member
/Zephyr-latest/tests/bluetooth/tester/src/btp/
Dbtp_gap.h427 uint8_t tx_power; member
438 uint8_t tx_power; member
/Zephyr-latest/samples/bluetooth/peripheral_past/src/
Dmain.c66 info->tx_power, info->rssi, info->cte_type, buf->len, data_str); in recv_cb()
/Zephyr-latest/samples/bluetooth/direction_finding_connectionless_rx/src/
Dmain.c203 bt_le_per_adv_sync_get_index(sync), le_addr, info->tx_power, in recv_cb()
247 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
/Zephyr-latest/samples/bluetooth/iso_receive/src/
Dmain.c108 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
173 bt_le_per_adv_sync_get_index(sync), le_addr, info->tx_power, in recv_cb()

12