<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>Chapter 1. Basic hardware handling</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="The mac80211 subsystem for kernel developers" /><link rel="up" href="pt01.html" title="Part I. The basic mac80211 driver interface" /><link rel="prev" href="pt01.html" title="Part I. The basic mac80211 driver interface" /><link rel="next" href="re01.html" title="struct ieee80211_hw" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 1. Basic hardware handling</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pt01.html">Prev</a> </td><th width="60%" align="center">Part I. The basic mac80211 driver interface</th><td width="20%" align="right"> <a accesskey="n" href="re01.html">Next</a></td></tr></table><hr /></div><div class="chapter" title="Chapter 1. Basic hardware handling"><div class="titlepage"><div><div><h2 class="title"><a id="basics"></a>Chapter 1. Basic hardware handling</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="refentrytitle"><a href="re01.html"><span>struct ieee80211_hw</span></a></span><span class="refpurpose"> — hardware information and state </span></dt><dt><span class="refentrytitle"><a href="re02.html"><span>enum ieee80211_hw_flags</span></a></span><span class="refpurpose"> — hardware flags </span></dt><dt><span class="refentrytitle"><a href="re03.html"><span>SET_IEEE80211_DEV</span></a></span><span class="refpurpose"> — set device for 802.11 hardware </span></dt><dt><span class="refentrytitle"><a href="re04.html"><span>SET_IEEE80211_PERM_ADDR</span></a></span><span class="refpurpose"> — set the permanent MAC address for 802.11 hardware </span></dt><dt><span class="refentrytitle"><a href="re05.html"><span>struct ieee80211_ops</span></a></span><span class="refpurpose"> — callbacks from mac80211 to the driver </span></dt><dt><span class="refentrytitle"><a href="re06.html"><span>ieee80211_alloc_hw</span></a></span><span class="refpurpose"> — Allocate a new hardware device </span></dt><dt><span class="refentrytitle"><a href="re07.html"><span>ieee80211_register_hw</span></a></span><span class="refpurpose"> — Register hardware device </span></dt><dt><span class="refentrytitle"><a href="re08.html"><span>ieee80211_get_tx_led_name</span></a></span><span class="refpurpose"> — get name of TX LED </span></dt><dt><span class="refentrytitle"><a href="re09.html"><span>ieee80211_get_rx_led_name</span></a></span><span class="refpurpose"> — get name of RX LED </span></dt><dt><span class="refentrytitle"><a href="re10.html"><span>ieee80211_get_assoc_led_name</span></a></span><span class="refpurpose"> — get name of association LED </span></dt><dt><span class="refentrytitle"><a href="re11.html"><span>ieee80211_get_radio_led_name</span></a></span><span class="refpurpose"> — get name of radio LED </span></dt><dt><span class="refentrytitle"><a href="re12.html"><span>ieee80211_unregister_hw</span></a></span><span class="refpurpose"> — Unregister a hardware device </span></dt><dt><span class="refentrytitle"><a href="re13.html"><span>ieee80211_free_hw</span></a></span><span class="refpurpose"> — free hardware descriptor </span></dt></dl></div><p>TBD</p><p> This chapter shall contain information on getting a hw struct allocated and registered with mac80211. </p><p> Since it is required to allocate rates/modes before registering a hw struct, this chapter shall also contain information on setting up the rate/mode structs. </p><p> Additionally, some discussion about the callbacks and the general programming model should be in here, including the definition of ieee80211_ops which will be referred to a lot. </p><p> Finally, a discussion of hardware capabilities should be done with references to other parts of the book. </p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="pt01.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="pt01.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="re01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Part I. The basic mac80211 driver interface </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span>struct ieee80211_hw</span></td></tr></table></div></body></html>