Re: CFT: wpa_supplicant/hostapd import patch

2013-07-07 Thread hiren panchasara
On Sun, Jul 7, 2013 at 7:16 AM, Adrian Chadd  wrote:
>
> Yup, commit away!
>
>
>
> -adrian
>

>
> Feel free to commit this.
>
> --
> Rui Paulo

Will commit it.

Thanks,
Hiren
>
> ___
> freebsd-wireless@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: CFT: wpa_supplicant/hostapd import patch

2013-07-07 Thread Adrian Chadd

Yup, commit away!



-adrian


Sent from my Palm Pre on AT&T
On Jul 7, 2013 12:25 PM, Rui Paulo  wrote: 

On 7 Jul 2013, at 01:21, hiren panchasara  
wrote:



> After this change I've started getting following messages:

> 

> flymockour-l7% grep rekeying /var/log/messages | less

> Jul  6 12:09:52 flymockour-l7 wpa_supplicant[1153]: wlan0: WPA: Group

> rekeying completed with 00:24:b2:50:7c:38 [GTK=TKIP]

> Jul  6 12:19:52 flymockour-l7 wpa_supplicant[1153]: wlan0: WPA: Group

> rekeying completed with 00:24:b2:50:7c:38 [GTK=TKIP]

> Jul  6 12:29:52 flymockour-l7 wpa_supplicant[1153]: wlan0: WPA: Group

> rekeying completed with 00:24:b2:50:7c:38 [GTK=TKIP]

> Jul  6 12:39:50 flymockour-l7 wpa_supplicant[1153]: wlan0: WPA: Group

> rekeying completed with 00:24:b2:50:7c:38 [GTK=TKIP]

> 

> 

> so, every 10 mins I am getting these messages.

> 

> I am not sure if this (rekeying) is something wpa2 is enforcing. Is

> anyone else getting such messages?

> 

> Does it make sense to move this message from MSG_INFO to MSG_DEBUG?

> 

> cheers,

> Hiren

> 

> flymockour-l7% svn diff

> Index: contrib/wpa/src/rsn_supp/wpa.c

> ===

> --- contrib/wpa/src/rsn_supp/wpa.c  (revision 252757)

> +++ contrib/wpa/src/rsn_supp/wpa.c  (working copy)

> @@ -1348,7 +1348,7 @@

>goto failed;

> 

