CVSROOT: /cvs Module name: src Changes by: [EMAIL PROTECTED] 2008/09/27 09:00:08
Modified files: sys/net80211 : ieee80211.h ieee80211_crypto_ccmp.c ieee80211_crypto_tkip.c ieee80211_input.c ieee80211_output.c ieee80211_proto.h Log message: 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).