sometimes computer manufactures change specific hardware like wlan, eth, graphics or chipset on a computer model without changing the model number.

Anyone know which data I should read from hwinfo or dmidecode to determine if a computer model have one kind of hardware or another?

Might it be dmidecode -s baseboard-product-name that specifies which hardware is used on a model?