Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
chan.c File Reference
#include <linux/export.h>
#include <net/cfg80211.h>
#include "core.h"

Go to the source code of this file.

Functions

struct ieee80211_channelrdev_freq_to_chan (struct cfg80211_registered_device *rdev, int freq, enum nl80211_channel_type channel_type)
 
bool cfg80211_can_beacon_sec_chan (struct wiphy *wiphy, struct ieee80211_channel *chan, enum nl80211_channel_type channel_type)
 
 EXPORT_SYMBOL (cfg80211_can_beacon_sec_chan)
 
int cfg80211_set_monitor_channel (struct cfg80211_registered_device *rdev, int freq, enum nl80211_channel_type chantype)
 
void cfg80211_get_chan_state (struct wireless_dev *wdev, struct ieee80211_channel **chan, enum cfg80211_chan_mode *chanmode)
 

Function Documentation

bool cfg80211_can_beacon_sec_chan ( struct wiphy wiphy,
struct ieee80211_channel chan,
enum nl80211_channel_type  channel_type 
)

cfg80211_can_beacon_sec_chan - test if ht40 on extension channel can be used : the wiphy : main channel : HT mode

This function returns true if there is no secondary channel or the secondary channel can be used for beaconing (i.e. is not a radar channel etc.)

Definition at line 48 of file chan.c.

void cfg80211_get_chan_state ( struct wireless_dev wdev,
struct ieee80211_channel **  chan,
enum cfg80211_chan_mode chanmode 
)

Definition at line 99 of file chan.c.

int cfg80211_set_monitor_channel ( struct cfg80211_registered_device rdev,
int  freq,
enum nl80211_channel_type  chantype 
)

Definition at line 81 of file chan.c.

EXPORT_SYMBOL ( cfg80211_can_beacon_sec_chan  )
struct ieee80211_channel* rdev_freq_to_chan ( struct cfg80211_registered_device rdev,
int  freq,
enum nl80211_channel_type  channel_type 
)
read

Definition at line 14 of file chan.c.