This commit is contained in:
committed by
Git OBS Bridge
parent
b231335f43
commit
ee8fd853d0
@@ -14,8 +14,8 @@ Copyright (C) 2005 - 2006, Intel Corporation
|
||||
|
||||
README.ipw3945
|
||||
|
||||
Version: 1.1.0-pre2
|
||||
Date : June 26, 2006
|
||||
Version: 1.2.0
|
||||
Date : January 05, 2007
|
||||
|
||||
|
||||
Index
|
||||
@@ -113,7 +113,7 @@ file.
|
||||
|
||||
1.1. Overview of Features
|
||||
-----------------------------------------------
|
||||
The current release (1.1.0-pre2) supports the following features:
|
||||
The current release (1.2.0) supports the following features:
|
||||
|
||||
+ BSS mode (Infrastructure, Managed)
|
||||
+ IBSS mode (Ad-Hoc)
|
||||
@@ -163,7 +163,11 @@ If you did not configure your modprobe.conf to automatically launch the
|
||||
regulatory daemon (see INSTALL), you must do so manually after loading
|
||||
the module:
|
||||
|
||||
# /sbin/ipw3945d <--- You need to be root for this
|
||||
# /sbin/ipw3945d <--- You need to be root for this*
|
||||
|
||||
* See README.ipw3945d (provided in the regulatory daemon package) for
|
||||
information on how to configure the system to run the regulatory
|
||||
daemon as a non-root user.
|
||||
|
||||
If you want to unload the module (and kill the deamon as well), you can
|
||||
simply use the unload script:
|
||||
@@ -275,18 +279,12 @@ result in the channel switching.
|
||||
IBSS is not supported on channels marked passive-only.
|
||||
|
||||
The use of IBSS networks (starting or joining) on channels marked as
|
||||
requiring IEEE 802.11h required (we do not support the full IBSS DFS
|
||||
owner mode)
|
||||
radar spectrum is also not supported.
|
||||
|
||||
The user can manually control the transmit power control via the
|
||||
iwconfig txpower command (see below for details on behavior of the
|
||||
txpower command with this driver).
|
||||
|
||||
Channels indicated to require radar detection are only allowed to be
|
||||
used in association with access points that advertise support for IEEE
|
||||
802.11h. To determine which channels require this, see the 'channels'
|
||||
entry in the section 'Device Level Sysfs Helper Files.'
|
||||
|
||||
|
||||
3.7. Tx Power
|
||||
-----------------------------------------------
|
||||
@@ -456,7 +454,7 @@ The general form is:
|
||||
info is logged. See the 'dvals' and 'load' script for more info on
|
||||
how to use this.
|
||||
|
||||
The dvals and load scripts are provided in the ipw3945-1.1.0-pre2.tgz
|
||||
The dvals and load scripts are provided in the ipw3945-1.2.0.tgz
|
||||
development snapshot releases available from the SourceForge
|
||||
project at http://ipw3945.sf.net)
|
||||
|
||||
@@ -643,13 +641,10 @@ For the device level files, see /sys/bus/pci/drivers/ipw3945:
|
||||
36: 17dBm: BSS, IBSS, active/passive.
|
||||
...
|
||||
48: 17dBm: BSS, IBSS, active/passive.
|
||||
52: 17dBm: BSS (IEEE 802.11h required), passive only.
|
||||
52: 17dBm: BSS (radar spectrum), passive only.
|
||||
...
|
||||
136: 17dBm: BSS (IEEE 802.11h required), passive only.
|
||||
140: 17dBm: BSS (IEEE 802.11h required), passive only.
|
||||
|
||||
Channels where IEEE 802.11h is required will only associate with
|
||||
APs that have the Spectrum Management bit enabled.
|
||||
136: 17dBm: BSS (radar spectrum), passive only.
|
||||
140: 17dBm: BSS (radar spectrum), passive only.
|
||||
|
||||
For channels marked where ad-hoc is not supported (IBSS is not
|
||||
listed), you can neither join or create an IBSS (ad-hoc) network
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:882f5fe8c3e3a2538f59e96d002866aea1ce3ad33396da0cea7721455f4a42be
|
||||
size 457056
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
versionh=src/include/wlan/version.h
|
||||
cp src/version.h.in $versionh
|
||||
|
||||
. ./config.in
|
||||
|
||||
DATE=`date`
|
||||
|
||||
printf '#define WLAN_RELEASE\t"%d.%d.%d%s"\n' \
|
||||
${WLAN_VERSION} \
|
||||
${WLAN_PATCHLEVEL} \
|
||||
${WLAN_SUBLEVEL} \
|
||||
${WLAN_EXTRAVERSION} >> $versionh
|
||||
printf '#define WLAN_RELEASE_CODE 0x%02x%02x%02x\n' \
|
||||
${WLAN_VERSION} \
|
||||
${WLAN_PATCHLEVEL} \
|
||||
${WLAN_SUBLEVEL} >> $versionh
|
||||
echo "#define WLAN_BUILD_DATE \"$DATE\" " >> $versionh
|
||||
|
||||
printf '\n' >> $versionh
|
||||
printf '#endif\n' >> $versionh
|
||||
|
@@ -1,50 +0,0 @@
|
||||
PRISM2_PCMCIA=y
|
||||
PRISM2_PLX=y
|
||||
PRISM2_PCI=y
|
||||
PRISM2_USB=y
|
||||
LINUX_SRC=/usr/src/linux
|
||||
KERN_25=y
|
||||
CONFIG_NETLINK=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_HOTPLUG=y
|
||||
KERNEL_CFLAGS=-D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -fno-unit-at-a-time
|
||||
KERNEL_MODFLAGS=-DMODULE
|
||||
WLAN_KERN_PCMCIA=y
|
||||
TARGET_ROOT_ON_HOST=
|
||||
PCMCIA_DIR=/etc/pcmcia
|
||||
TARGET_PCMCIA_DIR=/etc/pcmcia
|
||||
MODDIR=/lib/modules/2.6.1-4-default
|
||||
TARGET_MODDIR=/lib/modules/2.6.1-4-default
|
||||
INST_EXEDIR=/sbin
|
||||
TARGET_INST_EXEDIR=/sbin
|
||||
RC_DIR=/etc
|
||||
SYSV_INIT=y
|
||||
# INSTALL_DEPMOD is not defined
|
||||
HOST_COMPILE=
|
||||
HOST_CFLAGS=-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
|
||||
HOST_AS=$(HOST_COMPILE)as
|
||||
HOST_LD=$(HOST_COMPILE)ld
|
||||
HOST_CC=$(HOST_COMPILE)gcc
|
||||
HOST_CPP=$(HOST_CC) -E
|
||||
HOST_AR=$(HOST_COMPILE)ar
|
||||
HOST_NM=$(HOST_COMPILE)nm
|
||||
HOST_STRIP=$(HOST_COMPILE)strip
|
||||
HOST_OBJCOPY=$(HOST_COMPILE)objcopy
|
||||
HOST_OBJDUMP=$(HOST_COMPILE)objdump
|
||||
HOST_RANLIB=$(HOST_COMPILE)ranlib
|
||||
HOST_MAKE=make
|
||||
CROSS_COMPILE=
|
||||
# CROSS_COMPILE_ENABLED is not defined
|
||||
AS=$(HOST_COMPILE)as
|
||||
LD=$(HOST_COMPILE)ld
|
||||
CC=$(HOST_COMPILE)gcc
|
||||
CPP=$(HOST_CC) -E
|
||||
AR=$(HOST_COMPILE)ar
|
||||
NM=$(HOST_COMPILE)nm
|
||||
STRIP=$(HOST_COMPILE)strip
|
||||
OBJCOPY=$(HOST_COMPILE)objcopy
|
||||
OBJDUMP=$(HOST_COMPILE)objdump
|
||||
RANLIB=$(HOST_COMPILE)ranlib
|
||||
MAKE=make
|
||||
# WLAN_DEBUG is not defined
|
||||
FIRMWARE_DIR=/etc/wlan/
|
@@ -1,135 +0,0 @@
|
||||
Index: add-ons/lwepgen/Makefile
|
||||
===================================================================
|
||||
--- add-ons/lwepgen/Makefile.orig
|
||||
+++ add-ons/lwepgen/Makefile
|
||||
@@ -1,7 +1,10 @@
|
||||
+CC=gcc
|
||||
+CFLAGS?=-O2 -Wall
|
||||
+
|
||||
default: lwepgen
|
||||
|
||||
lwepgen: lwepgen.c
|
||||
- gcc -Wl,/usr/lib/libcrypto.so -o lwepgen lwepgen.c
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -o lwepgen lwepgen.c -lcrypto
|
||||
|
||||
lwepgen.c:
|
||||
echo lwepgen.c missing!
|
||||
@@ -9,3 +12,7 @@ lwepgen.c:
|
||||
|
||||
clean:
|
||||
rm -rf lwepgen
|
||||
+
|
||||
+install:
|
||||
+ install -m 755 lwepgen $(TARGET_INST_EXEDIR)/lwepgen
|
||||
+
|
||||
Index: man/Makefile
|
||||
===================================================================
|
||||
--- man/Makefile.orig
|
||||
+++ man/Makefile
|
||||
@@ -48,8 +48,8 @@ all:
|
||||
@echo "Nothing to do..."
|
||||
|
||||
install:
|
||||
- mkdir -p $(TARGET_ROOT_ON_HOST)/usr/local/man/man1
|
||||
- cp *.1 $(TARGET_ROOT_ON_HOST)/usr/local/man/man1
|
||||
+ mkdir -p $(TARGET_ROOT_ON_HOST)/usr/share/man/man1
|
||||
+ cp *.1 $(TARGET_ROOT_ON_HOST)/usr/share/man/man1
|
||||
|
||||
clean:
|
||||
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags
|
||||
Index: src/Makefile
|
||||
===================================================================
|
||||
--- src/Makefile.orig
|
||||
+++ src/Makefile
|
||||
@@ -44,7 +44,8 @@
|
||||
|
||||
-include ../config.mk
|
||||
|
||||
-DIRS=mkmeta shared wlanctl nwepgen wlancfg p80211 prism2
|
||||
+DIRS=mkmeta shared wlanctl nwepgen wlancfg
|
||||
+MODDIRS=p80211 prism2
|
||||
|
||||
ifneq ($(wildcard *.addon),)
|
||||
DIRS+=`cat *.addon`
|
||||
@@ -62,9 +63,9 @@ clean:
|
||||
|
||||
install:
|
||||
set -e; for d in $(DIRS); do $(MAKE) WLAN_SRC=$(WLAN_SRC) -C $$d install ; done
|
||||
-ifdef INSTALL_DEPMOD
|
||||
- /sbin/depmod -a
|
||||
-endif
|
||||
+
|
||||
+install_modules:
|
||||
+ set -e; for d in $(MODDIRS); do $(MAKE) -C $$d install ; done
|
||||
|
||||
ctags:
|
||||
ctags -R
|
||||
Index: src/mkmeta/Makefile
|
||||
===================================================================
|
||||
--- src/mkmeta/Makefile.orig
|
||||
+++ src/mkmeta/Makefile
|
||||
@@ -47,6 +47,9 @@
|
||||
CPPFLAGS= -I../include -I$(LINUX_SRC)/include \
|
||||
-D__LINUX_WLAN__
|
||||
|
||||
+HOST_CC ?= gcc
|
||||
+HOST_CPP ?= gcc
|
||||
+
|
||||
# Implicit rules to handle the separate obj dirs
|
||||
OBJ_DIR=obj
|
||||
|
||||
@@ -81,7 +84,7 @@ DEP_SRC=$(MKMETADEF_SRC) $(MKMETASTRUCT_
|
||||
# Rules
|
||||
all : .depend dirs mkmetadef mkmetastruct
|
||||
|
||||
-dep .depend: $(DEP_SRC) ../../config.mk
|
||||
+dep .depend: $(DEP_SRC)
|
||||
$(HOST_CPP) -M $(CPPFLAGS) $(DEP_SRC) > .depend
|
||||
|
||||
dirs :
|
||||
Index: Makefile
|
||||
===================================================================
|
||||
--- Makefile.orig
|
||||
+++ Makefile
|
||||
@@ -43,12 +43,13 @@
|
||||
# --------------------------------------------------------------------
|
||||
|
||||
|
||||
-DIRS = src doc man etc
|
||||
+DIRS = src doc man add-ons/keygen add-ons/lwepgen
|
||||
|
||||
CTAGOPTS = --totals -I '__initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_NOVERS'
|
||||
ETAGS=etags
|
||||
ETAGSOPTS=-a
|
||||
|
||||
+WLAN_SRC?=$(shell pwd)/src
|
||||
|
||||
default: all
|
||||
|
||||
@@ -73,7 +74,7 @@ help_noconfig:
|
||||
@echo -e "\tmake default_config\t- automated configure using default config file"
|
||||
@echo -e "\tmake help\t\t- show information about other targets"
|
||||
|
||||
-all: config.mk
|
||||
+all:
|
||||
set -e; for d in $(DIRS); do $(MAKE) -C $$d ; done
|
||||
|
||||
mrproper: clean
|
||||
Index: add-ons/keygen/Makefile
|
||||
===================================================================
|
||||
--- add-ons/keygen/Makefile.orig
|
||||
+++ add-ons/keygen/Makefile
|
||||
@@ -42,8 +42,11 @@
|
||||
#
|
||||
# --------------------------------------------------------------------
|
||||
|
||||
+CC=gcc
|
||||
+CFLAGS?=-O2 -Wall
|
||||
|
||||
keygen:
|
||||
- gcc -o keygen keygen.c -lcrypto
|
||||
-
|
||||
+ $(CC) $(LDFLAGS) $(CFLAGS) -o keygen keygen.c -lcrypto
|
||||
|
||||
+install:
|
||||
+ install -m 755 keygen $(TARGET_INST_EXEDIR)/keygen
|
BIN
lwepgen.tar.bz2
(Stored with Git LFS)
Normal file
BIN
lwepgen.tar.bz2
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 22 17:11:30 CET 2007 - jg@suse.de
|
||||
|
||||
- removed linux-wlan-ng (separate package now)
|
||||
- added lwepgen
|
||||
- updated README.ipw3945
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 19 19:11:30 CET 2007 - jg@suse.de
|
||||
|
||||
|
@@ -14,7 +14,7 @@ Name: wireless-tools
|
||||
BuildRequires: openssl-devel
|
||||
Summary: Tools for a wireless LAN
|
||||
Version: 29pre17
|
||||
Release: 1
|
||||
Release: 2
|
||||
%define wlanng_version 0.2.5
|
||||
Group: Hardware/Other
|
||||
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL), No license agreement found in package
|
||||
@@ -28,10 +28,7 @@ Source2: suse-files.tar.gz
|
||||
Source3: prism2.modprobe
|
||||
Source4: ipw2200.modprobe
|
||||
Source5: README.ipw3945
|
||||
Source30: linux-wlan-ng-%{wlanng_version}.tar.bz2
|
||||
Patch30: linux-wlan-ng.diff
|
||||
Source31: linux-wlan-ng.config
|
||||
Source32: linux-wlan-ng-mkversionh.sh
|
||||
Source6: lwepgen.tar.bz2
|
||||
|
||||
%description
|
||||
This package contain the wireless tools, used to manipulate the
|
||||
@@ -45,19 +42,14 @@ Authors:
|
||||
Jean Tourrilhes <jt@hpl.hp.com>
|
||||
|
||||
%prep
|
||||
%setup30 -q -T -b 30 -n linux-wlan-ng-%{wlanng_version}
|
||||
%patch30
|
||||
cp %{SOURCE31} config.mk
|
||||
cp %{SOURCE32} mkversionh.sh
|
||||
%setup6 -q -T -b 6 -n lwepgen
|
||||
%setup -q -n wireless_tools.29
|
||||
%patch
|
||||
%patch1 -p0
|
||||
|
||||
%build
|
||||
make all
|
||||
(cd ../linux-wlan-ng-%{wlanng_version} ; ./mkversionh.sh )
|
||||
make CFLAGS="$RPM_OPT_FLAGS" HOST_CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
|
||||
-C ../linux-wlan-ng-%{wlanng_version}
|
||||
make CFLAGS="$RPM_OPT_FLAGS"
|
||||
make CFLAGS="$RPM_OPT_FLAGS" -C ../lwepgen
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}/%{_sbindir}
|
||||
@@ -69,16 +61,11 @@ make INSTALL_DIR="${RPM_BUILD_ROOT}/%{_sbindir}" \
|
||||
DOCDIR=%{_defaultdocdir}/wireless-tools \
|
||||
PREFIX="${RPM_BUILD_ROOT}/usr" \
|
||||
install
|
||||
make -C ../linux-wlan-ng-%{wlanng_version} \
|
||||
TARGET_ROOT_ON_HOST=%{buildroot} \
|
||||
TARGET_INST_EXEDIR=%{buildroot}/%{_sbindir} install
|
||||
mkdir -p ../wlan-ng
|
||||
cp -a ../linux-wlan-ng-%{wlanng_version}/etc/wlan/{wlan*,shared} ../wlan-ng
|
||||
cp -a ../linux-wlan-ng-%{wlanng_version}/etc/rc.wlan ../wlan-ng
|
||||
tar xvvzf %{SOURCE2}
|
||||
install -m755 install_intersil_firmware %{buildroot}/usr/sbin
|
||||
install -m755 install_acx100_firmware %{buildroot}/usr/sbin
|
||||
install -m755 switch_prism_driver %{buildroot}/usr/sbin
|
||||
install -m755 ../lwepgen/lwepgen %{buildroot}/usr/sbin
|
||||
mkdir -p %{buildroot}/etc/modprobe.d
|
||||
install -m644 %{SOURCE3} %{buildroot}/etc/modprobe.d/prism2
|
||||
install -m644 %{SOURCE4} %{buildroot}/etc/modprobe.d/ipw2200
|
||||
@@ -98,9 +85,13 @@ test -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT
|
||||
%{_includedir}/*
|
||||
/etc/modprobe.d/*
|
||||
%doc %attr(644,root,root) %{_mandir}/man*/*
|
||||
%doc CHANGELOG.h INSTALL PCMCIA.txt README* ../wlan-ng
|
||||
%doc CHANGELOG.h INSTALL PCMCIA.txt README*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 22 2007 - jg@suse.de
|
||||
- removed linux-wlan-ng (separate package now)
|
||||
- added lwepgen
|
||||
- updated README.ipw3945
|
||||
* Mon Mar 19 2007 - jg@suse.de
|
||||
- update to version 29pre17, changes:
|
||||
* Tweak man pages : interface is often optional [iwlist.8/iwspy.8]
|
||||
|
Reference in New Issue
Block a user