ieee80211: Add IEEE80211_MAX_FRAME_LEN to linux/ieee80211.h
authorMichael Wu <flamingice@sourmilk.net>
Tue, 30 Oct 2007 20:50:05 +0000 (16:50 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:54:20 +0000 (14:54 -0800)
commitc237899d1f8c5bfcfc9d6204052e0e065827ff75
treeb107bd8355b8e3e423a980c86f0a304242e718ed
parent6a4329554c527e86c2745bc001c29bb8d1b8efaf
ieee80211: Add IEEE80211_MAX_FRAME_LEN to linux/ieee80211.h

This patch adds IEEE80211_MAX_FRAME_LEN which is useful for drivers trying
to determine how much to allocate for their RX buffers.

It also updates the comment on IEEE80211_MAX_DATA_LEN based on revisions
in 802.11e.

IEEE80211_MAX_FRAG_THRESHOLD and IEEE80211_MAX_RTS_THRESHOLD are also
revised due to the new maximum frame size.

Signed-off-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ieee80211.h