netlink icon indicating copy to clipboard operation
netlink copied to clipboard

Question: Changing frequency of interface

Open mainrs opened this issue 5 years ago • 1 comments

Is it possible to change the frequency (aka channel) of a given interface using this library? I am trying to port some C code:

NLA_PUT_U32(m, NL80211_ATTR_IFINDEX, ifindex);
NLA_PUT_U32(m, NL80211_ATTR_WIPHY_FREQ, freq);
NLA_PUT_U32(m, NL80211_ATTR_WIPHY_CHANNEL_TYPE, NL80211_CHAN_HT40PLUS);

I couldn't really find an example or methods/struct that re similar named.

mainrs avatar Oct 21 '19 00:10 mainrs

Unfortunately nl80211 is not supported yet, sorry.

little-dude avatar Oct 21 '19 06:10 little-dude