• Luca Coelho's avatar
    iwlwifi: move integrated, extra_phy and soc_latency to trans_cfg · 7897dfa2
    Luca Coelho authored
    These values are selected based on the PCI device ID, so the decision
    to use them can be made early.  By moving them to the trans_cfg, we
    avoid duplicating the large cfg structs for small pieces of
    data (sometimes a single boolean).  This will also allow us to make
    more decisions based on, for instance, the SoC type in used.
    
    The trans_cfg concept changes a bit, because previously it was used
    only to boot the device before reading further characteristics and now
    it also contains more data that is associated with the device ID.
    
    Change-Id: Ib71b07ea9e322eb74571dc5e8aa58f17eece5c9c
    Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
    7897dfa2
trans.c 103 KB