Skip to content

Commit

Permalink
docs-rst: sphinxify 802.11 documentation
Browse files Browse the repository at this point in the history
This is just a very basic conversion, I've split up the original
multi-book template, and also split up the multi-part mac80211
part in the original book; neither of those were handled by the
automatic pandoc conversion.

Fix errors that showed up, resulting in a much nicer rendering,
at least for the interface combinations documentation.

Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
jmberg-intel authored and Jonathan Corbet committed Oct 11, 2016
1 parent 3c76ff4 commit 819bf59
Show file tree
Hide file tree
Showing 10 changed files with 939 additions and 620 deletions.
345 changes: 345 additions & 0 deletions Documentation/80211/cfg80211.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,345 @@
==================
cfg80211 subsystem
==================

Device registration
===================

.. kernel-doc:: include/net/cfg80211.h
:doc: Device registration

.. kernel-doc:: include/net/cfg80211.h
:functions: ieee80211_channel_flags

.. kernel-doc:: include/net/cfg80211.h
:functions: ieee80211_channel

.. kernel-doc:: include/net/cfg80211.h
:functions: ieee80211_rate_flags

.. kernel-doc:: include/net/cfg80211.h
:functions: ieee80211_rate

.. kernel-doc:: include/net/cfg80211.h
:functions: ieee80211_sta_ht_cap

.. kernel-doc:: include/net/cfg80211.h
:functions: ieee80211_supported_band

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_signal_type

.. kernel-doc:: include/net/cfg80211.h
:functions: wiphy_params_flags

.. kernel-doc:: include/net/cfg80211.h
:functions: wiphy_flags

.. kernel-doc:: include/net/cfg80211.h
:functions: wiphy

.. kernel-doc:: include/net/cfg80211.h
:functions: wireless_dev

.. kernel-doc:: include/net/cfg80211.h
:functions: wiphy_new

.. kernel-doc:: include/net/cfg80211.h
:functions: wiphy_register

.. kernel-doc:: include/net/cfg80211.h
:functions: wiphy_unregister

.. kernel-doc:: include/net/cfg80211.h
:functions: wiphy_free

.. kernel-doc:: include/net/cfg80211.h
:functions: wiphy_name

.. kernel-doc:: include/net/cfg80211.h
:functions: wiphy_dev

.. kernel-doc:: include/net/cfg80211.h
:functions: wiphy_priv

.. kernel-doc:: include/net/cfg80211.h
:functions: priv_to_wiphy

.. kernel-doc:: include/net/cfg80211.h
:functions: set_wiphy_dev

.. kernel-doc:: include/net/cfg80211.h
:functions: wdev_priv

.. kernel-doc:: include/net/cfg80211.h
:functions: ieee80211_iface_limit

.. kernel-doc:: include/net/cfg80211.h
:functions: ieee80211_iface_combination

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_check_combinations

Actions and configuration
=========================

.. kernel-doc:: include/net/cfg80211.h
:doc: Actions and configuration

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_ops

.. kernel-doc:: include/net/cfg80211.h
:functions: vif_params

.. kernel-doc:: include/net/cfg80211.h
:functions: key_params

.. kernel-doc:: include/net/cfg80211.h
:functions: survey_info_flags

.. kernel-doc:: include/net/cfg80211.h
:functions: survey_info

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_beacon_data

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_ap_settings

.. kernel-doc:: include/net/cfg80211.h
:functions: station_parameters

.. kernel-doc:: include/net/cfg80211.h
:functions: rate_info_flags

.. kernel-doc:: include/net/cfg80211.h
:functions: rate_info

.. kernel-doc:: include/net/cfg80211.h
:functions: station_info

.. kernel-doc:: include/net/cfg80211.h
:functions: monitor_flags

.. kernel-doc:: include/net/cfg80211.h
:functions: mpath_info_flags

.. kernel-doc:: include/net/cfg80211.h
:functions: mpath_info

.. kernel-doc:: include/net/cfg80211.h
:functions: bss_parameters

