| b662295e | 10-Jun-2026 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
mt76: mt7921: terminate fw log messages with \n
In order to make the firmware messages spewed on the console readable write one message per line and not one very long line.
Sponsored by: The FreeBS
mt76: mt7921: terminate fw log messages with \n
In order to make the firmware messages spewed on the console readable write one message per line and not one very long line.
Sponsored by: The FreeBSD Foundation MFC after: 3 days
show more ...
|
| baf8561b | 08-Jun-2026 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
mt76: ensure net80211 com instance before returning from driver load
Do as we have done for iwlwifi (f808c43ad923, bee60c989745) add a completion event for device registration which calls into 802.
mt76: ensure net80211 com instance before returning from driver load
Do as we have done for iwlwifi (f808c43ad923, bee60c989745) add a completion event for device registration which calls into 802.11 and creates the wifi "device" (net80211 com instance). This is needed as otherwise the deferred work in the mt76 drivers (mt7915, mt7921, mt7925, mt7996; but not the 7615 [*]) would make driver loading return before the wifi device is there. We would then continue, e.g., during rc startup and race possibly trying to create a vap (wlan interface) with the underlying device not being registered yet and fail.
[*] the 7615 does not seem to do this asynchronously so is fine.
Sponsored by: The FreeBSD Foundation Tested on: 7921, others to be tested at time MFC after: 3 days
show more ...
|
| 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 ...
|