summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2008-09-27 15:00:09 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2008-09-27 15:00:09 +0000
commit5f302c06db0af70022a22dff119bab0838242f86 (patch)
treeaf7866c1af4bf7a55e6309742db185452b8fb9f0 /etc
parent9a51adf9e1f95367147c0432825cb7dbf90d57f2 (diff)
Add some inline functions to test the presence of optional 802.11
header fields (Sequence Control, Address 4, QoS Control, +HTC) and use them where appropriate. Add ieee80211_get_qos() inline function to extract the QoS control field of an 802.11 header instead of duplicating the same scary code everywhere (the location of this field depends on the presence of an Address 4 field). Export ieee80211_up_to_ac() so that drivers can select the access category to use based on the TID subfield of the QoS Control field. Define more QoS-related bits for the RSN Capabilities field of RSN IE (will be used later).
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions