<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/wireless/orinoco, branch linux-2.6.34.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-04-17T20:16:10Z</updated>
<entry>
<title>orinoco: clear countermeasure setting on commit</title>
<updated>2011-04-17T20:16:10Z</updated>
<author>
<name>David Kilroy</name>
</author>
<published>2010-12-05T15:45:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=51ec1aaccf4887cd27eb183caf28e0dadcdc135b'/>
<id>urn:sha1:51ec1aaccf4887cd27eb183caf28e0dadcdc135b</id>
<content type='text'>
commit ba34fcee476d11e7c9df95932787a22a96ff6e68 upstream.

... and interface up.

In these situations, you are usually trying to connect to a new AP, so
keeping TKIP countermeasures active is confusing. This is already how
the driver behaves (inadvertently). However, querying SIOCGIWAUTH may
tell userspace that countermeasures are active when they aren't.

Clear the setting so that the reporting matches what the driver has
done..

Signed-off by: David Kilroy &lt;kilroyd@googlemail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>orinoco: fix TKIP countermeasure behaviour</title>
<updated>2011-04-17T20:16:09Z</updated>
<author>
<name>David Kilroy</name>
</author>
<published>2010-12-05T15:43:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=553120266ee11698190b87aea5424f624b5af62a'/>
<id>urn:sha1:553120266ee11698190b87aea5424f624b5af62a</id>
<content type='text'>
commit 0a54917c3fc295cb61f3fb52373c173fd3b69f48 upstream.

Enable the port when disabling countermeasures, and disable it on
enabling countermeasures.

This bug causes the response of the system to certain attacks to be
ineffective.

It also prevents wpa_supplicant from getting scan results, as
wpa_supplicant disables countermeasures on startup - preventing the
hardware from scanning.

wpa_supplicant works with ap_mode=2 despite this bug because the commit
handler re-enables the port.

The log tends to look like:

State: DISCONNECTED -&gt; SCANNING
Starting AP scan for wildcard SSID
Scan requested (ret=0) - scan timeout 5 seconds
EAPOL: disable timer tick
EAPOL: Supplicant port status: Unauthorized
Scan timeout - try to get results
Failed to get scan results
Failed to get scan results - try scanning again
Setting scan request: 1 sec 0 usec
Starting AP scan for wildcard SSID
Scan requested (ret=-1) - scan timeout 5 seconds
Failed to initiate AP scan.

Reported by: Giacomo Comes &lt;comes@naic.edu&gt;
Signed-off by: David Kilroy &lt;kilroyd@googlemail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h</title>
<updated>2010-03-30T13:02:32Z</updated>
<author>
<name>Tejun Heo</name>
</author>
<published>2010-03-24T08:04:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5a0e3ad6af8660be21ca98a971cd00f331318c05'/>
<id>urn:sha1:5a0e3ad6af8660be21ca98a971cd00f331318c05</id>
<content type='text'>
percpu.h is included by sched.h and module.h and thus ends up being
included when building most .c files.  percpu.h includes slab.h which
in turn includes gfp.h making everything defined by the two files
universally available and complicating inclusion dependencies.

percpu.h -&gt; slab.h dependency is about to be removed.  Prepare for
this change by updating users of gfp and slab facilities include those
headers directly instead of assuming availability.  As this conversion
needs to touch large number of source files, the following script is
used as the basis of conversion.

  http://userweb.kernel.org/~tj/misc/slabh-sweep.py

The script does the followings.

* Scan files for gfp and slab usages and update includes such that
  only the necessary includes are there.  ie. if only gfp is used,
  gfp.h, if slab is used, slab.h.

* When the script inserts a new include, it looks at the include
  blocks and try to put the new include such that its order conforms
  to its surrounding.  It's put in the include block which contains
  core kernel includes, in the same order that the rest are ordered -
  alphabetical, Christmas tree, rev-Xmas-tree or at the end if there
  doesn't seem to be any matching order.

* If the script can't find a place to put a new include (mostly
  because the file doesn't have fitting include block), it prints out
  an error message indicating which .h file needs to be added to the
  file.

The conversion was done in the following steps.

1. The initial automatic conversion of all .c files updated slightly
   over 4000 files, deleting around 700 includes and adding ~480 gfp.h
   and ~3000 slab.h inclusions.  The script emitted errors for ~400
   files.

2. Each error was manually checked.  Some didn't need the inclusion,
   some needed manual addition while adding it to implementation .h or
   embedding .c file was more appropriate for others.  This step added
   inclusions to around 150 files.

3. The script was run again and the output was compared to the edits
   from #2 to make sure no file was left behind.

4. Several build tests were done and a couple of problems were fixed.
   e.g. lib/decompress_*.c used malloc/free() wrappers around slab
   APIs requiring slab.h to be added manually.

5. The script was run on all .h files but without automatically
   editing them as sprinkling gfp.h and slab.h inclusions around .h
   files could easily lead to inclusion dependency hell.  Most gfp.h
   inclusion directives were ignored as stuff from gfp.h was usually
   wildly available and often used in preprocessor macros.  Each
   slab.h inclusion directive was examined and added manually as
   necessary.

6. percpu.h was updated not to include slab.h.

7. Build test were done on the following configurations and failures
   were fixed.  CONFIG_GCOV_KERNEL was turned off for all tests (as my
   distributed build env didn't work with gcov compiles) and a few
   more options had to be turned off depending on archs to make things
   build (like ipr on powerpc/64 which failed due to missing writeq).

   * x86 and x86_64 UP and SMP allmodconfig and a custom test config.
   * powerpc and powerpc64 SMP allmodconfig
   * sparc and sparc64 SMP allmodconfig
   * ia64 SMP allmodconfig
   * s390 SMP allmodconfig
   * alpha SMP allmodconfig
   * um on x86_64 SMP allmodconfig

8. percpu.h modifications were reverted so that it could be applied as
   a separate patch and serve as bisection point.

Given the fact that I had only a couple of failures from tests on step
6, I'm fairly confident about the coverage of this conversion patch.
If there is a breakage, it's likely to be something in one of the arch
headers which should be easily discoverable easily on most builds of
the specific arch.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Guess-its-ok-by: Christoph Lameter &lt;cl@linux-foundation.org&gt;
Cc: Ingo Molnar &lt;mingo@redhat.com&gt;
Cc: Lee Schermerhorn &lt;Lee.Schermerhorn@hp.com&gt;
</content>
</entry>
<entry>
<title>wireless: convert to use netdev_for_each_mc_addr</title>
<updated>2010-02-28T09:44:01Z</updated>
<author>
<name>Jiri Pirko</name>
</author>
<published>2010-02-27T07:35:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=655ffee284dfcf9a24ac0343f3e5ee6db85b85c5'/>
<id>urn:sha1:655ffee284dfcf9a24ac0343f3e5ee6db85b85c5</id>
<content type='text'>
also added missed locking in rndis_wlan.c

Signed-off-by: Jiri Pirko &lt;jpirko@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6</title>
<updated>2010-02-26T07:26:21Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2010-02-26T07:26:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=19bc291c99f018bd4f2c38bbf69144086dca903f'/>
<id>urn:sha1:19bc291c99f018bd4f2c38bbf69144086dca903f</id>
<content type='text'>
Conflicts:
	drivers/net/wireless/iwlwifi/iwl-core.h
	drivers/net/wireless/rt2x00/rt2800pci.c
</content>
</entry>
<entry>
<title>Introduce PCMCIA_DEVICE_PROD_ID3</title>
<updated>2010-02-19T20:51:23Z</updated>
<author>
<name>Pavel Roskin</name>
</author>
<published>2010-02-11T22:56:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fbc87d67af5ccd733f894273b215564c67e3a749'/>
<id>urn:sha1:fbc87d67af5ccd733f894273b215564c67e3a749</id>
<content type='text'>
...and use it in hostap_cs and orinoco_cs.

Another PCMCIA device with Intersil Prism chipset has been reported:

Socket 0:
  product info: "Gigabyte", "GN-WLM01_P25L_ADAPTER", "ISL37300P", "Eval-RevA"
  manfid: 0x02e0, 0x1011
  function: 6 (network)

As it's the case with some other Prism based devices, the third ID
string contains a design name that should be sufficient to identify the
card as having Intersil Prism chipset and thus compatible with both
orinoco_cs and hostap_cs.

Introduce PCMCIA_DEVICE_PROD_ID3 that matches the third ID string only.

Use it in orinoco_cs and hostap_cs to match cards with the third ID
string indicating Prism chipset.  Remove corresponding entries that use
PCMCIA_DEVICE_PROD_ID123.

Reported-by: Ozzy &lt;ozzymud@gmail.com&gt;
Signed-off-by: Pavel Roskin &lt;proski@gnu.org&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
<entry>
<title>net: use netdev_mc_count and netdev_mc_empty when appropriate</title>
<updated>2010-02-12T19:38:58Z</updated>
<author>
<name>Jiri Pirko</name>
</author>
<published>2010-02-08T04:30:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4cd24eaf0c6ee7f0242e34ee77ec899f255e66b5'/>
<id>urn:sha1:4cd24eaf0c6ee7f0242e34ee77ec899f255e66b5</id>
<content type='text'>
This patch replaces dev-&gt;mc_count in all drivers (hopefully I didn't miss
anything). Used spatch and did small tweaks and conding style changes when
it was suitable.

Jirka

Signed-off-by: Jiri Pirko &lt;jpirko@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>drivers/net/: use DEFINE_PCI_DEVICE_TABLE()</title>
<updated>2010-01-08T07:54:26Z</updated>
<author>
<name>Alexey Dobriyan</name>
</author>
<published>2010-01-07T11:58:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a3aa18842a5303fc28fcc4d57dbd16618bd830a0'/>
<id>urn:sha1:a3aa18842a5303fc28fcc4d57dbd16618bd830a0</id>
<content type='text'>
Use DEFINE_PCI_DEVICE_TABLE() so we get place PCI ids table into correct section
in every case.

Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6</title>
<updated>2009-12-30T21:51:29Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2009-12-30T21:51:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3a999e6eb5d277cd6a321dcda3fc43c3d9e4e4b8'/>
<id>urn:sha1:3a999e6eb5d277cd6a321dcda3fc43c3d9e4e4b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>orinoco: fix GFP_KERNEL in orinoco_set_key with interrupts disabled</title>
<updated>2009-12-28T20:55:47Z</updated>
<author>
<name>Andrey Borzenkov</name>
</author>
<published>2009-12-22T18:38:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5b0691508aa99d309101a49b4b084dc16b3d7019'/>
<id>urn:sha1:5b0691508aa99d309101a49b4b084dc16b3d7019</id>
<content type='text'>
orinoco_set_key is called from two places both with interrupts disabled
(under orinoco_lock). Use GFP_ATOMIC instead of GFP_KERNEL. Fixes following
warning:

[   77.254109] WARNING: at /home/bor/src/linux-git/kernel/lockdep.c:2465 lockdep_trace_alloc+0x9a/0xa0()
[   77.254109] Hardware name: PORTEGE 4000
[   77.254109] Modules linked in: af_packet irnet ppp_generic slhc ircomm_tty ircomm binfmt_misc dm_mirror dm_region_hash dm_log dm_round_robin dm_multipath dm_mod loop nvram toshiba cryptomgr aead pcompress crypto_blkcipher michael_mic crypto_hash crypto_algapi orinoco_cs orinoco cfg80211 smsc_ircc2 pcmcia irda toshiba_acpi yenta_socket video i2c_ali1535 backlight rsrc_nonstatic ali_agp pcmcia_core psmouse output crc_ccitt i2c_core alim1535_wdt rfkill sg evdev ohci_hcd agpgart usbcore pata_ali libata reiserfs [last unloaded: scsi_wait_scan]
[   77.254109] Pid: 2296, comm: wpa_supplicant Not tainted 2.6.32-1avb #1
[   77.254109] Call Trace:
[   77.254109]  [&lt;c011f0ad&gt;] warn_slowpath_common+0x6d/0xa0
[   77.254109]  [&lt;c014206a&gt;] ? lockdep_trace_alloc+0x9a/0xa0
[   77.254109]  [&lt;c014206a&gt;] ? lockdep_trace_alloc+0x9a/0xa0
[   77.254109]  [&lt;c011f0f5&gt;] warn_slowpath_null+0x15/0x20
[   77.254109]  [&lt;c014206a&gt;] lockdep_trace_alloc+0x9a/0xa0
[   77.254109]  [&lt;c018d296&gt;] __kmalloc+0x36/0x130
[   77.254109]  [&lt;dffcb6a8&gt;] ? orinoco_set_key+0x48/0x1c0 [orinoco]
[   77.254109]  [&lt;dffcb6a8&gt;] orinoco_set_key+0x48/0x1c0 [orinoco]
[   77.254109]  [&lt;dffcb9fc&gt;] orinoco_ioctl_set_encodeext+0x1dc/0x2d0 [orinoco]
[   77.254109]  [&lt;c035b117&gt;] ioctl_standard_call+0x207/0x3b0
[   77.254109]  [&lt;dffcb820&gt;] ? orinoco_ioctl_set_encodeext+0x0/0x2d0 [orinoco]
[   77.254109]  [&lt;c0307f1f&gt;] ? rtnl_lock+0xf/0x20
[   77.254109]  [&lt;c0307f1f&gt;] ? rtnl_lock+0xf/0x20
[   77.254109]  [&lt;c02fb115&gt;] ? __dev_get_by_name+0x85/0xb0
[   77.254109]  [&lt;c035b616&gt;] wext_handle_ioctl+0x176/0x200
[   77.254109]  [&lt;dffcb820&gt;] ? orinoco_ioctl_set_encodeext+0x0/0x2d0 [orinoco]
[   77.254109]  [&lt;c030020f&gt;] dev_ioctl+0x6af/0x730
[   77.254109]  [&lt;c02eec65&gt;] ? move_addr_to_kernel+0x55/0x60
[   77.254109]  [&lt;c02eed59&gt;] ? sys_sendto+0xe9/0x130
[   77.254109]  [&lt;c02ed77e&gt;] sock_ioctl+0x7e/0x250
[   77.254109]  [&lt;c02ed700&gt;] ? sock_ioctl+0x0/0x250
[   77.254109]  [&lt;c019cf4c&gt;] vfs_ioctl+0x1c/0x70
[   77.254109]  [&lt;c019d1fa&gt;] do_vfs_ioctl+0x6a/0x590
[   77.254109]  [&lt;c0178e50&gt;] ? might_fault+0x90/0xa0
[   77.254109]  [&lt;c0178e0a&gt;] ? might_fault+0x4a/0xa0
[   77.254109]  [&lt;c02ef90e&gt;] ? sys_socketcall+0x17e/0x280
[   77.254109]  [&lt;c019d759&gt;] sys_ioctl+0x39/0x60
[   77.254109]  [&lt;c0102e3b&gt;] sysenter_do_call+0x12/0x32
[   77.254109] ---[ end trace 95ef563548d21efd ]---

Signed-off-by: Andrey Borzenkov &lt;arvidjaar@mail.ru&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
</entry>
</feed>
