# Is it possible to set transmit power?

**URL:** <https://forum.amebaiot.com/t/is-it-possible-to-set-transmit-power/4280>\
**Category:** SDK\
**Tags:** rtl872xd\
**Created:** [July 29, 2025, 7:18pm UTC](https://forum.amebaiot.com/t/is-it-possible-to-set-transmit-power/4280 "2025-07-29T19:18:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![airista\_islavov](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@airista\_islavov](https://forum.amebaiot.com/u/airista_islavov)\
**Post date:** [July 29, 2025, 7:18pm UTC](https://forum.amebaiot.com/t/is-it-possible-to-set-transmit-power/4280/1 "2025-07-29T19:18:16Z")

</div>

Hi,

As title says - Trying to find out if it it is possible to set transmit power.

Using this SDK: [https://github.com/ambiot/ambd\_sdk](https://github.com/ambiot/ambd_sdk)  
Hardware is using NORA-W30 module with RTL872xD chip.

Looking at this file: [https://github.com/ambiot/ambd\_sdk/blob/dev/component/common/api/wifi/wifi\_util.c](https://github.com/ambiot/ambd_sdk/blob/dev/component/common/api/wifi/wifi_util.c) , seems function is there but it is commented out with #if 0 MACRO:

```auto
#if 0
int wext_set_txpower(const char *ifname, int poweridx)
{
	int ret = 0;
	char buf[24];
	
	rtw_memset(buf, 0, sizeof(buf));
	snprintf(buf, 24, "txpower patha=%d", poweridx);
	ret = wext_private_command(ifname, buf, 0);

	return ret;
}

//...

#endif

```

Has anyone tried uncommenting and calling this function?

If yes, what are the values power indexes “powerIdx“ and how to map to actual power value in dBm?

Thanks,

Ivan S.
