OSDN Git Service

Add Android.mk
[android-x86/external-wireless-tools.git] / wireless_tools / ESSID-BUG.txt
1                 The ESSID bug
2                 -------------
3
4         The latest Linux kernels have a bug in the handling of the
5 ESSID. The Linux kernel maintainers seems reluctant to fix this
6 bug. But, I've managed to find a way to workaround it in Wireless
7 Tools 30.pre7.
8
9 Symptoms :
10 --------
11         1) There is a trailing '\x00' in the ESSID.
12         2) If a ESSID with 32 character is set, it can not be read again.
13                 http://madwifi.org/ticket/930
14         3) You can not set an ESSID with a trailing '\x00'
15
16 Resolution :
17 ----------
18         The patch provided in the Wireless Tools package should fix
19 this problem. This patch remove a backward compatibility hack, and it
20 is safe as it simplify the code.
21         The patch need to be applied to the kernel, the kernel
22 recompiled and reinstalled.
23         If you have kernel 2.6.19 to 2.6.21 :
24                 use iw261_restore_full_essid.diff
25         If you have kernel 2.6.22 or later :
26                 use iw262_restore_full_essid.diff
27         I won't give detailed instructions because only people
28 confortable with kernel rebuild should attempt this.
29
30 Workaround :
31 ----------
32         Using Wireless Tools 30.pre7 or later will cure syptoms (1) and (2).
33         Using Wireless Tools 29 or earlier will hide the trailing '\x00'
34 character (first symptom), but not the second and third symptoms.
35
36         Good luck...
37
38         Jean