Lines Matching refs:wpa
506 struct ie_item wpa; member
535 ie_info->wpa.data = pos - 2; in gelic_wl_parse_ie()
536 ie_info->wpa.len = item_len + 2; in gelic_wl_parse_ie()
553 ie_info->wpa.data, ie_info->wpa.len, in gelic_wl_parse_ie()
673 if (ie_info.wpa.len && (ie_info.wpa.len <= sizeof(buf))) { in gelic_wl_translate_scan()
674 memcpy(buf, ie_info.wpa.data, ie_info.wpa.len); in gelic_wl_translate_scan()
676 iwe.u.data.length = ie_info.wpa.len; in gelic_wl_translate_scan()
1835 struct gelic_eurus_wpa_cfg *wpa; in gelic_wl_do_wpa_setup() local
1842 wpa = (struct gelic_eurus_wpa_cfg *)__get_free_page(GFP_KERNEL); in gelic_wl_do_wpa_setup()
1843 if (!wpa) in gelic_wl_do_wpa_setup()
1846 memset(wpa, 0, sizeof(*wpa)); in gelic_wl_do_wpa_setup()
1852 memcpy(wpa->psk, wl->psk, wl->psk_len); in gelic_wl_do_wpa_setup()
1876 wpa->security = cpu_to_be16(security); in gelic_wl_do_wpa_setup()
1879 wpa->psk_type = cpu_to_be16(wl->psk_type); in gelic_wl_do_wpa_setup()
1882 wpasecstr(wpa->security), in gelic_wl_do_wpa_setup()
1883 (wpa->psk_type == GELIC_EURUS_WPA_PSK_BIN) ? in gelic_wl_do_wpa_setup()
1892 (wpa->psk_type == GELIC_EURUS_WPA_PSK_BIN) ? in gelic_wl_do_wpa_setup()
1893 "N/A" : wpa->psk); in gelic_wl_do_wpa_setup()
1898 wpa, sizeof(*wpa)); in gelic_wl_do_wpa_setup()
1904 free_page((unsigned long)wpa); in gelic_wl_do_wpa_setup()