Re: [rfc] removing the NDISulator

2013-10-23 Thread John Baldwin
On Monday, October 21, 2013 6:29:24 pm Adrian Chadd wrote: > The NDISulator is a crutch from a time when there wasn't _any_ real > alternative. > > There are plenty of alternatives now. What's lacking is desire and > person-power. But the datasheets are there, or the vendor code has been > release

Re: [rfc] removing the NDISulator

2013-10-23 Thread Eitan Adler
On Mon, Oct 21, 2013 at 6:29 PM, Adrian Chadd wrote: > If there are drivers that people absolutely need fixed then they should > stand up and say "hey, I really would like X to work better!" and then > follow it up with some encouraging incentives. Right now the NDISulator > lets people work _arou

Re: [rfc] removing the NDISulator

2013-10-23 Thread Adrian Chadd
On 23 October 2013 11:09, Alfred Perlstein wrote: > Eh, having taken a stab at porting the bwl blob already, I would strongly >> oppose removing NDIS. If you do that I will just stop using my netbook >> with a Broadcom part altogether as I wouldn't be able to use it to try to >> test bwl change

Re: [rfc] removing the NDISulator

2013-10-23 Thread Alfred Perlstein
On 10/23/13 11:11 AM, Adrian Chadd wrote: On 23 October 2013 11:09, Alfred Perlstein wrote: Eh, having taken a stab at porting the bwl blob already, I would strongly oppose removing NDIS. If you do that I will just stop using my netbook with a Broadcom part altogether as I wouldn't be able

Re: [rfc] removing the NDISulator

2013-10-23 Thread Alfred Perlstein
On 10/23/13 7:23 AM, John Baldwin wrote: On Monday, October 21, 2013 6:29:24 pm Adrian Chadd wrote: The NDISulator is a crutch from a time when there wasn't _any_ real alternative. There are plenty of alternatives now. What's lacking is desire and person-power. But the datasheets are there, or

Re: [rfc] removing the NDISulator

2013-10-23 Thread Adrian Chadd
Because the Linux stuff is mostly very GPL. Adrian On Oct 23, 2013 2:15 PM, "Alfred Perlstein" wrote: > On 10/23/13 11:11 AM, Adrian Chadd wrote: > >> On 23 October 2013 11:09, Alfred Perlstein wrote: >> >> >> Eh, having taken a stab at porting the bwl blob already, I would strongly >>> o

Re: [rfc] removing the NDISulator

2013-10-23 Thread John Baldwin
On Wednesday, October 23, 2013 2:11:29 pm Adrian Chadd wrote: > On 23 October 2013 11:09, Alfred Perlstein wrote: > > > > Eh, having taken a stab at porting the bwl blob already, I would strongly > >> oppose removing NDIS. If you do that I will just stop using my netbook > >> with a Broadcom pa

Re: [rfc] removing the NDISulator

2013-10-23 Thread Adrian Chadd
And the link momentum is strong now. There's driver source. Adrian On Oct 23, 2013 2:41 PM, "John Baldwin" wrote: > On Wednesday, October 23, 2013 2:11:29 pm Adrian Chadd wrote: > > On 23 October 2013 11:09, Alfred Perlstein wrote: > > > > > > > Eh, having taken a stab at porting the bwl blob a

Re: 9.2-STABLE r255918 with GENERIC and iwn - core dump

2013-10-23 Thread Adrian Chadd
Hi, Please try this: http://people.freebsd.org/~adrian/ath/20131023-net80211-txmgt-locking-2.diff It implements what I think is the mostly-right fix: * remove the node reference in the callout, it's actually not freaking needed! * grab the ic lock when doing the timeout callout, ens

Re: 9.2-STABLE r255918 with GENERIC and iwn - core dump

2013-10-23 Thread claudiu vasadi
Hi, Still getting the "Cannot reset interface wlan0 - exit status 1" in wifimgr but no crash yet. Will keep trying :D On Wed, Oct 23, 2013 at 9:51 PM, Adrian Chadd wrote: > Hi, > > Please try this: > > > http://people.freebsd.org/~adrian/ath/20131023-net80211

Re: 9.2-STABLE r255918 with GENERIC and iwn - core dump

2013-10-23 Thread Adrian Chadd
On 23 October 2013 13:10, claudiu vasadi wrote: > Hi, > > Still getting the "Cannot reset interface wlan0 - exit status 1" in > wifimgr but no crash yet. Will keep trying :D > I have no idea about that. It's likely there's some net80211/iwn bug(s) but I don't use wifimgr so I don't know what it'

Re: 9.2-STABLE r255918 with GENERIC and iwn - core dump

2013-10-23 Thread claudiu vasadi
Understood. Will do so. On Wed, Oct 23, 2013 at 10:12 PM, Adrian Chadd wrote: > > > > On 23 October 2013 13:10, claudiu vasadi wrote: > >> Hi, >> >> Still getting the "Cannot reset interface wlan0 - exit status 1" in >> wifimgr but no crash yet. Will keep trying :D >> > > I have no idea about

Re: [rfc] removing the NDISulator

2013-10-23 Thread John-Mark Gurney
Adrian Chadd wrote this message on Wed, Oct 23, 2013 at 11:11 -0700: > On 23 October 2013 11:09, Alfred Perlstein wrote: > > > Eh, having taken a stab at porting the bwl blob already, I would strongly > >> oppose removing NDIS. If you do that I will just stop using my netbook > >> with a Broadco

Re: [rfc] removing the NDISulator

2013-10-23 Thread Thomas Mueller
> > On 23 October 2013 13:10, claudiu vasadi wrote: > > Hi, > > Still getting the "Cannot reset interface wlan0 - exit status 1" in > > wifimgr but no crash yet. Will keep trying :D > I have no idea about that. It's likely there's some net80211/iwn bug(s) but > I don't use wifi

Re: [rfc] removing the NDISulator

2013-10-23 Thread Adrian Chadd
Hi, The later driver model isn't supported by ndisulator. We'd have to implement all the newer NDIS stuff for wifi and ethernet. In the later NDIS layer the Microsoft Wireless Services implement a bunch of stuff that used to be up to the driver. Ie, the driver just exposed an ethernet "device" wi

Re: [rfc] removing the NDISulator

2013-10-23 Thread Vincent Hoffman
On 23/10/2013 18:35, Eitan Adler wrote: > On Mon, Oct 21, 2013 at 6:29 PM, Adrian Chadd wrote: >> If there are drivers that people absolutely need fixed then they should >> stand up and say "hey, I really would like X to work better!" and then >> follow it up with some encouraging incentives. Righ

service netif restart [iface] runs a wpa_supplicant twice

2013-10-23 Thread clutton
What is the best way to restart a wireless stack? A command "ifconfig wlan0 create wlandev ath0" starts the wpa_supplicant by itself. It means that the netif script runs the wpa_supplicant twice, always. Is it ok? There is my debug during booting: [netif.network_common()] START: [netif.network_c

Re: service netif restart [iface] runs a wpa_supplicant twice

2013-10-23 Thread Adrian Chadd
.. that needs to be fixed. It definitely shouldn't be started twice! -adrian On 23 October 2013 16:56, clutton wrote: > What is the best way to restart a wireless stack? > > A command "ifconfig wlan0 create wlandev ath0" starts the wpa_supplicant > by itself. It means that the netif script

Re: [rfc] removing the NDISulator

2013-10-23 Thread Adrian Chadd
On 23 October 2013 15:31, Vincent Hoffman wrote: > On 23/10/2013 18:35, Eitan Adler wrote: > > On Mon, Oct 21, 2013 at 6:29 PM, Adrian Chadd > wrote: > > If there are drivers that people absolutely need fixed then they should > stand up and say "hey, I really would like X to work better!" an

Re: [IWN] Review

2013-10-23 Thread Adrian Chadd
Hi, Ok. I've reviewed this stuff in more depth. Split-6 is still way too big to commit as one commit. I was also hoping that we could get the updated hardware support into this without necessarily adding the PAN support. But, you're the one driving this, so it's up to you. :) * There's DPRINTF(

Re: [IWN] Review

2013-10-23 Thread Adrian Chadd
.. and I've just done the if_iwn_debug.h stuff, so you should update your patchset to include that. Thanks, -adrian On 23 October 2013 17:43, Adrian Chadd wrote: > Hi, > > Ok. I've reviewed this stuff in more depth. > > Split-6 is still way too big to commit as one commit. > > I was also h

Re: [rfc] removing the NDISulator

2013-10-23 Thread Thomas Mueller
> The later driver model isn't supported by ndisulator. We'd have to > implement all the newer NDIS stuff for wifi and ethernet. > In the later NDIS layer the Microsoft Wireless Services implement a bunch > of stuff that used to be up to the driver. Ie, the driver just exposed an > ether

Re: service netif restart [iface] runs a wpa_supplicant twice

2013-10-23 Thread clutton
Indeed. I have looked at a sys/net80211 and at a sys/dev/ath. But I still have no idea which one triggers rc script and how on the earth it can be done. On Wed, 2013-10-23 at 16:57 -0700, Adrian Chadd wrote: > . that needs to be fixed. It definitely shouldn't be started twice! > > > > -adrian

Re: service netif restart [iface] runs a wpa_supplicant twice

2013-10-23 Thread Adrian Chadd
IT's not. It's devd doing something dumb. -a On 23 October 2013 21:30, clutton wrote: > Indeed. > > I have looked at a sys/net80211 and at a sys/dev/ath. > But I still have no idea which one triggers rc script and how on the > earth it can be done. > > On Wed, 2013-10-23 at 16:57 -0700, Adria

Re: [rfc] removing the NDISulator

2013-10-23 Thread Kevin Lo
Thomas Mueller wrote: The later driver model isn't supported by ndisulator. We'd have to implement all the newer NDIS stuff for wifi and ethernet. In the later NDIS layer the Microsoft Wireless Services implement a bunch of stuff that used to be up to the driver. Ie, the driver just