Lines Matching full:sme

2076 			  struct cfg80211_connect_params *sme)  in qtnf_cmd_send_connect()  argument
2096 if (sme->bssid_hint) in qtnf_cmd_send_connect()
2097 ether_addr_copy(cmd->bssid_hint, sme->bssid_hint); in qtnf_cmd_send_connect()
2101 if (sme->prev_bssid) in qtnf_cmd_send_connect()
2102 ether_addr_copy(cmd->prev_bssid, sme->prev_bssid); in qtnf_cmd_send_connect()
2106 if ((sme->bg_scan_period >= 0) && in qtnf_cmd_send_connect()
2107 (sme->bg_scan_period <= SHRT_MAX)) in qtnf_cmd_send_connect()
2108 cmd->bg_scan_period = cpu_to_le16(sme->bg_scan_period); in qtnf_cmd_send_connect()
2112 if (sme->flags & ASSOC_REQ_DISABLE_HT) in qtnf_cmd_send_connect()
2114 if (sme->flags & ASSOC_REQ_DISABLE_VHT) in qtnf_cmd_send_connect()
2116 if (sme->flags & ASSOC_REQ_USE_RRM) in qtnf_cmd_send_connect()
2120 memcpy(&cmd->ht_capa, &sme->ht_capa, sizeof(cmd->ht_capa)); in qtnf_cmd_send_connect()
2121 memcpy(&cmd->ht_capa_mask, &sme->ht_capa_mask, in qtnf_cmd_send_connect()
2123 memcpy(&cmd->vht_capa, &sme->vht_capa, sizeof(cmd->vht_capa)); in qtnf_cmd_send_connect()
2124 memcpy(&cmd->vht_capa_mask, &sme->vht_capa_mask, in qtnf_cmd_send_connect()
2126 cmd->pbss = sme->pbss; in qtnf_cmd_send_connect()
2129 aen->auth_type = sme->auth_type; in qtnf_cmd_send_connect()
2130 aen->privacy = !!sme->privacy; in qtnf_cmd_send_connect()
2131 cmd->mfp = sme->mfp; in qtnf_cmd_send_connect()
2132 aen->wpa_versions = cpu_to_le32(sme->crypto.wpa_versions); in qtnf_cmd_send_connect()
2133 aen->cipher_group = cpu_to_le32(sme->crypto.cipher_group); in qtnf_cmd_send_connect()
2134 aen->n_ciphers_pairwise = cpu_to_le32(sme->crypto.n_ciphers_pairwise); in qtnf_cmd_send_connect()
2138 cpu_to_le32(sme->crypto.ciphers_pairwise[i]); in qtnf_cmd_send_connect()
2140 n = min(QLINK_MAX_NR_AKM_SUITES, sme->crypto.n_akm_suites); in qtnf_cmd_send_connect()
2144 aen->akm_suites[i] = cpu_to_le32(sme->crypto.akm_suites[i]); in qtnf_cmd_send_connect()
2146 aen->control_port = sme->crypto.control_port; in qtnf_cmd_send_connect()
2148 sme->crypto.control_port_no_encrypt; in qtnf_cmd_send_connect()
2150 cpu_to_le16(be16_to_cpu(sme->crypto.control_port_ethertype)); in qtnf_cmd_send_connect()
2152 qtnf_cmd_skb_put_tlv_arr(cmd_skb, WLAN_EID_SSID, sme->ssid, in qtnf_cmd_send_connect()
2153 sme->ssid_len); in qtnf_cmd_send_connect()
2155 if (sme->ie_len != 0) in qtnf_cmd_send_connect()
2157 sme->ie, sme->ie_len); in qtnf_cmd_send_connect()
2159 if (sme->channel) in qtnf_cmd_send_connect()
2160 qtnf_cmd_channel_tlv_add(cmd_skb, sme->channel); in qtnf_cmd_send_connect()