diff options
author | Malcolm Priestley | 2014-10-29 18:43:36 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-10-29 19:35:51 +0100 |
commit | 33b1c8c13fb8c9c3c5320345258a4d33806262f4 (patch) | |
tree | 82e5d0d692725d832e1f2c068ec3ae069532b444 /drivers/staging/vt6655/device.h | |
parent | staging: unisys: fix macro spacing in uisutils.h (diff) | |
download | kernel-qcow2-linux-33b1c8c13fb8c9c3c5320345258a4d33806262f4.tar.gz kernel-qcow2-linux-33b1c8c13fb8c9c3c5320345258a4d33806262f4.tar.xz kernel-qcow2-linux-33b1c8c13fb8c9c3c5320345258a4d33806262f4.zip |
staging: vt6655: mac80211 conversion: add new rx functions
vnt_receive_frame which replaces device_receive_frame
and vnt_rx_data which handles mac80211 rx data
structures ieee80211_hw, ieee80211_vif and variable rx_rate are added
in structure vnt_private
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/device.h')
-rw-r--r-- | drivers/staging/vt6655/device.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index d769d092fb87..82e18455501c 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -56,6 +56,7 @@ #include <linux/reboot.h> #include <linux/ethtool.h> /* Include Wireless Extension definition and check version - Jean II */ +#include <net/mac80211.h> #include <linux/wireless.h> #include <net/iw_handler.h> /* New driver API */ @@ -319,7 +320,9 @@ typedef struct __device_opt { struct vnt_private { struct pci_dev *pcid; - + /* mac80211 */ + struct ieee80211_hw *hw; + struct ieee80211_vif *vif; /* netdev */ struct net_device *dev; @@ -378,6 +381,7 @@ struct vnt_private { u32 flags; u32 rx_buf_sz; + u8 rx_rate; int multicast_limit; pid_t MLMEThr_pid; |