scan_type
set_scan_type(struct iwi_scan_ext *scan, int ix, int scan_type)
uint8_t *st = &scan->scan_type[ix / 2];
*st = (*st & 0xf0) | ((scan_type & 0xf) << 0);
*st = (*st & 0x0f) | ((scan_type & 0xf) << 4);
set_scan_type(&scan, next, scan_type(ss, chan));
set_scan_type(&scan, 1, scan_type(ss, chan));
uint8_t type = scan.scan_type[i/2];
uint8_t scan_type[IWI_SCAN_CHANNELS / 2];