]> git.baikalelectronics.ru Git - kernel.git/commit
p54: call p54_wake_free_queues on every p54_free_skb and p54_rx_frame_sent
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 5 May 2009 21:47:02 +0000 (01:47 +0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 May 2009 19:15:05 +0000 (15:15 -0400)
commit2f25585c15aff89c7d0c5ad11b33572cede8a0c4
tree5852075d8085d5ef313636cc4e137a291fff71e5
parent0afcc56834c8e4ed2f6c96be5fa541cdbe57efe3
p54: call p54_wake_free_queues on every p54_free_skb and p54_rx_frame_sent

Currently queues are stopped when their length reaches their length limit,
but are restarted only when the size of freed range of packet buffer is
not less than the size of the largest possible packet.

This causes permanent queue stop on radio visibility loss in the middle
of ping series: there is plenty of room in the packet buffer, but it is
never freed more than 3 (size of 'best effort' queue) * 288 (ping packet
plus headers) bytes at once.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54common.c