Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Question: Changing frequency of interface #52

Open
mainrs opened this issue Oct 21, 2019 · 1 comment
Open

Question: Changing frequency of interface #52

mainrs opened this issue Oct 21, 2019 · 1 comment

Comments

@mainrs
Copy link

mainrs commented Oct 21, 2019

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.

@little-dude
Copy link
Owner

Unfortunately nl80211 is not supported yet, sorry.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants