xref: /openwifi/user_space/tx_intf_iq_send.sh (revision 585a56016e8fc8f0a28be3b5aaf11d0dbc70c4e5)
1#!/bin/bash
2
3home_dir=$(pwd)
4
5set -x
6if test -d "/sys/devices/platform/fpga-axi@0/fpga-axi@0:sdr"; then
7  cd /sys/devices/platform/fpga-axi@0/fpga-axi@0:sdr
8else
9  cd /sys/devices/soc0/fpga-axi\@0/fpga-axi\@0\:sdr
10fi
11
12echo 1 > tx_intf_iq_ctl
13cat tx_intf_iq_ctl
14
15cd $home_dir
16