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

2018-08-17 Thread Rafał Miłecki
> diff --git a/include/iwinfo.h b/include/iwinfo.h > index b3f5470..1559837 100644 > --- a/include/iwinfo.h > +++ b/include/iwinfo.h > @@ -145,6 +145,24 @@ struct iwinfo_crypto_entry { >uint8_t auth_suites; >uint8_t auth_algs; > }; > +struct iwinfo_channel_info_entry { > + /** > + * s

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

2018-07-16 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. Signed-off-b

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

2018-07-16 Thread Rafał Miłecki
On 16.07.2018 10:28, Yury Shvedov wrote: Sorry, some mistakes in previous patch. Put your comments between tear line & the diff. They shouldn't go into the repo history (log). Besides channel number the secondary channel for HT40 and center idx0 and idx1 gives full understanding about real c

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

2018-07-16 Thread Yury Shvedov
Sorry, some mistakes in previous patch. 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 infor

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

2018-07-16 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. Signed-off-b

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

2018-07-15 Thread Jo-Philipp Wich
Hi, comments inline. ~ Jo > diff --git a/include/iwinfo.h b/include/iwinfo.h > index c3c25ff..b1b39a1 100644 > --- a/include/iwinfo.h > +++ b/include/iwinfo.h > @@ -145,6 +145,24 @@ struct iwinfo_crypto_entry { > uint8_t auth_suites; > uint8_t auth_algs; > }; > +struct iwinfo_channe

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 number the sec

[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/