Changeset View
Changeset View
Standalone View
Standalone View
sys/net80211/ieee80211_hostap.c
Show First 20 Lines • Show All 738 Lines • ▼ Show 20 Lines | resubmit_ampdu: | ||||
} | } | ||||
/* copy to listener after decrypt */ | /* copy to listener after decrypt */ | ||||
if (ieee80211_radiotap_active_vap(vap)) | if (ieee80211_radiotap_active_vap(vap)) | ||||
ieee80211_radiotap_rx(vap, m); | ieee80211_radiotap_rx(vap, m); | ||||
need_tap = 0; | need_tap = 0; | ||||
/* | /* | ||||
* Finally, strip the 802.11 header. | * Finally, strip the 802.11 header. | ||||
*/ | */ | ||||
m = ieee80211_decap(vap, m, hdrspace); | m = ieee80211_decap(vap, m, hdrspace, qos); | ||||
if (m == NULL) { | if (m == NULL) { | ||||
/* XXX mask bit to check for both */ | /* XXX mask bit to check for both */ | ||||
/* don't count Null data frames as errors */ | /* don't count Null data frames as errors */ | ||||
if (subtype == IEEE80211_FC0_SUBTYPE_NODATA || | if (subtype == IEEE80211_FC0_SUBTYPE_NODATA || | ||||
subtype == IEEE80211_FC0_SUBTYPE_QOS_NULL) | subtype == IEEE80211_FC0_SUBTYPE_QOS_NULL) | ||||
goto out; | goto out; | ||||
IEEE80211_DISCARD_MAC(vap, IEEE80211_MSG_INPUT, | IEEE80211_DISCARD_MAC(vap, IEEE80211_MSG_INPUT, | ||||
ni->ni_macaddr, "data", "%s", "decap error"); | ni->ni_macaddr, "data", "%s", "decap error"); | ||||
▲ Show 20 Lines • Show All 1,705 Lines • Show Last 20 Lines |