Re: [OpenWrt-Devel] [PATCH 2/5] hostapd: add ubus switch_chan method to ifaces

2018-10-08 Thread Yury Shvedov
meone explain what is wrong? The git-send-email messages was okay. I tried to send the series twice. The second attempt - with --thread and --in-reply to 3/5 patch. On 10/8/18 3:28 PM, Yury Shvedov wrote: switch_chan method now could be called directly by hostapd_iface object. Signed-off-by:

[OpenWrt-Devel] [PATCH 1/5] hostapd: add ubus hostapd_iface object

2018-10-08 Thread Yury Shvedov
adds functionality using hostapd_ubus_iface struct. Signed-off-by: Yury Shvedov --- .../hostapd/patches/600-ubus_support.patch| 54 +++- .../services/hostapd/src/src/ap/ubus.c| 127 ++ .../services/hostapd/src/src/ap/ubus.h| 13 ++ 3 files changed, 193 inser

[OpenWrt-Devel] [PATCH 3/5] hostapd: Add ubus accounting

2018-10-08 Thread Yury Shvedov
"tx_bytes": 533, "rx_packets": 17 }, "terminate_cause": 1 } ], "device": "radio0", "bssid": "44:d1:fa:12:4c:74", "freq": 5260, "

[OpenWrt-Devel] [PATCH 1/5] hostapd: add ubus hostapd_iface object

2018-10-08 Thread Yury Shvedov
adds functionality using hostapd_ubus_iface struct. Signed-off-by: Yury Shvedov --- .../hostapd/patches/600-ubus_support.patch| 54 +++- .../services/hostapd/src/src/ap/ubus.c| 127 ++ .../services/hostapd/src/src/ap/ubus.h| 13 ++ 3 files changed, 193 inser

[OpenWrt-Devel] [PATCH 5/5] hostapd: update switch_channel methods

2018-10-08 Thread Yury Shvedov
annels are prohibited by DFS the hostapd will stay switched off. Signed-off-by: Yury Shvedov --- .../services/hostapd/src/src/ap/ubus.c| 510 -- 1 file changed, 473 insertions(+), 37 deletions(-) diff --git a/package/network/services/hostapd/src/src/ap/ubus.c b/packa

[OpenWrt-Devel] [PATCH 2/5] hostapd: add ubus switch_chan method to ifaces

2018-10-08 Thread Yury Shvedov
switch_chan method now could be called directly by hostapd_iface object. Signed-off-by: Yury Shvedov --- .../services/hostapd/src/src/ap/ubus.c| 145 +++--- 1 file changed, 86 insertions(+), 59 deletions(-) diff --git a/package/network/services/hostapd/src/src/ap/ubus.c b

[OpenWrt-Devel] [PATCH 4/5] hostapd: Add channel information to iface state event

2018-10-08 Thread Yury Shvedov
This adds wide information about current channel of interface to hostapd.iface_state event. Additional event sent when interface completes csa operation. Signed-off-by: Yury Shvedov --- .../hostapd/patches/600-ubus_support.patch| 8 +++ .../services/hostapd/src/src/ap/ubus.c| 69

[OpenWrt-Devel] [PATCH 2/5] hostapd: add ubus switch_chan method to ifaces

2018-10-08 Thread Yury Shvedov
switch_chan method now could be called directly by hostapd_iface object. Signed-off-by: Yury Shvedov --- .../services/hostapd/src/src/ap/ubus.c| 145 +++--- 1 file changed, 86 insertions(+), 59 deletions(-) diff --git a/package/network/services/hostapd/src/src/ap/ubus.c b

[OpenWrt-Devel] [PATCH 5/5] hostapd: update switch_channel methods

2018-10-08 Thread Yury Shvedov
annels are prohibited by DFS the hostapd will stay switched off. Signed-off-by: Yury Shvedov --- .../services/hostapd/src/src/ap/ubus.c| 510 -- 1 file changed, 473 insertions(+), 37 deletions(-) diff --git a/package/network/services/hostapd/src/src/ap/ubus.c b/packa

[OpenWrt-Devel] [PATCH 4/5] hostapd: Add channel information to iface state event

2018-10-08 Thread Yury Shvedov
This adds wide information about current channel of interface to hostapd.iface_state event. Additional event sent when interface completes csa operation. Signed-off-by: Yury Shvedov --- .../hostapd/patches/600-ubus_support.patch| 8 +++ .../services/hostapd/src/src/ap/ubus.c| 69

[OpenWrt-Devel] [PATCH 3/5] hostapd: Add ubus accounting

