Package: bcm43xx-source Version: 20060108-5 Severity: wishlist Tags: patch Please add support for WPA encryption.
Jörg. -- System Information: Debian Release: unstable/experimental APT prefers unstable APT policy: (990, 'unstable'), (1, 'experimental') Architecture: powerpc (ppc) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.15.1 Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) Versions of packages bcm43xx-source depends on: ii bzip2 1.0.3-2 high-quality block-sorting file co ii debhelper 5.0.20 helper programs for debian/rules ii make 3.80+3.81.b4-1 The GNU version of the "make" util ii module-assistant 0.10.2 tool to make module package creati Versions of packages bcm43xx-source recommends: ii bcm43xx-fwcutter 20060108-3 Utility for extracting Broadcom 43 -- no debconf information
diff -u -Nr modules/bcm43xx/debian/patches/wpa.dpatch /usr/src/modules/bcm43xx/debian/patches/wpa.dpatch --- modules/bcm43xx/debian/patches/wpa.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ /usr/src/modules/bcm43xx/debian/patches/wpa.dpatch 2006-02-03 11:00:57.000000000 +0100 @@ -0,0 +1,71 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## wpa.dpatch by Jörg Sommer <[EMAIL PROTECTED]> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: This patch adds WPA support +## DP: http://www.mail-archive.com/bcm43xx-dev@lists.berlios.de/msg00480.html + [EMAIL PROTECTED]@ +diff -urNad bcm43xx~/bcm43xx_wx.c bcm43xx/bcm43xx_wx.c +--- bcm43xx~/bcm43xx_wx.c 2006-01-27 10:20:40.000000000 +0100 ++++ bcm43xx/bcm43xx_wx.c 2006-02-01 15:35:51.586746000 +0100 +@@ -553,6 +553,21 @@ + return err; + } + ++static int bcm43xx_wx_set_encodingext(struct net_device *net_dev, ++ struct iw_request_info *info, ++ union iwreq_data *data, ++ char *extra) ++{ ++ struct bcm43xx_private *bcm = bcm43xx_priv(net_dev); ++ int err; ++ ++ wx_enter(); ++ ++ err = ieee80211_wx_set_encodeext(bcm->ieee, info, data, extra); ++ ++ return err; ++} ++ + static int bcm43xx_wx_get_encoding(struct net_device *net_dev, + struct iw_request_info *info, + union iwreq_data *data, +@@ -568,6 +583,21 @@ + return err; + } + ++static int bcm43xx_wx_get_encodingext(struct net_device *net_dev, ++ struct iw_request_info *info, ++ union iwreq_data *data, ++ char *extra) ++{ ++ struct bcm43xx_private *bcm = bcm43xx_priv(net_dev); ++ int err; ++ ++ wx_enter(); ++ ++ err = ieee80211_wx_get_encodeext(bcm->ieee, info, data, extra); ++ ++ return err; ++} ++ + static int bcm43xx_wx_set_power(struct net_device *net_dev, + struct iw_request_info *info, + union iwreq_data *data, +@@ -969,11 +999,15 @@ + /* Encoding */ + WX(SIOCSIWENCODE) = bcm43xx_wx_set_encoding, + WX(SIOCGIWENCODE) = bcm43xx_wx_get_encoding, ++ WX(SIOCSIWENCODEEXT) = bcm43xx_wx_set_encodingext, ++ WX(SIOCGIWENCODEEXT) = bcm43xx_wx_get_encodingext, + /* Power saving */ + //TODO WX(SIOCSIWPOWER) = bcm43xx_wx_set_power, + //TODO WX(SIOCGIWPOWER) = bcm43xx_wx_get_power, + WX(SIOCSIWGENIE) = ieee80211softmac_wx_set_genie, + WX(SIOCGIWGENIE) = ieee80211softmac_wx_get_genie, ++ WX(SIOCSIWAUTH) = ieee80211_wx_set_auth, ++ WX(SIOCGIWAUTH) = ieee80211_wx_get_auth, + }; + #undef WX +
pgpZBnrSMI0D3.pgp
Description: PGP signature