Lines Matching refs:scan_config
481 struct iwm_scan_config *scan_config; in iwm_config_umac_scan() local
497 cmd_size = sizeof(*scan_config) + sc->sc_fw.ucode_capa.n_scan_channels; in iwm_config_umac_scan()
499 scan_config = malloc(cmd_size, M_DEVBUF, M_NOWAIT | M_ZERO); in iwm_config_umac_scan()
500 if (scan_config == NULL) in iwm_config_umac_scan()
503 scan_config->tx_chains = htole32(iwm_get_valid_tx_ant(sc)); in iwm_config_umac_scan()
504 scan_config->rx_chains = htole32(iwm_get_valid_rx_ant(sc)); in iwm_config_umac_scan()
505 scan_config->legacy_rates = htole32(rates | in iwm_config_umac_scan()
509 scan_config->dwell_active = 10; in iwm_config_umac_scan()
510 scan_config->dwell_passive = 110; in iwm_config_umac_scan()
511 scan_config->dwell_fragmented = 44; in iwm_config_umac_scan()
512 scan_config->dwell_extended = 90; in iwm_config_umac_scan()
513 scan_config->out_of_channel_time = htole32(0); in iwm_config_umac_scan()
514 scan_config->suspend_time = htole32(0); in iwm_config_umac_scan()
516 IEEE80211_ADDR_COPY(scan_config->mac_addr, in iwm_config_umac_scan()
519 scan_config->bcast_sta_id = sc->sc_aux_sta.sta_id; in iwm_config_umac_scan()
520 scan_config->channel_flags = IWM_CHANNEL_FLAG_EBS | in iwm_config_umac_scan()
536 scan_config->channel_array[nchan++] = in iwm_config_umac_scan()
540 scan_config->flags = htole32(IWM_SCAN_CONFIG_FLAG_ACTIVATE | in iwm_config_umac_scan()
552 hcmd.data[0] = scan_config; in iwm_config_umac_scan()
562 free(scan_config, M_DEVBUF); in iwm_config_umac_scan()