Hello community,
here is the log from the commit of package ndiswrapper
checked in at Fri Aug 29 02:56:50 CEST 2008.
--------
--- arch/i386/ndiswrapper/ndiswrapper.changes 2008-02-22 02:36:43.000000000 +0100
+++ /mounts/work_src_done/STABLE/ndiswrapper/ndiswrapper.changes 2008-08-28 17:51:50.849887000 +0200
@@ -1,0 +2,27 @@
+Thu Aug 28 17:51:21 CEST 2008 - ro@suse.de
+
+- fix to build on 2.6.27 (ndiswrapper-iwe_info.patch)
+- hack around problems with generating _exports.h files
+
+-------------------------------------------------------------------
+Thu Aug 28 17:14:13 CEST 2008 - ro@suse.de
+
+- update to version 1.52
+ * Implemented va_list conversion for x86_64, which fixes oops in
+ vsprintf() and vsnprintf().
+ * Fixed oops on unload if using our workqueue implementation with
+ SMP enabled.
+ * Don't change the actual thread priority, just pretend it was
+ changed.
+ * Implemented format string conversion for x86_64, so that Windows
+ long is mapped to Linux int.
+ * Fixed most sparse warnings.
+ * Simplified code and build system to remove already broken
+ support for Linux versions prior to 2.6.16.
+ * Added .size and .type for all functions in win2lin_stubs.S to
+ improve backtrace on x86_64.
+ * Fixed rx key authentication sequence number conversion from
+ Windows to Linux so WPA authentication doesn't sometimes go into
+ re-key auth loop.
+
+-------------------------------------------------------------------
Old:
----
ndiswrapper-1.52.tar.bz2
New:
----
ndiswrapper-1.53.tar.bz2
ndiswrapper-iwe_info.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ndiswrapper.spec ++++++
--- /var/tmp/diff_new_pack.lg5489/_old 2008-08-29 02:52:08.000000000 +0200
+++ /var/tmp/diff_new_pack.lg5489/_new 2008-08-29 02:52:08.000000000 +0200
@@ -1,10 +1,17 @@
#
-# spec file for package ndiswrapper (Version 1.52)
+# spec file for package ndiswrapper (Version 1.53)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@@ -16,7 +23,7 @@
Group: System/Kernel
AutoReqProv: on
Summary: Use Microsoft NDIS Network Drivers for WLAN Cards
-Version: 1.52
+Version: 1.53
Release: 1
Requires: pciutils
Requires: ndiswrapper-kmp
@@ -25,6 +32,7 @@
Source2: README.SUSE
Source3: preamble
Patch0: ndiswrapper.diff
+Patch1: ndiswrapper-iwe_info.patch
Url: http://ndiswrapper.sourceforge.net
License: GPL v2 or later
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -45,6 +53,7 @@
Pontus Fuchs
%package KMP
+License: GPL v2 or later
Group: System/Kernel
Summary: Use Microsoft NDIS Network Drivers for WLAN Cards
@@ -64,21 +73,22 @@
%prep
%setup
%patch0
+%patch1
cp %SOURCE2 .
mkdir obj
%build
CFLAGS="$RPM_OPT_FLAGS" make -C utils
-pushd driver
-#make compat.h KBUILD=/usr/src/linux
-make compat.h
-popd
export EXTRA_CFLAGS='-DVERSION=\"%version\"'
sed -e "s/@DRV_VERSION@/%{version}/" \
%_sourcedir/Makefile.in > driver/Makefile
for flavor in %flavors_to_build; do
rm -rf obj/$flavor
cp -r driver obj/$flavor
+ # broken, ugly hack
+ pushd obj/$flavor
+ for i in hal crt ndis ntoskernel ntoskernel_io rtl usb ; do sh mkexport.sh $i.c ${i}_exports.h ; done
+ popd
make -C /usr/src/linux-obj/%_target_cpu/$flavor modules \
M=$PWD/obj/$flavor
done
@@ -109,12 +119,33 @@
%doc ChangeLog
%changelog
+* Thu Aug 28 2008 ro@suse.de
+- fix to build on 2.6.27 (ndiswrapper-iwe_info.patch)
+- hack around problems with generating _exports.h files
+* Thu Aug 28 2008 ro@suse.de
+- update to version 1.52
+ * Implemented va_list conversion for x86_64, which fixes oops in
+ vsprintf() and vsnprintf().
+ * Fixed oops on unload if using our workqueue implementation with
+ SMP enabled.
+ * Don't change the actual thread priority, just pretend it was
+ changed.
+ * Implemented format string conversion for x86_64, so that Windows
+ long is mapped to Linux int.
+ * Fixed most sparse warnings.
+ * Simplified code and build system to remove already broken
+ support for Linux versions prior to 2.6.16.
+ * Added .size and .type for all functions in win2lin_stubs.S to
+ improve backtrace on x86_64.
+ * Fixed rx key authentication sequence number conversion from
+ Windows to Linux so WPA authentication doesn't sometimes go into
+ re-key auth loop.
* Fri Feb 22 2008 crrodriguez@suse.de
- update to version 1.52
* Fixed kernel crash when CONFIG_DEBUG_SHIRQ is enabled
* Compilation issues with current 2.6.25 kernel tree fixed
- loadndisdriver.c was compiled without RPM_OPT_FLAGS
-* Wed Dec 26 2007 crrodriguez@suse.de
+* Thu Dec 27 2007 crrodriguez@suse.de
-update to version 1.51
- ndiswrapper-1.49 crashes kernel, 1.51 works ok [#350735]
- Added support for 2.6.24-rcX kernels
@@ -191,7 +222,7 @@
* The workaround for large memory allocations (needed by Atheros drivers)
with 2.6.19+ kernels, introduced in version 1.33, causes soft-lockup
with smp. This is now fixed.
-* Wed Apr 04 2007 lrupp@suse.de
+* Thu Apr 05 2007 lrupp@suse.de
- added module-init-tools to BuildRequires
* Mon Mar 26 2007 jg@suse.de
- update to version 1.39:
++++++ ndiswrapper-1.52.tar.bz2 -> ndiswrapper-1.53.tar.bz2 ++++++
++++ 5021 lines of diff (skipped)
++++++ ndiswrapper-iwe_info.patch ++++++
--- driver/iw_ndis.c
+++ driver/iw_ndis.c
@@ -1015,7 +1015,9 @@
return 0;
}
-static char *ndis_translate_scan(struct net_device *dev, char *event,
+static char *ndis_translate_scan(struct net_device *dev,
+ struct iw_request_info *info,
+ char *event,
char *end_buf, void *item)
{
struct iw_event iwe;
@@ -1034,7 +1036,7 @@
iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
iwe.len = IW_EV_ADDR_LEN;
memcpy(iwe.u.ap_addr.sa_data, bssid->mac, ETH_ALEN);
- event = iwe_stream_add_event(event, end_buf, &iwe, IW_EV_ADDR_LEN);
+ event = iwe_stream_add_event(info, event, end_buf, &iwe, IW_EV_ADDR_LEN);
/* add essid */
memset(&iwe, 0, sizeof(iwe));
@@ -1044,13 +1046,13 @@
iwe.u.data.length = IW_ESSID_MAX_SIZE;
iwe.u.data.flags = 1;
iwe.len = IW_EV_POINT_LEN + iwe.u.data.length;
- event = iwe_stream_add_point(event, end_buf, &iwe, bssid->ssid.essid);
+ event = iwe_stream_add_point(info, event, end_buf, &iwe, bssid->ssid.essid);
/* add protocol name */
memset(&iwe, 0, sizeof(iwe));
iwe.cmd = SIOCGIWNAME;
strncpy(iwe.u.name, network_type_to_name(bssid->net_type), IFNAMSIZ);
- event = iwe_stream_add_event(event, end_buf, &iwe, IW_EV_CHAR_LEN);
+ event = iwe_stream_add_event(info, event, end_buf, &iwe, IW_EV_CHAR_LEN);
/* add mode */
memset(&iwe, 0, sizeof(iwe));
@@ -1061,7 +1063,7 @@
iwe.u.mode = IW_MODE_INFRA;
else // if (bssid->mode == Ndis802_11AutoUnknown)
iwe.u.mode = IW_MODE_AUTO;
- event = iwe_stream_add_event(event, end_buf, &iwe, IW_EV_UINT_LEN);
+ event = iwe_stream_add_event(info, event, end_buf, &iwe, IW_EV_UINT_LEN);
/* add freq */
memset(&iwe, 0, sizeof(iwe));
@@ -1076,7 +1078,7 @@
/* convert from kHz to Hz */
iwe.u.freq.e += 3;
iwe.len = IW_EV_FREQ_LEN;
- event = iwe_stream_add_event(event, end_buf, &iwe, IW_EV_FREQ_LEN);
+ event = iwe_stream_add_event(info, event, end_buf, &iwe, IW_EV_FREQ_LEN);
/* add qual */
memset(&iwe, 0, sizeof(iwe));
@@ -1090,7 +1092,7 @@
iwe.u.qual.noise = WL_NOISE;
iwe.u.qual.qual = i;
iwe.len = IW_EV_QUAL_LEN;
- event = iwe_stream_add_event(event, end_buf, &iwe, IW_EV_QUAL_LEN);
+ event = iwe_stream_add_event(info, event, end_buf, &iwe, IW_EV_QUAL_LEN);
/* add key info */
memset(&iwe, 0, sizeof(iwe));
@@ -1101,7 +1103,7 @@
iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY;
iwe.u.data.length = 0;
iwe.len = IW_EV_POINT_LEN;
- event = iwe_stream_add_point(event, end_buf, &iwe, bssid->ssid.essid);
+ event = iwe_stream_add_point(info, event, end_buf, &iwe, bssid->ssid.essid);
/* add rate */
memset(&iwe, 0, sizeof(iwe));
@@ -1115,7 +1117,7 @@
if (bssid->rates[i] & 0x7f) {
iwe.u.bitrate.value = ((bssid->rates[i] & 0x7f) *
500000);
- current_val = iwe_stream_add_value(event, current_val,
+ current_val = iwe_stream_add_value(info, event, current_val,
end_buf, &iwe,
IW_EV_PARAM_LEN);
}
@@ -1128,13 +1130,13 @@
iwe.cmd = IWEVCUSTOM;
sprintf(buf, "bcn_int=%d", bssid->config.beacon_period);
iwe.u.data.length = strlen(buf);
- event = iwe_stream_add_point(event, end_buf, &iwe, buf);
+ event = iwe_stream_add_point(info, event, end_buf, &iwe, buf);
memset(&iwe, 0, sizeof(iwe));
iwe.cmd = IWEVCUSTOM;
sprintf(buf, "atim=%u", bssid->config.atim_window);
iwe.u.data.length = strlen(buf);
- event = iwe_stream_add_point(event, end_buf, &iwe, buf);
+ event = iwe_stream_add_point(info, event, end_buf, &iwe, buf);
TRACE2("%d, %u", bssid->length, (unsigned int)sizeof(*bssid));
if (bssid->length > sizeof(*bssid)) {
@@ -1155,7 +1157,7 @@
memset(&iwe, 0, sizeof(iwe));
iwe.cmd = IWEVGENIE;
iwe.u.data.length = ielen;
- event = iwe_stream_add_point(event, end_buf,
+ event = iwe_stream_add_point(info, event, end_buf,
&iwe, iep);
}
iep += ielen;
@@ -1236,7 +1238,7 @@
TRACE2("%d", bssid_list->num_items);
cur_item = &bssid_list->bssid[0];
for (i = 0; i < bssid_list->num_items; i++) {
- event = ndis_translate_scan(dev, event,
+ event = ndis_translate_scan(dev, info, event,
extra + IW_SCAN_MAX_DATA, cur_item);
cur_item = (struct ndis_wlan_bssid *)((char *)cur_item +
cur_item->length);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org