implemented master mode

fix: auth downlink frame must be longer than MAC