2 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 * Purpose: Handles wpa supplicant ioctl interface
32 /*--------------------- Export Definitions -------------------------*/
44 VIAWGET_GET_BSSID
= 6,
45 VIAWGET_SET_DROP_UNENCRYPT
= 7,
46 VIAWGET_SET_DEAUTHENTICATE
= 8,
47 VIAWGET_SET_ASSOCIATE
= 9,
48 VIAWGET_SET_DISASSOCIATE
= 10
52 VIAWGET_ASSOC_MSG
= 1,
53 VIAWGET_DISASSOC_MSG
= 2,
54 VIAWGET_PTK_MIC_MSG
= 3,
55 VIAWGET_GTK_MIC_MSG
= 4,
56 VIAWGET_CCKM_ROAM_MSG
= 5,
57 VIAWGET_DEVICECLOSE_MSG
= 6
61 typedef struct viawget_wpa_header
{
67 struct viawget_wpa_param
{
114 struct viawget_scan_result
{
118 u8 wpa_ie
[WPA_IE_LEN
];
120 u8 rsn_ie
[WPA_IE_LEN
];
123 int caps
; // e.g. privacy
124 int qual
; // signal quality
130 //2006-1116-01,<Add> by NomadZhao
132 /*--------------------- Export Classes ----------------------------*/
134 /*--------------------- Export Variables --------------------------*/
136 /*--------------------- Export Types ------------------------------*/
138 /*--------------------- Export Functions --------------------------*/