trying to clean things up still.

This commit is contained in:
solomon 2002-09-28 02:50:10 +00:00
parent 51ed8a54bc
commit a0ec7f6de9
4 changed files with 10 additions and 10 deletions

View file

@ -134,11 +134,11 @@ typedef struct p80211_frmrx_t
/* compatibility to wireless extensions */
#ifdef WIRELESS_EXT
/* called by /proc/net/wireless */
struct iw_statistics* p80211wext_get_wireless_stats(struct net_device *dev);
struct iw_statistics* p80211wext_get_wireless_stats(netdevice_t *dev);
/* check for a wireless extension- compatible ioctl */
int p80211wext_check_ioctl(int cmd);
/* wireless extensions' ioctls */
int p80211wext_support_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd);
int p80211wext_support_ioctl(netdevice_t *dev, struct ifreq *ifr, int cmd);
#endif /* wireless extensions */
/* WEP stuff */
@ -211,8 +211,8 @@ typedef struct wlandevice
#ifdef WIRELESS_EXT
struct iw_statistics wstats;
struct iw_statistics* (*get_wireless_stats)(struct net_device *dev);
int (*support_ioctl)(struct net_device *dev, struct iwreq *iwr, int cmd);
struct iw_statistics* (*get_wireless_stats)(netdevice_t *dev);
int (*support_ioctl)(netdevice_t *dev, struct iwreq *iwr, int cmd);
#endif
} wlandevice_t;

View file

@ -71,7 +71,7 @@
/** function declarations =============== */
/* called by /proc/net/wireless */
struct iw_statistics* p80211wext_get_wireless_stats (struct net_device *dev)
struct iw_statistics* p80211wext_get_wireless_stats (netdevice_t *dev)
{
wlandevice_t *wlandev = (wlandevice_t*)dev->priv;
struct iw_statistics* wstats;
@ -113,7 +113,7 @@ int p80211wext_check_ioctl(int cmd)
}
/* wireless extensions' ioctls */
int p80211wext_support_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
int p80211wext_support_ioctl(netdevice_t *dev, struct ifreq *ifr, int cmd)
{
wlandevice_t *wlandev = (wlandevice_t*)dev->priv;
struct iwreq *iwr = (struct iwreq*)ifr;

View file

@ -99,7 +99,7 @@ const long prism2wext_channel_freq[] = {
/** function declarations =============== */
/* called by p80211wstats_get_wireless_stats for /proc/net/wireless */
struct iw_statistics* prism2wext_get_wireless_stats(struct net_device *dev)
struct iw_statistics* prism2wext_get_wireless_stats(netdevice_t *dev)
{
wlandevice_t *wlandev = (wlandevice_t*)dev->priv;
prism2sta_priv_t *priv = (prism2sta_priv_t*)wlandev->priv;
@ -192,7 +192,7 @@ static int prism2wext_getrate(hfa384x_t* hw, struct iw_param *rrq)
}
/* wireless extensions' ioctls */
int prism2wext_support_ioctl(struct net_device *dev, struct iwreq *iwr, int cmd)
int prism2wext_support_ioctl(netdevice_t *dev, struct iwreq *iwr, int cmd)
{
wlandevice_t *wlandev = (wlandevice_t*)dev->priv;
prism2sta_priv_t *priv = (prism2sta_priv_t*)wlandev->priv;

View file

@ -39,9 +39,9 @@
/** function prototypes =============== */
/* called by /proc/net/wireless */
struct iw_statistics* prism2wext_get_wireless_stats(struct net_device *dev);
struct iw_statistics* prism2wext_get_wireless_stats(netdevice_t *dev);
/* wireless extensions' ioctls */
int prism2wext_support_ioctl(struct net_device *dev, struct iwreq *iwr, int cmd);
int prism2wext_support_ioctl(netdevice_t *dev, struct iwreq *iwr, int cmd);
/* used by the ioctls ----------------- */
/* return a string value to user space */
int prism2wext_get_string(hfa384x_t *hw, struct iw_point *erq, UINT16 rid, UINT16 len);