Skip to content
Snippets Groups Projects
Commit 31de9950 authored by Gabor Juhos's avatar Gabor Juhos
Browse files

ar71xx: ag71xx: compute the RX buffer size from the maximum frame size


Currently, the AG71XX_RX_PKT_SIZE value limits the received
frame size to 1514/1516 bytes with/without a VLAN header
respectively. However the hardware limit is controlled by
the value the AG71XX_REG_MAC_MFL register which contains
the value of the max_frame_len field.

Compute the RX buffer size from the max_frame_len field
to get rid of the 1514/1516 byte limitation. Also remove
the unused AG71XX_RX_PKT_SIZE definition.

Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39121
parent b35e0da0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment