ODP: ODP: ODP: ODP: Ampak AP6356S with WPA3



Hi Beniamino,
i have added printf's in this patched file for wpa_supplicant like that:

--- a/wpa_supplicant/dbus/dbus_new_handlers.c 2021-10-04 22:50:45.114545070 +0200
+++ b/wpa_supplicant/dbus/dbus_new_handlers.c 2021-10-04 22:54:14.478466782 +0200
@@ -2790,10 +2790,18 @@
  goto nomem;
 #endif /* CONFIG_WPS */
 
+ printf("before if capa.key_mgmt SAE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n");
 #ifdef CONFIG_SAE
  if ((capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_SAE) &&
     !wpa_dbus_dict_string_array_add_element(&iter_array, "sae"))
+ {
+ printf("got into if statement !!!!!!!!!!!!!!!!!!!!!\n");
  goto nomem;
+ }
+ else
+ {
+ printf("got into else statement !!!!!!!!!!!!!!!!!!!\n");
+ }
 #endif /* CONFIG_SAE */
 
  if (!wpa_dbus_dict_end_string_array(&iter_dict,

and in journal i see:

Jul 20 12:44:33 firefly-rk3399 systemd[1]: Started WPA supplicant.
Jul 20 12:45:34 firefly-rk3399 wpa_supplicant[271]: before if capa.key_mgmt SAE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Jul 20 12:45:34 firefly-rk3399 wpa_supplicant[271]: got into else statement !!!!!!!!!!!!!!!!!!!
Jul 20 12:45:34 firefly-rk3399 wpa_supplicant[271]: before if capa.key_mgmt SAE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Jul 20 12:45:34 firefly-rk3399 wpa_supplicant[271]: got into else statement !!!!!!!!!!!!!!!!!!!
Jul 20 12:45:37 firefly-rk3399 wpa_supplicant[271]: before if capa.key_mgmt SAE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Jul 20 12:45:37 firefly-rk3399 wpa_supplicant[271]: got into else statement !!!!!!!!!!!!!!!!!!!
Jul 20 12:45:37 firefly-rk3399 wpa_supplicant[271]: before if capa.key_mgmt SAE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Jul 20 12:45:37 firefly-rk3399 wpa_supplicant[271]: got into else statement !!!!!!!!!!!!!!!!!!!

Which i suspect is good because i'm not going into the nomem error. Still this just doesn't explain why i am not having SAE support in NM capabilities.

BR
Piotr

Od: Piotr Lobacz <piotr lobacz softgent com>
Wysłane: poniedziałek, 4 października 2021 15:00
Do: Beniamino Galvani <bgalvani redhat com>
DW: Alan Tu <8libra gmail com>; networkmanager-list gnome org <networkmanager-list gnome org>
Temat: ODP: ODP: ODP: ODP: Ampak AP6356S with WPA3
 
Ok, i have verified it and still no luck, it is still giving me back the array i have pasted before...

BR
Piotr

Od: Piotr Lobacz <piotr lobacz softgent com>
Wysłane: poniedziałek, 4 października 2021 14:08
Do: Beniamino Galvani <bgalvani redhat com>
DW: Alan Tu <8libra gmail com>; networkmanager-list gnome org <networkmanager-list gnome org>
Temat: ODP: ODP: ODP: ODP: Ampak AP6356S with WPA3
 
Hi Again,
My fault i have pasted it wrongly i'm sorry that i do not try few more times and i'm writting to all of you at once...

Ok the array does not have sae;

"KeyMgmt" : {
"type" : "as",
"data" : [
"none",
"ieee8021x",
"wpa-eap",
"wpa-ft-eap",
"wpa-eap-sha256",
"wpa-psk",
"wpa-ft-psk",
"wpa-psk-sha256",
"wps"
]
},

I need to check than this patch again.

BR
Piotr

Od: Piotr Lobacz <piotr lobacz softgent com>
Wysłane: poniedziałek, 4 października 2021 13:46
Do: Beniamino Galvani <bgalvani redhat com>
DW: Alan Tu <8libra gmail com>; networkmanager-list gnome org <networkmanager-list gnome org>
Temat: ODP: ODP: ODP: ODP: Ampak AP6356S with WPA3
 
Hi Beniamino,
first i'd like to apologize for misrepresenting your name, second how to determine the actual index in /1 and third i have copied the command you gave me and i get an error:

Too few arguments.

BR
Piotr

Od: Beniamino Galvani <bgalvani redhat com>
Wysłane: poniedziałek, 4 października 2021 10:51
Do: Piotr Lobacz <piotr lobacz softgent com>
DW: Alan Tu <8libra gmail com>; networkmanager-list gnome org <networkmanager-list gnome org>
Temat: Re: ODP: ODP: ODP: Ampak AP6356S with WPA3
 
[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<https://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.

Jesteśmy uczestnikiem Programu
RZETELNA Firma
Sprawdź naszą rzetelność na
https://www.rzetelnafirma.pl/F5IA32UW


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]