[PATCH] relayd: don't break localhost

2021-07-09 Thread Dmitry Ivanov via openwrt-devel
ents insertion of default route into "localhost" policy routing table created by relayd. Signed-off-by: Dmitry Ivanov --- route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/route.c b/route.c index c552d1f..f7cf815 100644 --- a/route.c +++ b/route.c @@ -24

[OpenWrt-Devel] [PATCH v2] wpa_supplicant: set regulatory domain the same way as hostapd

2015-12-23 Thread Dmitry Ivanov
igured one. Signed-off-by: Dmitry Ivanov --- package/network/services/hostapd/files/netifd.sh | 6 ++ 1 file changed, 6 insertions(+) diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh index 5541e4d..6aca7f7 100644 --- a/packa

[OpenWrt-Devel] [PATCH] wpa_supplicant: set regulatory domain the same way as hostapd

2015-12-23 Thread Dmitry Ivanov
igured one. Signed-off-by: Dmitry Ivanov --- package/network/services/hostapd/files/netifd.sh | 6 ++ 1 file changed, 6 insertions(+) diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh index 5541e4d..6aca7f7 100644 --- a/packa

[OpenWrt-Devel] [PATCH] Allow scan of single channel

2015-12-17 Thread Dmitry Ivanov
Sometimes it is enough to scan single channel only. This is much faster than scanning all of them and ingnoring unnecessary data. Signed-off-by: Dmitry Ivanov --- include/iwinfo.h | 1 + iwinfo_cli.c | 65 iwinfo_nl80211.c | 33

[OpenWrt-Devel] [PATCH] Hostapd: wait longer for inactive client probe (empty data frame)

2015-10-06 Thread Dmitry Ivanov
to respond. Signed-off-by: Dmitry Ivanov --- .../hostapd/patches/470-wait-for-nullfunc-longer.patch| 11 +++ 1 file changed, 11 insertions(+) create mode 100644 package/network/services/hostapd/patches/470-wait-for-nullfunc-longer.patch diff --git a/package/network/services

[OpenWrt-Devel] [PATCH][odhcpd] Limit size of IPv4 DHCP reply

2015-09-29 Thread Dmitry Ivanov
Limit size of IPv4 DHCP reply. In other words, remove zero padding after end option (0xff). Signed-off-by: Dmitry Ivanov --- src/dhcpv4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dhcpv4.c b/src/dhcpv4.c index a657e13..c8014ea 100644 --- a/src/dhcpv4.c +++ b/src

[OpenWrt-Devel] [PATCH v2][netifd] Initialize wireless interface attributes in proper function

2015-09-14 Thread Dmitry Ivanov
igured for interface #2 (wlan0) which is wrong. It should be configured for interfaces #1 and #3 only. This patch resolves this problem. Signed-off-by: Dmitry Ivanov --- wireless.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/wireless.c b/wireless.c ind

[OpenWrt-Devel] [PATCH][netifd] Initialize wireless interface attributes in proper function

2015-09-14 Thread Dmitry Ivanov
igured for interface #2 (wlan0) which is wrong. It should be configured for interfaces #1 and #3 only. This patch resolves this problem. Signed-off-by: Dmitry Ivanov --- wireless.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/wireless.c b/wireless.c ind

Re: [OpenWrt-Devel] [PATCH][netifd] Bridge hairpin mode must be off by default

2015-09-10 Thread Dmitry Ivanov
Felix, this patch resolves duplicate packet issue in WDS setup. Thanks! On Thu, 10 Sep 2015 15:37:35 +0200 Felix Fietkau wrote: > On 2015-09-10 15:00, Dmitry Ivanov wrote: > > Bridge hairpin mode must be off by default when multicast_to_unicast is > > off. Enabling this mode lea

[OpenWrt-Devel] [PATCH][netifd] Do not enable multicast_to_unicast by default

2015-09-10 Thread Dmitry Ivanov
Do not enable multicast_to_unicast by default. Duplicate broadcast and multicast frames may cause problems in WDS setup. Wireless clients cannot obtain IP address etc. Signed-off-by: Dmitry Ivanov --- scripts/netifd-wireless.sh | 2 +- system-linux.c | 7 +++ 2 files changed, 4

[OpenWrt-Devel] [PATCH][netifd] Bridge hairpin mode must be off by default

2015-09-10 Thread Dmitry Ivanov
Bridge hairpin mode must be off by default when multicast_to_unicast is off. Enabling this mode leads to broadcast frames such as ARP and DHCP being retransmitted back to AP in WDS configurations. Signed-off-by: Dmitry Ivanov --- system-linux.c | 7 +++ 1 file changed, 3 insertions(+), 4

[OpenWrt-Devel] [PATCH] Restore 640-bridge_no_eap_forward.patch to its original form

2015-09-08 Thread Dmitry Ivanov
-by: Dmitry Ivanov --- target/linux/generic/patches-3.18/640-bridge_no_eap_forward.patch | 2 +- target/linux/generic/patches-4.0/640-bridge_no_eap_forward.patch | 2 +- target/linux/generic/patches-4.1/640-bridge_no_eap_forward.patch | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff

[OpenWrt-Devel] [PATCH] Restore AP scan patch

2015-07-31 Thread Dmitry Ivanov
Restore AP scan patch. Signed-off-by: Dmitry Ivanov --- package/kernel/mac80211/patches/210-ap_scan.patch | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 package/kernel/mac80211/patches/210-ap_scan.patch diff --git a/package/kernel/mac80211/patches/210-ap_scan.patch b

[OpenWrt-Devel] [PATCH] iwinfo: do not wait for scan results if scan request failed.

2015-07-31 Thread Dmitry Ivanov
Do not wait for scan results if scan request failed. Signed-off-by: Dmitry Ivanov --- iwinfo_nl80211.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/iwinfo_nl80211.c b/iwinfo_nl80211.c index 900eef2..251ec33 100644 --- a/iwinfo_nl80211.c +++ b

[OpenWrt-Devel] [PATCH] Bugfix: use correct PLL configuration register bitmask for QCA956x SoC

2015-07-28 Thread Dmitry Ivanov
Bugfix: use correct PLL configuration register bitmask for QCA956x SoC. Incorrect value causes clock inaccuracy as huge as 1/60. Signed-off-by: Dmitry Ivanov --- .../patches-3.18/735-MIPS-ath79-add-support-for-QCA956x-SoC.patch | 4 ++-- .../patches-4.1/621-MIPS-ath79-add-support-for

[OpenWrt-Devel] [PATCH] [iwinfo] Allow non-negative RSSI reading

2015-05-08 Thread Dmitry Ivanov
WLAN RSSI reading can be non-negative, i.e. 0 dBm and more. For example, this occurs with QCA9561 when transmitter is very close. Driver, Linux kernel and iw tool do allow this. This patch allows non-negative RSSI in iwinfo too. Signed-off-by: Dmitry Ivanov --- include/iwinfo.h | 4

[OpenWrt-Devel] [PATCH] [rpcd] Allow non-negative RSSI reading

2015-05-08 Thread Dmitry Ivanov
WLAN RSSI reading can be non-negative, i.e. 0 dBm and more. For example, this occurs with QCA9561 when transmitter is very close. Driver, Linux kernel and iw tool do allow this. This patch allows non-negative RSSI in rpcd too. Signed-off-by: Dmitry Ivanov --- iwinfo.c | 2 +- 1 file changed, 1