Skip to contentSkip to conversation

Question about wireless configuration

PATCH Larry Finger 3 participants 4 messages Nov 4, 2010 802.11 (including cfg80211/NL80211)

lore
Share & tools
lore
#0 lore raw

I am trying to test the latest Realtek driver for the RTL8187L. In order for the driver to be able to scan, CONFIG_WIRELESS_EXT must be set to "y". I could find no way to do that with the kernel configuration utilities until I made the following patch. I know it is wrong, but I would like to know the correct way.

Thanks,

Larry

net/wireless/Kconfig +1 -1
index d0ee290..c50af61 100644
@@ -1,5 +1,5 @@
 config WIRELESS_EXT
-       bool
+       def_bool y
 
 config WEXT_CORE
        def_bool y
maintainer
#1 lore raw
Quoted 5 lines

I am trying to test the latest Realtek driver for the RTL8187L. In order for the driver to be able to scan, CONFIG_WIRELESS_EXT must be set to "y". I could find no way to do that with the kernel configuration utilities until I made the following patch. I know it is wrong, but I would like to know the correct way.

There is no correct way, drivers that need it will select it in kconfig which obviously doesn't work for out-of-tree drivers.

Johannes

#2 lore raw
Quoted 7 lines · Johannes Berg
Quoted 5 lines

I am trying to test the latest Realtek driver for the RTL8187L. In order for the driver to be able to scan, CONFIG_WIRELESS_EXT must be set to "y". I could find no way to do that with the kernel configuration utilities until I made the following patch. I know it is wrong, but I would like to know the correct way.

There is no correct way, drivers that need it will select it in kconfig which obviously doesn't work for out-of-tree drivers.

Thanks. I selected ZD1201 in the configuration, and WIRELESS_EXT is there.

Larry

#3 lore raw

2010/11/4 Larry Finger <[email protected]>:

Quoted 10 lines · Johannes Berg
Quoted 7 lines
Quoted 5 lines

I am trying to test the latest Realtek driver for the RTL8187L. In order for the driver to be able to scan, CONFIG_WIRELESS_EXT must be set to "y". I could find no way to do that with the kernel configuration utilities until I made the following patch. I know it is wrong, but I would like to know the correct way.

There is no correct way, drivers that need it will select it in kconfig which obviously doesn't work for out-of-tree drivers.

Thanks. I selected ZD1201 in the configuration, and WIRELESS_EXT is there.

Done the same for wl :) I think I just used ipw2200 driver, not ZD1201.

Signature · 1 line
Rafał