struct gelic_eurus_common_cfg { /* all fields are big endian */
u16 scan_index;
u16 bss_type; /* infra or adhoc */
u16 auth_method; /* shared key or open */
u16 op_mode; /* B/G */
} __packed;
/* * hw BSS information structure returned from GELIC_EURUS_CMD_GET_SCAN
*/ struct gelic_eurus_scan_info { /* all fields are big endian */
__be16 size;
__be16 rssi; /* percentage */
__be16 channel; /* channel number */
__be16 beacon_period; /* FIXME: in msec unit */
__be16 capability;
__be16 security;
u8 bssid[8]; /* last ETH_ALEN are valid. bssid[0],[1] are unused */
u8 essid[32]; /* IW_ESSID_MAX_SIZE */
u8 rate[16]; /* first 12 are valid */
u8 ext_rate[16]; /* first 16 are valid */
__be32 reserved1;
__be32 reserved2;
__be32 reserved3;
__be32 reserved4;
u8 elements[]; /* ie */
} __packed;
/* the hypervisor returns bbs up to 16 */ #define GELIC_EURUS_MAX_SCAN (16) struct gelic_wl_scan_info { struct list_head list; struct gelic_eurus_scan_info *hwinfo;
int valid; /* set 1 if this entry was in latest scanned list
* from Eurus */ unsignedint eurus_index; /* index in the Eurus list */ unsignedlong last_scanned; /* acquired time */
/* for GELIC_EURUS_CMD_GET_RSSI */ struct gelic_eurus_rssi_info { /* big endian */
__be16 rssi;
} __packed;
/* for 'stat' member of gelic_wl_info */ enum gelic_wl_info_status_bit {
GELIC_WL_STAT_CONFIGURED,
GELIC_WL_STAT_CH_INFO, /* ch info acquired */
GELIC_WL_STAT_ESSID_SET, /* ESSID specified by userspace */
GELIC_WL_STAT_BSSID_SET, /* BSSID specified by userspace */
GELIC_WL_STAT_WPA_PSK_SET, /* PMK specified by userspace */
GELIC_WL_STAT_WPA_LEVEL_SET, /* WEP or WPA[2] selected */
};
/* for 'scan_stat' member of gelic_wl_info */ enum gelic_wl_scan_state { /* just initialized or get last scan result failed */
GELIC_WL_SCAN_STAT_INIT, /* scan request issued, accepted or chip is scanning */
GELIC_WL_SCAN_STAT_SCANNING, /* scan results retrieved */
GELIC_WL_SCAN_STAT_GOT_LIST,
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.