---
name: "ieee80211_input"
section: "9"
platform: "linux"
package: "freebsd-manpages"
version: "6.0-5"
release: "Debian 4.0 (Etch)"
platforms: ["linux", "freebsd"]
url: "https://new.carta.tech/ieee80211_input"
---

# ieee80211\_input(9)

software 802.11 stack input functions

## NAME

**ieee80211\_input**, **ieee80211\_decap**, **ieee80211\_recv\_mgmt** – software 802.11 stack input functions

## SYNOPSIS

**#include \<net80211/ieee80211\_var.h\>**

**#include \<net80211/ieee80211\_proto.h\>**

*void*\

**ieee80211\_input**(*struct ifnet \*ifp*, *struct mbuf \*m*, *struct ieee80211\_node \*ni*, *int rssi*, *u\_int32\_t rstamp*);

*struct* *mbuf* *\**\

**ieee80211\_decap**(*struct ifnet \*ifp*, *struct mbuf \*m*);

*void*\

**ieee80211\_recv\_mgmt**(*struct ieee80211com \*ic*, *struct mbuf \*m0*, *struct ieee80211\_node \*ni*, *int subtype*, *int rssi*, *u\_int32\_t rstamp*);

## DESCRIPTION

These functions process received 802.11 frames.

The **ieee80211\_input**() function takes an mbuf chain *m* containing a complete 802.11 frame from the driver *ifp* and passes it to the software 802.11 stack for input processing. The *ni* argument specifies an instance of *struct* *ieee80211\_node* (which may be driver-specific) representing the node from which the frame was received. The arguments *rssi* and *stamp* are typically derived from on-card data structures; they are used for recording the signal strength and time received of the frame respectively.

The **ieee80211\_decap**() function performs decapsulation of the 802.11 frame in the mbuf chain *m* received by the device *ifp*, taking the form of the 802.11 address fields into account; the structure of 802.11 addresses vary according to the intended source and destination of the frame. It is typically called from within **ieee80211\_input**().

The **ieee80211\_recv\_mgmt**() performs input processing for 802.11 management frames. It is typically called from within **ieee80211\_input**().

## SEE ALSO

[ieee80211(9)](/ieee80211/9.md), [ifnet(9)](/ifnet/9.md)

## HISTORY

The **ieee80211** series of functions first appeared in NetBSD 1.5, and were later ported to FreeBSD 4.6.

## AUTHORS

This manual page was written by Bruce M. Simpson ⟨bms@FreeBSD.org⟩ and Darron Broad ⟨darron@kewl.org⟩.

## BUGS

There is no netisr queue specifically for the software 802.11 stack yet.
