Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2010 04:00:22 +0000 (UTC)
From:      Giorgos Keramidas <keramida@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/iwn if_iwn.c if_iwnvar.h
Message-ID:  <201001090400.o0940hWN080402@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
keramida    2010-01-09 04:00:22 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/iwn          if_iwn.c if_iwnvar.h 
  Log:
  SVN rev 201882 on 2010-01-09 04:00:22Z by keramida
  
  Revert iwn channel-argument handling of set_txpower() to r201822
  
  Pass the channel argument as a real argument and not through
  RXON.  The RXON version seems to have problem with both the older
  228.57.2.23 firmware and the latest 228.61.2.24 version resulting
  in device initialization errors like:
  
    wpa_supplicant[2928]: Failed to initiate AP scan.
    kernel: firmware error log:
    kernel: error type      = "SYSASSERT" (0x00000005)
    kernel: program counter = 0x0000147C
    kernel: source line     = 0x0000058B
    kernel: error data      = 0x0000058B00000000
    kernel: branch link     = 0x0000145A00001492
    kernel: interrupt link  = 0x000006DE00000000
    kernel: time            = 7310
    ...
    kernel: iwn0: iwn_config: could not set TX power
    kernel: iwn0: iwn_init_locked: could not configure device, error 35
  
  By passing the current channel to hal->set_txpower() the firmware
  error is fixed, at least for the 4965 chipset of my Thinkpad and
  the ones tested by Bernhard.
  
  Submitted by:   Bernhard Schmidt <bschmidt@techwires.net>
  Approved by:    rpaulo
  
  Revision  Changes    Path
  1.23      +17 -12    src/sys/dev/iwn/if_iwn.c
  1.6       +2 -1      src/sys/dev/iwn/if_iwnvar.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001090400.o0940hWN080402>