w35und: ioctls are handled by core, support is dead
wireless api is dead code that can be removed.
---
commit 08118c99165a5e6c0f6f9e5730175a0708b93b0d
tree 58d2216bc9728563b9921efba0bed30f74b80212
parent 72ef967c3bdda42a1b39e533650b1588003cbb08
author Pavel <[email protected]> Sat, 19 Apr 2008 14:59:14 +0200 committer Pavel <[email protected]> Sat, 19 Apr 2008 14:59:14 +0200
.../winbond/winbondport/linux/new_wireless.c | 242 --------------------- .../winbond/winbondport/linux/new_wireless.h | 261 ----------------------- drivers/net/wireless/winbond/winbondport/wblinux.c | 2 3 files changed, 0 insertions(+), 505 deletions(-)
drivers/net/wireless/winbond/winbondport/linux/new_wireless.c +0 -242
@@ -65,245 +65,3 @@ void FreqToChannelNum(u8 Band, u8 *Channbreak ; } } - -int test_get_name (struct net_device *dev, -struct iw_request_info *info,char *name,char *extra) -{ -strcpy (name,"w35und" ); -return 0 ; -} - -int test_set_scan (struct net_device *dev, -struct iw_request_info *info,struct iw_point *srq,char *extra) -{ -BUG (); -} - -int test_get_scan (struct net_device *dev, -struct iw_request_info *info,struct iw_point *srq,char *extra) -{ -BUG (); -} - - -int test_get_freq (struct net_device *dev, -struct iw_request_info *info,struct iw_freq *freq,char *extra) -{ -BUG (); -} - -int test_set_freq (struct net_device *dev, -struct iw_request_info *info,struct iw_freq *freq,char *extra) -{ -DEBUG ("SET FREQ\n" ); -return 0 ; -} - -int test_get_range (struct net_device *dev, -struct iw_request_info *info,struct iw_point *wrq,char *extra) -{ -BUG (); -} - -int test_get_power (struct net_device *dev, -struct iw_request_info *info,struct iw_param *vwrq,char *extra) -{ - vwrq->disabled =1 ; -return 0 ; -} - -//get mode desde la estructura interna definida por el original -int test_get_mode (struct net_device *dev, -struct iw_request_info *info,__u32 *mode,char *extra) -{ -BUG (); - -} - -int test_set_mode (struct net_device *dev, -struct iw_request_info *info,__u32 *mode,char *extra) -{ -BUG (); -} - -int test_set_rate (struct net_device *dev, -struct iw_request_info *info,struct iw_param *rrq,char *extra) -{ -BUG (); -} - -int test_get_rate (struct net_device *dev, -struct iw_request_info *info,struct iw_param *rrq,char *extra) -{ -BUG (); -} - -int test_set_rts (struct net_device *dev,struct iw_request_info *info, -struct iw_param *rts,char *extra) -{ -BUG (); -} - -int test_get_rts (struct net_device *dev,struct iw_request_info *info, -struct iw_param *rts,char *extra) -{ -BUG (); -} - -int test_set_frag (struct net_device *dev,struct iw_request_info *info, -struct iw_param *frag,char *extra) -{ -BUG (); -} - -int test_get_frag (struct net_device *dev,struct iw_request_info *info, -struct iw_param *frag,char *extra) -{ -BUG (); -} - -int test_set_txpow (struct net_device *dev,struct iw_request_info *info, -struct iw_param *txpower,char *extra) -{ -BUG (); -} - -int test_get_txpow (struct net_device *dev,struct iw_request_info *info, -struct iw_param *txpower,char *extra) -{ -BUG (); -} - -int test_set_essid (struct net_device *dev, -struct iw_request_info *info,struct iw_point *data,char *essid) -{ -BUG (); -} - -/* Segun el original no reporta el ssid conectado, veri los comentarios de codigo ahi */ -int test_get_essid (struct net_device *dev, -struct iw_request_info *info,struct iw_point *data,char *essid) -{ -BUG (); -} - -int test_get_sens (struct net_device *dev,struct iw_request_info *info, -struct iw_param *sens,char *extra) -{ -BUG (); -} - -int test_get_nick (struct net_device *dev,struct iw_request_info *info, -struct iw_point *data,char *nick) -{ -BUG (); -} - -int test_set_encode (struct net_device *dev, -struct iw_request_info *info,struct iw_point *erq,char *key) -{ -BUG (); -} - -int test_set_encodeext (struct net_device *dev, -struct iw_request_info *info, -union iwreq_data *wrqu, -char *extra) -{BUG (); -} - -int test_get_encodeext (struct net_device *dev, -struct iw_request_info *info, -union iwreq_data *wrqu, -char *extra) -{ - -return 0 ; -} - -int test_get_wap (struct net_device *dev, -struct iw_request_info *info,struct sockaddr *ap_addr,char *extra) -{ -BUG (); - -} -int test_set_wap (struct net_device *dev, -struct iw_request_info *info,struct sockaddr *ap_addr,char *extra) -{ -BUG (); -} - -int test_get_register (struct net_device *dev,struct iw_request_info *info,struct iw_param *param,char *extra){return 0 ; } - -int test_set_register (struct net_device *dev,struct iw_request_info *info,struct iw_param *param,char *extra){return 0 ; }/* ZD1201GIWHOSTAUTH */ - -int test_get_region (struct net_device *dev,struct iw_request_info *info, -struct iw_point *data,char *region) -{ -BUG (); - -} -int test_set_region (struct net_device *dev,struct iw_request_info *info, -struct iw_point *data,char *region) -{ -BUG (); -} -//No andan muy bien estos 2 -int test_get_ibss_freq (struct net_device *dev,struct iw_request_info *info,struct iw_point *data,char *freq) -{ -BUG (); -} - -int test_set_ibss_freq (struct net_device *dev,struct iw_request_info *info,struct iw_point *data,char *extra) -{BUG (); -} - -int test_get_ibss_mode (struct net_device *dev,struct iw_request_info *info,struct iw_point *data,char *extra) - -{ -BUG (); -} - -int test_set_ibss_mode (struct net_device *dev,struct iw_request_info *info,struct iw_point *data,char *extra) -{ -BUG (); - -} -int test_scanning (struct net_device *dev,struct iw_request_info *info,struct iw_point *data,char *extra) -{BUG (); -} - -int test_get_scan_list (struct net_device *dev,struct iw_request_info *info,struct iw_point *data,char *extra) - -{ -BUG (); -} - -int test_set_pwd (struct net_device *dev,struct iw_request_info *info,struct iw_point *data,char *extra) -{ -BUG (); -} -int test_set_ie (struct net_device *dev,struct iw_request_info *info,struct iw_point *data,char *extra) -{ -BUG (); -} -int test_get_ver (struct net_device *dev,struct iw_request_info *info,struct iw_point *param,char *extra) -{ -BUG (); -} -int test_get_ssid_info (struct net_device *dev,struct iw_request_info *info,struct iw_point *param,char *extra) -{ -BUG (); -} - -int test_set_genie (struct net_device *dev,struct iw_request_info *info,struct iw_point *data,char *extra) -{ -BUG (); -} - -//crashea aca -int test_set_auth (struct net_device *dev,struct iw_request_info *info,struct iw_point *data,char *extra) -{ -BUG (); -} -
drivers/net/wireless/winbond/winbondport/linux/new_wireless.h +0 -261
261 lines not on this page · raw message
drivers/net/wireless/winbond/winbondport/wblinux.c +0 -2
@@ -188,8 +188,6 @@ WBLINUX_Destroy(PADAPTER Adapter) {PWBLINUX pWbLinux = &Adapter->WbLinux; -DEBUG2 ("UNregistering....\n" ); -WBLINUX_stop ( Adapter );OS_SPIN_LOCK_FREE ( &pWbNdis->SpinLock );unregister_netdev ( pWbLinux->netdev );
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html