2018-10-08 Thread Yury Shvedov
"tx_bytes": 533, "rx_packets": 17 }, "terminate_cause": 1 } ], "device": "radio0", "bssid": "44:d1:fa:12:4c:74", "freq": 5260, "

Re: [OpenWrt-Devel] project: online image and sysupgrade builder

2018-09-05 Thread Yury Shvedov
omatically - you only have to connect the body in netboot mode and wait. So, why not to make such executables with buildroot? -- Kind regards, Yury Shvedov WiMark Systems ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.o

Re: [OpenWrt-Devel] project: online image and sysupgrade builder

2018-09-05 Thread Yury Shvedov
ashing from original firmware. Maybe there is any reason to automate building of additional software for desktops? I.e. there is many scripts for flashing mikrotik devises, so why not to build deb packages in the BuildRoot, which will rise dhcp server and flash boards automatically? -- Kind r

[OpenWrt-Devel] [PATCH] netifd: proto-dhcp: handle alias interfaces

2018-09-04 Thread Yury Shvedov
7; to the interface configuration and it will automatically downs alias interfaces you specified upon dhcp address receiving. Signed-off-by: Yury Shvedov --- .../config/netifd/files/lib/netifd/dhcp.script| 11 ++- .../config/netifd/files/lib/netifd/proto/dhcp.sh | 11 +-

[OpenWrt-Devel] [PATCH] hostapd: process all CSA parameters

2018-07-16 Thread Yury Shvedov
This adds processing of all CSA arguments from ubus switch_chan request in the same manner as in the control interface API. Signed-off-by: Yury Shvedov --- .../services/hostapd/src/src/ap/ubus.c| 37 --- 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a

[OpenWrt-Devel] [PATCH 2/2] add channel information for scan results

2018-07-16 Thread Yury Shvedov
-by: Yury Shvedov --- Sorry, I do not use git mailer frequently. Is this a right place for comments? include/iwinfo.h | 19 +++ iwinfo_cli.c | 10 ++ iwinfo_lua.c | 11 +++ iwinfo_nl80211.c | 32 ++-- 4 files changed, 70

[OpenWrt-Devel] [PATCH 2/2] add channel information for scan results

2018-07-16 Thread Yury Shvedov
information on CLI scan results. Signed-off-by: Yury Shvedov --- include/iwinfo.h | 19 +++ iwinfo_cli.c | 10 ++ iwinfo_lua.c | 11 +++ iwinfo_nl80211.c | 32 ++-- 4 files changed, 70 insertions(+), 2 deletions(-) diff --git a

[OpenWrt-Devel] [PATCH 1/2] add htmodelist for scan results

2018-07-16 Thread Yury Shvedov
The knowledge about HT and VHT modes could be useful for user experience. So grab it via nl80211 and make it available in both C and LUA APIs, and show htmodelist on CLI scan results. Signed-off-by: Yury Shvedov --- include/iwinfo.h | 1 + iwinfo_cli.c | 13 ++-- iwinfo_lua.c | 14

[OpenWrt-Devel] [PATCH 2/2] add channel information for scan results

2018-07-16 Thread Yury Shvedov
-by: Yury Shvedov --- include/iwinfo.h | 19 +++ iwinfo_cli.c | 10 ++ iwinfo_lua.c | 11 +++ iwinfo_nl80211.c | 32 ++-- 4 files changed, 70 insertions(+), 2 deletions(-) diff --git a/include/iwinfo.h b/include/iwinfo.h index

Re: [OpenWrt-Devel] [PATCH 2/2] add channel information for scan results

2018-07-13 Thread Yury Shvedov
Hi! This patches are for iwinfo repo. I think I sent them to the wrong place. Please, say me so. This patches add extra information to scan list. I've made them for my own usage. But they may be useful for someone. On 07/13/2018 11:57 AM, Yury Shvedov wrote: Besides channel numbe

[OpenWrt-Devel] [PATCH 2/2] add channel information for scan results

2018-07-13 Thread Yury Shvedov
Besides channel number the secondary channel for HT40 and center idx0 and idx1 gives full understanding about real channel position and width on the spectra. So grab it via nl80211 and make it available in both C and LUA APIs, and show detailed channel information on CLI scan results. --- include/

[OpenWrt-Devel] [PATCH 1/2] add htmodelist for scan results

2018-07-13 Thread Yury Shvedov
The knowledge about HT and VHT modes could be useful for user experience. So grab it via nl80211 and make it available in both C and LUA APIs, and show htmodelist on CLI scan results. --- include/iwinfo.h | 1 + iwinfo_cli.c | 13 ++-- iwinfo_lua.c | 16 +- iwinfo_nl80211.c |