On Wed, 2023-03-01 at 09:09 +0200, Kalle Valo wrote: > Dan Williams <dcbw@xxxxxxxxxx> writes: > > > > > Is the goal just to get all the .c individual drivers out of > > > > net/wireless? > > > > > > Yes, exactly. The extra files in drivers/net/wireless annoy me > > > everytime > > > when I'm checking something in the tree. > > > > ray_cs and wl3501_cs are also PCMCIA drivers (not CardBus) and isn't > > Arnd trying to get rid of PCMCIA via "[RFC 0/6] pcmcia: separate 16-bit > > support from cardbus"? > > > > Maybe those two drivers get solved for you :) > > That would be great :) > > > > > Also isn't Greg KH out to kill RNDIS too? I don't recall that being > > > > a > > > > settled question yet, but I lost track. > > > > > > I haven't heard anything about that recently, I hope we don't have to > > > remove rndis_wlan from the tree. But wext drivers are another thing, > > > we > > > really should get rid of them (or convert to cfg80211). > > > > I have vague, morbid interest in converting atmel and prism54 to > > cfg80211 but timeline on that would be "this year". > > As you already noticed, prism54 is already gone. But I'm keeping fingers > crossed that who you would have time to convert atmel :) > > We really should get rid of wext, at least from drivers/net/wireless. > Staging drivers are of course of another thing. Just for fun I decided > to grep how many wext drivers and the first match was an ethernet > driver, weird: > > drivers/net/ethernet/toshiba/ps3_gelic_wireless.c:2570: netdev->wireless_handlers = &gelic_wl_wext_handler_def; Not super odd; that's the PlayStation 3. HW is an odd combo of ethernet and WiFi and the FW interface is bizarre as you can see. At least it supports 802.11g and WPA which is more than we can say for ipw2100. > > These are the mainline drivers using wext: > > drivers/net/wireless/atmel/atmel.c:1574: dev->wireless_handlers = &atmel_handler_def; > drivers/net/wireless/cisco/airo.c:2674: dev->wireless_handlers = &airo_handler_def; > drivers/net/wireless/cisco/airo.c:2828: dev->wireless_handlers = &airo_handler_def; > drivers/net/wireless/intel/ipw2x00/ipw2100.c:6032: dev->wireless_handlers = &ipw2100_wx_handler_def; > drivers/net/wireless/intel/ipw2x00/ipw2200.c:11675: net_dev->wireless_handlers = &ipw_wx_handler_def; > drivers/net/wireless/intersil/hostap/hostap_main.c:851: dev->wireless_handlers = &hostap_iw_handler_def; > drivers/net/wireless/intersil/orinoco/main.c:2251: dev->wireless_handlers = &orinoco_handler_def; > drivers/net/wireless/ray_cs.c:303: dev->wireless_handlers = &ray_handler_def; > drivers/net/wireless/wl3501_cs.c:1886: dev->wireless_handlers = &wl3501_handler_def; > drivers/net/wireless/zydas/zd1201.c:1782: dev->wireless_handlers = &zd1201_iw_handlers; FWIW orinoco and ipw2x00 have some minimal cfg80211 code but IIRC it's pretty limited. Honestly we probably should start deprecation/removal for 802.11b-only hardware which is everything on this list *except* ps3_gelic and ipw2200. Dan > > And these are the staging drivers: > > drivers/staging/ks7010/ks_wlan_net.c:2636: dev->wireless_handlers = &ks_wlan_handler_def; > drivers/staging/r8188eu/os_dep/os_intfs.c:358: pnetdev->wireless_handlers = (struct iw_handler_def *)&rtw_handlers_def; > drivers/staging/rtl8192e/rtl8192e/rtl_core.c:2334: dev->wireless_handlers = &r8192_wx_handlers_def; > drivers/staging/rtl8192u/r8192U_core.c:4532: dev->wireless_handlers = &r8192_wx_handlers_def; > drivers/staging/rtl8712/os_intfs.c:214: pnetdev->wireless_handlers = (struct iw_handler_def *) >