diff --git a/octal/rffe.tgz b/octal/rffe.tgz index f7ea26b088..f0c77d48fd 100644 Binary files a/octal/rffe.tgz and b/octal/rffe.tgz differ diff --git a/octal/rffe/fe-enable b/octal/rffe/fe-enable index c9dc93a35b..98d035c72f 100644 --- a/octal/rffe/fe-enable +++ b/octal/rffe/fe-enable @@ -20,6 +20,16 @@ case $HW_REVISION in echo 127 > ${SNIFF_ATT} echo 0 > ${SNIFF_LNA_EN} ;; + C) + echo "Benetel" +oncpu 0 /usr/bin/cn_rfdriver << eof > /dev/null +w +27 +20 +q +eof + exit 0 + ;; E ) fe-setsniffercircuit --off 2> /dev/null diff --git a/octal/rffe/fe-gethdrev b/octal/rffe/fe-gethdrev index ee085d81e0..9cca20912e 100644 --- a/octal/rffe/fe-gethdrev +++ b/octal/rffe/fe-gethdrev @@ -25,8 +25,10 @@ fi if [ -r /sys/devices/soc.0/0.tip/fe_version_code ]; then echo $(cat /sys/devices/soc.0/0.tip/fe_version_code); else - echo "$0 - ERROR hardware revision code is not detected" - exit 1 +# echo "$0 - ERROR hardware revision code is not detected" +# exit 1 +# To Do - fix the rev read so that it returns HW revision + echo "C" fi exit 0 diff --git a/octal/rffe/fe-manager b/octal/rffe/fe-manager index e267f815c1..b3d4ba773e 100644 --- a/octal/rffe/fe-manager +++ b/octal/rffe/fe-manager @@ -5,8 +5,7 @@ VERSION=1.3 HW_REVISION_SUPPORTED="A D E" periodCheckAlert=15 #seconds, period to check alert -#FIXME periodReadjustTx default is 300, changed to 10 for testing -periodReadjustTx=10 #seconds, period to readjust tx attenuation +periodReadjustTx=300 #seconds, period to readjust tx attenuation PERIOD_CHECK_CELL_STATE=300 #seconds, period to readjust tx attenuation EEPROM="/sys/devices/soc.0/1180000001000.i2c/i2c-0/0-0051/eeprom" @@ -336,8 +335,8 @@ loop() log $LOG_LEVEL_EMERGENCY "could not get Front-End temperature" exit 1 fi - tempLed=$(fe-gettemperature led) #FIXME commenting out LED for now + #tempLed=$(fe-gettemperature led) #if [ $? -ne 0 ] ; then # log $LOG_LEVEL_EMERGENCY "could not get LED Board temperature, NO EXIT" # #exit 1