Home
last modified time | relevance | path

Searched refs:new_channel (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/drivers/net/wireless/b43/
Dphy_common.c300 int b43_switch_channel(struct b43_wldev *dev, unsigned int new_channel) in b43_switch_channel() argument
306 if (new_channel == B43_DEFAULT_CHANNEL) in b43_switch_channel()
307 new_channel = phy->ops->get_default_chan(dev); in b43_switch_channel()
312 channelcookie = new_channel; in b43_switch_channel()
322 err = phy->ops->switch_channel(dev, new_channel); in b43_switch_channel()
326 dev->phy.channel = new_channel; in b43_switch_channel()
Dphy_ht.c248 struct ieee80211_channel *new_channel) in b43_phy_ht_channel_setup() argument
254 if (new_channel->band == IEEE80211_BAND_5GHZ && !old_band_5ghz) { in b43_phy_ht_channel_setup()
256 } else if (new_channel->band == IEEE80211_BAND_2GHZ && old_band_5ghz) { in b43_phy_ht_channel_setup()
526 unsigned int new_channel) in b43_phy_ht_op_switch_channel() argument
532 if ((new_channel < 1) || (new_channel > 14)) in b43_phy_ht_op_switch_channel()
Dphy_common.h177 int (*switch_channel)(struct b43_wldev *dev, unsigned int new_channel);
390 int b43_switch_channel(struct b43_wldev *dev, unsigned int new_channel);
Dphy_a.c505 unsigned int new_channel) in b43_aphy_op_switch_channel() argument
507 if (new_channel > 200) in b43_aphy_op_switch_channel()
509 aphy_channel_switch(dev, new_channel); in b43_aphy_op_switch_channel()
Dphy_lcn.c809 unsigned int new_channel) in b43_phy_lcn_op_switch_channel() argument
815 if ((new_channel < 1) || (new_channel > 14)) in b43_phy_lcn_op_switch_channel()
Dphy_lp.c1188 unsigned int new_channel);
2642 unsigned int new_channel) in b43_lpphy_op_switch_channel() argument
2648 err = lpphy_b2063_tune(dev, new_channel); in b43_lpphy_op_switch_channel()
2652 err = lpphy_b2062_tune(dev, new_channel); in b43_lpphy_op_switch_channel()
2655 lpphy_set_analog_filter(dev, new_channel); in b43_lpphy_op_switch_channel()
2656 lpphy_adjust_gain_table(dev, channel2freq_lp(new_channel)); in b43_lpphy_op_switch_channel()
2659 lpphy->channel = new_channel; in b43_lpphy_op_switch_channel()
2660 b43_write16(dev, B43_MMIO_CHANNEL, new_channel); in b43_lpphy_op_switch_channel()
Dphy_n.c4595 struct ieee80211_channel *new_channel) in b43_nphy_channel_setup() argument
4599 int ch = new_channel->hw_value; in b43_nphy_channel_setup()
4606 if (new_channel->band == IEEE80211_BAND_5GHZ && !old_band_5ghz) { in b43_nphy_channel_setup()
4612 } else if (new_channel->band == IEEE80211_BAND_2GHZ && old_band_5ghz) { in b43_nphy_channel_setup()
4622 if (new_channel->hw_value == 14) { in b43_nphy_channel_setup()
4627 if (new_channel->band == IEEE80211_BAND_2GHZ) in b43_nphy_channel_setup()
4941 unsigned int new_channel) in b43_nphy_op_switch_channel() argument
4947 if ((new_channel < 1) || (new_channel > 14)) in b43_nphy_op_switch_channel()
4950 if (new_channel > 200) in b43_nphy_op_switch_channel()
Dphy_g.c2636 unsigned int new_channel) in b43_gphy_op_switch_channel() argument
2638 if ((new_channel < 1) || (new_channel > 14)) in b43_gphy_op_switch_channel()
2640 b43_gphy_channel_switch(dev, new_channel, 0); in b43_gphy_op_switch_channel()
/linux-3.4.99/drivers/net/wireless/mwifiex/
Dsta_cmdresp.c624 u16 new_channel = le16_to_cpu(rf_channel->current_channel); in mwifiex_ret_802_11_rf_channel() local
626 if (priv->curr_bss_params.bss_descriptor.channel != new_channel) { in mwifiex_ret_802_11_rf_channel()
629 new_channel); in mwifiex_ret_802_11_rf_channel()
631 priv->curr_bss_params.bss_descriptor.channel = new_channel; in mwifiex_ret_802_11_rf_channel()
635 *data_buf = new_channel; in mwifiex_ret_802_11_rf_channel()