Re: 802.1X: dhclient started before the auth. process ends

2013-07-29 Thread Lars Engels
On Fri, Jul 26, 2013 at 02:34:51PM +0200, Jean-Sébastien Pédron wrote: Hi! At $WORK, we use 802.1X to authenticate computers on the network. Authenticated computers receive a lease in the 192.168.X.X/24 network. Unauthenticated ones receive a lease in the 172.16.X.X/24 network. Today, I

Re: [802.11s] mesh_forward() and (re)-encapsulating frames

2013-07-29 Thread Monthadar Al Jaberi
On Mon, Jul 29, 2013 at 5:32 AM, Adrian Chadd adr...@freebsd.org wrote: Hi, * I think we can get away with one queue per mesh STA neighbor for now. Which is effectively what we have in ath(4) and we will have in net80211 soon Yupp, the 80211 queue per meshSTA neighbour part is important if

RE: [IWN] Reviw split 2

2013-07-29 Thread Cedric GROSS
-Message d'origine- De : owner-freebsd-wirel...@freebsd.org [mailto:owner-freebsd- wirel...@freebsd.org] De la part de Adrian Chadd Envoyé : dimanche 28 juillet 2013 21:25 À : Cedric GROSS Cc : freebsd-wireless@freebsd.org Objet : Re: [IWN] Reviw split 2 Hi! Feedback time!

Current problem reports assigned to freebsd-wireless@FreeBSD.org

2013-07-29 Thread FreeBSD bugmaster
Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker

Re: 802.1X: dhclient started before the auth. process ends

2013-07-29 Thread Adrian Chadd
I think you were lucky. dhclient shouldn't start running until wpa_supplicant has completed authentication. -adrian On 29 July 2013 02:59, Lars Engels lars.eng...@0x20.net wrote: On Fri, Jul 26, 2013 at 02:34:51PM +0200, Jean-Sébastien Pédron wrote: Hi! At $WORK, we use 802.1X to

Re: 802.1X: dhclient started before the auth. process ends

2013-07-29 Thread Jean-Sébastien Pédron
On 29.07.2013 15:34, Adrian Chadd wrote: I think you were lucky. I think you're right. It works perfectly on FreeBSD 9.1, because wpa_supplicant finishes the auth process really quickly, ie. before dhclient receives an answer from dhcpd from the unauthenticated network: Jul 29 15:39:46 -

Re: 802.1X: dhclient started before the auth. process ends

2013-07-29 Thread Lars Engels
On Mon, Jul 29, 2013 at 04:00:44PM +0200, Jean-Sébastien Pédron wrote: On 29.07.2013 15:34, Adrian Chadd wrote: I think you were lucky. I think you're right. It works perfectly on FreeBSD 9.1, because wpa_supplicant finishes the auth process really quickly, ie. before dhclient receives

Re: 802.1X: dhclient started before the auth. process ends

2013-07-29 Thread Lars Engels
On Mon, Jul 29, 2013 at 04:00:44PM +0200, Jean-Sébastien Pédron wrote: On 29.07.2013 15:34, Adrian Chadd wrote: I think you were lucky. I think you're right. It works perfectly on FreeBSD 9.1, because wpa_supplicant finishes the auth process really quickly, ie. before dhclient receives

Atheros AR9565 detected, not working

2013-07-29 Thread Anthony Jenkins
I just got an HP ENVY Sleekbook 6z-1100 laptop hoping it came with a FreeBSD-supported wireless NIC. It has an Atheros AR9565 and looking at the logs it _seems_ like it should be working, but I get no network traffic. I haven't started the Atheros debugging procedure yet, save to compile in

Re: Atheros AR9565 detected, not working

2013-07-29 Thread Anthony Jenkins
Thanks Adrian, I've managed to fix a few things on this laptop, the remaining stuff is BIOS/ACPI related. acpi_hp(4) isn't working, has something to do with WMI. Hoping if I fix the ACPI stuff I can have me AR9565 working. I'll poke around and report back; the RFKill suggestion is a good

Re: Atheros AR9565 detected, not working

2013-07-29 Thread Adrian Chadd
Cool, thanks. Please make sure you post patches for all the things you fix. I'd love to see this kind of thing work out of the box. :) -adrian On 29 July 2013 07:36, Anthony Jenkins scoobi_...@yahoo.com wrote: Thanks Adrian, I've managed to fix a few things on this laptop, the remaining

Re: My WLI-UC-GNM up crash

2013-07-29 Thread Warner Losh
The __aligned(8) likely isn't going to do anything. It says that you are guaranteeing to the compiler that you'll only ever allocate / cast pointers to this data type on a 8-byte boundary. __packed might help, but likely won't because that's for on-wire things and anything thing that wasn't

Re: My WLI-UC-GNM up crash

2013-07-29 Thread Warner Losh
Aren't structures already aligned to 4 bytes when placed inside other structures (unless marked __packed)? Warner On Jul 28, 2013, at 11:50 AM, Adrian Chadd wrote: As long as that results in the radiotap structures being 4 or 8 byte padded when it's embedded in the softc - then yes, indeed.

[iwn] Review split 3

