| OLD | NEW |
| 1 #ifndef __LINUX_NL80211_H | 1 #ifndef __LINUX_NL80211_H |
| 2 #define __LINUX_NL80211_H | 2 #define __LINUX_NL80211_H |
| 3 /* | 3 /* |
| 4 * 802.11 netlink interface public header | 4 * 802.11 netlink interface public header |
| 5 * | 5 * |
| 6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> | 6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> |
| 7 * Copyright 2008 Michael Wu <flamingice@sourmilk.net> | 7 * Copyright 2008 Michael Wu <flamingice@sourmilk.net> |
| 8 * Copyright 2008 Luis Carlos Cobo <luisca@cozybit.com> | 8 * Copyright 2008 Luis Carlos Cobo <luisca@cozybit.com> |
| 9 * Copyright 2008 Michael Buesch <mb@bu3sch.de> | 9 * Copyright 2008 Michael Buesch <mb@bu3sch.de> |
| 10 * Copyright 2008, 2009 Luis R. Rodriguez <lrodriguez@atheros.com> | 10 * Copyright 2008, 2009 Luis R. Rodriguez <lrodriguez@atheros.com> |
| (...skipping 1183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1194 /** | 1194 /** |
| 1195 * enum nl80211_initiator - Indicates the initiator of a reg domain request | 1195 * enum nl80211_initiator - Indicates the initiator of a reg domain request |
| 1196 * @NL80211_REGDOM_SET_BY_CORE: Core queried CRDA for a dynamic world | 1196 * @NL80211_REGDOM_SET_BY_CORE: Core queried CRDA for a dynamic world |
| 1197 * regulatory domain. | 1197 * regulatory domain. |
| 1198 * @NL80211_REGDOM_SET_BY_USER: User asked the wireless core to set the | 1198 * @NL80211_REGDOM_SET_BY_USER: User asked the wireless core to set the |
| 1199 * regulatory domain. | 1199 * regulatory domain. |
| 1200 * @NL80211_REGDOM_SET_BY_DRIVER: a wireless drivers has hinted to the | 1200 * @NL80211_REGDOM_SET_BY_DRIVER: a wireless drivers has hinted to the |
| 1201 * wireless core it thinks its knows the regulatory domain we should be in. | 1201 * wireless core it thinks its knows the regulatory domain we should be in. |
| 1202 * @NL80211_REGDOM_SET_BY_COUNTRY_IE: the wireless core has received an | 1202 * @NL80211_REGDOM_SET_BY_COUNTRY_IE: the wireless core has received an |
| 1203 * 802.11 country information element with regulatory information it | 1203 * 802.11 country information element with regulatory information it |
| 1204 * » thinks we should consider. | 1204 * » thinks we should consider. cfg80211 only processes the country |
| 1205 *» code from the IE, and relies on the regulatory domain information |
| 1206 *» structure pased by userspace (CRDA) from our wireless-regdb. |
| 1207 *» If a channel is enabled but the country code indicates it should |
| 1208 *» be disabled we disable the channel and re-enable it upon disassociation. |
| 1205 */ | 1209 */ |
| 1206 enum nl80211_reg_initiator { | 1210 enum nl80211_reg_initiator { |
| 1207 NL80211_REGDOM_SET_BY_CORE, | 1211 NL80211_REGDOM_SET_BY_CORE, |
| 1208 NL80211_REGDOM_SET_BY_USER, | 1212 NL80211_REGDOM_SET_BY_USER, |
| 1209 NL80211_REGDOM_SET_BY_DRIVER, | 1213 NL80211_REGDOM_SET_BY_DRIVER, |
| 1210 NL80211_REGDOM_SET_BY_COUNTRY_IE, | 1214 NL80211_REGDOM_SET_BY_COUNTRY_IE, |
| 1211 }; | 1215 }; |
| 1212 | 1216 |
| 1213 /** | 1217 /** |
| 1214 * enum nl80211_reg_type - specifies the type of regulatory domain | 1218 * enum nl80211_reg_type - specifies the type of regulatory domain |
| (...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1684 * @NL80211_TX_POWER_LIMITED: limit TX power by the mBm parameter | 1688 * @NL80211_TX_POWER_LIMITED: limit TX power by the mBm parameter |
| 1685 * @NL80211_TX_POWER_FIXED: fix TX power to the mBm parameter | 1689 * @NL80211_TX_POWER_FIXED: fix TX power to the mBm parameter |
| 1686 */ | 1690 */ |
| 1687 enum nl80211_tx_power_setting { | 1691 enum nl80211_tx_power_setting { |
| 1688 NL80211_TX_POWER_AUTOMATIC, | 1692 NL80211_TX_POWER_AUTOMATIC, |
| 1689 NL80211_TX_POWER_LIMITED, | 1693 NL80211_TX_POWER_LIMITED, |
| 1690 NL80211_TX_POWER_FIXED, | 1694 NL80211_TX_POWER_FIXED, |
| 1691 }; | 1695 }; |
| 1692 | 1696 |
| 1693 #endif /* __LINUX_NL80211_H */ | 1697 #endif /* __LINUX_NL80211_H */ |
| OLD | NEW |