diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800usb.c | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c index df78e28526bf..f8eb6d776d99 100644 --- a/drivers/net/wireless/rt2x00/rt2800usb.c +++ b/drivers/net/wireless/rt2x00/rt2800usb.c | |||
@@ -645,6 +645,28 @@ static int rt2800usb_probe_hw(struct rt2x00_dev *rt2x00dev) | |||
645 | return 0; | 645 | return 0; |
646 | } | 646 | } |
647 | 647 | ||
648 | static const struct ieee80211_ops rt2800usb_mac80211_ops = { | ||
649 | .tx = rt2x00mac_tx, | ||
650 | .start = rt2x00mac_start, | ||
651 | .stop = rt2x00mac_stop, | ||
652 | .add_interface = rt2x00mac_add_interface, | ||
653 | .remove_interface = rt2x00mac_remove_interface, | ||
654 | .config = rt2x00mac_config, | ||
655 | .configure_filter = rt2x00mac_configure_filter, | ||
656 | .set_tim = rt2x00mac_set_tim, | ||
657 | .set_key = rt2x00mac_set_key, | ||
658 | .sw_scan_start = rt2x00mac_sw_scan_start, | ||
659 | .sw_scan_complete = rt2x00mac_sw_scan_complete, | ||
660 | .get_stats = rt2x00mac_get_stats, | ||
661 | .get_tkip_seq = rt2800_get_tkip_seq, | ||
662 | .set_rts_threshold = rt2800_set_rts_threshold, | ||
663 | .bss_info_changed = rt2x00mac_bss_info_changed, | ||
664 | .conf_tx = rt2800_conf_tx, | ||
665 | .get_tsf = rt2800_get_tsf, | ||
666 | .rfkill_poll = rt2x00mac_rfkill_poll, | ||
667 | .ampdu_action = rt2800_ampdu_action, | ||
668 | }; | ||
669 | |||
648 | static const struct rt2x00lib_ops rt2800usb_rt2x00_ops = { | 670 | static const struct rt2x00lib_ops rt2800usb_rt2x00_ops = { |
649 | .probe_hw = rt2800usb_probe_hw, | 671 | .probe_hw = rt2800usb_probe_hw, |
650 | .get_firmware_name = rt2800usb_get_firmware_name, | 672 | .get_firmware_name = rt2800usb_get_firmware_name, |
@@ -708,7 +730,7 @@ static const struct rt2x00_ops rt2800usb_ops = { | |||
708 | .tx = &rt2800usb_queue_tx, | 730 | .tx = &rt2800usb_queue_tx, |
709 | .bcn = &rt2800usb_queue_bcn, | 731 | .bcn = &rt2800usb_queue_bcn, |
710 | .lib = &rt2800usb_rt2x00_ops, | 732 | .lib = &rt2800usb_rt2x00_ops, |
711 | .hw = &rt2800_mac80211_ops, | 733 | .hw = &rt2800usb_mac80211_ops, |
712 | #ifdef CONFIG_RT2X00_LIB_DEBUGFS | 734 | #ifdef CONFIG_RT2X00_LIB_DEBUGFS |
713 | .debugfs = &rt2800_rt2x00debug, | 735 | .debugfs = &rt2800_rt2x00debug, |
714 | #endif /* CONFIG_RT2X00_LIB_DEBUGFS */ | 736 | #endif /* CONFIG_RT2X00_LIB_DEBUGFS */ |