ODP: question about error nl80211: Frame command failed: ret=-1 (Operation not permitted)

Piotr Lobacz piotr.lobacz at softgent.com
Wed Feb 10 05:10:01 EST 2021


Hi Jouni,
thx for your quick and very helpfull response. So if the driver handles Probe Request frame processing internally, what could possibly cause, that my mobile device is not being connected (being disconnected) to the wpa_supplicant (in AP mode)?

BR
Piotr


Od: Jouni Malinen <j at w1.fi>
Wysłane: środa, 10 lutego 2021 10:29
Do: Piotr Lobacz <piotr.lobacz at softgent.com>
DW: hostap at lists.infradead.org <hostap at lists.infradead.org>
Temat: Re: question about error nl80211: Frame command failed: ret=-1 (Operation not permitted)

On Wed, Feb 10, 2021 at 01:31:43AM +0000, Piotr Lobacz wrote:
> I am trying to use NetworkManager together with wpa_supplicant 2.9 with closed driver for rtl8192f chip. I have set a hotspot connection and the problem is that if i try to connect to it from any device i get this error from subject. I have also attached full log in here: https://pastebin.com/VyTgz0WA .

That NL80211_CMD_FRAME failure is reported for the case where
wpa_supplicant (in AP mode) is trying to send a Probe Response frame as
a response to the Probe Request frame that the driver delivered to upper
layers. However, the driver seems to refuse to transmit the response.

Taken into account that "closed driver" part, I'm not going to try to
speculate on this more than note that there are many drivers that handle
Probe Request frame processing internally and as such, I would not be
very surprised if they do not accept Probe Response frames from user
space. If the driver is indeed taking care of that functionality, I
would simply ignore this failure.

--
Jouni Malinen                                            PGP id EFC895FA
[https://softgent.com/wp-content/uploads/2020/01/Zasob-14.png]<https://www.softgent.com>

Softgent Sp. z o.o., Budowlanych 31d, 80-298 Gdansk, POLAND

KRS: 0000674406, NIP: 9581679801, REGON: 367090912

www.softgent.com

Sąd Rejonowy Gdańsk-Północ w Gdańsku, VII Wydział Gospodarczy Krajowego Rejestru Sądowego

KRS 0000674406, Kapitał zakładowy: 25 000,00 zł wpłacony w całości.



More information about the Hostap mailing list