[PATCH] mac80211_hwsim: suggest nl80211 instead of wext driver in documentation

Subsystems: documentation, the rest

STALE3613d

3 messages, 2 authors, 2016-10-17 · open the first message on its own page

[PATCH] mac80211_hwsim: suggest nl80211 instead of wext driver in documentation

From: Linus Lüssing <hidden>
Date: 2016-10-16 22:56:26

For mac80211_hwsim interfaces, suggest to use wpa_supplicant with the more
modern, netlink based driver instead of wext.

Signed-off-by: Linus Lüssing <redacted>
---

Actually, I wasn't even able to make a connection with the configuration
files and information provided in
Documentation/networking/mac80211_hwsim/{README,hostapd.conf/wpa_supplicant.conf}

Changing -Dwext to -Dnl80211 helped and made the WPA-PSK connection with
mac80211_hwsim interfaces work for me.
---
 Documentation/networking/mac80211_hwsim/README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/networking/mac80211_hwsim/README b/Documentation/networking/mac80211_hwsim/README
index 24ac91d..3566a72 100644
--- a/Documentation/networking/mac80211_hwsim/README
+++ b/Documentation/networking/mac80211_hwsim/README
@@ -60,7 +60,7 @@ modprobe mac80211_hwsim
 hostapd hostapd.conf
 
 # Run wpa_supplicant (station) for wlan1
-wpa_supplicant -Dwext -iwlan1 -c wpa_supplicant.conf
+wpa_supplicant -Dnl80211 -iwlan1 -c wpa_supplicant.conf
 
 
 More test cases are available in hostap.git:
-- 
2.1.4

Re: [PATCH] mac80211_hwsim: suggest nl80211 instead of wext driver in documentation

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2016-10-17 09:39:57

On Mon, 2016-10-17 at 00:39 +0200, Linus Lüssing wrote:
For mac80211_hwsim interfaces, suggest to use wpa_supplicant with the
more modern, netlink based driver instead of wext.
Makes sense, applied.
Actually, I wasn't even able to make a connection with the
configuration
files and information provided in
Documentation/networking/mac80211_hwsim/{README,hostapd.conf/wpa_supp
licant.conf}
This less so, we even have a few test cases we run regularly, but I
don't know. Maybe there's something special in those configuration
files that we don't test for otherwise.

johannes

Re: [PATCH] mac80211_hwsim: suggest nl80211 instead of wext driver in documentation

From: Linus Lüssing <hidden>
Date: 2016-10-17 18:15:04

On Mon, Oct 17, 2016 at 11:39:04AM +0200, Johannes Berg wrote:
On Mon, 2016-10-17 at 00:39 +0200, Linus Lüssing wrote:
quoted
For mac80211_hwsim interfaces, suggest to use wpa_supplicant with the
more modern, netlink based driver instead of wext.
Makes sense, applied.
quoted
Actually, I wasn't even able to make a connection with the
configuration
files and information provided in
Documentation/networking/mac80211_hwsim/{README,hostapd.conf/wpa_supp
licant.conf}
This less so, we even have a few test cases we run regularly, but I
don't know. Maybe there's something special in those configuration
files that we don't test for otherwise.
I investigated a little further and the problem is probably that
I'm running a minimal Linux kernel which was compiled without
CONFIG_CFG80211_WEXT :-).

Anyways, thanks for applying the patch!

Regards, Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help