Lines Matching refs:p

2769 	struct wmi_connect_cmd p;  in ath6kl_start_ap()  local
2822 memset(&p, 0, sizeof(p)); in ath6kl_start_ap()
2828 p.auth_mode |= WPA_AUTH; in ath6kl_start_ap()
2830 p.auth_mode |= WPA2_AUTH; in ath6kl_start_ap()
2834 p.auth_mode |= WPA_PSK_AUTH; in ath6kl_start_ap()
2836 p.auth_mode |= WPA2_PSK_AUTH; in ath6kl_start_ap()
2840 if (p.auth_mode == 0) in ath6kl_start_ap()
2841 p.auth_mode = NONE_AUTH; in ath6kl_start_ap()
2842 vif->auth_mode = p.auth_mode; in ath6kl_start_ap()
2848 p.prwise_crypto_type |= WEP_CRYPT; in ath6kl_start_ap()
2851 p.prwise_crypto_type |= TKIP_CRYPT; in ath6kl_start_ap()
2854 p.prwise_crypto_type |= AES_CRYPT; in ath6kl_start_ap()
2857 p.prwise_crypto_type |= WAPI_CRYPT; in ath6kl_start_ap()
2861 if (p.prwise_crypto_type == 0) { in ath6kl_start_ap()
2862 p.prwise_crypto_type = NONE_CRYPT; in ath6kl_start_ap()
2871 p.grp_crypto_type = WEP_CRYPT; in ath6kl_start_ap()
2874 p.grp_crypto_type = TKIP_CRYPT; in ath6kl_start_ap()
2877 p.grp_crypto_type = AES_CRYPT; in ath6kl_start_ap()
2880 p.grp_crypto_type = WAPI_CRYPT; in ath6kl_start_ap()
2883 p.grp_crypto_type = NONE_CRYPT; in ath6kl_start_ap()
2888 p.nw_type = AP_NETWORK; in ath6kl_start_ap()
2891 p.ssid_len = vif->ssid_len; in ath6kl_start_ap()
2892 memcpy(p.ssid, vif->ssid, vif->ssid_len); in ath6kl_start_ap()
2893 p.dot11_auth_mode = vif->dot11_auth_mode; in ath6kl_start_ap()
2894 p.ch = cpu_to_le16(info->chandef.chan->center_freq); in ath6kl_start_ap()
2902 p.nw_subtype = SUBTYPE_P2PGO; in ath6kl_start_ap()
2908 p.nw_subtype = SUBTYPE_NONE; in ath6kl_start_ap()
2948 memcpy(&vif->profile, &p, sizeof(p)); in ath6kl_start_ap()
2949 res = ath6kl_wmi_ap_profile_commit(ar->wmi, vif->fw_vif_idx, &p); in ath6kl_start_ap()