RFC orinoco: initiate conversion to cfg80211
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 RFC Latest23 patches 4 repliesIn review
- v1 RFC3 patches 4 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/23 | cfg80211: add wrapper function to get wiphy from priv pointerinclude/ | +11 | 0 replies | |
| 2/23 | cfg80211: Advertise ciphers via WE according to driver capabilitynet/ | +10 | 1 reply | |
| 3/23 | cfg80211: allow drivers that can't scan for specific ssidsnet/ net/ | +2 | 0 replies | |
| 4/23 | cfg80211: set WE encoding size based on available ciphersnet/ | +6 | 2 replies | |
| 5/23 | cfg80211: infer WPA and WPA2 support from TKIP and CCMPnet/ | +4 | 1 reply | |
| 6/23 | orinoco: Move firmware capability determination into hw.cdrivers/ drivers/ drivers/ | +219 | 0 replies | |
| 7/23 | orinoco: Move card reading code into hw.cdrivers/ drivers/ drivers/ | +115 | 0 replies | |
| 8/23 | orinoco: Move FID allocation to hw.cdrivers/ drivers/ drivers/ | +26 | 0 replies | |
| 9/23 | orinoco: use dev_err in early initialisation routinesdrivers/ | +42 | 0 replies | |
| 10/23 | orinoco: firmware helpers should use dev_err and friendsdrivers/ | +17 | 0 replies | |
| 11/23 | orinoco: Replace net_device with orinoco_private in driver interfacesdrivers/ drivers/ drivers/ +7 more | +132 | 0 replies | |
| 12/23 | orinoco: initialise independently of netdevdrivers/ drivers/ drivers/ +6 more | +63 | 0 replies | |
| 13/23 | orinoco: Change set_tkip to use orinoco_private instead of hermes_tdrivers/ drivers/ drivers/ | +6 | 0 replies | |
| 14/23 | orinoco: initiate cfg80211 conversiondrivers/ drivers/ drivers/ +4 more | +256 | 0 replies | |
| 15/23 | orinoco: make firmware download less verbosedrivers/ | +23 | 0 replies | |
| 16/23 | orinoco: move netdev interface creation to main driverdrivers/ drivers/ drivers/ +6 more | +116 | 0 replies | |
| 17/23 | airport: store irq in card private structuredrivers/ | +12 | 0 replies | |
| 18/23 | orinoco: Handle suspend/restore in core driverdrivers/ drivers/ drivers/ +3 more | +70 | 0 replies | |
| 19/23 | orinoco: provide generic commit functiondrivers/ drivers/ drivers/ +2 more | +294 | 0 replies | |
| 20/23 | orinoco: convert mode setting to cfg80211drivers/ drivers/ drivers/ +2 more | +77 | 0 replies | |
| 21/23 | orinoco: convert scanning to cfg80211drivers/ drivers/ drivers/ +6 more | +357 | 0 replies | |
| 22/23 | orinoco: convert giwrange to cfg80211drivers/ | +1 | 0 replies | |
| 23/23 | orinoco: remove WE nickname supportdrivers/ | +0 | 0 replies |
Reviews trailers per patch
1 of 23 patches has a Reviewed-by or Acked-by.
| Patch | Johannes Berg |
|---|---|
| 1/23 | |
| 2/23 | |
| 3/23 | |
| 4/23 | |
| 5/23 | A-b |
| 6/23 | |
| 7/23 | |
| 8/23 | |
| 9/23 | |
| 10/23 | |
| 11/23 | |
| 12/23 | |
| 13/23 | |
| 14/23 | |
| 15/23 | |
| 16/23 | |
| 17/23 | |
| 18/23 | |
| 19/23 | |
| 20/23 | |
| 21/23 | |
| 22/23 | |
| 23/23 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC v2 00/23] orinoco: initiate conversion to cfg80211
I've completely refactorred since the last RFC, and switched to the cfg80211 handlers for scanning, mode changing and giwrange.
Patches 1-5 modify cfg80211, mostly so it can advertise (the more restrictive) orinoco capabilities correctly.
Patches 6-13 refactor the orinoco internal interfaces and initialisation to make the switch to cfg80211 easier. The main thrust is to avoid using net_device in the device drivers allowing us to register the net_device later.
Patch 14 starts the cfg80211 conversion, before patches 15-19 cleanup the fallout from the conversion.
Patches 20 though 23 convert a few of the WE handler to cfg80211 handlers.
The refactorring affects all the card and firmware types, but I'm only able to test orinoco_cs with Agere firmware.
---
David Kilroy (23):
cfg80211: add wrapper function to get wiphy from priv pointer
cfg80211: Advertise ciphers via WE according to driver capability
cfg80211: allow drivers that can't scan for specific ssids
cfg80211: set WE encoding size based on available ciphers
cfg80211: infer WPA and WPA2 support from TKIP and CCMP
orinoco: Move firmware capability determination into hw.c
orinoco: Move card reading code into hw.c
orinoco: Move FID allocation to hw.c
orinoco: use dev_err in early initialisation routines
orinoco: firmware helpers should use dev_err and friends
orinoco: Replace net_device with orinoco_private in driver interfaces
orinoco: initialise independently of netdev
orinoco: Change set_tkip to use orinoco_private instead of hermes_t
orinoco: initiate cfg80211 conversion
orinoco: make firmware download less verbose
orinoco: move netdev interface creation to main driver
airport: store irq in card private structure
orinoco: Handle suspend/restore in core driver
orinoco: provide generic commit function
orinoco: convert mode setting to cfg80211
orinoco: convert scanning to cfg80211
orinoco: convert giwrange to cfg80211
orinoco: remove WE nickname support
drivers/net/wireless/orinoco/Kconfig | 1 + drivers/net/wireless/orinoco/Makefile | 2 +- drivers/net/wireless/orinoco/airport.c | 98 +-- drivers/net/wireless/orinoco/cfg.c | 169 ++++ drivers/net/wireless/orinoco/cfg.h | 15 + drivers/net/wireless/orinoco/fw.c | 41 +- drivers/net/wireless/orinoco/hermes.h | 2 +- drivers/net/wireless/orinoco/hermes_dld.c | 50 +- drivers/net/wireless/orinoco/hw.c | 668 +++++++++++++++- drivers/net/wireless/orinoco/hw.h | 11 +- drivers/net/wireless/orinoco/main.c | 1131 +++++++++---------------- drivers/net/wireless/orinoco/main.h | 3 +- drivers/net/wireless/orinoco/orinoco.h | 49 +- drivers/net/wireless/orinoco/orinoco_cs.c | 96 +-- drivers/net/wireless/orinoco/orinoco_nortel.c | 38 +- drivers/net/wireless/orinoco/orinoco_pci.c | 38 +- drivers/net/wireless/orinoco/orinoco_pci.h | 57 +-- drivers/net/wireless/orinoco/orinoco_plx.c | 38 +- drivers/net/wireless/orinoco/orinoco_tmd.c | 38 +- drivers/net/wireless/orinoco/scan.c | 265 +++---- drivers/net/wireless/orinoco/scan.h | 21 +- drivers/net/wireless/orinoco/spectrum_cs.c | 96 +-- drivers/net/wireless/orinoco/wext.c | 878 ++------------------ include/net/cfg80211.h | 11 + net/wireless/core.c | 3 - net/wireless/wext-compat.c | 24 +- 26 files changed, 1725 insertions(+), 2118 deletions(-) create mode 100644 drivers/net/wireless/orinoco/cfg.c create mode 100644 drivers/net/wireless/orinoco/cfg.h