Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
ibss.c File Reference
#include <linux/etherdevice.h>
#include <linux/if_arp.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <net/cfg80211.h>
#include "wext-compat.h"
#include "nl80211.h"

Go to the source code of this file.

Functions

void __cfg80211_ibss_joined (struct net_device *dev, const u8 *bssid)
 
void cfg80211_ibss_joined (struct net_device *dev, const u8 *bssid, gfp_t gfp)
 
 EXPORT_SYMBOL (cfg80211_ibss_joined)
 
int __cfg80211_join_ibss (struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_ibss_params *params, struct cfg80211_cached_keys *connkeys)
 
int cfg80211_join_ibss (struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_ibss_params *params, struct cfg80211_cached_keys *connkeys)
 
void cfg80211_clear_ibss (struct net_device *dev, bool nowext)
 
int __cfg80211_leave_ibss (struct cfg80211_registered_device *rdev, struct net_device *dev, bool nowext)
 
int cfg80211_leave_ibss (struct cfg80211_registered_device *rdev, struct net_device *dev, bool nowext)
 

Function Documentation

void __cfg80211_ibss_joined ( struct net_device dev,
const u8 bssid 
)

Definition at line 16 of file ibss.c.

int __cfg80211_join_ibss ( struct cfg80211_registered_device rdev,
struct net_device dev,
struct cfg80211_ibss_params params,
struct cfg80211_cached_keys connkeys 
)

Definition at line 80 of file ibss.c.

int __cfg80211_leave_ibss ( struct cfg80211_registered_device rdev,
struct net_device dev,
bool  nowext 
)

Definition at line 203 of file ibss.c.

void cfg80211_clear_ibss ( struct net_device dev,
bool  nowext 
)

Definition at line 194 of file ibss.c.

void cfg80211_ibss_joined ( struct net_device dev,
const u8 bssid,
gfp_t  gfp 
)

cfg80211_ibss_joined - notify cfg80211 that device joined an IBSS

: network device : the BSSID of the IBSS joined : allocation flags

This function notifies cfg80211 that the device joined an IBSS or switched to a different BSSID. Before this function can be called, either a beacon has to have been received from the IBSS, or one of the cfg80211_inform_bss{,_frame} functions must have been called with the locally generated beacon – this guarantees that there is always a scan result for this IBSS. cfg80211 will handle the rest.

Definition at line 57 of file ibss.c.

int cfg80211_join_ibss ( struct cfg80211_registered_device rdev,
struct net_device dev,
struct cfg80211_ibss_params params,
struct cfg80211_cached_keys connkeys 
)

Definition at line 144 of file ibss.c.

int cfg80211_leave_ibss ( struct cfg80211_registered_device rdev,
struct net_device dev,
bool  nowext 
)

Definition at line 224 of file ibss.c.

EXPORT_SYMBOL ( cfg80211_ibss_joined  )