wpa_supplicant / hostapd 2.0
Data Structures | Defines | Variables

driver_roboswitch.c File Reference

WPA Supplicant - roboswitch driver interface. More...

#include "includes.h"
#include <sys/ioctl.h>
#include <linux/sockios.h>
#include <linux/if_ether.h>
#include <linux/mii.h>
#include <net/if.h>
#include "common.h"
#include "driver.h"
#include "l2_packet/l2_packet.h"

Data Structures

struct  wpa_driver_roboswitch_data

Defines

#define ROBO_PHY_ADDR   0x1e
#define ROBO_MII_PAGE   0x10
#define ROBO_MII_ADDR   0x11
#define ROBO_MII_DATA_OFFSET   0x18
#define ROBO_MII_PAGE_ENABLE   0x01
#define ROBO_MII_ADDR_WRITE   0x01
#define ROBO_MII_ADDR_READ   0x02
#define ROBO_MII_DATA_MAX   4
#define ROBO_MII_RETRY_MAX   10
#define ROBO_ARLCTRL_PAGE   0x04
#define ROBO_VLAN_PAGE   0x34
#define ROBO_ARLCTRL_CONF   0x00
#define ROBO_ARLCTRL_ADDR_1   0x10
#define ROBO_ARLCTRL_VEC_1   0x16
#define ROBO_ARLCTRL_ADDR_2   0x20
#define ROBO_ARLCTRL_VEC_2   0x26
#define ROBO_VLAN_ACCESS   0x08
#define ROBO_VLAN_ACCESS_5350   0x06
#define ROBO_VLAN_READ   0x0c
#define ROBO_VLAN_MAX   0xff

Variables

struct wpa_driver_ops wpa_driver_roboswitch_ops

Detailed Description

WPA Supplicant - roboswitch driver interface.

Copyright
Copyright (c) 2008-2009 Jouke Witteveen

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Alternatively, this software may be distributed under the terms of BSD license.

See README and COPYING for more details.


Variable Documentation

struct wpa_driver_ops wpa_driver_roboswitch_ops
Initial value:
 {
        .name = "roboswitch",
        .desc = "wpa_supplicant roboswitch driver",
        .get_ssid = wpa_driver_roboswitch_get_ssid,
        .get_bssid = wpa_driver_roboswitch_get_bssid,
        .get_capa = wpa_driver_roboswitch_get_capa,
        .init = wpa_driver_roboswitch_init,
        .deinit = wpa_driver_roboswitch_deinit,
        .set_param = wpa_driver_roboswitch_set_param,
        .get_ifname = wpa_driver_roboswitch_get_ifname,
}
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines