Back to validation page.
Feature |
Release 0.40-prePass/Fail |
| Features defined by 802.11 | |
|
Driver load
Hardware - ipw2100 laptop with 802.11b wireless capabilities. Most tests assume you have loaded the firmware as described in INSTALL before attempting to load the driver. They also assume the driver is not currently loaded. Tests also assume you are using eth1 and that eth1 is not up. All tests below are performed as root on laptop. Steps specific to Averatec models are shown in blue. |
Using Averatec 5110H. Using Fedora Core release 1. Using 2.6.4 kernel. |
|
modprobe
tests
% lsmod |
grep ipw2100
<- Verify
ipw2100 module is not loaded. |
Pass Issues ISSUE 931396 in DB Error messages appear after ifup eth1: Error for
wireless request "Set Bit Rate" (8B20) : Determining IP information for eth1... done This is just a missing feature (need to support Set Bit Rate). I think my card doesn't support bit rate. Note: You can ping ipw2100.sf.net, but not intel.com --> should change INSTALL instructions. --> Fixed in 40-pre2 |
|
insmod
tests
% lsmod |
grep ipw2100
<- Verify
ipw2100 module is not loaded. |
Pass Issues Same issues as for modprobe. |
|
Timing
of av5100 load
% lsmod
| grep ipw2100
<- Verify
ipw2100 module is not loaded. |
Pass Issues Same issues as for modprobe. Maybe this is known, but if you try to modprobe ipw2100 and rmmod ipw2100 without having already modprobed av5100, it takes a while. I get the console error message (also shows up in dmesg): Message from
syslogd@localhost at
<time> ... Message from
syslogd@localhost at
<time> ... Sometimes the module is removed at the end, sometimes it isn't. Note: I was able to narrow this into a timing issue (if you do the rmmod < 20 seconds after the modprobe, this happens). Putting on the back burner for now.l |
|
Network interface
timing tests 1
% ifdown eth1
<- Bring network interface down before test. |
Pass Same issues as for modprobe. |
|
Network interface
timing tests 2
% ifdown eth1
<- Bring interface down |
Fail If I try to do an ifup eth1 afterwards, I get the error: ipw2100 device eth1 does not seem to be present, delaying initialization This is the message I see the first time I try to do the ifup eth1 as well. If I try to do an ifdown eth1, I get the error: SIOCGIFFLAGS: No such device. Then, I can never get the interface back up and have to reboot. Note: I tried this with my network cable unplugged and the 8139too and got different messages. Do continue investigating since a reboot is required. |
|
Driver load timing
tests %
lsmod | grep ipw2100 <- Verify
ipw2100 module is not loaded. |
Pass |
|
Driver load timing
tests2
% lsmod | grep ipw2100 <-
Verify ipw2100 module is not loaded. |
SKIP |
|
System Restart Configure system to load driver on startup, restart machine, and verify driver is loaded. |
SKIP |
|
System load tests
- TODO - Need to
create a script that does basic system load. Probably, it
will run
top,
ls,
and some basic file IO commands. |
SKIP |
|
Driver unload
Hardware - ipw2100 laptop with 802.11b wireless capabilities. Most tests assume you have loaded the firmware as described in INSTALL before attempting to load the driver. Tests also assume you are using eth1. All tests below are performed as root on laptop. |
|
|
modprobe
tests
% lsmod |
grep ipw2100
<- Verify
ipw2100 module is loaded. |
Pass |
|
rmmod
tests
% lsmod |
grep ipw2100
<- Verify
ipw2100 module is loaded. |
Pass |
|
Remove before network
down %
ifconfig eth1
<- Verify IP address is assigned (network is up) |
|
|
System load tests
- TODO - Need to
create a script that does basic system load. Probably, it
will run
top,
ls,
and some basic file IO commands. |
SKIP |
|
System Restart tests
- Configure system to not load driver on startup. With
driver still loaded, restart system. Verify driver not
loaded on startup and no errors received. |
SKIP |
|
Adhoc Not doing these tests now, since ad hoc support is not yet available. |
|
| TODO - Complete this | SKIP |
|
Association
STA Most tests assume you have loaded the firmware as described in INSTALL before attempting to load the driver. Tests also assume you are using eth1. These tests assume
that the driver is already loaded using:
AP (need 2 for all tests) Tests assume AP is configured using its web interface as described in the AP's manual. Tests assume AP's SSID is <APSSID> All tests below are performed as root on laptop. |
|
|
Basic test
AP: Configure for channel
6, and open authentication. Driver: % ping
<machine on network> -I eth1
<- Verify ping fails
because SSID hasn't been configured yet. |
Pass |
|
Association with invalid AP SSID %
iwconfig eth1 key off |
Pass |
|
Association with two
APs %
iwconfig eth1 key off |
SKIP |
|
Multiple STAs
association Ensure two different STAs running ipw2100 driver can associate with the same AP. |
SKIP |
|
Two APs with same SSID,
one off Configure 2 APs for the same SSID. Configure the system for that SSID. Turn one AP on, leave the other off. Verify association and use ping. Turn that AP off, turn the other on. Verify association and use ping. |
SKIP |
|
Two APs same SSID,
both on Configure 2 APs for the same SSID. Configure the system for that SSID. Turn both APs on. Ensure the system deals with the two APs gracefully. |
SKIP |
|
APs off
Driver: AP: Turn AP off.
Driver: Ensure that the only error message received is the one stating the AP cannot be found (I get a ping failure for this.) Note: There was a regression where loading when not in range of AP gave ipw2100: Fatal interrupt. Scheduling firmware restart. ipw2100: eth1: Restarting adapter. errors. |
Pass |
|
Basic BSS test Configure two machines to associate to the same AP. Put a web server on one machine. Ensure when both machines are associated that the second machine can view the first machine's web page. |
SKIP |
|
Basic ESS test Perform basic BSS test above, except move one of the machines into a different room during testing and ensure the web page is always viewable. |
SKIP |
|
WEP Tests
Run through all tests
above, except do extra step of: |
SKIP - Need to enable this in my module. Come back to this one. |
|
Fragmentation - Tx and
Rx
Hardware - ipw2100 laptop with 802.11b wireless capabilities. Tests assume you have loaded the firmware as described in INSTALL before attempting to load the driver. Tests assume debug output is compiled in. Tests also assume you are using eth1. These tests assume
that the driver is already loaded using: All tests below are performed as root on laptop. Before running tests, set /proc/net/ipw2100/debug_level to 8192 in order to display debug info when fragmentation is occurring (and verify the code path of the test). |
|
|
Basic transmit (Tx)
test
% iwconfig eth1 frag 300 |
Pass In general, many times I will miss 1 or 2 packets. Is this always typical? I've tried changing the fragmentation parameters to be higher, and still have the same results. Also, I'm wondering what the max is that I can set fragmentation threshold to? It won't let me go past 2340, it seems. |
|
Basic receive (Rx)
test Configure the AP frag
threshold to 300 from another laptop. So, if we can
receive a response from a ping with a packet size > 300, then we
know that the laptop was able to reassemble the fragmented
packets from the AP. |
|
|
Interferance test
% ping -c 3 -I eth1 -s 400 <machine on network> |
SKIP |
|
Collision detection
test This test is the closest we get to verifying that fragmentation actually occurs. Set up collision monitor tool to monitor the number of collisions on the network. Run through Tx and Rx tests with the fragmentation threshold set to various values between 256 and 2, 048 bytes. Ensure that the collision rate is smaller when the fragmentation threshold is smaller. |
SKIP |
|
RTS/CTS Verify that RTS/CTS
works by: |
SKIP |
| Adhoc - Not in product yet. May end up being covered above. | SKIP |
|
Fragmentation fixed
test
% iwconfig eth1 frag
fixed |
SKIP Need to learn what this means --> Note: It doesn't appear to revert back to a fixed setting. |
|
Fragmentation auto
test
% iwconfig eth1 frag
auto |
Fail
- ISSUE
931396 in DB Get error: Error for
wireless request "Set Fragmentation Threshold" (8B24) : iwconfig shows fragmentation has not been turned off. |
|
Fragmentation off test
% iwconfig eth1 frag
off |
Fail -
ISSUE 931396 in DB Get error: Error for
wireless request "Set Fragmentation Threshold" (8B24) : iwconfig shows fragmentation has not been turned off. |
|
WEP
Hardware - ipw2100 laptop with 802.11b wireless capabilities. Tests assume you have loaded the firmware as described in INSTALL before attempting to load the driver. Tests assume debug output is compiled in. Tests also assume you are using eth1. Tests assume WEP is compiled in. All tests below are performed as root on laptop. |
|
|
Large amounts of data
test Send large amounts of data through the network (200Mb-400Mb) with WEP enabled and verify send/receive works correctly. |
|
|
TODO - Write out other
WEP tests: -
Associate with an AP with WEP enabled laptop and AP. |
|
|
Kernel messages
- For every test where
applicable, check the kernel log messages to ensure they are
valid. |
Pass |
|
Performance/Stress
Hardware - ipw2100 laptop with 802.11b wireless capabilities. Tests assume you have loaded the firmware as described in INSTALL before attempting to load the driver. Tests assume debug output is compiled in. Tests also assume you are using eth1. All tests below are performed as root on laptop. |
|
|
High Tx and Rx rate TBD the steps |
SKIP |
|
High CPU load TBD the steps |
SKIP |
|
Tests with pre-emption
disabled TBD the steps |
SKIP |
| User space tools | |
|
iwconfig - Parameter
and functionality tests
Hardware - ipw2100 laptop with 802.11b wireless capabilities. Tests assume you have loaded the firmware as described in INSTALL before attempting to load the driver. Tests also assume you are using eth1. All tests below are performed as root on laptop. |
|
| iwconfig parameter tests | |
| iwconfig
basic test -
iwconfig
eth1
TODO - Expand on how
to configure and verify expected values. eth1 IEEE 802.11b ESSID:"ESSID" Nickname:"nickname"
Mode:Managed Channel:0 Access Point: 00:00:00:00:00:00
Bit Rate=0kb/s Tx-Power=0 dBm
Retry:on RTS thr=2304 B Fragment thr:2332 B
Encryption key:off
Link Quality:0/0 Signal level:-90 dBm Noise level:-75 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
|
|
| iwconfig
essid -
iwconfig
eth1 essid <new essid>
(Done implicitly via above tests.)
|
|
|
iwconfig nwid
-
iwconfig eth1 nwid <valid network id> - iwconfig eth1 nwid on; iwconfig eth1 nwid off --> Do not run until promiscuous mode enabled. |
|
| iwconfig
freq Just do some parameter testing: -
iwconfig eth1
freq 2.333G |
|
| iwconfig
chan Just do some parameter testing: -
iwconfig eth1 chan 1000 |
|
| iwconfig
sens - iwconfig eth1 sens -## Set the threshold to be various values and ensure correct behavior (or error messages received): 0, 80, 120, 1000, -1 |
|
| iwconfig
mode These tests are done implicitly with above tests. |
|
| iwconfig
ap Note: It is not a defect to not connect to the closer AP, this is merely a guideline. Need to add network tests similar to those below because the network requires to connect to the network specified in iwconfig. -
Configure two access points. Run
iwconfig eth1 ap
<less close AP>
and verify driver connects to that AP. Run
iwconfig eth1 ap
any and verify
driver connects back to the closer AP. |
|
| iwconfig
nick
% iwconfig eth1
nickname Testing Nickname eth1 IEEE 802.11b ESSID:"..." Nickname:"Testing Nickname"
Mode:Managed Channel:0 Access Point: 00:00:00:00:00:00
Bit Rate=0kb/s Tx-Power=0 dBm
Retry:on RTS thr=... B Fragment thr:... B
Encryption key:off
Link Quality:0/0 Signal level:... dBm Noise level:... dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
|
|
| iwconfig
rate Note: These tests only work on cards that support multiple bit rates. Just perform parameter testing, such as: -
iwconfig eth1
rate 11M |
|
| iwconfig rts | |
| iwconfig frag | |
| iwconfig key | |
| iwconfig enc | |
| iwconfig power | |
| iwconfig
txpower
Note: Hasn't been implemented yet. |
|
| iwconfig retry | |
| iwconfig commit | |
| iwconfig functionality tests | |
|
iwconfig with no AP
With no AP connected,
run: |
|
| iwlist - TODO | |
| iwspy - TODO | |
| iwpriv - TODO | |
| One off list - Until root cause is known, watch mailing list for frequency of user sitings. | |
|
Corrupt payload issue
(C3 related) Users are seeing a payload packet too large error when switching into C3 state (= power saving state that is entered when idle. C3 = more power savings than C1 and C2, but greater latency to return to C0). Root cause = The PCI configuration space is being reset by the suspend/resume, which results in the C3 hang upon resume. |
|
|
Fatal interrupt
(unknown cause):
Users are seeing error
messages like: James speculates
it's because the fatal interrupt triggers the firmware reload,
which pings hotplug to download the bits. It looks like the
firmware loaded once and was unresponsive (no fatal
interrupt--just hung) and so the HW commands timed out. |
|
|
Hotplug firmware
reload issue TODO - Add details here. Workaround is to use legacy fw loader. |
|
| Tools | |
| - Use ifplugd (http://www.stud.uni-hamburg.de/users/lennart/projects/ifplugd/) to automatically initiate module loading and connect. | SKIP |
| Performance and Power Consumption | |
| Placeholder for test of network throughput performance (netbench/netprof?). | SKIP - tests being created |
| Placeholder for test of power consumption (/proc/acpi/battery/*) when unplugged. | SKIP - tests being created |
| Suspend/Resume/Power Control | |
| Suspend machine running machine and ensure system works as expected when resumed. TODO - Expand this test as well as this section. | |
| Wait for processor to go into save power state. Check logs to ensure link was always available. (Regression issue where link went down for a few seconds during suspend.) | |
|
LED verification -
unsure if all this functionality is in the product yet If laptop has a wireless LED, verify that it does: off when the interface is down, flashing when it's up but not connected (e.g. RF kill switch turns the radio off) and permanently on when connected. This should match /proc/net/ipw2100/state. |
|
|
LED verification
Bring interface
down with: |
|
| Install/Uninstall Testing | |
| Comparison test -> full install on 2.4, 2.6 kernel is equivalent to patches install [After this test, the tests below can be performed on a full install or a patches install.] | |
| Latest Linux 2.4 kernel | |
| Latest Linux 2.6 kernel | |
| FC1 2.4 kernel | |
| Debian 2.4 kernel | |
| SuSE 2.4 kernel | |
| Gentoo 2.4 kernel | |
| README verification | |
| Content verification | SKIP |
| TODO tests | |
|
This section lists the
features that still need to be tested or certain aspects of
features that haven't been tested.
- Fragmentation -->
Current tests only cover that, if fragmentation happens, no data
is lost. No tests exist to ensure that packets actually
are fragmented. |
Copyright (c) 2004 Intel Corporation. All rights reserved.