Search Linux Wireless

Re: [PATCH 1/2] cfg80211: clarify BSS probe response vs. beacon data

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

 



On Wed, 2014-08-13 at 13:57 +0300, Eliad Peller wrote:


> > @@ -1011,6 +1018,9 @@ cfg80211_inform_bss_width_frame(struct wiphy *wiphy,
> >         if (res->pub.capability & WLAN_CAPABILITY_ESS)
> >                 regulatory_hint_found_beacon(wiphy, channel, gfp);
> >
> > +       /* assume drivers don't mix and match too badly */
> > +       res->known_frame_type = true;
> > +
> 
> i think you should set the flag only in case of a beacon.
> otherwise, you might "validate" res->ies although it contains probe
> response data.

Hm, what do you mean? If we have known frametype and we have beacon_ies,
then IEs in nl80211 are certain to be proberesp_ies ...

johannes

--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux