• J
    iwlwifi: refactor EEPROM reading/parsing · 26a7ca9a
    Johannes Berg 提交于
    The EEPROM reading/parsing code is all mixed in
    the driver today, and the EEPROM is parsed only
    when we access data from it. This is problematic
    because the NVM needs to be parsed and that is
    independent of reading it. Also, the NVM format
    for new devices will be different and probably
    require a new parser.
    
    Therefore refactor the reading and parsing and
    create two independent components. Reading the
    EEPROM requires direct hardware accesses and
    therefore access to the transport, but parsing
    is independent and can be done on an NVM blob.
    Reviewed-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
    Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
    26a7ca9a
rxon.c 45.0 KB