Search Linux Wireless

Re: [PATCH] cfg80211: Add channel information to NL80211_CMD_GET_INTERFACE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2012-04-04 09:34, Johannes Berg wrote:
On Tue, 2012-04-03 at 16:39 +0200, Pontus Fuchs wrote:
If the current channel is known, add frequency and channel type to
NL80211_CMD_GET_INTERFACE.

...

-	struct ieee80211_channel *(*get_channel)(struct wiphy *wiphy);
+	struct ieee80211_channel *(*get_channel)(struct wiphy *wiphy,
+					       enum nl80211_channel_type *type);

If you're adding it to GET_INTERFACE, maybe you should also get it per
interface so we can do something smarter when we add multi-channel?

We'll fix multi-channel later if needed. Main usage for this (from my point of view) is for monitor interfaces.

Cheers,

Pontus
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux