All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/3] orinoco: initiate cfg80211 conversion
@ 2009-05-16 12:22 David Kilroy
  2009-05-16 12:22 ` [RFC 1/3] cfg80211: mark ops as pointer to const David Kilroy
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: David Kilroy @ 2009-05-16 12:22 UTC (permalink / raw)
  To: linux-wireless; +Cc: orinoco-devel, David Kilroy

The interesting bit of this series is in patch 3, which shamelessly
cribs from Johns rndis_wlan conversion.

I'm interested in hearing if there's a better way to organise the
wiphy/wdev/net_device/orinoco_private structures for orinoco. Also
whether I'm registering with netdev and cfg80211 in the right places.

The driver appears to runs fine. iw list shows the card on phy0. iwconfig
still gets 'IEEE802.11b' for GIWNAME. However the device is still eth1 -
is that expected?

The first two patches are only there because I started marking things
const, and found a couple cfg80211 interfaces wouldn't let me. I couldn't
see anything in the code that needs to modify ops and privid, so I've
marked them const. A build coverring (almost?) all drivers still works,
and I couldn't see any extra sparse complaints. Anyway, I've no particular
attachment to these two patches, so dropping them is fine by me.


Regards,

Dave.
---

David Kilroy (3):
  cfg80211: mark ops as pointer to const
  cfg80211: mark wiphy->privid as pointer to const
  orinoco: initiate cfg80211 conversion

 drivers/net/wireless/orinoco/Kconfig   |    1 +
 drivers/net/wireless/orinoco/Makefile  |    2 +-
 drivers/net/wireless/orinoco/cfg.c     |   82 ++++++++++++++++++++++++++++++++
 drivers/net/wireless/orinoco/cfg.h     |   18 +++++++
 drivers/net/wireless/orinoco/main.c    |   28 ++++++++++-
 drivers/net/wireless/orinoco/orinoco.h |    7 +++
 drivers/net/wireless/orinoco/wext.c    |   22 +--------
 include/net/cfg80211.h                 |    4 +-
 net/wireless/core.c                    |    2 +-
 net/wireless/core.h                    |    2 +-
 10 files changed, 142 insertions(+), 26 deletions(-)
 create mode 100644 drivers/net/wireless/orinoco/cfg.c
 create mode 100644 drivers/net/wireless/orinoco/cfg.h


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-05-16 22:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-16 12:22 [RFC 0/3] orinoco: initiate cfg80211 conversion David Kilroy
2009-05-16 12:22 ` [RFC 1/3] cfg80211: mark ops as pointer to const David Kilroy
2009-05-16 12:20   ` Johannes Berg
2009-05-16 12:22 ` [RFC 2/3] cfg80211: mark wiphy->privid " David Kilroy
2009-05-16 12:20   ` Johannes Berg
2009-05-16 12:22 ` [RFC 3/3] orinoco: initiate cfg80211 conversion David Kilroy
2009-05-16 12:46   ` Johannes Berg
2009-05-16 13:54     ` Dave
2009-05-16 22:35     ` David Kilroy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.