[PATCH wireless] wifi: mt76: mt792x: fix NULL dereference in ACPI SAR init during probe
Devin Wittmayer
lucid_duck at justthetip.ca
Fri Aug 28 10:18:38 PDT 2026
On 2026-08-28 15:27:10 +0000, Klara Modin wrote:
> Wouldn't the Intel 11th generation have come with the Intel AX201 or
> AX210 originally?
It would, and thanks for the correction. This board's firmware carries
Intel's wireless power methods and none of MediaTek's four. I put an
MT7927 in it recently and the MediaTek ones did not appear, so they do
not come with the card.
> I don't think so (if this is the MTGS table above?), but I don't really
> know how to parse the table contents.
That is the right table, and nothing in it is padded. Yours is fine.
> so the transmit power limits actually look like they are too high for
> some bands, especially 5735-5835, but maybe it will limit to the AP
> transmit power and be fine? However, according to `iw list` the channels
> in 5735-5835 do not have the "no IR" flag, so in AP mode the card could
> potentially transmit ~8 times the allowed power (I would rather not test
> this)?
Every line reads the same because the driver writes the same number into
all of them:
/* not used by fw */
rule->power_rule.max_antenna_gain = DBI_TO_MBI(6);
rule->power_rule.max_eirp = DBM_TO_MBM(22);
It is a placeholder rather than anything the card sent up, which is why
the same twenty-two turns up under every country code and not only
yours. So it is not evidence of what the radio will do in that band, in
either direction. The card has a power table of its own, separate from
this one, and debugfs shows it as txpower_sku.
> The 5710-5735 range is also not covered, which results in 5 GHz channel
> 144 being disabled (visible in `iw list`).
That hole is in what the card replied with. The driver copies the ranges
across untouched, so 144 goes with it.
Devin
More information about the Linux-mediatek
mailing list