-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jouni Malinen
authored and
John W. Linville
committed
Mar 28, 2009
1 parent
308469f
commit 4629543
Showing
8 changed files
with
220 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: a299542e97ec1939fdca7db6d3d82c0aa9bf8b9a | ||
refs/heads/master: 6039f6d23fe792d615da5449e9fa1c6b43caacf6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/* | ||
* cfg80211 MLME SAP interface | ||
* | ||
* Copyright (c) 2009, Jouni Malinen <j@w1.fi> | ||
*/ | ||
|
||
#include <linux/kernel.h> | ||
#include <linux/module.h> | ||
#include <linux/netdevice.h> | ||
#include <linux/nl80211.h> | ||
#include <net/cfg80211.h> | ||
#include "core.h" | ||
#include "nl80211.h" | ||
|
||
void cfg80211_send_rx_auth(struct net_device *dev, const u8 *buf, size_t len) | ||
{ | ||
struct wiphy *wiphy = dev->ieee80211_ptr->wiphy; | ||
struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy); | ||
nl80211_send_rx_auth(rdev, dev, buf, len); | ||
} | ||
EXPORT_SYMBOL(cfg80211_send_rx_auth); | ||
|
||
void cfg80211_send_rx_assoc(struct net_device *dev, const u8 *buf, size_t len) | ||
{ | ||
struct wiphy *wiphy = dev->ieee80211_ptr->wiphy; | ||
struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy); | ||
nl80211_send_rx_assoc(rdev, dev, buf, len); | ||
} | ||
EXPORT_SYMBOL(cfg80211_send_rx_assoc); | ||
|
||
void cfg80211_send_rx_deauth(struct net_device *dev, const u8 *buf, size_t len) | ||
{ | ||
struct wiphy *wiphy = dev->ieee80211_ptr->wiphy; | ||
struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy); | ||
nl80211_send_rx_deauth(rdev, dev, buf, len); | ||
} | ||
EXPORT_SYMBOL(cfg80211_send_rx_deauth); | ||
|
||
void cfg80211_send_rx_disassoc(struct net_device *dev, const u8 *buf, | ||
size_t len) | ||
{ | ||
struct wiphy *wiphy = dev->ieee80211_ptr->wiphy; | ||
struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy); | ||
nl80211_send_rx_disassoc(rdev, dev, buf, len); | ||
} | ||
EXPORT_SYMBOL(cfg80211_send_rx_disassoc); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters