21 static const void *
const orinoco_wiphy_privid = &orinoco_wiphy_privid;
28 wiphy->
privid = orinoco_wiphy_privid;
30 set_wiphy_dev(wiphy, priv->
dev);
55 priv->
band.bitrates = orinoco_rates;
62 ieee80211_dsss_chan_to_freq(i + 1);
106 if (orinoco_lock(priv, &lock) != 0)
121 "Monitor mode support is buggy in this firmware, not enabling\n");
136 orinoco_unlock(priv, &lock);
141 static int orinoco_scan(
struct wiphy *wiphy,
163 static int orinoco_set_monitor_channel(
struct wiphy *wiphy,
181 channel = ieee80211_freq_to_dsss_chan(chan->
center_freq);
187 if (orinoco_lock(priv, &flags) != 0)
198 orinoco_unlock(priv, &flags);
203 static int orinoco_set_wiphy_params(
struct wiphy *wiphy,
u32 changed)
227 "is not supported on this firmware. "
228 "Using MWO robust instead.\n",
266 if (orinoco_lock(priv, &flags) != 0)
269 if (frag_value >= 0) {
280 orinoco_unlock(priv, &flags);
287 .change_virtual_intf = orinoco_change_vif,
288 .set_monitor_channel = orinoco_set_monitor_channel,
289 .scan = orinoco_scan,
290 .set_wiphy_params = orinoco_set_wiphy_params,