Search Linux Wireless

RE: [PATCH 4/6] wifi: cfg80211: Schedule regulatory check on BSS STA channel change

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

 



> > > > +void cfg80211_schedule_channels_check(struct net_device *netdev)
> {
> > > > +	struct wireless_dev *wdev = netdev->ieee80211_ptr;
> > > > +	struct wiphy *wiphy = wdev->wiphy;
> > > > +
> > > > +	/* Schedule channels check if NO_IR or DFS relaxations are
> > > supported */
> > > > +	if (wdev->iftype == NL80211_IFTYPE_STATION &&
> > > > +	    (wiphy_ext_feature_isset(wiphy,
> >
> > We do need wdev here,
> >
> 
> Oh right, I missed that, sorry.
> 
> > I will change it to be wireless device instead
> >
> 
> No need I guess, if we're only going to check for it being a station?
> Would we ever have a reason to call this for a p2p/nan device? I guess
> not, since that doesn't affect regulatory in the same way?

No, I don't think P2P/NAN devices can anyhow affect regulatory, for sure not for concurrent DFS case.

> 
> johannes




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux