centos man page for freq_reg_info

Query: freq_reg_info

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

FREQ_REG_INFO(9)					  Regulatory enforcement infrast					  FREQ_REG_INFO(9)

NAME
freq_reg_info - get regulatory information for the given frequency
SYNOPSIS
const struct ieee80211_reg_rule * freq_reg_info(struct wiphy * wiphy, u32 center_freq);
ARGUMENTS
wiphy the wiphy for which we want to process this rule for center_freq Frequency in KHz for which we want regulatory information for
DESCRIPTION
Use this function to get the regulatory rule for a specific frequency on a given wireless device. If the device has a specific regulatory domain it wants to follow we respect that unless a country IE has been received and processed already.
RETURN
A valid pointer, or, when an error occurs, for example if no rule can be found, the return value is encoded using ERR_PTR. Use IS_ERR to check and PTR_ERR to obtain the numeric return value. The numeric return value will be -ERANGE if we determine the given center_freq does not even have a regulatory rule for a frequency range in the center_freq's band. See freq_in_rule_band for our current definition of a band -- this is purely subjective and right now it's 802.11 specific.
AUTHOR
Johannes Berg <johannes@sipsolutions.net> Author.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 FREQ_REG_INFO(9)
Related Man Pages
cfg80211_testmode_alloc_reply_skb(9) - centos
enum_ieee80211_rate_flags(9) - centos
crda(8) - linux
crda(8) - suse
regulatory.bin(5) - linux
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
CentOS7 restoring file capabilities
CentOS 6 ran out of space, need to reclaim it
Controlling user input
Please Welcome Dave Munro to the Moderator Team!