cfg80211: move enum reg_set_by to nl80211.h
We do this so we can later inform userspace who set the regulatory domain and provide details of the request. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
0fee54cab7
commit
7db90f4a25
@ -672,6 +672,25 @@ enum nl80211_bitrate_attr {
|
||||
NL80211_BITRATE_ATTR_MAX = __NL80211_BITRATE_ATTR_AFTER_LAST - 1
|
||||
};
|
||||
|
||||
/**
|
||||
* enum nl80211_initiator - Indicates the initiator of a reg domain request
|
||||
* @NL80211_REGDOM_SET_BY_CORE: Core queried CRDA for a dynamic world
|
||||
* regulatory domain.
|
||||
* @NL80211_REGDOM_SET_BY_USER: User asked the wireless core to set the
|
||||
* regulatory domain.
|
||||
* @NL80211_REGDOM_SET_BY_DRIVER: a wireless drivers has hinted to the
|
||||
* wireless core it thinks its knows the regulatory domain we should be in.
|
||||
* @NL80211_REGDOM_SET_BY_COUNTRY_IE: the wireless core has received an
|
||||
* 802.11 country information element with regulatory information it
|
||||
* thinks we should consider.
|
||||
*/
|
||||
enum nl80211_reg_initiator {
|
||||
NL80211_REGDOM_SET_BY_CORE,
|
||||
NL80211_REGDOM_SET_BY_USER,
|
||||
NL80211_REGDOM_SET_BY_DRIVER,
|
||||
NL80211_REGDOM_SET_BY_COUNTRY_IE,
|
||||
};
|
||||
|
||||
/**
|
||||
* enum nl80211_reg_rule_attr - regulatory rule attributes
|
||||
* @NL80211_ATTR_REG_RULE_FLAGS: a set of flags which specify additional
|
||||
|
Reference in New Issue
Block a user