On Fri, Oct 05, 2018 at 04:53:40PM +0200, def...@posteo.de wrote: > > > Hi All, > > I try to make new driver for AR5424* WiFi Module (ath0) becouse of a lot > of issues on my Fujitsu Esprimo Mobile U9210 Laptop. (Just not working > out of the box) > > * https://cvsweb.openbsd.org/src/sys/dev/ic/ar5212.c > * https://cvsweb.openbsd.org/src/sys/dev/ic/ar5xxx.c > ... >
Please fix the existing driver instead of adding a new one. A patch was submitted for this device some time ago but there was never any follow-up after the first round of review process: https://marc.info/?t=151707061600004&r=1&w=2 You could use that patch as a starting point. But please note that it's unclear whether some or all of these changes were copied from GPL code. It would be better to base such changes on the FreeBSD driver which seems to support this device as well. > Could you be so kind to answer: > > 1. How can I try my new Driver without Build Kernel each time. No. You have to rebuild the kernel each time. > 2. What kind of tools can I use for Debuging WiFi ... (just examples) Many. Start working on it and ask again when you run into specific problems. > 3. Any info about OpenBSD Drivers ? Developers Guides (Just for OpenBSD) See https://www.openbsd.org/papers/eurobsdcon2017-device-drivers.pdf and other presentations mentioned therein.