...
 
Commits (2)
manfid=0x2d0
prodid=0x0532
vendid=0x14e4
devid=0x4360
boardtype=0x0532
boardrev=0x20
boardflags=0x10080201
nocrc=1
xtalfreq=37400
xtalmode=0x20,0x4,0
boardnum=22
macaddr=00:90:4c:c5:12:38
ag0=252
ag1=252
aa2g=1
aa5g=1
ccode=EU
regrev=5
#for BT-coexistence
btc_params80=0
btc_params6=10
btc_params8=10000
sd_gpout=0
# sd_oobonly=1
muxenab=0x10
# 2G PA param_B42R 110927
pa0b0=0x12E4
pa0b1=0xFE09
pa0b2=0xFF9A
#pa0itssit=62
rssismf2g=0xa
rssismc2g=0x3
rssisav2g=0x7
# rssi params for 5GHz B42R_110803
#rssismf5g=0x4
rssismf5g=0xa
rssismc5g=0x7
rssisav5g=0x1
#PA parameters for lower band
pa1lob0=0x144F
pa1lob1=0xFD6B
pa1lob2=0xFF3B
#PA parameters for midband
pa1b0=0x139C
pa1b1=0xFD87
pa1b2=0xFF4F
#PA parameters for high band
pa1hib0=0x12CA
pa1hib1=0xFD9A
pa1hib2=0xFF4E
# 2G PA offset
maxp2ga0=64
sromrev=3
cckpo=0
ofdm2gpo=0x66666666
mcs2gpo0=0xaaaa
mcs2gpo1=0xaaaa
# 5G PA offset
maxp5ga0=66
maxp5gla0=66
maxp5gha0=66
ofdm5gpo=0x22222222
ofdm5glpo=0x11111111
ofdm5ghpo=0x22222222
mcs5gpo0=0x6666
mcs5gpo1=0x6666
mcs5glpo0=0x5555
mcs5glpo1=0x5555
mcs5ghpo0=0x6666
mcs5ghpo1=0x6666
cckPwrOffset=4
cckdigfilttype=22
ofdmdigfilttype=2
extpagain5g=2
#wl0id=0x431b
# For 2GHz Tx EVM/SM
rfreg033=0x19
rfreg033_cck=0x1d
pacalidx2g=65
dacrate2g=160
txalpfbyp2g=1
bphyscale=17
# 5GHz LOFT and IQ CAL
txgaintbl5g=1
txiqlopapu5g=1
txiqlopag5g=0x10
iqlocalidx5g=24
# 5GHz Noise CAL parameter
noise_cal_po_5g=5
noise_cal_enable_5g=0
# 2GHz RxPER at low rates
noise_cal_ref_2g=56
noise_cal_po_bias_2g=-4
noise_cal_enable_2g=1
# Max input level on a-band
triso5g=9
# Tx power control, especially temp.
tssitime=1
#fc+1.7GHz Spur Elimination
loidacmode5g=1
swctrlmap_2g=0x84048404, 0x82028202, 0x84048404, 0x010202, 0x1ff
swctrlmap_5g=0xC040C040, 0xB030A020, 0xA020C040, 0x010A02, 0x2F8
......@@ -40,7 +40,6 @@ PRODUCT_PACKAGES += \
camera.tuna \
lights.tuna \
nfc.tuna \
libpn544_fw \
power.tuna \
sensors.tuna
......@@ -77,10 +76,6 @@ PRODUCT_COPY_FILES += \
$(DEVICE_FOLDER)/media_profiles.xml:system/etc/media_profiles.xml \
$(DEVICE_FOLDER)/media_codecs.xml:system/etc/media_codecs.xml
# Wifi
PRODUCT_COPY_FILES += \
$(DEVICE_FOLDER)/bcmdhd.cal:system/etc/wifi/bcmdhd.cal
PRODUCT_PACKAGES += \
libwpa_client \
hostapd \
......@@ -202,6 +197,6 @@ PRODUCT_PACKAGES += \
$(call inherit-product, frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk)
$(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4330/device-bcm.mk)
$(call inherit-product, hardware/broadcom/wlan/bcmdhd/config/config-bcm.mk)
$(call inherit-product-if-exists, vendor/samsung/tuna/device-vendor.mk)
......@@ -25,14 +25,3 @@ LOCAL_CFLAGS := -Wall -Werror
LOCAL_CFLAGS += -D$(TARGET_DEVICE)
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := libpn544_fw
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware
LOCAL_SRC_FILES := pn544_fw.c
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := -Wall -Werror
include $(BUILD_SHARED_LIBRARY)
This diff could not be displayed because it is too large.
#!/system/bin/sh
DEVICE="/dev/block/platform/omap/omap_hsmmc.0/by-name/dgs"
log_to_kernel() {
echo "$*" > /dev/kmsg
}
create_tee_fs() {
make_ext4fs -J -b 4096 ${DEVICE} || exit 1
mount -t ext4 ${DEVICE} /tee || exit 1
mkdir /tee/smc || exit 1
chmod 0770 /tee/smc || exit 1
chown drmrpc:drmrpc /tee/smc || exit 1
restorecon -R /tee/smc || exit 1
}
if [ ! -e /tee/smc ]; then
# sha1 hash of the empty 4MB partition.
EXPECTED_HASH="2bccbd2f38f15c13eb7d5a89fd9d85f595e23bc3"
ACTUAL_HASH="`/system/bin/sha1sum ${DEVICE}`"
if [ "${ACTUAL_HASH}" == "${EXPECTED_HASH} ${DEVICE}" ]; then
if create_tee_fs > /dev/kmsg 2>&1; then
log_to_kernel "tee-fs-setup: successfully initialized /tee for SMC, rebooting."
# tf_daemon gets stuck when started after FS initialization,
# but works fine after reboot.
mount -t ext4 -o remount,ro /tee
reboot
else
log_to_kernel "tee-fs-setup: initialization of /tee for SMC failed. SMC won't function!"
fi
else
log_to_kernel "tee-fs-setup: unexpected hash '${ACTUAL_HASH}', skipping /tee filesystem creation. SMC won't function!"
fi
else
log_to_kernel "tee-fs-setup: /tee is already initialized for SMC, nothing to do."
setprop init.tee_fs.ready true
fi
exit 0