if_iwm - Sync nvm parsing code with Linux iwlwifi.
authorImre Vadász <imre@vdsz.com>
Tue, 6 Sep 2016 18:37:05 +0000 (20:37 +0200)
committerImre Vadász <imre@vdsz.com>
Tue, 6 Sep 2016 19:10:34 +0000 (21:10 +0200)
commit39f8331b1a6f295291e08c377da12a8e7a5436c0
tree58ffdf4258fafd9fe354f610fddc016bd1ba869d
parente7c38752c35cd621b5c314041874f1f31c8ec3e7
if_iwm - Sync nvm parsing code with Linux iwlwifi.

* sc->sc_nvm becomes sc->nvm_data and is now a pointer instead of an
  inlined struct.

* Add sc->eeprom_size and sc->nvm_hw_section_num configuration values to
  struct iwm_softc.

* For now continue to avoid negative error return-values, and use pointer
  variables for some return values, as before.

* Continue to omit LAR (location aware regulatory) related code as well.
sys/dev/netif/iwm/if_iwm.c
sys/dev/netif/iwm/if_iwm_scan.c
sys/dev/netif/iwm/if_iwm_util.c
sys/dev/netif/iwm/if_iwmreg.h
sys/dev/netif/iwm/if_iwmvar.h