[PATCH] scan: Solve the problem of garbled characters in the scanned ssid

王鑫鹏 wangxinpeng at uniontech.com
Fri Oct 29 00:07:03 PDT 2021


>> On Fri, 2021-10-29 at 14:40 +0800, xinpeng.wang wrote:
> > Using Netgear WN11V2 usb wireless network card, it is easy to have garbled characters i
> > n the scanned ssid. This is because the driver sends the problem packets to wpa through
> > netlink. These packets are only partly seen through wireshark, but the missing parts when
> > sent to wpa are some random values, which may cause the read ssid to be garbled.
> > In the update scan res, check whether the sum of the length of each ie in ies is the same
> > as ie_len. If it is not the same, it is considered to be abnormal packet and discard it.

>> Seems like something the *driver* should do?

thank you for your reply.

I think the driver should be able to ensure that what is passed to wpa is correct, but wpa 
should also be able to filter these packets and not be affected by these abnormal packets.

--
Thanks!
xinpeng.wang


More information about the Hostap mailing list