Hi, 2018-01-21 12:59 GMT-05:00 Alexander Aring <alex.aring@xxxxxxxxx>: > Hi, > > 2018-01-21 7:24 GMT-05:00 <anton@xxxxxxxxxxx>: >> Hello >> >> Is it possible to somehow read RSSI (Received Signal Strength indicator) value for each ieee802154 frame >> received using raw socket? Quick grepping in kernel and wpan-tools sources says no, but just wanted to > > One note about raw sockets: you should use AF_PACKET RAW as socket type. > > The answer is no. A single RSSI value of a frame says nothing about > something... We want to collect them in kernelspace e.g. wireless > station dump and make some mapping from $NODE_ADDR (complicated > because short/extended mapping). > There exists some thesis branch on github which I did for my "thesis" > but not ready to bring upstream at all... > >> confirm. Could energy detection level value used instead? Also, is it possible to set transmitter power > > Also no energy detection and no LQI... > > Transmit power is possible (depends on driver support), but not per frame... > got a new idea about to handle this per frame. Talked with one of the TC maintainers today... I think it would be nice to have a TC action where you can set a transmit power per classifier... not sure there exists many way how to handle it. Also there was an idea according to 6lowpan to handle it per ndisc entry. :-/ If you really want to set it per frame. 802.11 people might be interessted in the "wireless tx power TC action" as well... - Alex -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html