Taking inspiration from the af_packet_rx.c and af_packet_tx.c examples I am trying to implement Atmel's Lightweight Mesh stack in user space: https://www.microchip.com/en-us/development-tool/atmel-lightweight-mesh
I got some encouraging results, but in addition to the raw package the stack needs the LQI and the RSSI.
The RSSI is available via a readable register, but I don't know how to get the LQI:
https://github.com/torvalds/linux/blob/v5.15/drivers/net/ieee802154/at86rf230.c
@Stefan-Schmidt From what I understand, the LQI is available for AF_IEEE802154 with type SOCK_DGRAM: torvalds/linux@811e299
How can I get the LQI in my use case too?
Is it necessary to extend the drivers?
Taking inspiration from the af_packet_rx.c and af_packet_tx.c examples I am trying to implement Atmel's Lightweight Mesh stack in user space: https://www.microchip.com/en-us/development-tool/atmel-lightweight-mesh
I got some encouraging results, but in addition to the raw package the stack needs the LQI and the RSSI.
The RSSI is available via a readable register, but I don't know how to get the LQI:
https://github.com/torvalds/linux/blob/v5.15/drivers/net/ieee802154/at86rf230.c
@Stefan-Schmidt From what I understand, the LQI is available for AF_IEEE802154 with type SOCK_DGRAM: torvalds/linux@811e299
How can I get the LQI in my use case too?
Is it necessary to extend the drivers?