aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-02-26 08:34:06 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-03-06 15:30:47 -0500
commitdbbea6713d6096cd1c411cb453a6b71292c78b33 (patch)
tree6e824acc2b680350c4c4ebebaccf32b9b01c0e96 /include/net/mac80211.h
parent7c8076bd8be3fd2a9a94f9687cf39e3505f0e4ec (diff)
mac80211: add documentation book
Quite a while ago I started this book. The required kernel-doc patches have since gone into the tree so it is now possible to build the book in mainline. The actual documentation is still rather incomplete and not all things are linked into the book, but this enables us to edit the documentation collaboratively, hopefully driver authors can add documentation based on their experience with mac80211. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
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 */