Search Linux Wireless

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

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

 



W dniu 6 paÅdziernika 2010 20:13 uÅytkownik RafaÅ MiÅecki
<zajec5@xxxxxxxxx> 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Å
--
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 Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux