netlink
netlink copied to clipboard
Question: Changing frequency of interface
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.
Unfortunately nl80211 is not supported yet, sorry.