Skip to content

RFC orinoco: use cfg80211 for key manipulation

David Kilroy linux-wireless 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest5 patches 10 repliesIn review
  2. v1 RFC4 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5orinoco: add cfg80211 connect and disconnectdrivers/net/wireless/orinoco/cfg.c drivers/net/wireless/orinoco/main.c drivers/net/wireless/orinoco/orinoco.h+333 -760 replies
2/5orinoco: add cfg80211 join_ibss and leave_ibssdrivers/net/wireless/orinoco/cfg.c drivers/net/wireless/orinoco/main.c+69 -00 replies
3/5orinoco: implement cfg80211 key manipulation functionsdrivers/net/wireless/orinoco/cfg.c+196 -00 replies
4/5orinoco: do WE via cfg80211drivers/net/wireless/orinoco/wext.c+11 -7150 replies
5/5cfg80211: scan before connect if we don't have the bssnet/wireless/sme.c+110 -405 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [RFC v2 0/5] orinoco: use cfg80211 for key manipulation

This series basically works (at least after the last patch is applied) with wpa_supplicant in wext mode.

I had tested with wpa_supplicant in nl80211 mode, but hadn't realised it wasn't using connect - I'll need to pick up Zhu Yis' patch and redo some testing.

Anyway, the nl80211 interface has a small hole which patch 5 partially papers over. I'm not that happy with the way it hijacks the AUTH/ASSOC state machine, but it works.

Other outstanding issues:
- It looks like I haven't quite got the connect_roamed callback right:
I've got a WARNING I need to investigate in my logs
- On disconnecting and reconnecting the card I have to restart wpa_supplicant for things to work. I'm guessing I have to look at driver shutdown, and ensure we send a disconnected event.

Dave.

---
David Kilroy (5):
orinoco: add cfg80211 connect and disconnect
orinoco: add cfg80211 join_ibss and leave_ibss
orinoco: implement cfg80211 key manipulation functions
orinoco: do WE via cfg80211
cfg80211: scan before connect if we don't have the bss

 drivers/net/wireless/orinoco/cfg.c     |  497 ++++++++++++++++++++++
 drivers/net/wireless/orinoco/main.c    |  172 +++++----
 drivers/net/wireless/orinoco/orinoco.h |    1 +
 drivers/net/wireless/orinoco/wext.c    |  726 +-------------------------------
 net/wireless/sme.c                     |  150 +++++--
 5 files changed, 717 insertions(+), 829 deletions(-)