Updated ap-sensor.sh

Added license info
changed tshark flags