On Friday, September 11, 2015 01:37:48 AM Hiroaki Kawai wrote: > That field is union and referenced as rssi_combined at two lines below. Correct > The status->signal will show up in radiotap > IEEE80211_RADIOTAP_DBM_ANTSIGNAL > header field at userland finally. so, this patch should go to -stable too. Cc: stable@xxxxxxxxxxxxxxx Thanks > > > --- > > > drivers/net/wireless/ath/carl9170/rx.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/drivers/net/wireless/ath/carl9170/rx.c > > b/drivers/net/wireless/ath/carl9170/rx.c > > > index 924135b..d66533c 100644 > > > --- a/drivers/net/wireless/ath/carl9170/rx.c > > > +++ b/drivers/net/wireless/ath/carl9170/rx.c > > > @@ -453,7 +453,7 @@ static void carl9170_rx_phy_status(struct ar9170 *ar, > > > /* post-process RSSI */ > > > for (i = 0; i < 7; i++) > > > if (phy->rssi[i] & 0x80) > > > - phy->rssi[i] = ((phy->rssi[i] & 0x7f) + 1) & 0x7f; > > > + phy->rssi[i] = ((~phy->rssi[i] & 0x7f) + 1) & 0x7f; > > > > > > /* TODO: we could do something with phy_errors */ > > > status->signal = ar->noise[0] + phy->rssi_combined; > > > > > > > -- 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