Search Linux Wireless

Re: [PATCH] libertas: convert RSSI to a direct command

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

 



> 1) We do need to fix the Ad-Hoc bits somehow, I guess that
> means periodically poking GET_RSSI when connected and
> averaging the result over the last 30 seconds, weighting
> recent results more

Okay for the periodically poking.

But we don't really need to average by ourselves, the GET_RSSI 
has an average weight parameter. We can store this in 
priv->avg_rssi and priv->avg_noise to re-use it later.


> 2) Use the windowed average for 'iwconfig'/SIOCGIWSTATS, the
> Ad-Hoc scan result, and scan results on the current channel

The patch as it is doesn't use any averaging 
for 'iwconfig'/SIOCGIWSTATS, it just uses the value from 
GET_RSSI, which is from the beacons of the associated AP. 
Together with the changed (simplified) quality calculation I now 
get a fast-enought changing display for a moving station. And 
it's no longer jerky as it used to be, despite the missing 
averaging. This non-jerkyness might come from the fact that RXPD 
packets aren't taken into account anymore. So I'm not sure if 
any averaging here will be an improvement, at least not for 
moving stations. It might be nicer for an office PC, thought.

I don't have a problem with priv->avg_noise for scan results and 
no problem at all what you want to do with AD HOC :-)


>
> 3) Use the default noise floor for all channels not the
> associated channel
>
> If you like, I'm interested in doing this.
>
> Dan


--
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