>if (rekey) {

> -   wpa_msg(sm->ctx->msg_ctx, MSG_INFO, "WPA: Group 
rekeying "

> +   wpa_msg(sm->ctx->msg_ctx, MSG_DEBUG, "WPA: Group 
rekeying "

>"completed with " MACSTR " [GTK=%s]",

>MAC2STR(sm->bssid), 
wpa_cipher_txt(sm->group_cipher));

>wpa_sm_cancel_auth_timeout(sm);





Feel free to commit this.



--

Rui Paulo



___

freebsd-wireless@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-wireless

To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: CFT: wpa_supplicant/hostapd import patch

2013-07-07 Thread Rui Paulo
On 7 Jul 2013, at 01:21, hiren panchasara  wrote:

> After this change I've started getting following messages:
> 
> flymockour-l7% grep rekeying /var/log/messages | less
> Jul  6 12:09:52 flymockour-l7 wpa_supplicant[1153]: wlan0: WPA: Group
> rekeying completed with 00:24:b2:50:7c:38 [GTK=TKIP]
> Jul  6 12:19:52 flymockour-l7 wpa_supplicant[1153]: wlan0: WPA: Group
> rekeying completed with 00:24:b2:50:7c:38 [GTK=TKIP]
> Jul  6 12:29:52 flymockour-l7 wpa_supplicant[1153]: wlan0: WPA: Group
> rekeying completed with 00:24:b2:50:7c:38 [GTK=TKIP]
> Jul  6 12:39:50 flymockour-l7 wpa_supplicant[1153]: wlan0: WPA: Group
> rekeying completed with 00:24:b2:50:7c:38 [GTK=TKIP]
> 
> 
> so, every 10 mins I am getting these messages.
> 
> I am not sure if this (rekeying) is something wpa2 is enforcing. Is
> anyone else getting such messages?
> 
> Does it make sense to move this message from MSG_INFO to MSG_DEBUG?
> 
> cheers,
> Hiren
> 
> flymockour-l7% svn diff
> Index: contrib/wpa/src/rsn_supp/wpa.c
> ===
> --- contrib/wpa/src/rsn_supp/wpa.c  (revision 252757)
> +++ contrib/wpa/src/rsn_supp/wpa.c  (working copy)
> @@ -1348,7 +1348,7 @@
>goto failed;
> 
>if (rekey) {
> -   wpa_msg(sm->ctx->msg_ctx, MSG_INFO, "WPA: Group rekeying "
> +   wpa_msg(sm->ctx->msg_ctx, MSG_DEBUG, "WPA: Group rekeying "
>"completed with " MACSTR " [GTK=%s]",
>MAC2STR(sm->bssid), wpa_cipher_txt(sm->group_cipher));
>wpa_sm_cancel_auth_timeout(sm);


Feel free to commit this.

--
Rui Paulo

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: CFT: wpa_supplicant/hostapd import patch

2013-07-07 Thread hiren panchasara
After this change I've started getting following messages:

flymockour-l7% grep rekeying /var/log/messages | less
Jul  6 12:09:52 flymockour-l7 wpa_supplicant[1153]: wlan0: WPA: Group
rekeying completed with 00:24:b2:50:7c:38 [GTK=TKIP]
Jul  6 12:19:52 flymockour-l7 wpa_supplicant[1153]: wlan0: WPA: Group
rekeying completed with 00:24:b2:50:7c:38 [GTK=TKIP]
Jul  6 12:29:52 flymockour-l7 wpa_supplicant[1153]: wlan0: WPA: Group
rekeying completed with 00:24:b2:50:7c:38 [GTK=TKIP]
Jul  6 12:39:50 flymockour-l7 wpa_supplicant[1153]: wlan0: WPA: Group
rekeying completed with 00:24:b2:50:7c:38 [GTK=TKIP]


so, every 10 mins I am getting these messages.

I am not sure if this (rekeying) is something wpa2 is enforcing. Is
anyone else getting such messages?

Does it make sense to move this message from MSG_INFO to MSG_DEBUG?

cheers,
Hiren

flymockour-l7% svn diff
Index: contrib/wpa/src/rsn_supp/wpa.c
===
--- contrib/wpa/src/rsn_supp/wpa.c  (revision 252757)
+++ contrib/wpa/src/rsn_supp/wpa.c  (working copy)
@@ -1348,7 +1348,7 @@
goto failed;

if (rekey) {
-   wpa_msg(sm->ctx->msg_ctx, MSG_INFO, "WPA: Group rekeying "
+   wpa_msg(sm->ctx->msg_ctx, MSG_DEBUG, "WPA: Group rekeying "
"completed with " MACSTR " [GTK=%s]",
MAC2STR(sm->bssid), wpa_cipher_txt(sm->group_cipher));
wpa_sm_cancel_auth_timeout(sm);
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: CFT: wpa_supplicant/hostapd import patch

2013-07-05 Thread Anthony Jenkins
I built the latest HEAD update, it is working nicely, thanks!


Anthony



- Original Message -
From: Rui Paulo 
To: Anthony Jenkins 
Cc: 
Sent: Thursday, July 4, 2013 9:49 PM
Subject: Re: CFT: wpa_supplicant/hostapd import patch

This was fixed already

On 4 Jul 2013, at 18:47, Anthony Jenkins  wrote:

> 
> 
> - Original Message -
> From: Rui Paulo 
> To: Anthony Jenkins 
> Cc: 
> Sent: Thursday, July 4, 2013 9:35 PM
> Subject: Re: CFT: wpa_supplicant/hostapd import patch
> 
> Can you please update to the latest head?
> 
> --
> Rui Paulo
> 
> Will do... will let you know what happens.  Tinderbox is saying the amd64 
> build's broken in wpa_supplicant.conf though, so I'm afraid to 'svn update' 
> :-(
> 
> Anthony
> 
>>>> stage 4.3: make dependencies
> [...]
> ===> usr.sbin/wpa/wpa_supplicant (depend)
> rm -f .depend
> CC='cc
> ' mkdep -f .depend -a    -I/src/usr.sbin/wpa/wpa_supplicant 
> -I/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//hostapd 
> -I/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src 
> -I/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/common 
> -I/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/crypto 
> -I/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/drivers 
> -I/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/l2_packet 
> -I/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/utils 
> -I/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/wps 
> -DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX -DCONFIG_BACKEND_FILE 
> -DCONFIG_DEBUG_SYSLOG -DCONFIG_DRIVER_BSD -DCONFIG_DRIVER_NDIS 
> -DCONFIG_DRIVER_WIRED -DCONFIG_PEERKEY -DCONFIG_SMARTCARD 
> -DCONFIG_TERMINATE_ONLASTIF -DCONFIG_WPS -DCONFIG_WPS2 -DCONFIG_WPS_UPNP
> -DCONFIG_TLS=openssl -DCONFIG_IEEE80211R -DCONFIG_INTERWORKING 
> -DCONFIG_PRIVSEP -DCONFIG_HS20 -DCONFIG_GAS -DPKCS12_FUNCS -DEAP!
> _GTC -DEAP_LEAP -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_OTP -DEAP_PEAP -DEAP_PSK 
> -DEAP_TLS -DEAP_TTLS -DEAP_GTC -DEAP_OTP -DEAP_LEAP -DIEEE8021X_EAPOL 
> -DCONFIG_SHA256 -DEAP_TLS_OPENSSL -I/src/usr.sbin/wpa/wpa_supplicant 
> -I/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//hostapd 
> -I/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src 
> -I/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/common 
> -I/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/crypto 
> -I/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/drivers 
> -I/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/l2_packet 
> -I/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/utils 
> -I/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/wps 
> -DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX -std=gnu99  
> /src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/crypto/aes-unwrap.c
[...]
> /src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//wpa_supplicant/notify.c:16:10:
> fatal error: 'dbus/dbus_common.h' file not found
> #include "dbus/dbus_common.h"
>          ^
> 1 error generated.
> mkdep: compile failed
> *** Error code 1
> 
> Stop.
> make: stopped in /src/usr.sbin/wpa/wpa_supplicant
> *** Error code 1
> 
> Stop.
> make: stopped in /src/usr.sbin/wpa
> *** Error code 1
> 
> Stop.
> make: stopped in /src/usr.sbin
> *** Error code 1
> 
> Stop.
> make: stopped in /src
> *** Error code 1
> 
> Stop.
> make: stopped in /src
> *** Error code 1
> 
> Stop in /src.
> TB --- 2013-07-05 00:52:52 - WARNING: /usr/bin/make returned exit code  1 
> TB --- 2013-07-05 00:52:52 - ERROR: failed to build world
> TB --- 2013-07-05 00:52:52 - 7779.55 user 1066.44 system 9139.20 real
> 
> 
> http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-amd64-amd64.full
> _
> 

--
Rui Paulo

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: CFT: wpa_supplicant/hostapd import patch

2013-07-04 Thread Rui Paulo
Please try again the latest patch. I found the bug you reported and it's fixed 
now.

Thanks,
--
Rui Paulo

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: CFT: wpa_supplicant/hostapd import patch

2013-07-03 Thread Rui Paulo
On 3 Jul 2013, at 07:03, Anthony Jenkins  wrote:

> On 07/03/13 04:18, Lev Serebryakov wrote:
>> Hello, Rui.
>> You wrote 30 июня 2013 г., 20:27:51:
>> 
>> RP> Actually, I just need to use svn diff --show-copies-as-adds. I've 
>> updated the patch:
>> RP> http://people.freebsd.org/~rpaulo/wpa-2.0.diff.gz
>>  And I have some strange problems with 802.11n clients...
>>  Traffic stalls for 1-2 minutes every 10-15 minutes (client could not ping
>>  gateway, etc) without any disassociation, and it fixes "automagically" to
>>  repeat after next 10-15 minutes. I'm investigating it further.
> I'm having different issues with (presumably) the patch, mostly on ACPI 
> resume.  I have to manually '/etc/rc.d/netif restart ath0' when I resume my 
> laptop.  Also I have the following wpa_supplicant error on the console:
>> Jul  2 21:42:22 laptop wpa_supplicant[57774]: ioctl[SIOCS80211, op=103, 
>> val=0, arg_len=128]: Device not configured
> Snippet of /var/log/messages including suspend/resume:
>> Jul  2 21:42:15 laptop org.kde.powerdevil.backlighthelper: QDBusConnection: 
>> system D-Bus connection created before QCoreApplication. Application may 
>> misbehave.
>> Jul  2 21:42:15 laptop kernel: can't evaluate \_SB_.PCI0.AGP_.VGA_.LCD_._DCS 
>> - AE_NOT_FOUND
>> Jul  2 21:42:15 laptop dbus[1955]: [system] Successfully activated service 
>> 'org.kde.powerdevil.backlighthelper'
>> Jul  2 21:42:17 laptop acpi: suspend at 20130702 21:42:17
>> Jul  2 21:42:20 laptop kernel: info: [drm] Resetting GPU
>> Jul  2 21:42:21 laptop kernel: wlan0: link state changed to DOWN
>> Jul  2 21:42:21 laptop wpa_supplicant[57774]: wlan0: CTRL-EVENT-DISCONNECTED 
>> bssid=00:24:a8:bd:a7:20 reason=0
>> Jul  3 08:46:25 laptop kernel: uhub3: at usbus0, port 1, addr 1 
>> (disconnected)
>> Jul  3 08:46:25 laptop kernel: uhub0: at usbus1, port 1, addr 1 
>> (disconnected)
>> Jul  3 08:46:25 laptop kernel: uhub2: at usbus2, port 1, addr 1 
>> (disconnected)
>> Jul  3 08:46:25 laptop kernel: ath0: unable to reset hardware; hal status 3
>> Jul  3 08:46:25 laptop kernel: uhub1: at usbus3, port 1, addr 1 
>> (disconnected)
>> Jul  3 08:46:25 laptop kernel: ugen3.2:  at usbus3 (disconnected)
>> Jul  3 08:46:25 laptop kernel: ugen3.3:  at usbus3 (disconnected)
>> Jul  3 08:46:25 laptop kernel: umass0: at uhub1, port 2, addr 3 
>> (disconnected)
>> Jul  3 08:46:25 laptop kernel: (da0:umass-sim0:0:0:0): lost device - 0 
>> outstanding, 2 refs
>> Jul  3 08:46:25 laptop kernel: (da0:umass-sim0:0:0:0): removing device entry
>> Jul  3 08:46:25 laptop kernel: can't evaluate \_SB_.PCI0.AGP_.VGA_.LCD_._DCS 
>> - AE_NOT_FOUND
>> Jul  3 08:46:25 laptop kernel: uhub0: > 2.00/1.00, addr 1> on usbus1
>> Jul  3 08:46:25 laptop kernel: uhub1: > 2.00/1.00, addr 1> on usbus3
>> Jul  3 08:46:25 laptop kernel: uhub2: > 1.00/1.00, addr 1> on usbus0
>> Jul  3 08:46:25 laptop kernel: uhub3: > 1.00/1.00, addr 1> on usbus2
>> Jul  2 21:42:22 laptop wpa_supplicant[57774]: ioctl[SIOCS80211, op=103, 
>> val=0, arg_len=128]: Device not configured
>> Jul  2 21:42:22 laptop wpa_supplicant[57774]: wlan0: Failed to initiate AP 
>> scan
>> Jul  2 21:42:24 laptop wpa_supplicant[57774]: ioctl[SIOCS80211, op=103, 
>> val=0, arg_len=128]: Device not configured
>> Jul  2 21:42:24 laptop wpa_supplicant[57774]: wlan0: Failed to initiate AP 
>> scan
>> Jul  2 21:42:26 laptop wpa_supplicant[57774]: ioctl[SIOCS80211, op=103, 
>> val=0, arg_len=128]: Device not configured
>> Jul  2 21:42:26 laptop wpa_supplicant[57774]: wlan0: Failed to initiate AP 
>> scan
>> Jul  3 08:46:25 laptop wpa_supplicant[57774]: ioctl[SIOCS80211, op=103, 
>> val=0, arg_len=128]: Device not configured
>> Jul  3 08:46:25 laptop wpa_supplicant[57774]: wlan0: Failed to initiate AP 
>> scan
>> Jul  3 08:46:26 laptop kernel: uhub2: 5 ports with 5 removable, self powered
>> Jul  3 08:46:26 laptop kernel: uhub3: 5 ports with 5 removable, self powered
>> Jul  3 08:46:25 laptop acpi: resumed at 20130703 08:46:25
>> Jul  3 08:46:26 laptop wpa_supplicant[57774]: ioctl[SIOCS80211, op=103, 
>> val=0, arg_len=128]: Device not configured
>> Jul  3 08:46:26 laptop wpa_supplicant[57774]: wlan0: Failed to initiate AP 
>> scan
>> Jul  3 08:46:26 laptop kernel: info: [drm] Loading RS780/RS880 Microcode
>> Jul  3 08:46:26 laptop kernel: info: [drm] Resetting GPU
> I've just uncommented the command '/usr/sbin/wpa_cli reassociate' in 
> /etc/rc.resume, no change.  After resume, 'ifconfig -a' shows:
>> [ajenkins@laptop ~]$ ifconfig -a
>> ...
>> ath0: flags=8802 metric 0 mtu 2290
>>ether 20:7c:8f:4e:8a:90
>>nd6 options=29
>>media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
>>status: no carrier
>> ...
>> wlan0: flags=8802 metric 0 mtu 1500
>>ether 20:7c:8f:4e:8a:90
>>nd6 options=29
>>media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
>>status: no carrier
>>ssid "" channel 1 (2412 MHz 11g ht/20)
>>regdomain 101 indoor ecm authmode OPEN privacy OFF txpower 20 bmiss 7
>>scanvali

Re: CFT: wpa_supplicant/hostapd import patch

2013-07-03 Thread Anthony Jenkins

On 07/03/13 04:18, Lev Serebryakov wrote:

Hello, Rui.
You wrote 30 июня 2013 г., 20:27:51:

RP> Actually, I just need to use svn diff --show-copies-as-adds. I've updated 
the patch:
RP> http://people.freebsd.org/~rpaulo/wpa-2.0.diff.gz
  And I have some strange problems with 802.11n clients...
  Traffic stalls for 1-2 minutes every 10-15 minutes (client could not ping
  gateway, etc) without any disassociation, and it fixes "automagically" to
  repeat after next 10-15 minutes. I'm investigating it further.
I'm having different issues with (presumably) the patch, mostly on ACPI 
resume.  I have to manually '/etc/rc.d/netif restart ath0' when I resume 
my laptop.  Also I have the following wpa_supplicant error on the console:
Jul  2 21:42:22 laptop wpa_supplicant[57774]: ioctl[SIOCS80211, 
op=103, val=0, arg_len=128]: Device not configured

Snippet of /var/log/messages including suspend/resume:
Jul  2 21:42:15 laptop org.kde.powerdevil.backlighthelper: 
QDBusConnection: system D-Bus connection created before 
QCoreApplication. Application may misbehave.
Jul  2 21:42:15 laptop kernel: can't evaluate 
\_SB_.PCI0.AGP_.VGA_.LCD_._DCS - AE_NOT_FOUND
Jul  2 21:42:15 laptop dbus[1955]: [system] Successfully activated 
service 'org.kde.powerdevil.backlighthelper'

Jul  2 21:42:17 laptop acpi: suspend at 20130702 21:42:17
Jul  2 21:42:20 laptop kernel: info: [drm] Resetting GPU
Jul  2 21:42:21 laptop kernel: wlan0: link state changed to DOWN
Jul  2 21:42:21 laptop wpa_supplicant[57774]: wlan0: 
CTRL-EVENT-DISCONNECTED bssid=00:24:a8:bd:a7:20 reason=0
Jul  3 08:46:25 laptop kernel: uhub3: at usbus0, port 1, addr 1 
(disconnected)
Jul  3 08:46:25 laptop kernel: uhub0: at usbus1, port 1, addr 1 
(disconnected)
Jul  3 08:46:25 laptop kernel: uhub2: at usbus2, port 1, addr 1 
(disconnected)
Jul  3 08:46:25 laptop kernel: ath0: unable to reset hardware; hal 
status 3
Jul  3 08:46:25 laptop kernel: uhub1: at usbus3, port 1, addr 1 
(disconnected)
Jul  3 08:46:25 laptop kernel: ugen3.2:  at usbus3 
(disconnected)

Jul  3 08:46:25 laptop kernel: ugen3.3:  at usbus3 (disconnected)
Jul  3 08:46:25 laptop kernel: umass0: at uhub1, port 2, addr 3 
(disconnected)
Jul  3 08:46:25 laptop kernel: (da0:umass-sim0:0:0:0): lost device - 0 
outstanding, 2 refs
Jul  3 08:46:25 laptop kernel: (da0:umass-sim0:0:0:0): removing device 
entry
Jul  3 08:46:25 laptop kernel: can't evaluate 
\_SB_.PCI0.AGP_.VGA_.LCD_._DCS - AE_NOT_FOUND
Jul  3 08:46:25 laptop kernel: uhub0: rev 2.00/1.00, addr 1> on usbus1
Jul  3 08:46:25 laptop kernel: uhub1: rev 2.00/1.00, addr 1> on usbus3
Jul  3 08:46:25 laptop kernel: uhub2: rev 1.00/1.00, addr 1> on usbus0
Jul  3 08:46:25 laptop kernel: uhub3: rev 1.00/1.00, addr 1> on usbus2
Jul  2 21:42:22 laptop wpa_supplicant[57774]: ioctl[SIOCS80211, 
op=103, val=0, arg_len=128]: Device not configured
Jul  2 21:42:22 laptop wpa_supplicant[57774]: wlan0: Failed to 
initiate AP scan
Jul  2 21:42:24 laptop wpa_supplicant[57774]: ioctl[SIOCS80211, 
op=103, val=0, arg_len=128]: Device not configured
Jul  2 21:42:24 laptop wpa_supplicant[57774]: wlan0: Failed to 
initiate AP scan
Jul  2 21:42:26 laptop wpa_supplicant[57774]: ioctl[SIOCS80211, 
op=103, val=0, arg_len=128]: Device not configured
Jul  2 21:42:26 laptop wpa_supplicant[57774]: wlan0: Failed to 
initiate AP scan
Jul  3 08:46:25 laptop wpa_supplicant[57774]: ioctl[SIOCS80211, 
op=103, val=0, arg_len=128]: Device not configured
Jul  3 08:46:25 laptop wpa_supplicant[57774]: wlan0: Failed to 
initiate AP scan
Jul  3 08:46:26 laptop kernel: uhub2: 5 ports with 5 removable, self 
powered
Jul  3 08:46:26 laptop kernel: uhub3: 5 ports with 5 removable, self 
powered

Jul  3 08:46:25 laptop acpi: resumed at 20130703 08:46:25
Jul  3 08:46:26 laptop wpa_supplicant[57774]: ioctl[SIOCS80211, 
op=103, val=0, arg_len=128]: Device not configured
Jul  3 08:46:26 laptop wpa_supplicant[57774]: wlan0: Failed to 
initiate AP scan

Jul  3 08:46:26 laptop kernel: info: [drm] Loading RS780/RS880 Microcode
Jul  3 08:46:26 laptop kernel: info: [drm] Resetting GPU
I've just uncommented the command '/usr/sbin/wpa_cli reassociate' in 
/etc/rc.resume, no change.  After resume, 'ifconfig -a' shows:

[ajenkins@laptop ~]$ ifconfig -a
...
ath0: flags=8802 metric 0 mtu 2290
ether 20:7c:8f:4e:8a:90
nd6 options=29
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
...
wlan0: flags=8802 metric 0 mtu 1500
ether 20:7c:8f:4e:8a:90
nd6 options=29
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid "" channel 1 (2412 MHz 11g ht/20)
regdomain 101 indoor ecm authmode OPEN privacy OFF txpower 20 bmiss 7
scanvalid 60 protmode CTS -ampdutx ampdurx ampdulimit 8k
ampdudensity 8 shortgi wme burst

pciconf -lv:
ath0@pci0:8:0:0:class=0x028000 card=0x23091a32 chip=0x002e168c 
rev=0x01 hdr=0x00

vendor = 'Atheros Communications Inc.'
device = 'AR9287 Wireless Network Adapter (PCI-

Re: CFT: wpa_supplicant/hostapd import patch

2013-07-03 Thread Lev Serebryakov
Hello, Rui.
You wrote 30 июня 2013 г., 20:27:51:

RP> Actually, I just need to use svn diff --show-copies-as-adds. I've updated 
the patch:
RP> http://people.freebsd.org/~rpaulo/wpa-2.0.diff.gz
 And I have some strange problems with 802.11n clients...
 Traffic stalls for 1-2 minutes every 10-15 minutes (client could not ping
 gateway, etc) without any disassociation, and it fixes "automagically" to
 repeat after next 10-15 minutes. I'm investigating it further.

-- 
// Black Lion AKA Lev Serebryakov 

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd import patch

2013-07-01 Thread Lev Serebryakov
Hello, Rui.
You wrote 30 июня 2013 г., 20:27:51:

RP> Actually, I just need to use svn diff --show-copies-as-adds. I've updated 
the patch:
RP> http://people.freebsd.org/~rpaulo/wpa-2.0.diff.gz
 Ok, hostapd works for WPA2-PSK clients in simple cases. I'll work different
 more complex scenarios (sleeping clients, etc) tonight.

-- 
// Black Lion AKA Lev Serebryakov 

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Adrian.
You wrote 1 июля 2013 г., 1:00:49:

AC> Certification isn't our problem. That's a manufacturer problem.

AC> _THEY_ have to certify the device anyway. Regardless of whether we
AC> have the stack certified.
  I don't know WiFi Alliance rules, but when I participated in project,
  which included custom MasterCard/Visa terminal, PCI/DSS certification was
  much more simple and more straightforward in case, when device was based
  on certified platform (Certified ARM CPU + certified crypto library
  specific to this ARM chip). A whole bunch of certification steps was
  skipped by showing that we use certified platform. So, it was competitive
  advantage of provider of this platform :)

  But, may be, it is not a case in case of WiFi certification, I don't know.
  And anyway, we are far from this now :) It is too early to worry about
  certification, you are right.


-- 
// Black Lion AKA Lev Serebryakov 

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Adrian Chadd
Certification isn't our problem. That's a manufacturer problem.

_THEY_ have to certify the device anyway. Regardless of whether we
have the stack certified.

same deal with FCC certification. Just because our stack is certified,
doesn't mean that the product will meet FCC certification
requirements.

So don't worry about the certification angle. We should aim to get
this stuff as bullet proof as possible so the certification process is
_easy_, but anyone making wifi-certified products have to get htem
certfied anyway.



-adrian


On 30 June 2013 13:56, Lev Serebryakov  wrote:
> Hello, Adrian.
> You wrote 1 июля 2013 г., 0:52:56:
>
> AC> blah, lemme ask some people who know people @ wifi alliance for some help.
>
> AC> maybe we can get FreeBSD in as a member somehow without having to pay
> AC> ridiculous levels of cash. We don't need certification, just access to
> AC> specifications.
>   BTW, if we want to be basis for SOHO router firmware for some vendors (as
> now most of such devices are linux-based), we better have certification! But
> it is topic for another thread.
>
> --
> // Black Lion AKA Lev Serebryakov 
>
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Adrian.
You wrote 1 июля 2013 г., 0:52:56:

AC> blah, lemme ask some people who know people @ wifi alliance for some help.

AC> maybe we can get FreeBSD in as a member somehow without having to pay
AC> ridiculous levels of cash. We don't need certification, just access to
AC> specifications.
  BTW, if we want to be basis for SOHO router firmware for some vendors (as
now most of such devices are linux-based), we better have certification! But
it is topic for another thread.

-- 
// Black Lion AKA Lev Serebryakov 

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Adrian Chadd
blah, lemme ask some people who know people @ wifi alliance for some help.

maybe we can get FreeBSD in as a member somehow without having to pay
ridiculous levels of cash. We don't need certification, just access to
specifications.



-adrian
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Rui.
You wrote 1 июля 2013 г., 0:45:15:

RP> You can buy them from WiFi alliance:
RP> https://www.wi-fi.org/knowledge-center/published-specifications
 So, it more like high-level "howto" than low-level standard, as it looks
like to be built on AP operations from standard itself...

-- 
// Black Lion AKA Lev Serebryakov 

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Adrian Chadd
Greeeat.

Well, I'd love to see this appear. I wonder how we can legitimately
get a copy of this for us to use to develop the thing.


-adrian

On 30 June 2013 13:42, Lev Serebryakov  wrote:
> Hello, Adrian.
> You wrote 1 июля 2013 г., 0:36:10:
>
> AC> Crap, it seems that you're right. There's no mention of wifi direct or
> AC> p2p in 802.11-2012.
>   It looks like it is not "official" part of 802.11
>
> http://en.wikipedia.org/wiki/WiFi_Direct
>
>  I could not find which part ("letter code") of standard it is!
>
> --
> // Black Lion AKA Lev Serebryakov 
>
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Rui Paulo
On 30 Jun 2013, at 13:42, Lev Serebryakov  wrote:

> Hello, Adrian.
> You wrote 1 июля 2013 г., 0:36:10:
> 
> AC> Crap, it seems that you're right. There's no mention of wifi direct or
> AC> p2p in 802.11-2012.
>  It looks like it is not "official" part of 802.11
> 
> http://en.wikipedia.org/wiki/WiFi_Direct
> 
> I could not find which part ("letter code") of standard it is!


You can buy them from WiFi alliance:

https://www.wi-fi.org/knowledge-center/published-specifications

--
Rui Paulo

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Adrian.
You wrote 1 июля 2013 г., 0:36:10:

AC> Crap, it seems that you're right. There's no mention of wifi direct or
AC> p2p in 802.11-2012.
  It looks like it is not "official" part of 802.11

http://en.wikipedia.org/wiki/WiFi_Direct

 I could not find which part ("letter code") of standard it is!

-- 
// Black Lion AKA Lev Serebryakov 

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Adrian Chadd
Crap, it seems that you're right. There's no mention of wifi direct or
p2p in 802.11-2012.



-adrian

On 30 June 2013 13:31, Adrian Chadd  wrote:
> Lemme search through 802.11-2012. I have ithere.
>
>
>
> -adrian
>
>
> On 30 June 2013 13:28, Rui Paulo  wrote:
>> On 30 Jun 2013, at 13:25, Lev Serebryakov  wrote:
>>
>>> "how it works" is most scary part. As far as I understand, 802.11 standards
>>> are not freely-available. Or they are? I need to investigate it.
>>
>>
>> No, they aren't :-( That said, if you can look at the source code of 
>> mac80211/ath9k I think you could derive how it's supposed to work. I 
>> understand that it's a huge task.
>>
>> --
>> Rui Paulo
>>
>> ___
>> freebsd-wireless@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
>> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Adrian Chadd
On 30 June 2013 13:34, Lev Serebryakov  wrote:

>   And off-channel mode is mode, when here is (true) AP, which coordinates 2
> clients to send traffic directly, without AP routing?

I don't know the underlying details. I just know what the driver has
to do - fast channel change and buffering frames correctly. You can't
just do what drivers / net80211 does right now and _flush_ the queue
when it's time to change channel; that breaks all kinds of things in
11n.



-adrian
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Adrian.
You wrote 1 июля 2013 г., 0:25:23:

AC> Basic p2p isn't that hard - we'd just create another vap (call it a
AC> p2p mode vap) and have it implement the relevant semantics for p2p
AC> (discovery, announcement, session master/slave handling, etc.) After
AC> that I believe it looks like a normal station mode connection.
  Do I understand right, here you describe P in P2P?

AC> I _think_ that the net80211 / driver side of things is pretty simple.
AC> But I could be very wrong.

AC> However, the p2p off-channel stuff requires significant stack and
AC> driver work. I'm still sketching out what that's going to look like.
  And off-channel mode is mode, when here is (true) AP, which coordinates 2
clients to send traffic directly, without AP routing?

-- 
// Black Lion AKA Lev Serebryakov 

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Adrian Chadd
Lemme search through 802.11-2012. I have ithere.



-adrian


On 30 June 2013 13:28, Rui Paulo  wrote:
> On 30 Jun 2013, at 13:25, Lev Serebryakov  wrote:
>
>> "how it works" is most scary part. As far as I understand, 802.11 standards
>> are not freely-available. Or they are? I need to investigate it.
>
>
> No, they aren't :-( That said, if you can look at the source code of 
> mac80211/ath9k I think you could derive how it's supposed to work. I 
> understand that it's a huge task.
>
> --
> Rui Paulo
>
> ___
> freebsd-wireless@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Rui Paulo
On 30 Jun 2013, at 13:25, Lev Serebryakov  wrote:

> "how it works" is most scary part. As far as I understand, 802.11 standards
> are not freely-available. Or they are? I need to investigate it.


No, they aren't :-( That said, if you can look at the source code of 
mac80211/ath9k I think you could derive how it's supposed to work. I understand 
that it's a huge task.

--
Rui Paulo

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Adrian Chadd
They're all available for free. The drafts are kept private during the
draft process. But after they are standardised, it's all published.

Google "802.11-2012"



-adrian


On 30 June 2013 13:25, Lev Serebryakov  wrote:
> Hello, Rui.
> You wrote 1 июля 2013 г., 0:17:30:
>
> RP> I did not investigate much. If I were you, I'd look at the Makefile
> RP> from hostapd to see which files are needed along with the necessary
> RP> CONFIG_P2P macro. Then I would add them to our Makefile. You'll have
> RP> build failures. Go from there and figure out how it works and what needs 
> to be done.
>  "how it works" is most scary part. As far as I understand, 802.11 standards
> are not freely-available. Or they are? I need to investigate it.
>
> --
> // Black Lion AKA Lev Serebryakov 
>
> ___
> freebsd-wireless@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Rui.
You wrote 1 июля 2013 г., 0:17:30:

RP> I did not investigate much. If I were you, I'd look at the Makefile
RP> from hostapd to see which files are needed along with the necessary
RP> CONFIG_P2P macro. Then I would add them to our Makefile. You'll have
RP> build failures. Go from there and figure out how it works and what needs to 
be done.
 "how it works" is most scary part. As far as I understand, 802.11 standards
are not freely-available. Or they are? I need to investigate it.

-- 
// Black Lion AKA Lev Serebryakov 

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Adrian Chadd
On 30 June 2013 13:17, Rui Paulo  wrote:

> I did not investigate much. If I were you, I'd look at the Makefile from 
> hostapd to see which files are needed along with the necessary CONFIG_P2P 
> macro. Then I would add them to our Makefile. You'll have build failures. Go 
> from there and figure out how it works and what needs to be done.

Yes, do this.

I'm going to work on (real) off-channel traffic support in net80211/ath soon.

Basic p2p isn't that hard - we'd just create another vap (call it a
p2p mode vap) and have it implement the relevant semantics for p2p
(discovery, announcement, session master/slave handling, etc.) After
that I believe it looks like a normal station mode connection.

I _think_ that the net80211 / driver side of things is pretty simple.
But I could be very wrong.

However, the p2p off-channel stuff requires significant stack and
driver work. I'm still sketching out what that's going to look like.

I'd love for someone to "own" p2p and work with us to get something
designed and into the tree!


-adrian
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Rui Paulo
On 30 Jun 2013, at 13:15, Lev Serebryakov  wrote:

> Hello, Rui.
> You wrote 1 июля 2013 г., 0:13:04:
> 
> RP> Yes, it does. I don't have any plans to work on P2P, sorry.
>  Could you give some links/pointers to what is needed from
> drivers/stack to make it work? Is here any documentation on API, or
> something like that?


I did not investigate much. If I were you, I'd look at the Makefile from 
hostapd to see which files are needed along with the necessary CONFIG_P2P 
macro. Then I would add them to our Makefile. You'll have build failures. Go 
from there and figure out how it works and what needs to be done.

--
Rui Paulo

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Rui.
You wrote 1 июля 2013 г., 0:13:04:

RP> Yes, it does. I don't have any plans to work on P2P, sorry.
  Could you give some links/pointers to what is needed from
drivers/stack to make it work? Is here any documentation on API, or
something like that?

-- 
// Black Lion AKA Lev Serebryakov 

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Rui Paulo
On 30 Jun 2013, at 13:11, Lev Serebryakov  wrote:

> Hello, Rui.
> You wrote 1 июля 2013 г., 0:09:39:
> 
> RP> On 30 Jun 2013, at 13:08, Lev Serebryakov  wrote:
> 
>>> RP> Actually, I just need to use svn diff --show-copies-as-adds. I've 
>>> updated the patch:
>>> RP> http://people.freebsd.org/~rpaulo/wpa-2.0.diff.gz
>>> And it is better to apply it with "svn patch", not simple "patch".
>>> BTW,  do  you have plan to enable different advanced options, as WPS,
>>> P2P, and others?
> RP> WPS is enabled. P2P requires work in the drivers and net80211.
> I'm more interested in hostpad P2P support, not client one :) Does it
> need work in drivers too?


Yes, it does. I don't have any plans to work on P2P, sorry.

--
Rui Paulo

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Rui.
You wrote 1 июля 2013 г., 0:09:39:

RP> On 30 Jun 2013, at 13:08, Lev Serebryakov  wrote:

>> RP> Actually, I just need to use svn diff --show-copies-as-adds. I've 
>> updated the patch:
>> RP> http://people.freebsd.org/~rpaulo/wpa-2.0.diff.gz
>> And it is better to apply it with "svn patch", not simple "patch".
>> BTW,  do  you have plan to enable different advanced options, as WPS,
>> P2P, and others?
RP> WPS is enabled. P2P requires work in the drivers and net80211.
 I'm more interested in hostpad P2P support, not client one :) Does it
need work in drivers too?

-- 
// Black Lion AKA Lev Serebryakov 

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Rui Paulo
On 30 Jun 2013, at 13:08, Lev Serebryakov  wrote:

> Hello, Rui.
> You wrote 30 июня 2013 г., 20:27:51:
> 
> RP> Actually, I just need to use svn diff --show-copies-as-adds. I've updated 
> the patch:
> RP> http://people.freebsd.org/~rpaulo/wpa-2.0.diff.gz
> And it is better to apply it with "svn patch", not simple "patch".
> 
> BTW,  do  you have plan to enable different advanced options, as WPS,
> P2P, and others?


WPS is enabled. P2P requires work in the drivers and net80211.

--
Rui Paulo

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Rui.
You wrote 30 июня 2013 г., 20:27:51:

RP> Actually, I just need to use svn diff --show-copies-as-adds. I've updated 
the patch:
RP> http://people.freebsd.org/~rpaulo/wpa-2.0.diff.gz
 And it is better to apply it with "svn patch", not simple "patch".

 BTW,  do  you have plan to enable different advanced options, as WPS,
 P2P, and others?


-- 
// Black Lion AKA Lev Serebryakov 

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Rui.
You wrote 30 июня 2013 г., 20:20:45:

RP> Looks like svn wasn't smart enough to include the copy in the
RP> diff output. Can you copy driver_bsd.c from vendor/wpa/dist/src/drivers?

Now it is

Patching file contrib/wpa/src/utils/radiotap.h using Plan A...
Reversed (or previously applied) patch detected!  Assume -R? [y]

 I'm apply "meaningful" part by hands.

Also,

Patching file usr.sbin/wpa/hostapd/driver_freebsd.c using Plan A...
Hunk #1 failed at 0.
1 out of 1 hunks failed--saving rejects to 
usr.sbin/wpa/hostapd/driver_freebsd.c.rej

...

Patching file usr.sbin/wpa/wpa_supplicant/driver_freebsd.c using Plan A...
Hunk #1 failed at 0.
1 out of 1 hunks failed--saving rejects to 
usr.sbin/wpa/wpa_supplicant/driver_freebsd.c.rej

 I removed both by hands.

 Now  I'm building system, and will test hostapd with WPA2-PSK tonight
 and tomorrow.

-- 
// Black Lion AKA Lev Serebryakov 

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Rui Paulo
On 30 Jun 2013, at 09:20, Rui Paulo  wrote:

> On 30 Jun 2013, at 08:49, Lev Serebryakov  wrote:
> 
>> Hello, Rui.
>> You wrote 30 июня 2013 г., 5:04:44:
>> 
>> RP> I have a patch that updates the base system version of wpa_supplicant / 
>> hostapd at:
>> RP> http://people.freebsd.org/~rpaulo/wpa-2.0.diff
>> RP> Beware that it's big. It would be really helpful if you could test it 
>> before I commit it.
>> Patch application error:
>> 
>> Hmm...  The next patch looks like a unified diff to me...
>> The text leading up to this was:
>> --
>> |Index: contrib/wpa/src/drivers/driver_bsd.c
>> |===
>> |--- contrib/wpa/src/drivers/driver_bsd.c   (working copy)
>> |+++ contrib/wpa/src/drivers/driver_bsd.c   (working copy)
>> --
>> File to patch:
>> 
>> r252418
>> 
>> now I have only
>> 
>> usr.sbin/wpa/wpa_supplicant/driver_freebsd.c
>> usr.sbin/wpa/hostapd/driver_freebsd.c
>> 
> 
> 
> Looks like svn wasn't smart enough to include the copy in the diff output. 
> Can you copy driver_bsd.c from vendor/wpa/dist/src/drivers?


Actually, I just need to use svn diff --show-copies-as-adds. I've updated the 
patch:

http://people.freebsd.org/~rpaulo/wpa-2.0.diff.gz

--
Rui Paulo

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Rui Paulo
On 30 Jun 2013, at 08:49, Lev Serebryakov  wrote:

> Hello, Rui.
> You wrote 30 июня 2013 г., 5:04:44:
> 
> RP> I have a patch that updates the base system version of wpa_supplicant / 
> hostapd at:
> RP> http://people.freebsd.org/~rpaulo/wpa-2.0.diff
> RP> Beware that it's big. It would be really helpful if you could test it 
> before I commit it.
>  Patch application error:
> 
> Hmm...  The next patch looks like a unified diff to me...
> The text leading up to this was:
> --
> |Index: contrib/wpa/src/drivers/driver_bsd.c
> |===
> |--- contrib/wpa/src/drivers/driver_bsd.c   (working copy)
> |+++ contrib/wpa/src/drivers/driver_bsd.c   (working copy)
> --
> File to patch:
> 
> r252418
> 
> now I have only
> 
> usr.sbin/wpa/wpa_supplicant/driver_freebsd.c
> usr.sbin/wpa/hostapd/driver_freebsd.c
> 


Looks like svn wasn't smart enough to include the copy in the diff output. Can 
you copy driver_bsd.c from vendor/wpa/dist/src/drivers?

--
Rui Paulo

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Rui.
You wrote 30 июня 2013 г., 5:04:44:

RP> I have a patch that updates the base system version of wpa_supplicant / 
hostapd at:
RP> http://people.freebsd.org/~rpaulo/wpa-2.0.diff
RP> Beware that it's big. It would be really helpful if you could test it 
before I commit it.
  Patch application error:

Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|Index: contrib/wpa/src/drivers/driver_bsd.c
|===
|--- contrib/wpa/src/drivers/driver_bsd.c   (working copy)
|+++ contrib/wpa/src/drivers/driver_bsd.c   (working copy)
--
File to patch:

 r252418

 now I have only

usr.sbin/wpa/wpa_supplicant/driver_freebsd.c
usr.sbin/wpa/hostapd/driver_freebsd.c


-- 
// Black Lion AKA Lev Serebryakov 

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"