The project is done and committed to head

This is side project of the new ifnet KPI. The idea is that the struct ifnet remains only in the wlan(4) driver itself, while all underlying hardware drivers aren't aware of struct ifnet. The stack is already converted, drivers are not.

The sub task probably doesn't deserve a subversion branch, so live like a patch usually updated on phab:

https://reviews.freebsd.org/D2655

Not all drivers use ieee80211_tx_complete() function, so some drivers may lose statistics after conversion. I try to avoid this, but may miss it. When testing please run

netstat -hI wlan0 1

and see whether stats look sane.

driver

converted

who can test

test results

cnt

sys/dev/wpi/if_wpi.c

s3erious

sys/dev/if_ndis/if_ndis.c

glebius

??? (the conversion is complex)

sys/dev/malo/if_malo.c

glebius

kevlo

OK: kevlo

+

sys/dev/iwi/if_iwi.c

glebius

mmoll (Intel(R) PRO/Wireless 2915ABG)

OK: mmoll

+

sys/dev/iwn/if_iwn.c

glebius

glebius, op (Centrino Wireless-N 2230)

OK: glebius, op, ocochard

+

sys/dev/mwl/if_mwl.c

glebius

sys/dev/wtap/if_wtap.c

glebius

sys/dev/ipw/if_ipw.c

glebius

sys/dev/bwi/if_bwi.c

glebius

glebius

OK: glebius

+

sys/dev/bwn/if_bwn.c

glebius

sys/dev/wi/if_wi.c

glebius

sys/dev/ral/if_ral_pci.c

glebius

ocochard (RT2790)

OK: ocochard

sys/dev/ral/rt2560.c

glebius

sys/dev/ral/rt2661.c

glebius

sys/dev/ral/rt2860.c

glebius

kevlo (RT5390)

OK: kevlo

sys/dev/usb/wlan/if_rum.c

glebius

ocochard (D-Link DWA-110)

OK: glebius

+

sys/dev/usb/wlan/if_ural.c

glebius

kevlo

OK: kevlo

sys/dev/usb/wlan/if_run.c

glebius

kevlo

OK: kevlo

+

sys/dev/usb/wlan/if_zyd.c

glebius

kevlo

OK: kevlo

+

sys/dev/usb/wlan/if_urtw.c

glebius

kevlo

OK: kevlo

sys/dev/usb/wlan/if_upgt.c

glebius

sys/dev/usb/wlan/if_uath.c

glebius

sys/dev/usb/wlan/if_urtwn.c

glebius

kevlo, gjb

OK: kevlo, ocochard

sys/dev/usb/wlan/if_rsu.c

glebius

kevlo

OK: kevlo

sys/dev/ath/if_ath.c

glebius

op (AR9565, STA) lev (AR9280 AP)

OK: op

+

projects/ifnet/net80211 (last edited 2015-08-08T00:14:35+0000 by OliverPinter)