STRUCT IEEE80211_CHA
Section: Device registration (9)
Updated: February 2011
Index
Return to Main Contents
NAME
struct_ieee80211_channel - channel definition
SYNOPSIS
struct ieee80211_channel {
enum ieee80211_band band;
u16 center_freq;
u16 hw_value;
u32 flags;
int max_antenna_gain;
int max_power;
bool beacon_found;
u32 orig_flags;
int orig_mag;
int orig_mpwr;
};
MEMBERS
band
-
band this channel belongs to.
center_freq
-
center frequency in MHz
hw_value
-
hardware-specific value for the channel
flags
-
channel flags from
enum
ieee80211_channel_flags.
max_antenna_gain
-
maximum antenna gain in dBi
max_power
-
maximum transmission power (in dBm)
beacon_found
-
helper to regulatory code to indicate when a beacon has been found on this channel. Use
regulatory_hint_found_beacon
to enable this, this is useful only on 5 GHz band.
orig_flags
-
channel flags at registration time, used by regulatory code to support devices with additional restrictions
orig_mag
-
internal use
orig_mpwr
-
internal use
DESCRIPTION
This structure describes a single channel for use with cfg80211.
AUTHOR
Johannes Berg <johannes@sipsolutions.net>
-
Author.
COPYRIGHT