CC3301: AM62x: Measure power consumption at different tx power

Part Number: CC3301

Tool/software:

Hi,

Integrated the cc3301 module with our custom board based on the AM62x.

the default WiFi tx power is 20dBm and current consumption of overall board is around 124mA at 12v,

it may go up to 180mA while transferring the large file

user@user:~$  iw dev

phy#0

        Interface wlan0

                ifindex 3

                wdev 0x1

                addr aa:bb:cc:dd:ee:ff

                ssid Prometheus

                type AP

                channel 1 (2412 MHz), width: 20 MHz (no HT), center1: 2412 MHz

                txpower 20.00 dBm

                multicast TXQ:

                        qsz-byt qsz-pkt flows   drops   marks   overlmt hashcol tx-bytes        tx-packets

                        0       0       0       0       0       0       0       0               0

Reduced the txpower to 12dbm with below command

user@user:~$  sudo ifconfig wlan0 down

user@user:~$ sudo iw dev wlan0 set txpower fixed 1200

user@user:~$ sudo ifconfig wlan0 up

user@user:~$  iw dev

phy#0

        Interface wlan0

                ifindex 3

                wdev 0x1

                addr aa:bb:cc:dd:ee:ff

                ssid Prometheus

                type AP

                channel 1 (2412 MHz), width: 20 MHz (no HT), center1: 2412 MHz

                txpower 12.00 dBm

                multicast TXQ:

                        qsz-byt qsz-pkt flows   drops   marks   overlmt hashcol tx-bytes        tx-packets

                        0       0       0       0       0       0       0       0               0

but current consumption is same as 20dBm ( ideal:124mA and transfer file 180mA), and even for 6 dBm tx power

so getting doubt about the commands effect on the module.

Please share the proper command to reduce tx power of the cc33xx.

Regards,

Gireesh Hiremath