CVSROOT: /cvs Module name: src Changes by: s...@cvs.openbsd.org 2017/07/15 09:48:08
Modified files: sys/dev/pci : if_iwm.c if_iwmvar.h Log message: Get rid of the device reset hack in iwm_newstate_task(). Instead, maintain firmware state in accordance to the current net80211 state by adding/updating/removing MAC config, PHY->MAC binding, and the station in the firmare station table (we only add the AP to this table). By eliminating the iwm_stop() call from iwm_newstate_task(), this change prepares future work on fixing races between ioctls and tasks scheduled by this driver. There's a known new occasional fatal firmware error which results in the message "iwm0: could not remove MAC context (error 35)" I expect to fix this soon. tested by tb@ on 7265, by jcs@ on 8265, and by myself on 7260/7265/8260 ok mpi@ tb@