return -1;
}
+static int madwifi_get_center_chan1(const char *ifname, int *buf)
+{
+ /* Not Supported */
+ return -1;
+}
+
+static int madwifi_get_center_chan2(const char *ifname, int *buf)
+{
+ /* Not Supported */
+ return -1;
+}
+
static int madwifi_get_frequency(const char *ifname, int *buf)
{
struct iwreq wrq;
.name = "madwifi",
.probe = madwifi_probe,
.channel = madwifi_get_channel,
+ .center_chan1 = madwifi_get_center_chan1,
+ .center_chan2 = madwifi_get_center_chan2,
.frequency = madwifi_get_frequency,
.frequency_offset = madwifi_get_frequency_offset,
.txpower = madwifi_get_txpower,
return -1;
}
+static int wext_get_center_chan1(const char *ifname, int *buf)
+{
+ /* Not Supported */
+ return -1;
+}
+
+static int wext_get_center_chan2(const char *ifname, int *buf)
+{
+ /* Not Supported */
+ return -1;
+}
+
static int wext_get_frequency(const char *ifname, int *buf)
{
struct iwreq wrq;
.name = "wext",
.probe = wext_probe,
.channel = wext_get_channel,
+ .center_chan1 = wext_get_center_chan1,
+ .center_chan2 = wext_get_center_chan2,
.frequency = wext_get_frequency,
.frequency_offset = wext_get_frequency_offset,
.txpower = wext_get_txpower,
return wl_ioctl(ifname, WLC_GET_CHANNEL, buf, sizeof(buf));
}
+static int wl_get_center_chan1(const char *ifname, int *buf)
+{
+ /* Not Supported */
+ return -1;
+}
+
+static int wl_get_center_chan2(const char *ifname, int *buf)
+{
+ /* Not Supported */
+ return -1;
+}
+
static int wl_get_frequency(const char *ifname, int *buf)
{
return wext_ops.frequency(ifname, buf);
.name = "wl",
.probe = wl_probe,
.channel = wl_get_channel,
+ .center_chan1 = wl_get_center_chan1,
+ .center_chan2 = wl_get_center_chan2,
.frequency = wl_get_frequency,
.frequency_offset = wl_get_frequency_offset,
.txpower = wl_get_txpower,