1 /* 2 * Copyright (c) 2016-2019 Intel Corporation 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 enum wpanusb_requests { 8 RESET, 9 TX, 10 XMIT_ASYNC, 11 ED, 12 SET_CHANNEL, 13 START, 14 STOP, 15 SET_SHORT_ADDR, 16 SET_PAN_ID, 17 SET_IEEE_ADDR, 18 SET_TXPOWER, 19 SET_CCA_MODE, 20 SET_CCA_ED_LEVEL, 21 SET_CSMA_PARAMS, 22 SET_PROMISCUOUS_MODE, 23 }; 24 25 struct set_channel { 26 uint8_t page; 27 uint8_t channel; 28 } __packed; 29 30 struct set_short_addr { 31 uint16_t short_addr; /* in CPU byte order */ 32 } __packed; 33 34 struct set_pan_id { 35 uint16_t pan_id; /* in CPU byte order */ 36 } __packed; 37 38 struct set_ieee_addr { 39 uint64_t ieee_addr; /* big endian */ 40 } __packed; 41