xref: /openwifi/user_space/eifs_by_last_tx_fail_disable.sh (revision afbf0d645c0a6bb259b4b3c7b74545d97fa796ae)
1#!/bin/bash
2
3home_dir=$(pwd)
4
5if test -d "/sys/devices/platform/fpga-axi@0/fpga-axi@0:sdr"; then
6  cd /sys/devices/platform/fpga-axi@0/fpga-axi@0:sdr
7else
8  cd /sys/devices/soc0/fpga-axi\@0/fpga-axi\@0\:sdr
9fi
10
11set -x
12#set
13if [[ -n $1 ]]; then
14  echo "5$1" > csma_cfg0
15fi
16
17# show
18cat csma_cfg0
19set +x
20
21cd $home_dir
22