#22313: Broadcast packets gettting dropped when using wpa_supplicant
-----------------------+--------------------------------
Reporter: xback | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Bugs Paradise
Component: packages | Version: Chaos Calmer 15.05
Resolution: | Keywords:
-----------------------+--------------------------------
Comment (by xback):
This ticket can be closed.
I found the rootcause:
- I have a single thread fetching incoming wifi broadcast packets (own
OLSR model application)
- When a packet arrived, occasionally the RF stats are gathered using
netlink
- It seems now that my netlink return buffer was a few bytes to small,
causing bad reply and my thread spinning to fetch for netlink data until
it timed out and return.
During this period the incoming HW queue got filled up .. and dropped some
packets.
Updating some packages caused the netlink return buffer to be a few bytes
smaller and fit in the buffer.
Simply increasing the buffer size, and adding some code to dynamically
increase the buffer size on full-detection solved all my issues.
Apologies if anyone lost time reading/replying to this.
Thanks again,
xback
--
Ticket URL: <https://dev.openwrt.org/ticket/22313#comment:4>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets