Lines Matching refs:params

28 struct ieee802154_req_params params;  variable
100 params = (struct ieee802154_req_params){0}; in cmd_ieee802154_associate()
101 params.pan_id = atoi(argv[1]); in cmd_ieee802154_associate()
105 if (parse_extended_address(ext_addr, params.addr) < 0) { in cmd_ieee802154_associate()
110 params.len = IEEE802154_EXT_ADDR_LENGTH; in cmd_ieee802154_associate()
112 params.short_addr = (uint16_t) atoi(ext_addr); in cmd_ieee802154_associate()
113 params.len = IEEE802154_SHORT_ADDR_LENGTH; in cmd_ieee802154_associate()
117 &params, sizeof(struct ieee802154_req_params))) { in cmd_ieee802154_associate()
120 argv[2], params.pan_id); in cmd_ieee802154_associate()
125 "Associated to PAN ID %u\n", params.pan_id); in cmd_ieee802154_associate()
193 if (params.len == IEEE802154_EXT_ADDR_LENGTH) { in print_coordinator_address()
200 "%02X:", params.addr[i]); in print_coordinator_address()
205 snprintk(buf, buf_len, "(short) %u", params.short_addr); in print_coordinator_address()
218 "LQI: %u Associable: %s\n", params.channel, params.pan_id, in scan_result_cb()
219 print_coordinator_address(buf, sizeof(buf)), params.lqi, in scan_result_cb()
220 params.association_permitted ? "yes" : "no"); in scan_result_cb()
241 params = (struct ieee802154_req_params){0}; in cmd_ieee802154_scan()
257 params.channel_set = IEEE802154_ALL_CHANNELS; in cmd_ieee802154_scan()
259 params.channel_set = parse_channel_set(argv[2]); in cmd_ieee802154_scan()
262 if (!params.channel_set) { in cmd_ieee802154_scan()
267 params.duration = atoi(argv[3]); in cmd_ieee802154_scan()
272 "Active" : "Passive", params.channel_set, in cmd_ieee802154_scan()
273 params.duration); in cmd_ieee802154_scan()
279 &params, sizeof(struct ieee802154_req_params)); in cmd_ieee802154_scan()
282 &params, sizeof(struct ieee802154_req_params)); in cmd_ieee802154_scan()