* [PATCH] mac80211_hwsim: suggest nl80211 instead of wext driver in documentation
@ 2016-10-16 22:39 Linus Lüssing
2016-10-17 9:39 ` Johannes Berg
0 siblings, 1 reply; 3+ messages in thread
From: Linus Lüssing @ 2016-10-16 22:39 UTC (permalink / raw)
To: linux-wireless, Johannes Berg, Jouni Malinen
Cc: David S . Miller, Jonathan Corbet, netdev, linux-kernel,
linux-doc, Linus Lüssing
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 <linus.luessing@c0d3.blue>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] mac80211_hwsim: suggest nl80211 instead of wext driver in documentation
2016-10-16 22:39 [PATCH] mac80211_hwsim: suggest nl80211 instead of wext driver in documentation Linus Lüssing
@ 2016-10-17 9:39 ` Johannes Berg
2016-10-17 18:14 ` Linus Lüssing
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2016-10-17 9:39 UTC (permalink / raw)
To: Linus Lüssing, linux-wireless, Jouni Malinen
Cc: David S . Miller, Jonathan Corbet, netdev, linux-kernel, linux-doc
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mac80211_hwsim: suggest nl80211 instead of wext driver in documentation
2016-10-17 9:39 ` Johannes Berg
@ 2016-10-17 18:14 ` Linus Lüssing
0 siblings, 0 replies; 3+ messages in thread
From: Linus Lüssing @ 2016-10-17 18:14 UTC (permalink / raw)
To: Johannes Berg
Cc: linux-wireless, Jouni Malinen, David S . Miller, Jonathan Corbet,
netdev, linux-kernel, linux-doc
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:
> > 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.
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-10-17 18:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-16 22:39 [PATCH] mac80211_hwsim: suggest nl80211 instead of wext driver in documentation Linus Lüssing
2016-10-17 9:39 ` Johannes Berg
2016-10-17 18:14 ` Linus Lüssing
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).