Re: netifd issue

2023-11-10 Thread Felix Fietkau
On 10.11.23 15:21, e9hack wrote: Too fast. I did reboot with the old version again. The patched version does work. Fix pushed, thanks for testing! - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mai

Re: netifd issue

2023-11-10 Thread e9hack
Too fast. I did reboot with the old version again. The patched version does work. Sorry! Regards, Hartmut Am 10.11.2023 um 15:09 schrieb e9hack: Sorry, but it doesn't solve the issue. Regards, Hartmut Am 10.11.2023 um 14:13 schrieb Felix Fietkau: I think I found the cause of this regressio

Re: netifd issue

2023-11-10 Thread e9hack
Sorry, but it doesn't solve the issue. Regards, Hartmut Am 10.11.2023 um 14:13 schrieb Felix Fietkau: I think I found the cause of this regression while looking at the code again. It seems that the hotplug-added devices are removed too early based on DEV_EVENT_REMOVE events. Please try this fix

Approved RE: [PATCH] ath79: use "fixed-layout" for Embedded Wireless devices

2023-11-10 Thread Catrinel Catrinescu
Hi Rafal Your patches for our Dorin & Balin modules are good, many thanks. You can push the patches upstream. Best regards & have a nice weekend Catrinel -Original Message- From: Rafał Miłecki Sent: Friday, 10 November 2023 11:25 To: openwrt-devel@lists.openwrt.org Cc: yangshij...@ou

Re: netifd issue

2023-11-10 Thread Felix Fietkau
On 10.11.23 13:59, Felix Fietkau wrote: On 09.11.23 22:31, Hannu Nyman wrote: e9hack kirjoitti 9.11.2023 klo 17.32: I face a strange behaviour since commit 516ab774cc16d4b04b3b17a067cbf2649f1adaeb (system-linux: fix race condition on bringing up wireless devices). After a reboot or a full rest

Re: netifd issue

2023-11-10 Thread Felix Fietkau
On 09.11.23 22:31, Hannu Nyman wrote: e9hack kirjoitti 9.11.2023 klo 17.32: I face a strange behaviour since commit 516ab774cc16d4b04b3b17a067cbf2649f1adaeb (system-linux: fix race condition on bringing up wireless devices). After a reboot or a full restart of hostapd via 'wifi down; sleep 30;

Re: [PATCH] kernel: of: add DT MAC address bitwise operation support

2023-11-10 Thread Shiji Yang
On Nov. 10, 2023, 9:46 a.m., Rafał Miłecki wrote: >On 2023-11-10 10:41, Shiji Yang wrote: >> From: Shiji Yang >> >> This patch allow user to perform basic bitwise clear/set operation on >> OF DT MAC address. We use two new added dt-bindings to specific the >> MAC address bits clear/set mask. "ma

[PATCH] ath79: use "fixed-layout" for Embedded Wireless devices

2023-11-10 Thread Rafał Miłecki
From: Rafał Miłecki Those devices have Ethernet interfaces using base MAC address increased by 0x40 in the 3rd indexed byte (00:00:00:FF:00:00). To describe that we were using a custom (downstream) "mac-address-increment-byte" property. The same result can be achieved by using "mac-base" with a

Re: [PATCH] kernel: of: add DT MAC address bitwise operation support

2023-11-10 Thread Rafał Miłecki
On 2023-11-10 10:41, Shiji Yang wrote: From: Shiji Yang This patch allow user to perform basic bitwise clear/set operation on OF DT MAC address. We use two new added dt-bindings to specific the MAC address bits clear/set mask. "mac-address-bitwise-set" can be used to set bit. And "mac-address-b

Re: [PATCH] kernel: of: remove "mac-address-ascii" support hack

2023-11-10 Thread Rafał Miłecki
On 2023-11-10 10:28, Shiji Yang wrote: From: Shiji Yang ASCII MAC address can be handled by nvmem "fixed-layout" now. And all related devices were converted to the new "mac-base" layout format. It's time to remove this hack. Oh, I was hoping for that for a long time. Looks great. -- Rafał Mi

[PATCH] kernel: of: add DT MAC address bitwise operation support

2023-11-10 Thread Shiji Yang
From: Shiji Yang This patch allow user to perform basic bitwise clear/set operation on OF DT MAC address. We use two new added dt-bindings to specific the MAC address bits clear/set mask. "mac-address-bitwise-set" can be used to set bit. And "mac-address-bitwise-clear" can be used to clear bit.

[PATCH] kernel: of: remove "mac-address-ascii" support hack

2023-11-10 Thread Shiji Yang
From: Shiji Yang ASCII MAC address can be handled by nvmem "fixed-layout" now. And all related devices were converted to the new "mac-base" layout format. It's time to remove this hack. Signed-off-by: Shiji Yang --- Git grep ref: https://git.openwrt.org/?p=openwrt%2Fopenwrt.git&a=search&h=HEAD