clear and set appropriate bits for client interface