MIPS: handle write_combine in pci_mmap_page_range
[linux-2.6/linux-loongson.git] / net / wireless / mlme.c
blobbec5721b6f99ea351005991c72a6403635b1b763
1 /*
2 * cfg80211 MLME SAP interface
4 * Copyright (c) 2009, Jouni Malinen <j@w1.fi>
5 */
7 #include <linux/kernel.h>
8 #include <linux/module.h>
9 #include <linux/netdevice.h>
10 #include <linux/nl80211.h>
11 #include <net/cfg80211.h>
12 #include "core.h"
13 #include "nl80211.h"
15 void cfg80211_send_rx_auth(struct net_device *dev, const u8 *buf, size_t len)
17 struct wiphy *wiphy = dev->ieee80211_ptr->wiphy;
18 struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy);
19 nl80211_send_rx_auth(rdev, dev, buf, len);
21 EXPORT_SYMBOL(cfg80211_send_rx_auth);
23 void cfg80211_send_rx_assoc(struct net_device *dev, const u8 *buf, size_t len)
25 struct wiphy *wiphy = dev->ieee80211_ptr->wiphy;
26 struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy);
27 nl80211_send_rx_assoc(rdev, dev, buf, len);
29 EXPORT_SYMBOL(cfg80211_send_rx_assoc);
31 void cfg80211_send_rx_deauth(struct net_device *dev, const u8 *buf, size_t len)
33 struct wiphy *wiphy = dev->ieee80211_ptr->wiphy;
34 struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy);
35 nl80211_send_rx_deauth(rdev, dev, buf, len);
37 EXPORT_SYMBOL(cfg80211_send_rx_deauth);
39 void cfg80211_send_rx_disassoc(struct net_device *dev, const u8 *buf,
40 size_t len)
42 struct wiphy *wiphy = dev->ieee80211_ptr->wiphy;
43 struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy);
44 nl80211_send_rx_disassoc(rdev, dev, buf, len);
46 EXPORT_SYMBOL(cfg80211_send_rx_disassoc);