move two functions from broadcom.sh to /sbin/wifi