Search Linux Wireless

RE: [RFC] cfg80211: Implement Multiple BSSID capability in scanning

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

 



> 
> > +			if (tmp_old[0] == WLAN_EID_VENDOR_SPECIFIC) {
> > +				if (!memcmp(tmp_old + 2, tmp + 2, 5)) {
> > +					/* same vendor ie, copy from new ie
> */
> > +					memcpy(pos, tmp, tmp[1] + 2);
> > +					pos += tmp[1] + 2;
> > +				} else {
> > +					memcpy(pos, tmp_old, tmp_old[1] +
> 2);
> > +					pos += tmp_old[1] + 2;
> 
> This seems really strange. What's 5? Should it be 4, so you have
> OUI+subelement ID?
> 

It is OUI + type + subTye.


Thanks,
Peng 




[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