-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maximum MTU? #134
Comments
hi,
I think the firmware needs to be tweaked to allow larger frames, which
means it'll be able to buffer less total numbers of frames.
…-adrian
On 7 August 2017 at 11:43, Rodizio ***@***.***> wrote:
I've recently tried injecting frames in monitor mode with more than
1500bytes with Ar9271 cards on Kernel 4.9.35. Set interface MTU to 2300
with ifconfig. Anything higher than 1560 bytes payload (not sure right now
how much that is with 802.11 header and fcs, I think something around 1600
or so, but I can look it up exactly if needed) makes something 'freeze'.
From that point on, injecting frames is not possible anymore at all, also
not with smaller sizes. Solved it by rebooting.
Doing the same with Ralink rt2800usb cards works up to 2270 bytes payload,
so I assume it's not userspace, the kernel or it's network/mac stack, but
something in the ath9k kernel drivers or ath9k firmware (?)
Have grepped the ath9k kernel drivers and firmware for 'mtu' quickly,
couldn't find anything.
Does anybody know where to look or can give some hints?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#134>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/ABGl7Tj6pYS-N8Ami3o_Frwm_jKOT07Nks5sV1rpgaJpZM4OvzTb>
.
|
Can you please test if reducing size of MAX_TX_BUF_SIZE will prevent freezing. If yes, this will probably right field for research. |
... on the drivers side. see hif_usb.* |
Thanks a lot, I'll give that a try (and also test on an Intel x86 machine to make sure it's not some strange Raspberry USB Problem). |
Gave it a quick test. 16384 makes the Pi crash completely, 28000 makes no difference as far as I can see. |
What is the meaning of this numbers? |
The MAX_TX_BUF_SIZE in hif_usb.h. |
Hey @rodizio1 , Do you have any updates on this? Cheers, |
I've recently tried injecting frames in monitor mode with more than 1500bytes with Ar9271 cards on Kernel 4.9.35. Set interface MTU to 2300 with ifconfig. Anything higher than 1560 bytes payload (not sure right now how much that is with 802.11 header and fcs, I think something around 1600 or so, but I can look it up exactly if needed) makes something 'freeze'. From that point on, injecting frames is not possible anymore at all, also not with smaller sizes. Solved it by rebooting.
Doing the same with Ralink rt2800usb cards works up to 2270 bytes payload, so I assume it's not userspace, the kernel or it's network/mac stack, but something in the ath9k kernel drivers or ath9k firmware (?)
Have grepped the ath9k kernel drivers and firmware for 'mtu' quickly, couldn't find anything.
Does anybody know where to look or can give some hints?
The text was updated successfully, but these errors were encountered: