Re: patch for intel centrino ?

2013-08-28 Thread Adrian Chadd
Sweet,

Cedric - can you generate an updated patch now? Including the things you
needed to do to get george online?

Thanks,


-adrian



On 28 August 2013 03:51, Cedric GROSS c...@cgross.info wrote:


  -Message d'origine-
  De : owner-freebsd-wirel...@freebsd.org [mailto:owner-freebsd-
  wirel...@freebsd.org] De la part de George Neville-Neil
  Envoyé : mercredi 28 août 2013 03:49


   Cedric, if you can update your code and also include the proper
  module
   for iwnfw2000 that would be good.  I can add the module to the tree
  if
   others want, but I'm not committing any code as Adrian is working
  with
   you on that.
  

 Yep, I will do that within the week.

 
  Looks like it was MAC filtering that was the problem earlier.  This is
  now working on a WPA-PSK network.

 Good news, let us know how thing goes (stability, speed, etc.).

 
  Best,
  George

 Cheers
 Cedric


 ___
 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: patch for intel centrino ?

2013-08-27 Thread George Neville-Neil

On Aug 27, 2013, at 5:28 , Cedric GROSS c...@cgross.info wrote:

 
 
 De : George Neville-Neil [mailto:g...@freebsd.org]
 Envoyé : mardi 27 août 2013 03:21
 À : Adrian Chadd
 Cc : Cedric GROSS; freebsd-wireless@freebsd.org
 Objet : Re: patch for intel centrino ?
 
 
 On Aug 25, 2013, at 7:41 , Adrian Chadd adr...@freebsd.org wrote:
 
 Hi!
 
 Hello George,
 
 http://people.freebsd.org/~gnn/iwn.diff
 
 You don't use correct firmware for your NIC. It's should be a 2000 not 2030.
 
 If y'all can look at that and make comments that would be helpful.
 
 
 Try to get correct firmware and test it again.
 (http://wireless.kernel.org/en/users/Drivers/iwlwifi?action=AttachFiledo=ge
 ttarget=iwlwifi-2000-ucode-18.168.6.1.tgz)
 
 You will need to uncompress it and then uucode firmware, create module
 (sys/modules/iwnfw) and so on.

With the 2000 firmware I get a firmware crash:

Aug 27 10:20:12 punk kernel: iwn0: iwn_intr: fatal firmware error
Aug 27 10:20:12 punk kernel: firmware error log:
Aug 27 10:20:12 punk kernel: error type  = UNKNOWN (0x0038)
Aug 27 10:20:12 punk kernel: program counter = 0xA240
Aug 27 10:20:12 punk kernel: source line = 0x03C4
Aug 27 10:20:12 punk kernel: error data  = 0x00AA
Aug 27 10:20:12 punk kernel: branch link = 0xA23CA23C
Aug 27 10:20:12 punk kernel: interrupt link  = 0xE1AE
Aug 27 10:20:12 punk kernel: time= 29232
Aug 27 10:20:12 punk kernel: driver status:
Aug 27 10:20:12 punk kernel: tx ring  0: qid=0  cur=0   queued=0
Aug 27 10:20:12 punk kernel: tx ring  1: qid=1  cur=0   queued=0
Aug 27 10:20:12 punk kernel: tx ring  2: qid=2  cur=0   queued=0
Aug 27 10:20:12 punk kernel: tx ring  3: qid=3  cur=0   queued=0
Aug 27 10:20:12 punk kernel: tx ring  4: qid=4  cur=0   queued=0
Aug 27 10:20:12 punk kernel: tx ring  5: qid=5  cur=0   queued=0
Aug 27 10:20:12 punk kernel: tx ring  6: qid=6  cur=0   queued=0
Aug 27 10:20:12 punk kernel: tx ring  7: qid=7  cur=0   queued=0
Aug 27 10:20:12 punk kernel: tx ring  8: qid=8  cur=0   queued=0
Aug 27 10:20:12 punk kernel: tx ring  9: qid=9  cur=12  queued=0
Aug 27 10:20:12 punk kernel: tx ring 10: qid=10 cur=0   queued=0
Aug 27 10:20:12 punk kernel: tx ring 11: qid=11 cur=0   queued=0
Aug 27 10:20:12 punk kernel: tx ring 12: qid=12 cur=0   queued=0
Aug 27 10:20:12 punk kernel: tx ring 13: qid=13 cur=0   queued=0
Aug 27 10:20:12 punk kernel: tx ring 14: qid=14 cur=0   queued=0
Aug 27 10:20:12 punk kernel: tx ring 15: qid=15 cur=0   queued=0
Aug 27 10:20:12 punk kernel: tx ring 16: qid=16 cur=0   queued=0
Aug 27 10:20:12 punk kernel: tx ring 17: qid=17 cur=0   queued=0
Aug 27 10:20:12 punk kernel: tx ring 18: qid=18 cur=0   queued=0
Aug 27 10:20:12 punk kernel: tx ring 19: qid=19 cur=0   queued=0
Aug 27 10:20:12 punk kernel: rx ring: cur=11
Aug 27 10:20:13 punk kernel: iwn0: iwn_config: could not configure valid TX 
chains, error 35
Aug 27 10:20:13 punk kernel: iwn0: iwn_init_locked: could not configure device, 
error 35

Best,
George

___
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: patch for intel centrino ?

2013-08-27 Thread Cedric GROSS
 -Message d'origine-
 De : George Neville-Neil [mailto:g...@freebsd.org]
 Envoyé : mardi 27 août 2013 16:23
 À : Cedric GROSS
 Cc : freebsd-wireless@freebsd.org; 'Adrian Chadd'
 Objet : Re: patch for intel centrino ?
 
 
 On Aug 27, 2013, at 5:28 , Cedric GROSS c...@cgross.info wrote:
 
  De : George Neville-Neil [mailto:g...@freebsd.org] Envoyé : mardi 27
  août 2013 03:21 À : Adrian Chadd Cc : Cedric GROSS;
  freebsd-wireless@freebsd.org Objet : Re: patch for intel centrino ?
 
 
  On Aug 25, 2013, at 7:41 , Adrian Chadd adr...@freebsd.org wrote:
 
  Hi!
 
  Hello George,
 
  http://people.freebsd.org/~gnn/iwn.diff
 
  You don't use correct firmware for your NIC. It's should be a 2000
 not 2030.
 
  If y'all can look at that and make comments that would be helpful.
 
 
  Try to get correct firmware and test it again.
 
 (http://wireless.kernel.org/en/users/Drivers/iwlwifi?action=AttachFile;
 do=ge
  ttarget=iwlwifi-2000-ucode-18.168.6.1.tgz)
 
  You will need to uncompress it and then uucode firmware, create
 module
  (sys/modules/iwnfw) and so on.
 
 With the 2000 firmware I get a firmware crash:
 
 Aug 27 10:20:12 punk kernel: iwn0: iwn_intr: fatal firmware error
 Aug 27 10:20:12 punk kernel: firmware error log:
 Aug 27 10:20:12 punk kernel: error type  = UNKNOWN (0x0038)
 Aug 27 10:20:13 punk kernel: iwn0: iwn_config: could not configure
 valid TX chains, error 35
 Aug 27 10:20:13 punk kernel: iwn0: iwn_init_locked: could not configure
 device, error 35

Hum.. I nearly sure is because your NIC don't have BT.

Set advanced_bt_coexist to false within iwn2000_base_params. 
May be it will not run also but iwn cannot skip BT config for the moment.
If setting parameter to false doesn't change crash, try to comment  /*
Configure bluetooth coexistence. */ bloc code in iwn_config. 

I will do a patch for that later.

 
 Best,
 George


___
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: patch for intel centrino ?

2013-08-27 Thread George Neville-Neil
On 08/27/13 12:11, George Neville-Neil wrote:
 
 On Aug 27, 2013, at 11:08 , Cedric GROSS c...@cgross.info wrote:
 
 -Message d'origine- De : George Neville-Neil
 [mailto:g...@freebsd.org] Envoyé : mardi 27 août 2013 16:23 À :
 Cedric GROSS Cc : freebsd-wireless@freebsd.org; 'Adrian Chadd' 
 Objet : Re: patch for intel centrino ?
 
 
 On Aug 27, 2013, at 5:28 , Cedric GROSS c...@cgross.info
 wrote:
 
 De : George Neville-Neil [mailto:g...@freebsd.org] Envoyé :
 mardi 27 août 2013 03:21 À : Adrian Chadd Cc : Cedric
 GROSS; freebsd-wireless@freebsd.org Objet : Re: patch for
 intel centrino ?
 
 
 On Aug 25, 2013, at 7:41 , Adrian Chadd
 adr...@freebsd.org wrote:
 
 Hi!
 
 Hello George,
 
 http://people.freebsd.org/~gnn/iwn.diff
 
 You don't use correct firmware for your NIC. It's should be a
 2000
 not 2030.
 
 If y'all can look at that and make comments that would be
 helpful.
 
 
 Try to get correct firmware and test it again.
 
 (http://wireless.kernel.org/en/users/Drivers/iwlwifi?action=AttachFile;

 
do=ge
 ttarget=iwlwifi-2000-ucode-18.168.6.1.tgz)
 
 You will need to uncompress it and then uucode firmware,
 create
 module
 (sys/modules/iwnfw) and so on.
 
 With the 2000 firmware I get a firmware crash:
 
 Aug 27 10:20:12 punk kernel: iwn0: iwn_intr: fatal firmware
 error Aug 27 10:20:12 punk kernel: firmware error log: Aug 27
 10:20:12 punk kernel: error type  = UNKNOWN (0x0038) 
 Aug 27 10:20:13 punk kernel: iwn0: iwn_config: could not
 configure valid TX chains, error 35 Aug 27 10:20:13 punk
 kernel: iwn0: iwn_init_locked: could not configure device,
 error 35
 
 Hum.. I nearly sure is because your NIC don't have BT.
 
 Set advanced_bt_coexist to false within iwn2000_base_params. May
 be it will not run also but iwn cannot skip BT config for the
 moment. If setting parameter to false doesn't change crash, try
 to comment  /* Configure bluetooth coexistence. */ bloc code in
 iwn_config.
 
 I will do a patch for that later.
 
 
 I had to #if 0 out the code but now something is happening and the
 fw is not crashing. I still cannot associate but am tracking that
 down via debug from wpa_supplicant. It does look like it tries to
 do it, but it just fails  The AP is an Apple Extreme.
 
 
 Best, George
 
 wpa_driver_bsd_associate: ssid 'XXX' wpa ie len 22 pairwise 3 group
 3 key mgmt 1 wpa_driver_bsd_set_drop_unencrypted: enabled=1 
 wpa_driver_bsd_set_auth_alg alg 0x1 authmode 1 
 wpa_driver_bsd_associate: set PRIVACY 1 Setting authentication
 timeout: 10 sec 0 usec EAPOL: External notification - EAP
 success=0 EAPOL: Supplicant port status: Unauthorized EAPOL:
 External notification - EAP fail=0 EAPOL: Supplicant port status:
 Unauthorized EAPOL: External notification - portControl=Auto EAPOL:
 Supplicant port status: Unauthorized Authentication with
 c8:bc:c8:ff:43:c5 timed out. BSSID c8:bc:c8:ff:43:c5 blacklist
 count incremented to 2 No keys have been configured - skip key
 clearing State: ASSOCIATING - DISCONNECTED

OK, I left work's network to try this out in a Starbucks which has
open WiFi and then authenticates with the web.  It is working from
here.  I'll try it next on a network that has WPA-PSK again.  It might
just be that my MAC was not registered on the work network.

Cedric, if you can update your code and also include the proper module
for iwnfw2000 that would be good.  I can add the module to the tree if
others want, but I'm not committing any code as Adrian is working with
you on that.

Best,
George


___
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: patch for intel centrino ?

2013-08-27 Thread George Neville-Neil

On Aug 27, 2013, at 18:43 , George Neville-Neil g...@neville-neil.com wrote:

 OK, I left work's network to try this out in a Starbucks which has
 open WiFi and then authenticates with the web.  It is working from
 here.  I'll try it next on a network that has WPA-PSK again.  It might
 just be that my MAC was not registered on the work network.
 
 Cedric, if you can update your code and also include the proper module
 for iwnfw2000 that would be good.  I can add the module to the tree if
 others want, but I'm not committing any code as Adrian is working with
 you on that.
 

Looks like it was MAC filtering that was the problem earlier.  This is now 
working
on a WPA-PSK network.

Best,
George


___
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: patch for intel centrino ?

2013-08-26 Thread George Neville-Neil

On Aug 25, 2013, at 7:41 , Adrian Chadd adr...@freebsd.org wrote:

 Hi!
 
 I encourage people to test this out on all iwn(4) hardware, new and old.
 
 It needs to work on the older stuff (4965, 5100, etc) before I will merge
 it into -HEAD.
 
 Sorry I've not merged more, I've been busy with work and work travel.
 
 
 

OK, here is a patch that makes this start to work.  I say start because 
after a few reasonable
exchanges (i.e. I can open a web page) the device seems to wedge with no 
messages.

http://people.freebsd.org/~gnn/iwn.diff

If y'all can look at that and make comments that would be helpful.

I turned on debugging and a sample of the messages when the device is stuck 
are at
the end of this email.

Best,
George



Aug 26 21:18:24 punk kernel: iwn5000_tx_done: Agg : 1
Aug 26 21:18:24 punk kernel: iwn_tx_done: Status OK ackcnt: 0
Aug 26 21:18:24 punk kernel: iwn_tx_data: qid 2 idx 205 len 84 nsegs 2
Aug 26 21:18:24 punk kernel: iwn_tx_data: qid 2 idx 206 len 84 nsegs 2
Aug 26 21:18:24 punk kernel: iwn_tx_data: qid 2 idx 207 len 84 nsegs 2
Aug 26 21:18:24 punk kernel: iwn_tx_data: qid 2 idx 208 len 84 nsegs 2
Aug 26 21:18:24 punk kernel: iwn_tx_data: qid 2 idx 209 len 84 nsegs 2
Aug 26 21:18:24 punk kernel: iwn5000_tx_done: qid 2 idx 205 retries 0 nkill 0 ra
te 80006103 duration 161 status 1
Aug 26 21:18:24 punk kernel: iwn5000_tx_done: Agg : 1
Aug 26 21:18:24 punk kernel: iwn_tx_done: Status OK ackcnt: 0
Aug 26 21:18:24 punk kernel: iwn5000_tx_done: qid 2 idx 206 retries 0 nkill 0 ra
te 80006103 duration 161 status 1
Aug 26 21:18:24 punk kernel: iwn5000_tx_done: Agg : 1
Aug 26 21:18:24 punk kernel: iwn_tx_done: Status OK ackcnt: 0
Aug 26 21:18:24 punk kernel: iwn5000_tx_done: qid 2 idx 207 retries 0 nkill 0 ra
te 80006103 duration 161 status 1
Aug 26 21:18:24 punk kernel: iwn5000_tx_done: Agg : 1
Aug 26 21:18:24 punk kernel: iwn_tx_done: Status OK ackcnt: 0
Aug 26 21:18:24 punk kernel: iwn5000_tx_done: qid 2 idx 208 retries 0 nkill 0 ra
te 80006103 duration 161 status 1
Aug 26 21:18:24 punk kernel: iwn5000_tx_done: Agg : 1
Aug 26 21:18:24 punk kernel: iwn_tx_done: Status OK ackcnt: 0
Aug 26 21:18:24 punk kernel: iwn5000_tx_done: qid 2 idx 209 retries 0 nkill 0 ra
te 80006103 duration 161 status 1
Aug 26 21:18:24 punk kernel: iwn5000_tx_done: Agg : 1
Aug 26 21:18:24 punk kernel: iwn_tx_done: Status OK ackcnt: 0
Aug 26 21:18:26 punk kernel: iwn_tx_data: qid 2 idx 210 len 80 nsegs 1
Aug 26 21:18:26 punk kernel: iwn5000_tx_done: qid 2 idx 210 retries 0 nkill 0 ra
te 80006103 duration 161 status 1
Aug 26 21:18:26 punk kernel: iwn5000_tx_done: Agg : 1
Aug 26 21:18:26 punk kernel: iwn_tx_done: Status OK ackcnt: 0
Aug 26 21:18:26 punk kernel: iwn_tx_data: qid 2 idx 211 len 83 nsegs 1
Aug 26 21:18:26 punk kernel: iwn5000_tx_done: qid 2 idx 211 retries 0 nkill 0 ra
te 80006103 duration 161 status 1
Aug 26 21:18:26 punk kernel: iwn5000_tx_done: Agg : 1
Aug 26 21:18:26 punk kernel: iwn_tx_done: Status OK ackcnt: 0
Aug 26 21:18:26 punk kernel: iwn_tx_data: qid 2 idx 212 len 84 nsegs 2
Aug 26 21:18:26 punk kernel: iwn_tx_data: qid 2 idx 213 len 84 nsegs 2
Aug 26 21:18:26 punk kernel: iwn5000_tx_done: qid 2 idx 212 retries 0 nkill 0 ra
te 80006103 duration 161 status 1
Aug 26 21:18:26 punk kernel: iwn5000_tx_done: Agg : 1
Aug 26 21:18:26 punk kernel: iwn_tx_done: Status OK ackcnt: 0
Aug 26 21:18:26 punk kernel: iwn5000_tx_done: qid 2 idx 213 retries 0 nkill 0 ra
te 80006103 duration 161 status 1
Aug 26 21:18:26 punk kernel: iwn5000_tx_done: Agg : 1
Aug 26 21:18:26 punk kernel: iwn_tx_done: Status OK ackcnt: 0
Aug 26 21:18:27 punk kernel: iwn_tx_data: qid 2 idx 214 len 84 nsegs 2
Aug 26 21:18:27 punk kernel: iwn_tx_data: qid 2 idx 215 len 84 nsegs 2
Aug 26 21:18:27 punk kernel: iwn_tx_data: qid 2 idx 216 len 84 nsegs 2
Aug 26 21:18:27 punk kernel: iwn_tx_data: qid 2 idx 217 len 84 nsegs 2

___
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: patch for intel centrino ?

2013-08-25 Thread Adrian Chadd
Hi!

I encourage people to test this out on all iwn(4) hardware, new and old.

It needs to work on the older stuff (4965, 5100, etc) before I will merge
it into -HEAD.

Sorry I've not merged more, I've been busy with work and work travel.



-adrian



On 24 August 2013 22:52, Cedric GROSS c...@cgross.info wrote:

  De : owner-freebsd-wirel...@freebsd.org [mailto:owner-freebsd-
  wirel...@freebsd.org] De la part de Eitan Adler
  Envoyé : samedi 24 août 2013 18:36
  À : freebsd-wireless@freebsd.org
  Objet : patch for intel centrino ?
 
  Hi,
 Hello,

 
  I have a 'intel centrino wireless-N 2200 BGN', I heard there is a patch
  to -HEAD, where is it?  Is it ready for testing?

 Have a look to ML history, you will find it with topic RE: iwn(4) changes,
 net80211(4) changes, things may be odd.

 Or you can fork my github repo : https://github.com/KreizIT/FreeBSD-IWNand
 use the LKGV branch.

  Does it apply against 9-STABLE as well?

 No but you can test it ;)

 
  --
  Eitan Adler

 BR.
 Cedric


 ___
 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: patch for intel centrino ?

2013-08-24 Thread Cedric GROSS
 De : owner-freebsd-wirel...@freebsd.org [mailto:owner-freebsd-
 wirel...@freebsd.org] De la part de Eitan Adler
 Envoyé : samedi 24 août 2013 18:36
 À : freebsd-wireless@freebsd.org
 Objet : patch for intel centrino ?
 
 Hi,
Hello,

 
 I have a 'intel centrino wireless-N 2200 BGN', I heard there is a patch
 to -HEAD, where is it?  Is it ready for testing?

Have a look to ML history, you will find it with topic RE: iwn(4) changes,
net80211(4) changes, things may be odd.

Or you can fork my github repo : https://github.com/KreizIT/FreeBSD-IWN and
use the LKGV branch.

 Does it apply against 9-STABLE as well?

No but you can test it ;)

 
 --
 Eitan Adler

BR.
Cedric


___
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