| 3afe9e12 | 05-Feb-2026 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
mt76: fix a check wrongly giving us random ether addresses all the time
Do not cover the is_valid_ether_addr() check under CONFIG_OF. Unclear if this is an initial porting or a merging error before
mt76: fix a check wrongly giving us random ether addresses all the time
Do not cover the is_valid_ether_addr() check under CONFIG_OF. Unclear if this is an initial porting or a merging error before the driver hit the FreeBSD src tree. The end result was that we always got a random link-layer address, while the individual drivers may have setup phy->macaddr and this function would only overwride if given in device tree. Only if both, driver and and the OF backup, fail then go and use the random link-layer address.
While here adjust printing the random link-layer address using a FreeBSD format specifier and not the unsupported Linux one.
Fixes: 6c92544d7c97 Sponsored by: The FreeBSD Foundation MFC after: 3 days
show more ...
|
| bc820edd | 04-Feb-2026 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
mt76: mt7925: add missing LINUXKPI_PARAM_PREFIX
There is a module_param_named() in the file so we need to set LINUXKPI_PARAM_PREFIX to get it a uniq sysctl name. mt7921 has the exact same option.
mt76: mt7925: add missing LINUXKPI_PARAM_PREFIX
There is a module_param_named() in the file so we need to set LINUXKPI_PARAM_PREFIX to get it a uniq sysctl name. mt7921 has the exact same option. Without their individual prefixes the names would clash on systems with both chipsets and not work for both.
Sponsored by: The FreeBSD Foundation MFC after: 3 days
show more ...
|
| 9492230f | 03-Dec-2025 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
mt76: util.h: extend worker name
In mt76_worker_setup() add the "name" argument to the description for the worker thread. That way we have a chance to keep them apart.
While here, rename a variabl
mt76: util.h: extend worker name
In mt76_worker_setup() add the "name" argument to the description for the worker thread. That way we have a chance to keep them apart.
While here, rename a variable and shorten the the (c)/SPDX section according to new style.
MFC after: 3 days
show more ...
|