[OpenWrt-Devel] [PATCH] ipq806x: add ath10k calibration data MAC addresses patching
nbd at nbd.name
Wed Nov 14 14:53:19 EST 2018
On 2018-11-14 20:39, Ben Greear wrote:
> On 11/01/2018 03:18 AM, Felix Fietkau wrote:
>> On 2018-10-28 17:39, Christian Lamparter wrote:
>>> Ben Greear reported in his patch:
>>> |Subject: netgear r7800: Fix mac address of radios.
>>> |Reloading the driver causes the phyX to change, and that
>>> |caused the MAC address to change.
>>> This is because all ODM/OEMs except QCA bothered to write
>>> the correct MAC address for the ath10k wifi into the
>>> calibration data.
>> I don't think that's a strong enough reason to further propagate the
>> messy calibration data patching.
>> How about checking the sysfs device path in the hotplug script instead
>> to make sure we're changing the MAC for the right wifi device?
> Would this mean that the NIC is loaded with one (potentially bogus)
> MAC, and then hotplug would very soon after set the proper MAC?
> If so, that is liable to mess up stock ath10k firmware since it will not
> properly calculate its rx-bssid mask.
To improve MAC address handling, we should probably call
pdev_set_base_macaddr_cmdid before bringing up the first vif and use the
first vif MAC address there.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel