[RFC][PATCH] b43: N-PHY: store current channel info in PHY common

Rafał Miłecki zajec5 at gmail.com
Wed Oct 6 14:15:59 EDT 2010


W dniu 6 października 2010 20:13 użytkownik Rafał Miłecki
<zajec5 at gmail.com> napisał:
> @@ -3568,8 +3572,8 @@ static void b43_nphy_op_switch_analog(struct b43_wldev *dev, bool on)
>  static int b43_nphy_op_switch_channel(struct b43_wldev *dev,
>                                      unsigned int new_channel)
>  {
> -       struct b43_phy_n *nphy = dev->phy.n;
> -       struct b43_chanspec chanspec;
> +       struct ieee80211_channel *channel = dev->wl->hw->conf.channel;
> +       enum nl80211_channel_type channel_type = dev->wl->hw->conf.channel_type;

Ah, and as you can see I decided to get more raw data about new
channel there. This is because in case on N-PHY we have to know about
band freq (2/5 GHz) and band with (20/40 MHz) to do full channel
setup.

-- 
Rafał



More information about the b43-dev mailing list