Re: [PATCH V2 iw] add "channels" PHY command listing frequencies with more details

2016-05-31 Thread Johannes Berg
On Tue, 2016-05-31 at 18:28 +0200, Rafał Miłecki wrote: >  > +static int print_channels_handler(struct nl_msg *msg, void *arg) > +{ > + struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); > + extra blank line > + struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; > + struct nlattr *tb_ban

[PATCH V2 iw] add "channels" PHY command listing frequencies with more details

2016-05-31 Thread Rafał Miłecki
Channels (frequencies) are getting more details that users may want to know about. E.g. it's important to know which frequencies allow using 40/80/160 MHz channels to setup AP properly. We list channels in "info" command output but it's already quite big and it was agreed to introduce new command