Search Linux Wireless

Re: [PATCH v4] mac80211: add command to get current rssi

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

 



On Wed, Jun 20, 2012 at 11:15 AM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
> On Wed, 2012-06-20 at 09:32 +0300, Victor Goldenshtein wrote:
>
>> +     trace_drv_get_rssi(local, sdata);
>> +     ret = local->ops->get_rssi(&local->hw, &sdata->vif, sta, rssi_dbm);
>> +     trace_drv_return_int(local, ret);
>
> Where are you tracing the sta?
>

We talked about print sta address with "local_sdata_addr_evt" event
macro, the output looks like this:

#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |                     ||||       |         |
              iw-1394  [000]        ...1  1083.713867: drv_get_rssi:
phy0 vif:wlan0(2) addr:08:00:28:cc:65:43
              iw-1394  [000]        ...1  1083.729736: drv_return_int: phy0 - 0

> And why not trace the value returned in *rssi_dbm?
>

Is it really required ? there are various driver-ops which are "get
stuff" without printing them in the tracer.

-- 
Thanks,
Victor.
--
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