.. kernel-doc:: include/net/cfg80211.h
:functions: ieee80211_txq_params

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_crypto_settings

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_auth_request

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_assoc_request

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_deauth_request

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_disassoc_request

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_ibss_params

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_connect_params

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_pmksa

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_rx_mlme_mgmt

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_auth_timeout

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_rx_assoc_resp

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_assoc_timeout

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_tx_mlme_mgmt

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_ibss_joined

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_connect_result

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_connect_bss

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_connect_timeout

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_roamed

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_disconnected

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_ready_on_channel

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_remain_on_channel_expired

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_new_sta

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_rx_mgmt

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_mgmt_tx_status

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_cqm_rssi_notify

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_cqm_pktloss_notify

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_michael_mic_failure

Scanning and BSS list handling
==============================

.. kernel-doc:: include/net/cfg80211.h
:doc: Scanning and BSS list handling

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_ssid

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_scan_request

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_scan_done

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_bss

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_inform_bss

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_inform_bss_frame_data

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_inform_bss_data

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_unlink_bss

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_find_ie

.. kernel-doc:: include/net/cfg80211.h
:functions: ieee80211_bss_get_ie

Utility functions
=================

.. kernel-doc:: include/net/cfg80211.h
:doc: Utility functions

.. kernel-doc:: include/net/cfg80211.h
:functions: ieee80211_channel_to_frequency

.. kernel-doc:: include/net/cfg80211.h
:functions: ieee80211_frequency_to_channel

.. kernel-doc:: include/net/cfg80211.h
:functions: ieee80211_get_channel

.. kernel-doc:: include/net/cfg80211.h
:functions: ieee80211_get_response_rate

.. kernel-doc:: include/net/cfg80211.h
:functions: ieee80211_hdrlen

.. kernel-doc:: include/net/cfg80211.h
:functions: ieee80211_get_hdrlen_from_skb

.. kernel-doc:: include/net/cfg80211.h
:functions: ieee80211_radiotap_iterator

Data path helpers
=================

.. kernel-doc:: include/net/cfg80211.h
:doc: Data path helpers

.. kernel-doc:: include/net/cfg80211.h
:functions: ieee80211_data_to_8023

.. kernel-doc:: include/net/cfg80211.h
:functions: ieee80211_data_from_8023

.. kernel-doc:: include/net/cfg80211.h
:functions: ieee80211_amsdu_to_8023s

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_classify8021d

Regulatory enforcement infrastructure
=====================================

.. kernel-doc:: include/net/cfg80211.h
:doc: Regulatory enforcement infrastructure

.. kernel-doc:: include/net/cfg80211.h
:functions: regulatory_hint

.. kernel-doc:: include/net/cfg80211.h
:functions: wiphy_apply_custom_regulatory

.. kernel-doc:: include/net/cfg80211.h
:functions: freq_reg_info

RFkill integration
==================

.. kernel-doc:: include/net/cfg80211.h
:doc: RFkill integration

.. kernel-doc:: include/net/cfg80211.h
:functions: wiphy_rfkill_set_hw_state

.. kernel-doc:: include/net/cfg80211.h
:functions: wiphy_rfkill_start_polling

.. kernel-doc:: include/net/cfg80211.h
:functions: wiphy_rfkill_stop_polling

Test mode
=========

.. kernel-doc:: include/net/cfg80211.h
:doc: Test mode

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_testmode_alloc_reply_skb

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_testmode_reply

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_testmode_alloc_event_skb

.. kernel-doc:: include/net/cfg80211.h
:functions: cfg80211_testmode_event
5 changes: 5 additions & 0 deletions Documentation/80211/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# -*- coding: utf-8; mode: python -*-

project = "Linux 802.11 Driver Developer's Guide"

tags.add("subproject")
17 changes: 17 additions & 0 deletions Documentation/80211/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
=====================================
Linux 802.11 Driver Developer's Guide
=====================================

.. toctree::

introduction
cfg80211
mac80211
mac80211-advanced

.. only:: subproject

Indices
=======

* :ref:`genindex`
17 changes: 17 additions & 0 deletions Documentation/80211/introduction.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
============
Introduction
============

Explaining wireless 802.11 networking in the Linux kernel

Copyright 2007-2009 Johannes Berg

These books attempt to give a description of the various subsystems
that play a role in 802.11 wireless networking in Linux. Since these
books are for kernel developers they attempts to document the
structures and functions used in the kernel as well as giving a
higher-level overview.

The reader is expected to be familiar with the 802.11 standard as
published by the IEEE in 802.11-2007 (or possibly later versions).
References to this standard will be given as "802.11-2007 8.1.5".
Loading

0 comments on commit 819bf59

Please sign in to comment.