2013-07-29 Thread Cedric GROSS
Hello, As discuss we Adrian, previous big patch is too heavy for direct application in repo. So I resume splitting modification. Here is split 3. This one create if_iwn_devif.h for storing device ID and subdevice ID for later use. If_iwn.c and If_iwnreg.h modified as needed.

WG111v3 + 'urtw' = status: no carrier‏

2013-07-29 Thread sbremal
Hello Just recently upgraded to 8.1 and installed the 'urtw' driver for my Netgear WG111v3 USB WLAN card. All fine, systems boots, WLAN card gets IP address, network runs. And then suddenly network connection breaks down. And never recovers. Only reboot helps. Apparently the WLAN connection

Re: [iwn] Review split 3

2013-07-29 Thread Adrian Chadd
Hi! Cool! ok, the style niggles. * Your #define IWN_blah needs a TAB between #define and the IWN_blah value. Right now you have spaces. * $FreeBSD$ should be after the copyright header, not before * Your new file is missing the standard single-include stuff.. ie #ifndef __IF_IWN_DEVID_H__

Re: WG111v3 + 'urtw' = status: no carrier

2013-07-29 Thread Adrian Chadd
What's logged by the kernel? try 'dmesg' -adrian On 29 July 2013 09:01, sbre...@hotmail.com wrote: Hello Just recently upgraded to 8.1 and installed the 'urtw' driver for my Netgear WG111v3 USB WLAN card. All fine, systems boots, WLAN card gets IP address, network runs. And then

RE: My WLI-UC-GNM up crash

2013-07-29 Thread Hans Petter Selasky
Hi, The aligned will make sure that the structure gets padded properly to the size specified. Only on ARM/MIPS etc, structures get automatically aligned according to the element in the structure requiring the greatest alignment. I've test-compiled the USB WLAN drivers, and the aligned makes a

Re: [iwn] Review split 3

2013-07-29 Thread Warren Block
On Mon, 29 Jul 2013, Adrian Chadd wrote: Hi! Cool! ok, the style niggles. * Your #define IWN_blah needs a TAB between #define and the IWN_blah value. Right now you have spaces. There is whitespace at the end of some of the comment lines also. textproc/igor will find problems like that:

Re: My WLI-UC-GNM up crash

2013-07-29 Thread Warner Losh
On Jul 29, 2013, at 11:58 AM, Hans Petter Selasky wrote: The aligned will make sure that the structure gets padded properly to the size specified. Only on ARM/MIPS etc, structures get automatically aligned according to the element in the structure requiring the greatest alignment. I'd turn

RE: [iwn] Review split 3

2013-07-29 Thread Cedric GROSS
De : Warren Block [mailto:wbl...@wonkity.com] Envoyé : lundi 29 juillet 2013 20:11 À : Adrian Chadd Cc : Cedric GROSS; freebsd-wireless@freebsd.org On Mon, 29 Jul 2013, Adrian Chadd wrote: Hi! Cool! ok, the style niggles. * Your #define IWN_blah needs a TAB between #define and

Wifi rates

2013-07-29 Thread Cedric GROSS
Hello, Part of splitting work, I continue to investigate on my side for my NIC (Centrino 2230). I notice that from ifconfig wlan0 : media: IEEE 802.11 Wireless Ethernet DS/1Mbps mode 11ng Rate is very slow and should be 54Mbps. I try to understand how rates is determined but it's

Re: 802.1X: dhclient started before the auth. process ends

2013-07-29 Thread Adrian Chadd
... wait, so the new version of wpa_supplicant takes 10 seconds to even start doing anything? Or are the rc scripts to blame? -adrian ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To

Re: My WLI-UC-GNM up crash

2013-07-29 Thread Konstantin Belousov
On Mon, Jul 29, 2013 at 12:34:00PM -0600, Warner Losh wrote: On Jul 29, 2013, at 11:58 AM, Hans Petter Selasky wrote: The aligned will make sure that the structure gets padded properly to the size specified. Only on ARM/MIPS etc, structures get automatically aligned according to the

Re: Wifi rates

2013-07-29 Thread Adrian Chadd
Hi, So the trick here is that iwn uses the net80211 rate control API for doing things. Look at if_iwn.c for ratectl. There's a spot in the TX path where it calls it to look up the rate. It then converts that rate to the iwn PLCP format for the given transmission rate. You can google PLCP. Intel

Re: My WLI-UC-GNM up crash

2013-07-29 Thread John-Mark Gurney
Hans Petter Selasky wrote this message on Mon, Jul 29, 2013 at 19:58 +0200: The aligned will make sure that the structure gets padded properly to the size specified. Only on ARM/MIPS etc, structures get automatically aligned according to the element in the structure requiring the greatest

Re: My WLI-UC-GNM up crash

2013-07-29 Thread Ian Lepore
On Mon, 2013-07-29 at 14:15 -0700, John-Mark Gurney wrote: Hans Petter Selasky wrote this message on Mon, Jul 29, 2013 at 19:58 +0200: The aligned will make sure that the structure gets padded properly to the size specified. Only on ARM/MIPS etc, structures get automatically aligned