aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 6aca472d7a0..d002b1c6e78 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -407,7 +407,6 @@ enum ieee80211_conf_flags {
407 * @channel: the channel to tune to 407 * @channel: the channel to tune to
408 */ 408 */
409struct ieee80211_conf { 409struct ieee80211_conf {
410 unsigned int regulatory_domain;
411 int radio_enabled; 410 int radio_enabled;
412 411
413 int beacon_int; 412 int beacon_int;
@@ -437,6 +436,7 @@ struct ieee80211_conf {
437 * @IEEE80211_IF_TYPE_WDS: interface in WDS mode. 436 * @IEEE80211_IF_TYPE_WDS: interface in WDS mode.
438 * @IEEE80211_IF_TYPE_VLAN: VLAN interface bound to an AP, drivers 437 * @IEEE80211_IF_TYPE_VLAN: VLAN interface bound to an AP, drivers
439 * will never see this type. 438 * will never see this type.
439 * @IEEE80211_IF_TYPE_MESH_POINT: 802.11s mesh point
440 */ 440 */
441enum ieee80211_if_types { 441enum ieee80211_if_types {
442 IEEE80211_IF_TYPE_INVALID, 442 IEEE80211_IF_TYPE_INVALID,
@@ -1096,8 +1096,9 @@ struct ieee80211_hw *ieee80211_alloc_hw(size_t priv_data_len,
1096/** 1096/**
1097 * ieee80211_register_hw - Register hardware device 1097 * ieee80211_register_hw - Register hardware device
1098 * 1098 *
1099 * You must call this function before any other functions 1099 * You must call this function before any other functions in
1100 * except ieee80211_register_hwmode. 1100 * mac80211. Note that before a hardware can be registered, you
1101 * need to fill the contained wiphy's information.
1101 * 1102 *
1102 * @hw: the device to register as returned by ieee80211_alloc_hw() 1103 * @hw: the device to register as returned by ieee80211_alloc_hw()
1103 */ 1104 */