Scroll to navigation

IEEE80211_AMSDU_TO_8(9) Data path helpers IEEE80211_AMSDU_TO_8(9)

NAME

ieee80211_amsdu_to_8023s - decode an IEEE 802.11n A-MSDU frame

SYNOPSIS

void ieee80211_amsdu_to_8023s(struct sk_buff * skb, struct sk_buff_head * list, const u8 * addr, enum nl80211_iftype iftype, const unsigned int extra_headroom, const u8 * check_da, const u8 * check_sa);

ARGUMENTS

skb

The input A-MSDU frame without any headers.

list

The output list of 802.3 frames. It must be allocated and initialized by by the caller.

addr

The device MAC address.

iftype

The device interface type.

extra_headroom

The hardware extra headroom for SKBs in the list.

check_da

DA to check in the inner ethernet header, or NULL

check_sa

SA to check in the inner ethernet header, or NULL

DESCRIPTION

Decode an IEEE 802.11 A-MSDU and convert it to a list of 802.3 frames. The list will be empty if the decode fails. The skb must be fully header-less before being passed in here; it is freed in this function.

AUTHOR

Johannes Berg <johannes@sipsolutions.net>

Author.

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10