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

Johannes Berg johannes at sipsolutions.net
Thu Oct 28 23:55:13 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?


More information about the Hostap mailing list