• Home
  • Raw
  • Download

Lines Matching refs:scan

638 	struct iwl_scan_cmd *scan;  in iwlagn_request_scan()  local
676 scan = priv->scan_cmd; in iwlagn_request_scan()
677 memset(scan, 0, scan_cmd_size); in iwlagn_request_scan()
679 scan->quiet_plcp_th = IWL_PLCP_QUIET_THRESH; in iwlagn_request_scan()
680 scan->quiet_time = IWL_ACTIVE_QUIET_TIME; in iwlagn_request_scan()
698 scan->suspend_time = 0; in iwlagn_request_scan()
699 scan->max_out_time = cpu_to_le32(200 * 1024); in iwlagn_request_scan()
706 scan->suspend_time = cpu_to_le32(scan_suspend_time); in iwlagn_request_scan()
719 scan->quiet_time = cpu_to_le16(IWL_RADIO_RESET_DWELL_TIME); in iwlagn_request_scan()
737 scan->direct_scan[p].id = WLAN_EID_SSID; in iwlagn_request_scan()
738 scan->direct_scan[p].len = in iwlagn_request_scan()
740 memcpy(scan->direct_scan[p].ssid, in iwlagn_request_scan()
752 scan->tx_cmd.tx_flags = TX_CMD_FLG_SEQ_CTL_MSK; in iwlagn_request_scan()
753 scan->tx_cmd.sta_id = ctx->bcast_sta_id; in iwlagn_request_scan()
754 scan->tx_cmd.stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; in iwlagn_request_scan()
758 scan->flags = RXON_FLG_BAND_24G_MSK | RXON_FLG_AUTO_DETECT_MSK; in iwlagn_request_scan()
776 scan->tx_cmd.tx_flags |= TX_CMD_FLG_IGNORE_BT; in iwlagn_request_scan()
808 scan->good_CRC_th = is_active ? IWL_GOOD_CRC_TH_DEFAULT : in iwlagn_request_scan()
811 scan->good_CRC_th = is_active ? IWL_GOOD_CRC_TH_DEFAULT : in iwlagn_request_scan()
827 scan->tx_cmd.rate_n_flags = iwl_hw_set_rate_n_flags(rate, rate_flags); in iwlagn_request_scan()
859 scan->rx_chain = cpu_to_le16(rx_chain); in iwlagn_request_scan()
863 (struct ieee80211_mgmt *)scan->data, in iwlagn_request_scan()
868 scan_cmd_size - sizeof(*scan)); in iwlagn_request_scan()
873 (struct ieee80211_mgmt *)scan->data, in iwlagn_request_scan()
876 scan_cmd_size - sizeof(*scan)); in iwlagn_request_scan()
881 scan->tx_cmd.len = cpu_to_le16(cmd_len); in iwlagn_request_scan()
883 scan->filter_flags |= (RXON_FILTER_ACCEPT_GRP_MSK | in iwlagn_request_scan()
888 scan->channel_count = in iwlagn_request_scan()
890 (void *)&scan->data[cmd_len]); in iwlagn_request_scan()
893 scan->channel_count = in iwlagn_request_scan()
896 (void *)&scan->data[cmd_len]); in iwlagn_request_scan()
900 if (scan->channel_count == 0) { in iwlagn_request_scan()
901 IWL_DEBUG_SCAN(priv, "channel count %d\n", scan->channel_count); in iwlagn_request_scan()
905 cmd.len[0] += le16_to_cpu(scan->tx_cmd.len) + in iwlagn_request_scan()
906 scan->channel_count * sizeof(struct iwl_scan_channel); in iwlagn_request_scan()
907 cmd.data[0] = scan; in iwlagn_request_scan()
909 scan->len = cpu_to_le16(cmd.len[0]); in iwlagn_request_scan()