Search Linux Wireless

Re: [PATCH] libertas: store rssi as an int

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

 



> RSSI as defined in 802.11 as a positive 8-bit value; the
> libertas firmware also reports the RSSI in scan results as a
> u8.  So I'd suggest a u8 instead of an int; an int isn't the
> right thing to do here.

"struct bss_descriptor" has nothing to do with hardware, 
otherwise you would see __le32 there. Using an "u8" saves us 
nothing, except we move all u8's at the end of the struct. But 
this would give us unaligned u8's and some processors have 
problems with that.
--
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