Lines Matching full:sme
2074 struct cfg80211_connect_params *sme) in qtnf_cmd_send_connect() argument
2094 if (sme->bssid_hint) in qtnf_cmd_send_connect()
2095 ether_addr_copy(cmd->bssid_hint, sme->bssid_hint); in qtnf_cmd_send_connect()
2099 if (sme->prev_bssid) in qtnf_cmd_send_connect()
2100 ether_addr_copy(cmd->prev_bssid, sme->prev_bssid); in qtnf_cmd_send_connect()
2104 if ((sme->bg_scan_period >= 0) && in qtnf_cmd_send_connect()
2105 (sme->bg_scan_period <= SHRT_MAX)) in qtnf_cmd_send_connect()
2106 cmd->bg_scan_period = cpu_to_le16(sme->bg_scan_period); in qtnf_cmd_send_connect()
2110 if (sme->flags & ASSOC_REQ_DISABLE_HT) in qtnf_cmd_send_connect()
2112 if (sme->flags & ASSOC_REQ_DISABLE_VHT) in qtnf_cmd_send_connect()
2114 if (sme->flags & ASSOC_REQ_USE_RRM) in qtnf_cmd_send_connect()
2118 memcpy(&cmd->ht_capa, &sme->ht_capa, sizeof(cmd->ht_capa)); in qtnf_cmd_send_connect()
2119 memcpy(&cmd->ht_capa_mask, &sme->ht_capa_mask, in qtnf_cmd_send_connect()
2121 memcpy(&cmd->vht_capa, &sme->vht_capa, sizeof(cmd->vht_capa)); in qtnf_cmd_send_connect()
2122 memcpy(&cmd->vht_capa_mask, &sme->vht_capa_mask, in qtnf_cmd_send_connect()
2124 cmd->pbss = sme->pbss; in qtnf_cmd_send_connect()
2127 aen->auth_type = sme->auth_type; in qtnf_cmd_send_connect()
2128 aen->privacy = !!sme->privacy; in qtnf_cmd_send_connect()
2129 cmd->mfp = sme->mfp; in qtnf_cmd_send_connect()
2130 aen->wpa_versions = cpu_to_le32(sme->crypto.wpa_versions); in qtnf_cmd_send_connect()
2131 aen->cipher_group = cpu_to_le32(sme->crypto.cipher_group); in qtnf_cmd_send_connect()
2132 aen->n_ciphers_pairwise = cpu_to_le32(sme->crypto.n_ciphers_pairwise); in qtnf_cmd_send_connect()
2136 cpu_to_le32(sme->crypto.ciphers_pairwise[i]); in qtnf_cmd_send_connect()
2138 n = min(QLINK_MAX_NR_AKM_SUITES, sme->crypto.n_akm_suites); in qtnf_cmd_send_connect()
2142 aen->akm_suites[i] = cpu_to_le32(sme->crypto.akm_suites[i]); in qtnf_cmd_send_connect()
2144 aen->control_port = sme->crypto.control_port; in qtnf_cmd_send_connect()
2146 sme->crypto.control_port_no_encrypt; in qtnf_cmd_send_connect()
2148 cpu_to_le16(be16_to_cpu(sme->crypto.control_port_ethertype)); in qtnf_cmd_send_connect()
2150 qtnf_cmd_skb_put_tlv_arr(cmd_skb, WLAN_EID_SSID, sme->ssid, in qtnf_cmd_send_connect()
2151 sme->ssid_len); in qtnf_cmd_send_connect()
2153 if (sme->ie_len != 0) in qtnf_cmd_send_connect()
2155 sme->ie, sme->ie_len); in qtnf_cmd_send_connect()
2157 if (sme->channel) in qtnf_cmd_send_connect()
2158 qtnf_cmd_channel_tlv_add(cmd_skb, sme->channel); in qtnf_cmd_send_connect()