Search Linux Wireless

[RFC 0/3] orinoco: initiate cfg80211 conversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux